Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 269 for sccp (0.04 sec)

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

    	defBlock     map[*Value][]*Block // use blocks of def
    	visitedBlock []bool              // visited block
    }
    
    // sccp stands for sparse conditional constant propagation, it propagates constants
    // through CFG conditionally and applies constant folding, constant replacement and
    // dead code elimination all together.
    func sccp(f *Func) {
    	var t worklist
    	t.f = f
    	t.edges = make([]Edge, 0)
    	t.visited = make(map[Edge]bool)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:54:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tf_to_hlo_pipeline/sccp-post-shape-inference.mlir

    Junwhan Ahn <******@****.***> 1690253399 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jul 25 02:54:34 UTC 2023
    - 1020 bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/sccp_test.go

    			Valu("t29", OpIsInBounds, c.config.Types.Int64, 0, nil, "v2", "v1"),
    			Valu("t30", OpIsSliceInBounds, c.config.Types.Int64, 0, nil, "v2", "v1"),
    			Goto("b2")),
    		Bloc("b2",
    			Exit("mem")))
    	sccp(fun.f)
    	CheckFunc(fun.f)
    	for name, value := range fun.values {
    		if strings.HasPrefix(name, "t") {
    			if !isConst(value) {
    				t.Errorf("Must be constant: %v", value.LongString())
    			}
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 21:01:50 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. test/loopbce.go

    		a[i] = byte(i)
    	}
    }
    
    func k0(a [100]int) [100]int {
    	for i := 10; i < 90; i++ { // ERROR "Induction variable: limits \[10,90\), increment 1$"
    		if a[0] == 0xdeadbeef {
    			// This is a trick to prohibit sccp to optimize out the following out of bound check
    			continue
    		}
    		a[i-11] = i
    		a[i-10] = i // ERROR "(\([0-9]+\) )?Proved IsInBounds$"
    		a[i-5] = i  // ERROR "(\([0-9]+\) )?Proved IsInBounds$"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  5. test/checkbce.go

    	for i := 10; i < 50; i++ {
    		useInt(a[i-10])
    		useInt(a[i])
    		useInt(a[i+25])
    		useInt(a[i+50])
    
    		// The following are out of bounds.
    		if a[0] == 0xdeadbeef {
    			// This is a trick to prohibit sccp to optimize out the following out of bound check
    			continue
    		}
    		useInt(a[i-11]) // ERROR "Found IsInBounds$"
    		useInt(a[i+51]) // ERROR "Found IsInBounds$"
    	}
    }
    
    func decode1(data []byte) (x uint64) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/compile.go

    	{name: "softfloat", fn: softfloat, required: true},
    	{name: "late opt", fn: opt, required: true}, // TODO: split required rules and optimizing rules
    	{name: "dead auto elim", fn: elimDeadAutosGeneric},
    	{name: "sccp", fn: sccp},
    	{name: "generic deadcode", fn: deadcode, required: true}, // remove dead stores, which otherwise mess up store chain
    	{name: "check bce", fn: checkbce},
    	{name: "branchelim", fn: branchelim},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

      }
      pm.addNestedPass<mlir::func::FuncOp>(mlir::createCanonicalizerPass());
      // The SCCP pass performs constant propagation across the IR, which, for
      // example, propagates constant arguments into callee functions.
      // TODO(hinsu): Investigate if we really need SCCP pass before shape inference
      // and can do with just one pass after the shape inference.
      pm.addPass(mlir::createSCCPPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 45.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.cc

      // Visit functions bottom up when doing the analysis. Note that SCC iterator
      // has the property that if there is an edge from SCC1->SCC2, SCC1 is visited
      // after SCC2, i.e., the graph is traversed bottom up just the way we want.
      auto scc_begin = llvm::scc_begin(&call_graph);
      auto scc_end = llvm::scc_end(&call_graph);
      for (auto& scc : make_range(scc_begin, scc_end)) {
        // Each SCC node is a collection of callgraph nodes that form a cycle. We
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  9. platforms/core-execution/snapshots/src/integTest/groovy/org/gradle/internal/vfs/DefaultExcludesIntegrationTest.groovy

            "**/#*#",
            "**/*~",
            "**/.DS_Store",
    
            "**/CVS",
            "**/CVS/**",
            "**/.cvsignore",
    
            "**/SCCS",
            "**/SCCS/**",
    
            "**/.bzr",
            "**/.bzr/**",
            "**/.bzrignore",
    
            "**/vssver.scc",
    
            "**/.hg",
            "**/.hg/**",
            "**/.hgtags",
            "**/.hgignore",
            "**/.hgsubstate",
            "**/.hgsub",
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 15 12:37:12 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      int64_t graph_version_;
    
      // Op types for which shape inference should be skipped.
      llvm::SmallDenseSet<TypeID> ops_to_skip_;
    
      // TODO(b/154065712): Remove propagate_caller_callee_constants once using
      // SCCP pass instead.
      bool propagate_caller_callee_constants_;
    
      // XlaCallModule loader, which is used to deserialize the StableHLO module in
      // each `XlaCallModule` op. Uses its own MLIRContext since the loader needs to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
Back to top