Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_add_opphi_synonyms.cpp97 for (uint32_t pred_id : GetIRContext()->cfg()->preds(block.id())) { in Apply() local
98 auto suitable_ids = GetSuitableIds(*chosen_equivalence_class, pred_id); in Apply()
106 pred_with_alternatives = pred_id; in Apply()
116 preds_to_ids[pred_id] = chosen_id; in Apply()
236 for (auto pred_id : GetIRContext()->cfg()->preds(block_id)) { in EquivalenceClassIsSuitableForBlock() local
239 GetIRContext()->get_instr_block(pred_id)->terminator(); in EquivalenceClassIsSuitableForBlock()
273 const std::set<uint32_t>& ids, uint32_t pred_id) { in GetSuitableIds() argument
278 auto predecessor = fuzzerutil::MaybeFindBlock(GetIRContext(), pred_id); in GetSuitableIds()
Dtransformation_replace_opselect_with_conditional_branch.cpp87 uint32_t pred_id = predecessors[0]; in IsApplicable() local
88 auto predecessor = ir_context->get_instr_block(pred_id); in IsApplicable()
Dtransformation_add_loop_to_create_int_constant_synonym.cpp252 uint32_t pred_id = in Apply() local
274 {SPV_OPERAND_TYPE_ID, {pred_id}}, in Apply()
282 {SPV_OPERAND_TYPE_ID, {pred_id}}, in Apply()
Dfuzzer_pass_add_opphi_synonyms.h53 uint32_t pred_id);
/third_party/spirv-tools/source/fuzz/
Dfuzzer_pass_add_opphi_synonyms.cpp97 for (uint32_t pred_id : GetIRContext()->cfg()->preds(block.id())) { in Apply() local
98 auto suitable_ids = GetSuitableIds(*chosen_equivalence_class, pred_id); in Apply()
106 pred_with_alternatives = pred_id; in Apply()
116 preds_to_ids[pred_id] = chosen_id; in Apply()
236 for (auto pred_id : GetIRContext()->cfg()->preds(block_id)) { in EquivalenceClassIsSuitableForBlock() local
239 GetIRContext()->get_instr_block(pred_id)->terminator(); in EquivalenceClassIsSuitableForBlock()
273 const std::set<uint32_t>& ids, uint32_t pred_id) { in GetSuitableIds() argument
278 auto predecessor = fuzzerutil::MaybeFindBlock(GetIRContext(), pred_id); in GetSuitableIds()
Dtransformation_replace_opselect_with_conditional_branch.cpp87 uint32_t pred_id = predecessors[0]; in IsApplicable() local
88 auto predecessor = ir_context->get_instr_block(pred_id); in IsApplicable()
Dtransformation_add_loop_to_create_int_constant_synonym.cpp252 uint32_t pred_id = in Apply() local
274 {SPV_OPERAND_TYPE_ID, {pred_id}}, in Apply()
282 {SPV_OPERAND_TYPE_ID, {pred_id}}, in Apply()
Dfuzzer_pass_add_opphi_synonyms.h53 uint32_t pred_id);
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dfuzzer_pass_add_opphi_synonyms.cpp97 for (uint32_t pred_id : GetIRContext()->cfg()->preds(block.id())) { in Apply() local
98 auto suitable_ids = GetSuitableIds(*chosen_equivalence_class, pred_id); in Apply()
106 pred_with_alternatives = pred_id; in Apply()
116 preds_to_ids[pred_id] = chosen_id; in Apply()
236 for (auto pred_id : GetIRContext()->cfg()->preds(block_id)) { in EquivalenceClassIsSuitableForBlock() local
239 GetIRContext()->get_instr_block(pred_id)->terminator(); in EquivalenceClassIsSuitableForBlock()
273 const std::set<uint32_t>& ids, uint32_t pred_id) { in GetSuitableIds() argument
278 auto predecessor = fuzzerutil::MaybeFindBlock(GetIRContext(), pred_id); in GetSuitableIds()
Dtransformation_replace_opselect_with_conditional_branch.cpp87 uint32_t pred_id = predecessors[0]; in IsApplicable() local
88 auto predecessor = ir_context->get_instr_block(pred_id); in IsApplicable()
Dtransformation_add_loop_to_create_int_constant_synonym.cpp252 uint32_t pred_id = in Apply() local
274 {SPV_OPERAND_TYPE_ID, {pred_id}}, in Apply()
282 {SPV_OPERAND_TYPE_ID, {pred_id}}, in Apply()
Dfuzzer_pass_add_opphi_synonyms.h53 uint32_t pred_id);
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dccp_pass.cpp187 uint32_t pred_id = instr->GetSingleWordOperand(0); in VisitBranch() local
188 auto it = values_.find(pred_id); in VisitBranch()
Dloop_descriptor.cpp380 for (uint32_t pred_id : cfg->preds(bb->id())) { in GetMergingBlocks() local
381 if (!IsInsideLoop(pred_id) && !merging_blocks->count(pred_id)) { in GetMergingBlocks()
382 to_visit.push(cfg->block(pred_id)); in GetMergingBlocks()
Dloop_utils.cpp236 for (uint32_t pred_id : cfg_->preds(bb_id)) { in GetDefiningBlocks() local
237 const std::vector<uint32_t>& pred_blocks = GetDefiningBlocks(pred_id); in GetDefiningBlocks()
241 defining_blocks.push_back(pred_id); in GetDefiningBlocks()
Dmerge_return_pass.cpp313 for (uint32_t pred_id : preds) { in CreatePhiNodesForInst() local
314 if (new_edges.count(pred_id)) { in CreatePhiNodesForInst()
319 phi_operands.push_back(pred_id); in CreatePhiNodesForInst()
/third_party/spirv-tools/source/opt/
Dccp_pass.cpp221 uint32_t pred_id = instr->GetSingleWordOperand(0); in VisitBranch() local
222 auto it = values_.find(pred_id); in VisitBranch()
Dloop_descriptor.cpp380 for (uint32_t pred_id : cfg->preds(bb->id())) { in GetMergingBlocks() local
381 if (!IsInsideLoop(pred_id) && !merging_blocks->count(pred_id)) { in GetMergingBlocks()
382 to_visit.push(cfg->block(pred_id)); in GetMergingBlocks()
Dloop_utils.cpp236 for (uint32_t pred_id : cfg_->preds(bb_id)) { in GetDefiningBlocks() local
237 const std::vector<uint32_t>& pred_blocks = GetDefiningBlocks(pred_id); in GetDefiningBlocks()
241 defining_blocks.push_back(pred_id); in GetDefiningBlocks()
Dmerge_return_pass.cpp313 for (uint32_t pred_id : preds) { in CreatePhiNodesForInst() local
314 if (new_edges.count(pred_id)) { in CreatePhiNodesForInst()
319 phi_operands.push_back(pred_id); in CreatePhiNodesForInst()
Dloop_peeling.cpp73 for (uint32_t pred_id : cfg.preds(loop_->GetMergeBlock()->id())) { in DuplicateAndConnectLoop() local
74 if (loop_->IsInsideLoop(pred_id)) continue; in DuplicateAndConnectLoop()
75 BasicBlock* bb = cfg.block(pred_id); in DuplicateAndConnectLoop()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dccp_pass.cpp220 uint32_t pred_id = instr->GetSingleWordOperand(0); in VisitBranch() local
221 auto it = values_.find(pred_id); in VisitBranch()
Dloop_descriptor.cpp380 for (uint32_t pred_id : cfg->preds(bb->id())) { in GetMergingBlocks() local
381 if (!IsInsideLoop(pred_id) && !merging_blocks->count(pred_id)) { in GetMergingBlocks()
382 to_visit.push(cfg->block(pred_id)); in GetMergingBlocks()
Dloop_utils.cpp236 for (uint32_t pred_id : cfg_->preds(bb_id)) { in GetDefiningBlocks() local
237 const std::vector<uint32_t>& pred_blocks = GetDefiningBlocks(pred_id); in GetDefiningBlocks()
241 defining_blocks.push_back(pred_id); in GetDefiningBlocks()
Dmerge_return_pass.cpp313 for (uint32_t pred_id : preds) { in CreatePhiNodesForInst() local
314 if (new_edges.count(pred_id)) { in CreatePhiNodesForInst()
319 phi_operands.push_back(pred_id); in CreatePhiNodesForInst()

12