Home
last modified time | relevance | path

Searched refs:dominators (Results 1 – 21 of 21) sorted by relevance

/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dif_conversion.cpp34 DominatorAnalysis* dominators = context()->GetDominatorAnalysis(&func); in Process() local
39 if (!CheckBlock(&block, dominators, &common)) continue; in Process()
51 dominators, &block, &vn_table](Instruction* phi) { in Process()
72 dominators->Dominates(then_block, inc0)) { in Process()
92 dominators->Dominates(true_def_block, &block)) { in Process()
95 dominators->Dominates(false_def_block, &block)) { in Process()
97 } else if (CanHoistInstruction(true_value, common, dominators)) { in Process()
99 } else if (CanHoistInstruction(false_value, common, dominators)) { in Process()
105 HoistInstruction(inst_to_use, common, dominators); in Process()
117 if (true_def_block && !dominators->Dominates(true_def_block, &block)) in Process()
[all …]
Dif_conversion.h69 bool CheckBlock(BasicBlock* block, DominatorAnalysis* dominators,
78 DominatorAnalysis* dominators);
83 DominatorAnalysis* dominators);
Ddead_branch_elim_pass.cpp447 DominatorAnalysis* dominators = context()->GetDominatorAnalysis(function); in FixBlockOrder() local
449 for (auto iter = dominators->GetDomTree().begin(); in FixBlockOrder()
450 iter != dominators->GetDomTree().end(); ++iter) { in FixBlockOrder()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dif_conversion.cpp34 DominatorAnalysis* dominators = context()->GetDominatorAnalysis(&func); in Process() local
39 if (!CheckBlock(&block, dominators, &common)) continue; in Process()
51 dominators, &block, &vn_table](Instruction* phi) { in Process()
72 dominators->Dominates(then_block, inc0)) { in Process()
92 dominators->Dominates(true_def_block, &block)) { in Process()
95 dominators->Dominates(false_def_block, &block)) { in Process()
97 } else if (CanHoistInstruction(true_value, common, dominators)) { in Process()
99 } else if (CanHoistInstruction(false_value, common, dominators)) { in Process()
105 HoistInstruction(inst_to_use, common, dominators); in Process()
117 if (true_def_block && !dominators->Dominates(true_def_block, &block)) in Process()
[all …]
Dif_conversion.h69 bool CheckBlock(BasicBlock* block, DominatorAnalysis* dominators,
78 DominatorAnalysis* dominators);
83 DominatorAnalysis* dominators);
Ddead_branch_elim_pass.cpp447 DominatorAnalysis* dominators = context()->GetDominatorAnalysis(function); in FixBlockOrder() local
449 for (auto iter = dominators->GetDomTree().begin(); in FixBlockOrder()
450 iter != dominators->GetDomTree().end(); ++iter) { in FixBlockOrder()
/third_party/spirv-tools/source/opt/
Dif_conversion.cpp34 DominatorAnalysis* dominators = context()->GetDominatorAnalysis(&func); in Process() local
39 if (!CheckBlock(&block, dominators, &common)) continue; in Process()
51 dominators, &block, &vn_table](Instruction* phi) { in Process()
72 dominators->Dominates(then_block, inc0)) { in Process()
92 dominators->Dominates(true_def_block, &block)) { in Process()
95 dominators->Dominates(false_def_block, &block)) { in Process()
97 } else if (CanHoistInstruction(true_value, common, dominators)) { in Process()
99 } else if (CanHoistInstruction(false_value, common, dominators)) { in Process()
105 HoistInstruction(inst_to_use, common, dominators); in Process()
117 if (true_def_block && !dominators->Dominates(true_def_block, &block)) in Process()
[all …]
Dif_conversion.h69 bool CheckBlock(BasicBlock* block, DominatorAnalysis* dominators,
78 DominatorAnalysis* dominators);
83 DominatorAnalysis* dominators);
Ddead_branch_elim_pass.cpp447 DominatorAnalysis* dominators = context()->GetDominatorAnalysis(function); in FixBlockOrder() local
449 for (auto iter = dominators->GetDomTree().begin(); in FixBlockOrder()
450 iter != dominators->GetDomTree().end(); ++iter) { in FixBlockOrder()
/third_party/ltp/tools/sparse/sparse-src/
Dmemops.c20 static void rewrite_load_instruction(struct instruction *insn, struct pseudo_list *dominators) in rewrite_load_instruction() argument
29 FOR_EACH_PTR(dominators, phi) { in rewrite_load_instruction()
42 FOR_EACH_PTR(dominators, phi) { in rewrite_load_instruction()
50 insn->phi_list = dominators; in rewrite_load_instruction()
57 struct basic_block *bb, struct pseudo_list **dominators, in find_dominating_parents() argument
88 if (!find_dominating_parents(insn, parent, dominators, local)) in find_dominating_parents()
98 use_pseudo(insn, phi, add_pseudo(dominators, phi)); in find_dominating_parents()
143 struct pseudo_list *dominators; in simplify_loads() local
175 dominators = NULL; in simplify_loads()
176 if (find_dominating_parents(insn, bb, &dominators, local)) { in simplify_loads()
[all …]
/third_party/spirv-tools/source/reduce/
Dstructured_construct_to_block_reduction_opportunity_finder.cpp38 auto* dominators = context->GetDominatorAnalysis(function); in GetAvailableOpportunities() local
60 dominators->Dominates(entry->first, &block) && in GetAvailableOpportunities()
91 assert(dominators->Dominates(&block, merge_block) && in GetAvailableOpportunities()
Dstructured_construct_to_block_reduction_opportunity.cpp32 auto* dominators = context_->GetDominatorAnalysis(enclosing_function); in Apply() local
40 dominators->Dominates(header_block, &*block_it) && in Apply()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/
Dstructured_construct_to_block_reduction_opportunity_finder.cpp38 auto* dominators = context->GetDominatorAnalysis(function); in GetAvailableOpportunities() local
60 dominators->Dominates(entry->first, &block) && in GetAvailableOpportunities()
91 assert(dominators->Dominates(&block, merge_block) && in GetAvailableOpportunities()
Dstructured_construct_to_block_reduction_opportunity.cpp32 auto* dominators = context_->GetDominatorAnalysis(enclosing_function); in Apply() local
40 dominators->Dominates(header_block, &*block_it) && in Apply()
/third_party/skia/third_party/externals/spirv-tools/source/reduce/
Dstructured_construct_to_block_reduction_opportunity_finder.cpp38 auto* dominators = context->GetDominatorAnalysis(function); in GetAvailableOpportunities() local
60 dominators->Dominates(entry->first, &block) && in GetAvailableOpportunities()
91 assert(dominators->Dominates(&block, merge_block) && in GetAvailableOpportunities()
Dstructured_construct_to_block_reduction_opportunity.cpp32 auto* dominators = context_->GetDominatorAnalysis(enclosing_function); in Apply() local
40 dominators->Dominates(header_block, &*block_it) && in Apply()
/third_party/node/deps/v8/src/compiler/
Dverifier.cc2036 ZoneVector<BitVector*> dominators(zone); in Run() local
2037 dominators.resize(count, nullptr); in Run()
2043 dominators[start->id().ToSize()] = in Run()
2048 BitVector* block_doms = dominators[block->id().ToSize()]; in Run()
2056 BitVector* succ_doms = dominators[succ->id().ToSize()]; in Run()
2063 dominators[succ->id().ToSize()] = succ_doms; in Run()
2081 BitVector* block_doms = dominators[block->id().ToSize()]; in Run()
2086 !dominators[idom->id().ToSize()]->Contains(dom->id().ToInt())) { in Run()
Dscheduler.cc1683 ZoneMap<BasicBlock*, Node*> dominators(scheduler_->zone_); in SplitNode() local
1691 auto& use_node = dominators[use_block]; in SplitNode()
1693 if (dominators.size() == 1u) { in SplitNode()
/third_party/spirv-tools/
DCHANGES19 - Improve time to build dominators (#4916)
609 - Record correct dominators in merge return (#2760)
/third_party/skia/third_party/externals/spirv-tools/
DCHANGES501 - Record correct dominators in merge return (#2760)
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/
DCHANGES501 - Record correct dominators in merge return (#2760)