Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 58 for Predecessors (0.38 sec)

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

    			flag = end[b.Preds[0].b.ID]
    			// Note: the following condition depends on the lack of critical edges.
    			for _, e := range b.Preds[1:] {
    				p := e.b
    				if end[p.ID] != flag {
    					f.Fatalf("live flag in %s's predecessors not consistent", b)
    				}
    			}
    		}
    		for _, v := range oldSched {
    			if v.Op == OpPhi && v.Type.IsFlags() {
    				f.Fatalf("phi of flags not supported: %s", v.LongString())
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/fuse_test.go

    	for k, b := range fun.blocks {
    		if k[:1] == "z" && b.Kind != BlockInvalid {
    			t.Errorf("case2 %s was not eliminated, but should have", k)
    		}
    	}
    
    	// Case 3, empty blocks with multiple predecessors, z0 and z1 will be eliminated.
    	//     entry
    	//      |  \
    	//      |  b0
    	//      | /  \
    	//      z0   z1
    	//       \   /
    	//       exit
    	fun = c.Fun("entry",
    		Bloc("entry",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/dom.go

    	// dominatorsSimple and dominatorsLT
    	return f.dominatorsLTOrig(f.Entry, preds, succs)
    }
    
    // dominatorsLTOrig runs Lengauer-Tarjan to compute a dominator tree starting at
    // entry and using predFn/succFn to find predecessors/successors to allow
    // computing both dominator and post-dominator trees.
    func (f *Func) dominatorsLTOrig(entry *Block, predFn linkedBlocks, succFn linkedBlocks) []*Block {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Dec 03 17:08:51 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/tighten.go

    //     the second step.
    func memState(f *Func, startMem, endMem []*Value) {
    	// This slice contains the set of blocks that have had their startMem set but this
    	// startMem value has not yet been propagated to the endMem of its predecessors
    	changed := make([]*Block, 0)
    	// First step, init the memory state of some blocks.
    	for _, b := range f.Blocks {
    		for _, v := range b.Values {
    			var mem *Value
    			if v.Op == OpPhi {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 01:01:38 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/fuse.go

    			return false
    		}
    	}
    	return true
    }
    
    // fuseBlockPlain handles a run of blocks with length >= 2,
    // whose interior has single predecessors and successors,
    // b must be BlockPlain, allowing it to be any node except the
    // last (multiple successors means not BlockPlain).
    // Cycles are handled and merged into b's successor.
    func fuseBlockPlain(b *Block) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/replicate_tensor_list_init_ops.mlir

      %while:1 = "tf.WhileRegion"(%tl) ({
        ^bb0(%barg1: tensor<!tf_type.variant<tensor<?x1xf32>>>): // no predeceessors
          %cond = "tf.false"():()-> tensor<i1>
          "tf.Yield"(%cond) : (tensor<i1>) -> ()
      }, {
        ^bb0(%barg1: tensor<!tf_type.variant<tensor<?x1xf32>>>): // no predeceessors
        "tf.Yield"(%barg1) : (tensor<!tf_type.variant<tensor<?x1xf32>>>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Jan 22 17:28:34 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/order_by_dialect.cc

     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(OrderByDialectPass)
      void runOnOperation() override;
    };
    
    int DialectOrdering(Operation* predecessor, Operation* op) {
      return predecessor && predecessor->getName().getDialectNamespace() ==
                                op->getName().getDialectNamespace();
    }
    
    void OrderByDialectPass::runOnOperation() {
      ModuleOp module = getOperation();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 08 17:01:11 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/lower_globals_to_ml_program_invalid.mlir

        return %ret : tensor<?xf32>
      }
    }
    
    // -----
    
    module attributes {tf_saved_model.semantics} {
      // expected-error@+1 {{no predecessor}}
      func.func @f() -> () attributes {tf_saved_model.exported_names = ["f"]} {
      ^entry():
        return
      ^deadcode(%0: tensor<!tf_type.resource<tensor<?xf32>>>):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 24 21:57:26 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/utils/topological_sort.cc

        int incoming_ctrl_edges = 0;
        int incoming_data_edges = 0;
        op.walk([&](Operation* child) {
          ancestor[child] = &op;
          for (Operation* predecessor : ctrlPredecessors(child)) {
            if (predecessor->getBlock() == &block) {
              incoming_ctrl_edges++;
            }
          }
          for (Value v : child->getOperands()) {
            if (v.getParentBlock() == &block) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 08 17:01:11 UTC 2022
    - 5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/lower_globals_to_ml_program.cc

                                           &arg)
                        .succeeded()) {
                  options.insert(arg);
                }
              }
            } else {
              op->emitOpError("Predecessor op doesn't implement BranchOpInterface");
              return failure();
            }
          }
        }
        if (!options.empty()) {
          if (options.size() != 1) {
            op->emitOpError("Incompatible code paths.");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top