Home
last modified time | relevance | path

Searched refs:control_input (Results 1 – 25 of 25) sorted by relevance

/external/tensorflow/tensorflow/core/graph/
Dgraph_def_builder.cc38 Node* control_input) const { in WithControlInput()
39 return Options(*this).WithControlInputImpl(control_input); in WithControlInput()
56 Node* control_input) { in WithControlInputImpl() argument
57 control_inputs_.push_back(control_input); in WithControlInputImpl()
Dgraph_def_builder.h81 Options WithControlInput(Node* control_input) const;
127 Options WithControlInputImpl(Node* control_input);
Dnode_builder.cc138 for (Node* control_input : control_inputs_) { in Finalize()
139 graph->AddControlEdge(control_input, node); in Finalize()
/external/tensorflow/tensorflow/python/framework/
Dsubscribe.py83 for control_input in op.control_inputs:
84 if control_input not in control_outputs:
85 control_outputs[control_input] = set()
86 control_outputs[control_input].add(op)
Dops.py1807 for control_input in control_inputs:
1808 c_api.TF_AddControlInput(op_desc, control_input._c_op)
/external/v8/src/compiler/
Dschedule.cc64 void BasicBlock::set_control_input(Node* control_input) { in set_control_input() argument
65 control_input_ = control_input; in set_control_input()
317 if (block->control_input() != nullptr) { in InsertBranch()
318 SetControlInput(end, block->control_input()); in InsertBranch()
334 if (block->control_input() != nullptr) { in InsertSwitch()
335 SetControlInput(end, block->control_input()); in InsertSwitch()
541 if (block->control_input() != nullptr) { in operator <<()
542 os << *block->control_input(); in operator <<()
Dbranch-elimination.cc58 Node* control_input = NodeProperties::GetControlInput(node, 0); in ReduceBranch() local
59 ControlPathConditions from_input = node_conditions_.Get(control_input); in ReduceBranch()
79 Replace(use, condition_value ? control_input : dead()); in ReduceBranch()
82 Replace(use, condition_value ? dead() : control_input); in ReduceBranch()
Dgraph-visualizer.cc672 if (current->control_input() != nullptr) { in PrintSchedule()
673 PrintNode(current->control_input()); in PrintSchedule()
681 if (FLAG_trace_turbo_types && current->control_input() != nullptr) { in PrintSchedule()
683 PrintType(current->control_input()); in PrintSchedule()
922 if (current->control_input() != nullptr) { in PrintScheduledGraph()
923 PrintScheduledNode(os, indent, current->control_input()); in PrintScheduledGraph()
941 DCHECK_NULL(current->control_input()); in PrintScheduledGraph()
Dstore-store-elimination.cc357 Node* control_input = NodeProperties::GetControlInput(node, i); in Visit() local
358 if (!HasBeenVisited(control_input)) { in Visit()
359 MarkForRevisit(control_input); in Visit()
Dschedule.h121 Node* control_input() const { return control_input_; } in NON_EXPORTED_BASE()
122 void set_control_input(Node* control_input); in NON_EXPORTED_BASE()
Dmachine-graph-verifier.cc91 i < block->NodeCount() ? block->NodeAt(i) : block->control_input(); in Run()
316 i < block->NodeCount() ? block->NodeAt(i) : block->control_input(); in Run()
Dsimd-scalar-lowering.cc386 Node* control_input = node->InputAt(3); in LowerLoadOp() local
389 control_input); in LowerLoadOp()
453 Node* control_input = node->InputAt(4); in LowerStoreOp() local
457 effect_input, control_input); in LowerStoreOp()
Dinstruction-selector.cc1074 if (block->control_input() != nullptr) { in VisitBlock()
1075 SetEffectLevel(block->control_input(), effect_level); in VisitBlock()
1095 if (!FinishEmittedInstructions(block->control_input(), current_block_end)) in VisitBlock()
1148 Node* input = block->control_input(); in VisitControl()
Dverifier.cc1813 if (node == block->control_input()) return true; in HasDominatingDef()
2017 Node* control = block->control_input(); in Run()
Deffect-control-linearizer.cc317 if (branch == block->control_input()) { in TryCloneBranch()
485 ProcessNode(block->control_input(), &frame_state, &effect, &control); in Run()
489 ProcessNode(block->control_input(), &frame_state, &effect, &control); in Run()
490 TryCloneBranch(block->control_input(), block, temp_zone(), graph(), in Run()
/external/tensorflow/tensorflow/contrib/graph_editor/
Dutil.py371 for control_input in op.control_inputs:
372 if control_input not in self._control_outputs:
373 self._control_outputs[control_input] = []
374 if op not in self._control_outputs[control_input]:
375 self._control_outputs[control_input].append(op)
/external/tensorflow/tensorflow/core/grappler/clusters/
Dsingle_machine.cc419 for (auto& control_input : *new_node->mutable_control_input()) { in MergeCosts()
420 control_input += queue_costs_id_offset; in MergeCosts()
439 for (auto& control_input : *new_node->mutable_control_input()) { in MergeCosts()
440 control_input += init_costs_id_offset; in MergeCosts()
/external/tensorflow/tensorflow/compiler/jit/
Dencapsulate_util.cc287 for (const string& control_input : control_deps) { in PostprocessControlEdgesBetweenOutsideCompilations() local
288 auto iter = node_name_index.find(control_input); in PostprocessControlEdgesBetweenOutsideCompilations()
291 control_input); in PostprocessControlEdgesBetweenOutsideCompilations()
/external/tensorflow/tensorflow/core/framework/
Dnode_def_builder.cc249 for (const auto& control_input : control_inputs_) { in Finalize() local
250 node_def->add_input(strings::StrCat("^", control_input)); in Finalize()
Dcost_graph.proto71 repeated int32 control_input = 8; field
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dvectorization_utils_test.cc487 string control_input = strings::StrCat("^", print_node.name()); in TEST() local
488 EXPECT_TRUE(cast_node.input(0) == control_input || in TEST()
489 cast_node.input(1) == control_input); in TEST()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dloop_optimizer.cc108 for (auto& control_input : enter_control_inputs) { in HandleInvariantEnter() local
109 consumer->add_input(control_input); in HandleInvariantEnter()
110 node_map_->AddOutput(NodeName(control_input), consumer->name()); in HandleInvariantEnter()
/external/v8/src/compiler/s390/
Dinstruction-selector-s390.cc1656 cont->true_block()->PredecessorAt(0)->control_input()); in VisitWordCompare()
1758 cont->true_block()->PredecessorAt(0)->control_input()); in VisitLoadAndTest()
/external/v8/src/compiler/x64/
Dinstruction-selector-x64.cc444 cont->true_block()->PredecessorAt(0)->control_input()); in VisitBinop()
1675 cont->true_block()->PredecessorAt(0)->control_input()); in VisitWordCompare()
/external/v8/src/compiler/ia32/
Dinstruction-selector-ia32.cc467 cont->true_block()->PredecessorAt(0)->control_input()); in VisitBinop()
1232 cont->true_block()->PredecessorAt(0)->control_input()); in VisitWordCompare()