Home
last modified time | relevance | path

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

12

/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/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/angle/third_party/vulkan-deps/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/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/
Dimmutable_executor_state.cc50 if (IsMerge(n)) { in GetMaxPendingCounts()
104 if (IsSwitch(n) || IsMerge(n) || IsEnter(n) || IsExit(n)) { in Initialize()
140 item->is_merge = IsMerge(n); in Initialize()
143 if (IsMerge(consumer) || IsControlTrigger(consumer)) { in Initialize()
Dlower_if_op_test.cc95 ASSERT_FALSE(op->IsMerge()); in TEST()
113 if (op->IsMerge()) { in TEST()
224 if (op->IsMerge()) ++merge_count; in TEST()
Dlower_while_op_test.cc95 ASSERT_FALSE(op->IsMerge()); in TEST()
126 if (op->IsMerge()) { in TEST()
441 ASSERT_FALSE(op->IsMerge()); in TEST()
466 if (op->IsMerge()) { in TEST()
Dlower_case_op_test.cc99 ASSERT_FALSE(op->IsMerge()); in TEST()
117 if (op->IsMerge()) { in TEST()
260 if (op->IsMerge()) ++merge_count; in TEST()
Deval_const_tensor.cc154 if (IsMerge(&target_node)) { in ExtractConstantSubgraph()
214 if (IsMerge(current_node)) { in ExtractConstantSubgraph()
/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.h158 bool IsMerge() const { return class_ == NC_MERGE; } in IsMerge() function
176 (IsSwitch() || IsMerge() || IsEnter() || IsExit() || in IsControlFlow()
813 inline bool IsMerge(const Node* node) { return node->IsMerge(); } in IsMerge() function
Dvalidate.cc73 if (n->IsMerge()) { in ValidateGraphHasNoCycle()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dgeneric_layout_optimizer_transposer_factory.cc97 if (IsMerge(node)) { in GetTransposer()
Ddependency_optimizer.cc80 if (node.input_size() > 1 && (IsRetval(*consumer) || IsMerge(*consumer))) { in SafeToRemoveIdentity()
111 if (IsMerge(node) || IsSwitch(node) || ModifiesFrameInfo(node)) { in SafeToConvertToNoOp()
548 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/core/grappler/utils/
Dtopological_sort.cc71 if (IsMerge(graph.node(i))) { in ComputeTopologicalOrder()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dfunctionalize_cond.cc469 int dst_input = IsMerge(e->dst()) ? 0 : e->dst_input(); in BuildArgumentNodes()
586 if (IsMerge(dst)) continue; in ExtractBodies()
640 if (IsMerge(dst) || src_id == dst_id) { in ExtractBodies()
851 if (predicate_.node->IsMerge()) { in AddInputEdges()
1298 if (IsMerge(dst_node)) { in RemoveRedundantSwitch()
1329 if (IsMerge(dst)) TF_RETURN_IF_ERROR(RemoveRedundantMerge(dst)); in DetermineStates()
1347 if (IsMerge(src)) { in DetermineAncestorState()
1498 if (IsMerge(n)) { in FunctionalizeInternal()
Dfunctionalize_cond.h230 if (IsMerge(dst)) return DetermineCondStateMerge(dst); in DetermineCondState()
/external/tensorflow/tensorflow/core/grappler/costs/
Danalytical_cost_estimator.cc74 if (!IsMerge(*node_manager->GetCurrNode())) in AddCostNode()

12