Home
last modified time | relevance | path

Searched refs:lab_id (Results 1 – 9 of 9) sorted by relevance

/external/angle/third_party/spirv-tools/src/source/opt/
Dblock_merge_util.cpp89 const uint32_t lab_id = br->GetSingleWordInOperand(0); in CanMergeWithSuccessor() local
90 if (context->cfg()->preds(lab_id).size() != 1) { in CanMergeWithSuccessor()
95 bool succ_is_merge = IsMerge(context, lab_id); in CanMergeWithSuccessor()
101 if (pred_is_merge && IsContinue(context, lab_id)) { in CanMergeWithSuccessor()
113 if (pred_is_header && lab_id != merge_inst->GetSingleWordInOperand(0u)) { in CanMergeWithSuccessor()
114 bool succ_is_header = IsHeader(context, lab_id); in CanMergeWithSuccessor()
126 BasicBlock* succ_block = context->get_instr_block(lab_id); in CanMergeWithSuccessor()
145 const uint32_t lab_id = br->GetSingleWordInOperand(0); in MergeWithSuccessor() local
153 if (sbi->id() == lab_id) break; in MergeWithSuccessor()
169 if (pred_is_header && lab_id == merge_inst->GetSingleWordInOperand(0u)) { in MergeWithSuccessor()
[all …]
Dwrap_opkill.cpp136 uint32_t lab_id = TakeNextId(); in GetOpKillFuncId() local
137 if (lab_id == 0) { in GetOpKillFuncId()
141 new Instruction(context(), SpvOpLabel, 0, lab_id, {})); in GetOpKillFuncId()
Dir_context.cpp972 bb.ForEachSuccessorLabel([&bb, &real_preds](const uint32_t lab_id) { in CheckCFG() argument
973 real_preds[lab_id].push_back(bb.id()); in CheckCFG()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dblock_merge_util.cpp89 const uint32_t lab_id = br->GetSingleWordInOperand(0); in CanMergeWithSuccessor() local
90 if (context->cfg()->preds(lab_id).size() != 1) { in CanMergeWithSuccessor()
95 bool succ_is_merge = IsMerge(context, lab_id); in CanMergeWithSuccessor()
101 if (pred_is_merge && IsContinue(context, lab_id)) { in CanMergeWithSuccessor()
113 if (pred_is_header && lab_id != merge_inst->GetSingleWordInOperand(0u)) { in CanMergeWithSuccessor()
114 bool succ_is_header = IsHeader(context, lab_id); in CanMergeWithSuccessor()
126 BasicBlock* succ_block = context->get_instr_block(lab_id); in CanMergeWithSuccessor()
145 const uint32_t lab_id = br->GetSingleWordInOperand(0); in MergeWithSuccessor() local
153 if (sbi->id() == lab_id) break; in MergeWithSuccessor()
169 if (pred_is_header && lab_id == merge_inst->GetSingleWordInOperand(0u)) { in MergeWithSuccessor()
[all …]
Dwrap_opkill.cpp136 uint32_t lab_id = TakeNextId(); in GetOpKillFuncId() local
137 if (lab_id == 0) { in GetOpKillFuncId()
141 new Instruction(context(), SpvOpLabel, 0, lab_id, {})); in GetOpKillFuncId()
Dir_context.cpp907 bb.ForEachSuccessorLabel([&bb, &real_preds](const uint32_t lab_id) { in CheckCFG() argument
908 real_preds[lab_id].push_back(bb.id()); in CheckCFG()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dblock_merge_util.cpp89 const uint32_t lab_id = br->GetSingleWordInOperand(0); in CanMergeWithSuccessor() local
90 if (context->cfg()->preds(lab_id).size() != 1) { in CanMergeWithSuccessor()
95 bool succ_is_merge = IsMerge(context, lab_id); in CanMergeWithSuccessor()
101 if (pred_is_merge && IsContinue(context, lab_id)) { in CanMergeWithSuccessor()
113 if (pred_is_header && lab_id != merge_inst->GetSingleWordInOperand(0u)) { in CanMergeWithSuccessor()
114 bool succ_is_header = IsHeader(context, lab_id); in CanMergeWithSuccessor()
126 BasicBlock* succ_block = context->get_instr_block(lab_id); in CanMergeWithSuccessor()
145 const uint32_t lab_id = br->GetSingleWordInOperand(0); in MergeWithSuccessor() local
153 if (sbi->id() == lab_id) break; in MergeWithSuccessor()
169 if (pred_is_header && lab_id == merge_inst->GetSingleWordInOperand(0u)) { in MergeWithSuccessor()
[all …]
Dwrap_opkill.cpp136 uint32_t lab_id = TakeNextId(); in GetOpKillFuncId() local
137 if (lab_id == 0) { in GetOpKillFuncId()
141 new Instruction(context(), SpvOpLabel, 0, lab_id, {})); in GetOpKillFuncId()
Dir_context.cpp909 bb.ForEachSuccessorLabel([&bb, &real_preds](const uint32_t lab_id) { in CheckCFG() argument
910 real_preds[lab_id].push_back(bb.id()); in CheckCFG()