Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 26 of 26 for check_func (0.26 sec)

  1. src/cmd/compile/internal/ssa/schedule_test.go

    			Valu("ptr", OpConst64, c.config.Types.Int64, 0xABCD, nil),
    			Valu("v", OpConst64, c.config.Types.Int64, 12, nil),
    			Goto("exit")),
    		Bloc("exit",
    			Exit("mem2")))
    
    	CheckFunc(fun.f)
    	order := storeOrder(fun.f.Blocks[0].Values, fun.f.newSparseSet(fun.f.NumValues()), make([]int32, fun.f.NumValues()))
    
    	// check that v2, v3, v4 is sorted after v5
    	var ai, bi, ci, si int
    	for i, v := range order {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 08 01:46:00 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/lca_test.go

    // license that can be found in the LICENSE file.
    
    package ssa
    
    import "testing"
    
    func testLCAgen(t *testing.T, bg blockGen, size int) {
    	c := testConfig(t)
    	fun := c.Fun("entry", bg(size)...)
    	CheckFunc(fun.f)
    	if size == 4 {
    		t.Logf(fun.f.String())
    	}
    	lca1 := makeLCArange(fun.f)
    	lca2 := makeLCAeasy(fun.f)
    	for _, b := range fun.f.Blocks {
    		for _, c := range fun.f.Blocks {
    			l1 := lca1.find(b, c)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Sep 01 14:25:12 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/check.go

    // license that can be found in the LICENSE file.
    
    package ssa
    
    import (
    	"cmd/compile/internal/ir"
    	"cmd/internal/obj/s390x"
    	"math"
    	"math/bits"
    )
    
    // checkFunc checks invariants of f.
    func checkFunc(f *Func) {
    	blockMark := make([]bool, f.NumBlocks())
    	valueMark := make([]bool, f.NumValues())
    
    	for _, b := range f.Blocks {
    		if blockMark[b.ID] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/region-control-flow-to-functional.mlir

      return %0 : tensor<1x2x3xf32>
    }
    
    // -----
    
    // Simple WhileRegion
    // CHECK: func private @tf.WhileRegion_body{{.+}}
    // CHECK: "tf.Add"
    // CHECK: constant dense<1>
    // CHECK: "tf.Sub"
    // CHECK:func private @tf.WhileRegion_cond{{.+}}
    // CHECK: constant dense<0>
    // CHECK: "tf.NotEqual"
    // CHECK-LABEL: testValidWhileRegion
    func.func @testValidWhileRegion(%arg0 : tensor<*xf32>, %arg1 : tensor<i32>) -> tensor<*xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 02 11:15:34 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  5. src/text/template/parse/parse.go

    //
    // A term is a simple "expression".
    // A nil return means the next item is not a term.
    func (t *Tree) term() Node {
    	switch token := t.nextNonSpace(); token.typ {
    	case itemIdentifier:
    		checkFunc := t.Mode&SkipFuncCheck == 0
    		if checkFunc && !t.hasFunction(token.val) {
    			t.errorf("function %q not defined", token.val)
    		}
    		return NewIdentifier(token.val).SetTree(t).SetPos(token.pos)
    	case itemDot:
    		return t.newDot(token.pos)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/compile.go

    		}
    	}()
    
    	// Run all the passes
    	if f.Log() {
    		printFunc(f)
    	}
    	f.HTMLWriter.WritePhase("start", "start")
    	if BuildDump[f.Name] {
    		f.dumpFile("build")
    	}
    	if checkEnabled {
    		checkFunc(f)
    	}
    	const logMemStats = false
    	for _, p := range passes {
    		if !f.Config.optimize && !p.required || p.disabled {
    			continue
    		}
    		f.pass = &p
    		phaseName = p.name
    		if f.Log() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top