Home
last modified time | relevance | path

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

12

/external/angle/third_party/spirv-tools/src/source/opt/
Dblock_merge_util.cpp36 bool IsMerge(IRContext* context, uint32_t id) { in IsMerge() function
48 bool IsMerge(IRContext* context, BasicBlock* block) { in IsMerge() function
49 return IsMerge(context, block->id()); in IsMerge()
94 bool pred_is_merge = IsMerge(context, block); in CanMergeWithSuccessor()
95 bool succ_is_merge = IsMerge(context, lab_id); in CanMergeWithSuccessor()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dblock_merge_util.cpp36 bool IsMerge(IRContext* context, uint32_t id) { in IsMerge() function
48 bool IsMerge(IRContext* context, BasicBlock* block) { in IsMerge() function
49 return IsMerge(context, block->id()); in IsMerge()
94 bool pred_is_merge = IsMerge(context, block); in CanMergeWithSuccessor()
95 bool succ_is_merge = IsMerge(context, lab_id); in CanMergeWithSuccessor()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dblock_merge_util.cpp36 bool IsMerge(IRContext* context, uint32_t id) { in IsMerge() function
48 bool IsMerge(IRContext* context, BasicBlock* block) { in IsMerge() function
49 return IsMerge(context, block->id()); in IsMerge()
94 bool pred_is_merge = IsMerge(context, block); in CanMergeWithSuccessor()
95 bool succ_is_merge = IsMerge(context, lab_id); in CanMergeWithSuccessor()
/external/tensorflow/tensorflow/python/kernel_tests/
Dcontrol_flow_util_test.py159 self.assertTrue(control_flow_util.IsMerge(n))
164 self.assertTrue(not control_flow_util.IsMerge(n) or
174 self.assertTrue(control_flow_util.IsMerge(n))
179 self.assertTrue(not control_flow_util.IsMerge(n) or
/external/tensorflow/tensorflow/python/ops/
Dcontrol_flow_util.py97 def IsMerge(op): function
135 if not IsMerge(op):
160 if IsMerge(op):
/external/tensorflow/tensorflow/core/common_runtime/
Dlower_while_op_test.cc95 ASSERT_FALSE(op->IsMerge()); in TEST()
126 if (op->IsMerge()) { in TEST()
209 ASSERT_FALSE(op->IsMerge()); in TEST()
234 if (op->IsMerge()) { in TEST()
Dlower_if_op_test.cc97 ASSERT_FALSE(op->IsMerge()); in TEST()
115 if (op->IsMerge()) { in TEST()
226 if (op->IsMerge()) ++merge_count; in TEST()
Deval_const_tensor.cc141 if (IsMerge(&target_node)) { in ExtractConstantSubgraph()
200 if (IsMerge(current_node)) { in ExtractConstantSubgraph()
Dlower_case_op_test.cc101 ASSERT_FALSE(op->IsMerge()); in TEST()
119 if (op->IsMerge()) { in TEST()
262 if (op->IsMerge()) ++merge_count; in TEST()
/external/tensorflow/tensorflow/compiler/jit/
Dshape_inference_helpers.cc32 if (n->IsMerge()) { in Remove()
Dshape_inference.cc51 if (e.src->IsNextIteration() && e.dst->IsMerge()) { in PropagateShapes()
173 if (n->IsMerge() && n->output_type(0) == DT_RESOURCE) { in PropagateShapes()
Ddeadness_analysis.cc1000 CHECK(merge->IsMerge()); in FindUniqueBackedge()
1223 } else if (n->IsMerge()) { in HandleNode()
1261 if (IsMerge(node)) { in GetFrameBasedTopologicalOrder()
1293 if (IsNextIteration(curr_node) && IsMerge(out)) { in GetFrameBasedTopologicalOrder()
1453 if (e->dst()->IsMerge()) { in PopulateFrame()
1482 if (!n->IsMerge()) { in PopulateFrame()
Dresource_operation_safety_analysis.cc276 if (n->IsMerge() && e->src()->IsNextIteration()) { in ComputeIncompatibleResourceOperationPairs()
/external/tensorflow/tensorflow/core/graph/
Dgraph.h150 bool IsMerge() const { return class_ == NC_MERGE; } in IsMerge() function
168 (IsSwitch() || IsMerge() || IsEnter() || IsExit() || in IsControlFlow()
764 inline bool IsMerge(const Node* node) { return node->IsMerge(); } in IsMerge() function
Dvalidate.cc73 if (n->IsMerge()) { in ValidateGraphHasNoCycle()
Dgraph_constructor.cc58 inline bool IsMerge(const NodeDef& node_def) { in IsMerge() function
633 if (IsMerge(node_def)) { in BuildNodeIndex()
670 if (IsMerge(node_def)) { in InitFromEdges()
1224 if (has_data_back_edge && !IsMerge(node_def)) { in Convert()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dgeneric_layout_optimizer_transposer_factory.cc83 if (IsMerge(node)) { in GetTransposer()
Ddependency_optimizer.cc80 if (node.input_size() > 1 && (IsRetval(*consumer) || IsMerge(*consumer))) { in SafeToRemoveIdentity()
103 if (IsMerge(node) || IsSwitch(node) || ModifiesFrameInfo(node) || in SafeToConvertToNoOp()
526 if (ModifiesFrameInfo(*input_node) || IsMerge(*input_node)) { in TransitiveReduction()
Dstatic_schedule.cc72 } else if (IsMerge(node)) { in EstimateEarliestExecutionTimes()
Dloop_optimizer.cc626 if (!IsMerge(*switch_input) || !IsLoopCond(*switch_predicate)) { in CheckForDeadFanout()
649 if (IsMerge(*node)) { in CheckForDeadFanout()
821 if (IsMerge(*dead.node)) { in RemoveDeadBranches()
/external/tensorflow/tensorflow/core/distributed_runtime/
Dscheduler.cc35 if (IsMerge(node)) { in InitializePending()
54 if (IsMerge(out)) { in UpdatePending()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dfunctionalize_cond.cc461 int dst_input = IsMerge(e->dst()) ? 0 : e->dst_input(); in BuildArgumentNodes()
578 if (IsMerge(dst)) continue; in ExtractBodies()
632 if (IsMerge(dst) || src_id == dst_id) { in ExtractBodies()
839 if (predicate_.node->IsMerge()) { in AddInputEdges()
1286 if (IsMerge(dst_node)) { in RemoveRedundantSwitch()
1317 if (IsMerge(dst)) TF_RETURN_IF_ERROR(RemoveRedundantMerge(dst)); in DetermineStates()
1335 if (IsMerge(src)) { in DetermineAncestorState()
1469 if (IsMerge(n)) { in FunctionalizeInternal()
Dfunctionalize_cond.h220 if (IsMerge(dst)) return DetermineCondStateMerge(dst); in DetermineCondState()
/external/tensorflow/tensorflow/core/grappler/utils/
Dtopological_sort.cc71 if (IsMerge(graph.node(i))) { in ComputeTopologicalOrder()
/external/tensorflow/tensorflow/core/grappler/costs/
Danalytical_cost_estimator.cc74 if (!IsMerge(*node_manager->GetCurrNode())) in AddCostNode()

12