Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 4,433 for Dead (0.12 sec)

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

    		t.Run(arch, func(t *testing.T) {
    			c := testConfigArch(t, arch)
    			boolType := c.config.Types.Bool
    			intType := c.config.Types.Int32
    
    			// The control flow here is totally bogus,
    			// but a dead cycle seems like the only plausible
    			// way to arrive at a diamond CFG that is also a loop.
    			fun := c.Fun("entry",
    				Bloc("entry",
    					Valu("start", OpInitMem, types.TypeMem, 0, nil),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 24 15:51:15 UTC 2018
    - 5.2K bytes
    - Viewed (0)
  2. src/runtime/trace.go

    		// know at this point that nothing is calling into the tracer, but we do
    		// need to look at dead Ps too just because GOMAXPROCS could have been called
    		// at any point since we stopped tracing, and we have to ensure there's no
    		// bad state on dead Ps too. Prevent a STW and a concurrent GOMAXPROCS that
    		// might mutate allp by making ourselves briefly non-preemptible.
    		mp := acquirem()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/optimize.cc

                                  const StandardPipelineOptions &options) {
      OpPassManager &func_pm = pm.nest<func::FuncOp>();
    
      // First operates on the executor dialect:
      // - remove dead islands.
      // - fuse islands as much as possible.
      // - materialize the eventual "pass-through" ops by inlining their content.
      func_pm.addPass(tf_executor::CreateTFExecutorGraphPruningPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/mod/modfile/read.go

    }
    
    // Cleanup cleans up the file syntax x after any edit operations.
    // To avoid quadratic behavior, (*Line).markRemoved marks the line as dead
    // by setting line.Token = nil but does not remove it from the slice
    // in which it appears. After edits have all been indicated,
    // calling Cleanup cleans out the dead lines.
    func (x *FileSyntax) Cleanup() {
    	w := 0
    	for _, stmt := range x.Stmt {
    		switch stmt := stmt.(type) {
    		case *Line:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops_pass.cc

    // Decomposing resource ops should not take more than a few iterations (2-3) to
    // converge as only a few patterns create new resource ops that can be further
    // decomposed. The rest of the iterations are enough to clean up any dead ops
    // created by decomposition.
    constexpr int kMaxIterations = 20;
    
    // Populates `reachable_functions` with all functions that can be reached from
    // device cluster ops.
    void PopulateClusterReachableFunctions(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Sep 08 20:01:13 UTC 2023
    - 8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/promote_resources_to_args.mlir

    // RUN: tf-opt %s -split-input-file -verify-diagnostics -tf-promote-resources-to-args | FILECHECK_OPTS="" FileCheck %s
    
    // One resource, one read. The initial value of the resource is read.
    // CHECK-LABEL: func @main(%arg0: tensor<i1>, %arg1: tensor<f32> {tf.resource_name = "x"}) -> tensor<2xf32>
    func.func @main(%arg0: tensor<i1>) -> tensor<2xf32> {
      // CHECK-NOT: "tf.VarHandleOp"
      // CHECK-NOT: "tf.ReadVariableOp"
      // CHECK: %[[CONST:.*]] = "tf.Const"()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  7. src/internal/types/testdata/check/gotos.go

    }
    
    // error shows first offending variable
    func _() {
    	goto L /* ERROR "goto L jumps over variable declaration at line 84" */
    	x := 1
    	_ = x
    	y := 1
    	_ = y
    L:
    }
    
    // goto not okay even if code path is dead
    func _() {
    	goto L /* ERROR "goto L jumps over variable declaration" */
    	x := 1
    	_ = x
    	y := 1
    	_ = y
    	return
    L:
    }
    
    // goto into outer block okay
    func _() {
    	{
    		goto L
    	}
    L:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  8. src/database/sql/sql_test.go

    		stmt, err := db.Prepare("INSERT|t1|name=?,age=?,dead=?")
    		if err != nil {
    			return err
    		}
    		stmt.Close()
    		return nil
    	})
    
    	// Provide a way to force a re-prepare of a statement on next execution
    	forcePrepare := func(stmt *Stmt) {
    		stmt.css = nil
    	}
    
    	// stmt.Exec
    	stmt1, err := db.Prepare("INSERT|t1|name=?,age=?,dead=?")
    	if err != nil {
    		t.Fatalf("prepare: %v", err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/graph_pruning.cc

    namespace tf_executor {
    namespace {
    
    #define GEN_PASS_DEF_EXECUTORGRAPHPRUNINGPASS
    #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc"
    
    // This transformation pass prunes a TF graph eliminating dead-nodes.
    class GraphPruningPass
        : public impl::ExecutorGraphPruningPassBase<GraphPruningPass> {
     public:
      GraphPruningPass() = default;
      explicit GraphPruningPass(llvm::ArrayRef<std::string> ops_to_preserve);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/sccp.go

    // due to lattice depth, resulting in a fast convergence speed of the algorithm.
    // In this way, sccp can discover optimization opportunities that cannot be found
    // by just combining constant folding and constant propagation and dead code
    // elimination separately.
    
    // Three level lattice holds compile time knowledge about SSA value
    const (
    	top      int8 = iota // undefined
    	constant             // constant
    	bottom               // not a constant
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:54:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top