/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | if_conversion.cpp | 80 BasicBlock* true_def_block = context()->get_instr_block(true_value); in Process() 81 BasicBlock* false_def_block = context()->get_instr_block(false_value); in Process() 155 BasicBlock* inc0 = context()->get_instr_block(preds[0]); in CheckBlock() 158 BasicBlock* inc1 = context()->get_instr_block(preds[1]); in CheckBlock() 178 if (user->opcode() == SpvOpPhi && context()->get_instr_block(user) == block) in CheckPhiUsers() 209 return context()->get_instr_block(get_def_use_mgr()->GetDef(id)); in GetBlock() 226 BasicBlock* inst_block = context()->get_instr_block(inst); in HoistInstruction() 260 BasicBlock* inst_block = context()->get_instr_block(inst); in CanHoistInstruction()
|
D | propagator.cpp | 50 if (!BlockHasBeenSimulated(ctx_->get_instr_block(use_instr))) { in AddSSAEdges() 61 BasicBlock* phi_bb = ctx_->get_instr_block(phi); in IsPhiArgExecutable() 65 BasicBlock* in_bb = ctx_->get_instr_block(in_label_instr); in IsPhiArgExecutable() 110 BasicBlock* block = ctx_->get_instr_block(instr); in Simulate() 126 AddControlEdge(Edge(ctx_->get_instr_block(instr), dest_bb)); in Simulate() 220 ctx_->get_instr_block(get_def_use_mgr()->GetDef(label_id)); in Initialize()
|
D | code_sink.cpp | 76 BasicBlock* original_bb = context()->get_instr_block(inst); in FindNewBasicBlockFor() 83 bbs_with_uses.insert(context()->get_instr_block(use)->id()); in FindNewBasicBlockFor() 102 bb = context()->get_instr_block(succ_bb_id); in FindNewBasicBlockFor() 142 bb = context()->get_instr_block(bb->MergeBlockIdIfAny()); in FindNewBasicBlockFor() 160 bb = context()->get_instr_block(bb_used_in); in FindNewBasicBlockFor() 293 BasicBlock* bb = context()->get_instr_block(worklist.back()); in IntersectsPath()
|
D | dominator_analysis.cpp | 51 BasicBlock* bb_a = a->context()->get_instr_block(a); in Dominates() 52 BasicBlock* bb_b = b->context()->get_instr_block(b); in Dominates()
|
D | aggressive_dead_code_elim_pass.cpp | 146 !IsStructuredHeader(context()->get_instr_block(inst), nullptr, nullptr, in IsDead() 256 BasicBlock* header = context()->get_instr_block(mergeInst); in AddBreaksAndContinuesToWorklist() 259 BasicBlock* merge = context()->get_instr_block(mergeId); in AddBreaksAndContinuesToWorklist() 264 BasicBlock* block = context()->get_instr_block(user); in AddBreaksAndContinuesToWorklist() 298 BasicBlock* blk = context()->get_instr_block(user); in AddBreaksAndContinuesToWorklist() 436 BasicBlock* blk = context()->get_instr_block(liveInst); in AggressiveDCE()
|
D | merge_return_pass.cpp | 210 BasicBlock* target_block = context()->get_instr_block(target); in BranchToBlock() 234 MarkForNewPhiNodes(target, context()->get_instr_block(target_pred[0])); in UpdatePhiNodes() 243 BasicBlock* inst_bb = context()->get_instr_block(&inst); in CreatePhiNodesForInst() 252 user_bb = context()->get_instr_block(user); in CreatePhiNodesForInst() 258 user_bb = context()->get_instr_block(user_bb_id); in CreatePhiNodesForInst() 324 BasicBlock* succ_block = context()->get_instr_block(idx); in PredicateBlocks() 356 block = context()->get_instr_block(merge_block_id); in PredicateBlocks() 388 BasicBlock* merge_block = context()->get_instr_block(merge_block_id); in BreakFromConstruct()
|
D | block_merge_pass.cpp | 69 BasicBlock* succ_block = context()->get_instr_block(lab_id); in MergeBlocks() 120 return IsHeader(context()->get_instr_block(get_def_use_mgr()->GetDef(id))); in IsHeader()
|
D | merge_return_pass.h | 130 ->get_instr_block(current_merge_) in CurrentMergeHeader() 141 ? loop_merge_->context()->get_instr_block(loop_merge_)->id() in CurrentLoopHeader()
|
D | dead_branch_elim_pass.cpp | 91 return context()->get_instr_block(get_def_use_mgr()->GetDef(id)); in GetParentBlock() 175 context()->get_instr_block(first_break)); in MarkLiveBlocks() 452 BasicBlock* start_block = context()->get_instr_block(start_block_id); in FindFirstExitFromSelectionMerge()
|
D | scalar_replacement_pass.cpp | 133 BasicBlock* block = context()->get_instr_block(load); in ReplaceWholeLoad() 183 BasicBlock* block = context()->get_instr_block(store); in ReplaceWholeStore() 249 context()->set_instr_block(&*iter, context()->get_instr_block(chain)); in ReplaceAccessChain() 344 BasicBlock* block = context()->get_instr_block(varInst); in CreateVariable()
|
D | loop_fission.cpp | 136 !context_->get_instr_block(user) || in TraverseUseDef() 137 !loop_->IsInsideLoop(context_->get_instr_block(user))) { in TraverseUseDef()
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | if_conversion.cpp | 80 BasicBlock* true_def_block = context()->get_instr_block(true_value); in Process() 81 BasicBlock* false_def_block = context()->get_instr_block(false_value); in Process() 155 BasicBlock* inc0 = context()->get_instr_block(preds[0]); in CheckBlock() 158 BasicBlock* inc1 = context()->get_instr_block(preds[1]); in CheckBlock() 178 if (user->opcode() == SpvOpPhi && context()->get_instr_block(user) == block) in CheckPhiUsers() 209 return context()->get_instr_block(get_def_use_mgr()->GetDef(id)); in GetBlock() 226 BasicBlock* inst_block = context()->get_instr_block(inst); in HoistInstruction() 260 BasicBlock* inst_block = context()->get_instr_block(inst); in CanHoistInstruction()
|
D | propagator.cpp | 50 if (!BlockHasBeenSimulated(ctx_->get_instr_block(use_instr))) { in AddSSAEdges() 61 BasicBlock* phi_bb = ctx_->get_instr_block(phi); in IsPhiArgExecutable() 65 BasicBlock* in_bb = ctx_->get_instr_block(in_label_instr); in IsPhiArgExecutable() 110 BasicBlock* block = ctx_->get_instr_block(instr); in Simulate() 126 AddControlEdge(Edge(ctx_->get_instr_block(instr), dest_bb)); in Simulate() 220 ctx_->get_instr_block(get_def_use_mgr()->GetDef(label_id)); in Initialize()
|
D | dominator_analysis.cpp | 51 BasicBlock* bb_a = a->context()->get_instr_block(a); in Dominates() 52 BasicBlock* bb_b = b->context()->get_instr_block(b); in Dominates()
|
D | aggressive_dead_code_elim_pass.cpp | 146 !IsStructuredHeader(context()->get_instr_block(inst), nullptr, nullptr, in IsDead() 256 BasicBlock* header = context()->get_instr_block(mergeInst); in AddBreaksAndContinuesToWorklist() 259 BasicBlock* merge = context()->get_instr_block(mergeId); in AddBreaksAndContinuesToWorklist() 264 BasicBlock* block = context()->get_instr_block(user); in AddBreaksAndContinuesToWorklist() 298 BasicBlock* blk = context()->get_instr_block(user); in AddBreaksAndContinuesToWorklist() 436 BasicBlock* blk = context()->get_instr_block(liveInst); in AggressiveDCE()
|
D | block_merge_pass.cpp | 69 BasicBlock* succ_block = context()->get_instr_block(lab_id); in MergeBlocks() 120 return IsHeader(context()->get_instr_block(get_def_use_mgr()->GetDef(id))); in IsHeader()
|
D | merge_return_pass.cpp | 210 BasicBlock* target_block = context()->get_instr_block(target); in BranchToBlock() 234 MarkForNewPhiNodes(target, context()->get_instr_block(target_pred[0])); in UpdatePhiNodes() 243 BasicBlock* inst_bb = context()->get_instr_block(&inst); in CreatePhiNodesForInst() 252 user_bb = context()->get_instr_block(user); in CreatePhiNodesForInst() 258 user_bb = context()->get_instr_block(user_bb_id); in CreatePhiNodesForInst() 324 BasicBlock* succ_block = context()->get_instr_block(idx); in PredicateBlocks() 347 next = context()->get_instr_block(state->LoopMergeId()); in PredicateBlocks()
|
D | merge_return_pass.h | 130 ->get_instr_block(current_merge_) in CurrentMergeHeader() 141 ? loop_merge_->context()->get_instr_block(loop_merge_)->id() in CurrentLoopHeader()
|
D | dead_branch_elim_pass.cpp | 91 return context()->get_instr_block(get_def_use_mgr()->GetDef(id)); in GetParentBlock() 175 context()->get_instr_block(first_break)); in MarkLiveBlocks() 452 BasicBlock* start_block = context()->get_instr_block(start_block_id); in FindFirstExitFromSelectionMerge()
|
D | scalar_replacement_pass.cpp | 133 BasicBlock* block = context()->get_instr_block(load); in ReplaceWholeLoad() 183 BasicBlock* block = context()->get_instr_block(store); in ReplaceWholeStore() 249 context()->set_instr_block(&*iter, context()->get_instr_block(chain)); in ReplaceAccessChain() 344 BasicBlock* block = context()->get_instr_block(varInst); in CreateVariable()
|
D | loop_fission.cpp | 136 !context_->get_instr_block(user) || in TraverseUseDef() 137 !loop_->IsInsideLoop(context_->get_instr_block(user))) { in TraverseUseDef()
|
/external/deqp-deps/SPIRV-Tools/test/opt/ |
D | ir_builder.cpp | 117 context->get_instr_block(nullptr); in TEST_F() 126 EXPECT_EQ(context->get_instr_block(phi1), nullptr); in TEST_F() 127 EXPECT_EQ(context->get_instr_block(phi2), nullptr); in TEST_F() 138 context->get_instr_block(nullptr); in TEST_F() 150 EXPECT_NE(context->get_instr_block(phi1), nullptr); in TEST_F() 151 EXPECT_NE(context->get_instr_block(phi2), nullptr); in TEST_F()
|
/external/swiftshader/third_party/SPIRV-Tools/test/opt/ |
D | ir_builder.cpp | 117 context->get_instr_block(nullptr); in TEST_F() 126 EXPECT_EQ(context->get_instr_block(phi1), nullptr); in TEST_F() 127 EXPECT_EQ(context->get_instr_block(phi2), nullptr); in TEST_F() 138 context->get_instr_block(nullptr); in TEST_F() 150 EXPECT_NE(context->get_instr_block(phi1), nullptr); in TEST_F() 151 EXPECT_NE(context->get_instr_block(phi2), nullptr); in TEST_F()
|
/external/swiftshader/third_party/SPIRV-Tools/source/reduce/ |
D | operand_to_dominating_id_reduction_pass.cpp | 85 if (!context->get_instr_block(def)) { in GetOpportunitiesForDominatingInst()
|
/external/deqp-deps/SPIRV-Tools/source/reduce/ |
D | operand_to_dominating_id_reduction_pass.cpp | 85 if (!context->get_instr_block(def)) { in GetOpportunitiesForDominatingInst()
|