/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/3rdparty/spirv-tools/source/val/ |
H A D | construct.cpp | 150 auto merge_inst = &_.ordered_instructions()[index - 1]; in IsStructuredExit() local 151 auto merge_block_id = merge_inst->GetOperandAs<uint32_t>(0u); in IsStructuredExit() 152 auto continue_block_id = merge_inst->GetOperandAs<uint32_t>(1u); in IsStructuredExit() 161 auto merge_inst = &_.ordered_instructions()[index - 1]; in IsStructuredExit() local 162 auto merge_block_id = merge_inst->GetOperandAs<uint32_t>(0u); in IsStructuredExit() 178 auto merge_inst = &_.ordered_instructions()[index - 1]; in IsStructuredExit() local 179 if (merge_inst->opcode() == SpvOpLoopMerge || in IsStructuredExit() 181 merge_inst->opcode() == SpvOpSelectionMerge && in IsStructuredExit() 183 auto merge_target = merge_inst->GetOperandAs<uint32_t>(0u); in IsStructuredExit() 193 } else if (merge_inst->opcode() == SpvOpLoopMerge) { in IsStructuredExit() [all …]
|
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/3rdparty/spirv-tools/source/val/ |
H A D | construct.cpp | 150 auto merge_inst = &_.ordered_instructions()[index - 1]; in IsStructuredExit() local 151 auto merge_block_id = merge_inst->GetOperandAs<uint32_t>(0u); in IsStructuredExit() 152 auto continue_block_id = merge_inst->GetOperandAs<uint32_t>(1u); in IsStructuredExit() 161 auto merge_inst = &_.ordered_instructions()[index - 1]; in IsStructuredExit() local 162 auto merge_block_id = merge_inst->GetOperandAs<uint32_t>(0u); in IsStructuredExit() 178 auto merge_inst = &_.ordered_instructions()[index - 1]; in IsStructuredExit() local 179 if (merge_inst->opcode() == SpvOpLoopMerge || in IsStructuredExit() 181 merge_inst->opcode() == SpvOpSelectionMerge && in IsStructuredExit() 183 auto merge_target = merge_inst->GetOperandAs<uint32_t>(0u); in IsStructuredExit() 193 } else if (merge_inst->opcode() == SpvOpLoopMerge) { in IsStructuredExit() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/SPIRV-Tools/src/source/val/ |
H A D | construct.cpp | 150 auto merge_inst = &_.ordered_instructions()[index - 1]; in IsStructuredExit() local 151 auto merge_block_id = merge_inst->GetOperandAs<uint32_t>(0u); in IsStructuredExit() 152 auto continue_block_id = merge_inst->GetOperandAs<uint32_t>(1u); in IsStructuredExit() 161 auto merge_inst = &_.ordered_instructions()[index - 1]; in IsStructuredExit() local 162 auto merge_block_id = merge_inst->GetOperandAs<uint32_t>(0u); in IsStructuredExit() 191 auto merge_inst = &_.ordered_instructions()[index - 1]; in IsStructuredExit() local 192 if (merge_inst->opcode() == SpvOpLoopMerge || in IsStructuredExit() 194 merge_inst->opcode() == SpvOpSelectionMerge && in IsStructuredExit() 196 auto merge_target = merge_inst->GetOperandAs<uint32_t>(0u); in IsStructuredExit() 206 } else if (merge_inst->opcode() == SpvOpLoopMerge) { in IsStructuredExit() [all …]
|
/dports/devel/intel-graphics-compiler/SPIRV-Tools/source/val/ |
H A D | construct.cpp | 155 auto merge_inst = &_.ordered_instructions()[index - 1]; in IsStructuredExit() local 156 auto merge_block_id = merge_inst->GetOperandAs<uint32_t>(0u); in IsStructuredExit() 157 auto continue_block_id = merge_inst->GetOperandAs<uint32_t>(1u); in IsStructuredExit() 166 auto merge_inst = &_.ordered_instructions()[index - 1]; in IsStructuredExit() local 167 auto merge_block_id = merge_inst->GetOperandAs<uint32_t>(0u); in IsStructuredExit() 197 auto merge_inst = &_.ordered_instructions()[index - 1]; in IsStructuredExit() local 198 if (merge_inst->opcode() == SpvOpLoopMerge || in IsStructuredExit() 200 merge_inst->opcode() == SpvOpSelectionMerge && in IsStructuredExit() 202 auto merge_target = merge_inst->GetOperandAs<uint32_t>(0u); in IsStructuredExit() 212 } else if (merge_inst->opcode() == SpvOpLoopMerge) { in IsStructuredExit() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/SPIRV-Tools/source/val/ |
H A D | construct.cpp | 150 auto merge_inst = &_.ordered_instructions()[index - 1]; in IsStructuredExit() local 151 auto merge_block_id = merge_inst->GetOperandAs<uint32_t>(0u); in IsStructuredExit() 152 auto continue_block_id = merge_inst->GetOperandAs<uint32_t>(1u); in IsStructuredExit() 161 auto merge_inst = &_.ordered_instructions()[index - 1]; in IsStructuredExit() local 162 auto merge_block_id = merge_inst->GetOperandAs<uint32_t>(0u); in IsStructuredExit() 191 auto merge_inst = &_.ordered_instructions()[index - 1]; in IsStructuredExit() local 192 if (merge_inst->opcode() == SpvOpLoopMerge || in IsStructuredExit() 194 merge_inst->opcode() == SpvOpSelectionMerge && in IsStructuredExit() 196 auto merge_target = merge_inst->GetOperandAs<uint32_t>(0u); in IsStructuredExit() 206 } else if (merge_inst->opcode() == SpvOpLoopMerge) { in IsStructuredExit() [all …]
|
/dports/graphics/spirv-tools/SPIRV-Tools-2021.4/source/val/ |
H A D | construct.cpp | 155 auto merge_inst = &_.ordered_instructions()[index - 1]; in IsStructuredExit() local 156 auto merge_block_id = merge_inst->GetOperandAs<uint32_t>(0u); in IsStructuredExit() 157 auto continue_block_id = merge_inst->GetOperandAs<uint32_t>(1u); in IsStructuredExit() 166 auto merge_inst = &_.ordered_instructions()[index - 1]; in IsStructuredExit() local 167 auto merge_block_id = merge_inst->GetOperandAs<uint32_t>(0u); in IsStructuredExit() 197 auto merge_inst = &_.ordered_instructions()[index - 1]; in IsStructuredExit() local 198 if (merge_inst->opcode() == SpvOpLoopMerge || in IsStructuredExit() 200 merge_inst->opcode() == SpvOpSelectionMerge && in IsStructuredExit() 202 auto merge_target = merge_inst->GetOperandAs<uint32_t>(0u); in IsStructuredExit() 212 } else if (merge_inst->opcode() == SpvOpLoopMerge) { in IsStructuredExit() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/SPIRV-Tools/src/source/val/ |
H A D | construct.cpp | 150 auto merge_inst = &_.ordered_instructions()[index - 1]; in IsStructuredExit() local 151 auto merge_block_id = merge_inst->GetOperandAs<uint32_t>(0u); in IsStructuredExit() 152 auto continue_block_id = merge_inst->GetOperandAs<uint32_t>(1u); in IsStructuredExit() 161 auto merge_inst = &_.ordered_instructions()[index - 1]; in IsStructuredExit() local 162 auto merge_block_id = merge_inst->GetOperandAs<uint32_t>(0u); in IsStructuredExit() 191 auto merge_inst = &_.ordered_instructions()[index - 1]; in IsStructuredExit() local 192 if (merge_inst->opcode() == SpvOpLoopMerge || in IsStructuredExit() 194 merge_inst->opcode() == SpvOpSelectionMerge && in IsStructuredExit() 196 auto merge_target = merge_inst->GetOperandAs<uint32_t>(0u); in IsStructuredExit() 206 } else if (merge_inst->opcode() == SpvOpLoopMerge) { in IsStructuredExit() [all …]
|
/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/3rdparty/spirv-tools/source/fuzz/ |
H A D | transformation_set_loop_control.cpp | 40 auto merge_inst = block->GetMergeInst(); in IsApplicable() local 41 if (!merge_inst || merge_inst->opcode() != SpvOpLoopMerge) { in IsApplicable() 64 merge_inst->GetSingleWordInOperand(kLoopControlMaskInOperandIndex); in IsApplicable() 110 auto merge_inst = in Apply() local 113 merge_inst->GetSingleWordInOperand(kLoopControlMaskInOperandIndex); in Apply() 118 new_operands.push_back(merge_inst->GetInOperand(0)); in Apply() 119 new_operands.push_back(merge_inst->GetInOperand(1)); in Apply() 143 {merge_inst->GetSingleWordInOperand( in Apply() 167 merge_inst->SetInOperands(std::move(new_operands)); in Apply()
|
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/3rdparty/spirv-tools/source/fuzz/ |
H A D | transformation_set_loop_control.cpp | 40 auto merge_inst = block->GetMergeInst(); in IsApplicable() local 41 if (!merge_inst || merge_inst->opcode() != SpvOpLoopMerge) { in IsApplicable() 64 merge_inst->GetSingleWordInOperand(kLoopControlMaskInOperandIndex); in IsApplicable() 110 auto merge_inst = in Apply() local 113 merge_inst->GetSingleWordInOperand(kLoopControlMaskInOperandIndex); in Apply() 118 new_operands.push_back(merge_inst->GetInOperand(0)); in Apply() 119 new_operands.push_back(merge_inst->GetInOperand(1)); in Apply() 143 {merge_inst->GetSingleWordInOperand( in Apply() 167 merge_inst->SetInOperands(std::move(new_operands)); in Apply()
|
/dports/devel/intel-graphics-compiler/SPIRV-Tools/source/fuzz/ |
H A D | transformation_set_loop_control.cpp | 40 auto merge_inst = block->GetMergeInst(); in IsApplicable() local 41 if (!merge_inst || merge_inst->opcode() != SpvOpLoopMerge) { in IsApplicable() 64 merge_inst->GetSingleWordInOperand(kLoopControlMaskInOperandIndex); in IsApplicable() 113 auto merge_inst = in Apply() local 116 merge_inst->GetSingleWordInOperand(kLoopControlMaskInOperandIndex); in Apply() 121 new_operands.push_back(merge_inst->GetInOperand(0)); in Apply() 122 new_operands.push_back(merge_inst->GetInOperand(1)); in Apply() 146 {merge_inst->GetSingleWordInOperand( in Apply() 170 merge_inst->SetInOperands(std::move(new_operands)); in Apply()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
H A D | transformation_set_loop_control.cpp | 40 auto merge_inst = block->GetMergeInst(); in IsApplicable() local 41 if (!merge_inst || merge_inst->opcode() != SpvOpLoopMerge) { in IsApplicable() 64 merge_inst->GetSingleWordInOperand(kLoopControlMaskInOperandIndex); in IsApplicable() 111 auto merge_inst = in Apply() local 114 merge_inst->GetSingleWordInOperand(kLoopControlMaskInOperandIndex); in Apply() 119 new_operands.push_back(merge_inst->GetInOperand(0)); in Apply() 120 new_operands.push_back(merge_inst->GetInOperand(1)); in Apply() 144 {merge_inst->GetSingleWordInOperand( in Apply() 168 merge_inst->SetInOperands(std::move(new_operands)); in Apply()
|
/dports/graphics/spirv-tools/SPIRV-Tools-2021.4/source/fuzz/ |
H A D | transformation_set_loop_control.cpp | 40 auto merge_inst = block->GetMergeInst(); in IsApplicable() local 41 if (!merge_inst || merge_inst->opcode() != SpvOpLoopMerge) { in IsApplicable() 64 merge_inst->GetSingleWordInOperand(kLoopControlMaskInOperandIndex); in IsApplicable() 113 auto merge_inst = in Apply() local 116 merge_inst->GetSingleWordInOperand(kLoopControlMaskInOperandIndex); in Apply() 121 new_operands.push_back(merge_inst->GetInOperand(0)); in Apply() 122 new_operands.push_back(merge_inst->GetInOperand(1)); in Apply() 146 {merge_inst->GetSingleWordInOperand( in Apply() 170 merge_inst->SetInOperands(std::move(new_operands)); in Apply()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/SPIRV-Tools/src/source/fuzz/ |
H A D | transformation_set_loop_control.cpp | 40 auto merge_inst = block->GetMergeInst(); in IsApplicable() local 41 if (!merge_inst || merge_inst->opcode() != SpvOpLoopMerge) { in IsApplicable() 64 merge_inst->GetSingleWordInOperand(kLoopControlMaskInOperandIndex); in IsApplicable() 111 auto merge_inst = in Apply() local 114 merge_inst->GetSingleWordInOperand(kLoopControlMaskInOperandIndex); in Apply() 119 new_operands.push_back(merge_inst->GetInOperand(0)); in Apply() 120 new_operands.push_back(merge_inst->GetInOperand(1)); in Apply() 144 {merge_inst->GetSingleWordInOperand( in Apply() 168 merge_inst->SetInOperands(std::move(new_operands)); in Apply()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/SPIRV-Tools/src/source/opt/ |
H A D | struct_cfg_analysis.cpp | 79 if (Instruction* merge_inst = block->GetMergeInst()) { in AddBlocksInFunction() local 82 merge_inst->GetSingleWordInOperand(kMergeNodeIndex); in AddBlocksInFunction() 85 if (merge_inst->opcode() == SpvOpLoopMerge) { in AddBlocksInFunction() 96 if (merge_inst->NextNode()->opcode() == SpvOpSwitch) { in AddBlocksInFunction() 122 Instruction* merge_inst = header->GetMergeInst(); in MergeBlock() local 123 return merge_inst->GetSingleWordInOperand(kMergeNodeIndex); in MergeBlock() 133 Instruction* merge_inst = header->GetMergeInst(); in LoopMergeBlock() local 134 return merge_inst->GetSingleWordInOperand(kMergeNodeIndex); in LoopMergeBlock() 144 Instruction* merge_inst = header->GetMergeInst(); in LoopContinueBlock() local 155 Instruction* merge_inst = header->GetMergeInst(); in SwitchMergeBlock() local [all …]
|
H A D | block_merge_util.cpp | 111 Instruction* merge_inst = block->GetMergeInst(); in CanMergeWithSuccessor() local 113 if (pred_is_header && lab_id != merge_inst->GetSingleWordInOperand(0u)) { in CanMergeWithSuccessor() 128 assert(merge_inst->opcode() == SpvOpLoopMerge); in CanMergeWithSuccessor() 146 Instruction* merge_inst = bi->GetMergeInst(); in MergeWithSuccessor() local 168 if (merge_inst) { in MergeWithSuccessor() 169 if (pred_is_header && lab_id == merge_inst->GetSingleWordInOperand(0u)) { in MergeWithSuccessor() 172 context->KillInst(merge_inst); in MergeWithSuccessor() 179 auto& new_vec = merge_inst->dbg_line_insts(); in MergeWithSuccessor() 184 merge_inst->InsertBefore(terminator); in MergeWithSuccessor()
|
/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/3rdparty/spirv-tools/source/opt/ |
H A D | struct_cfg_analysis.cpp | 79 if (Instruction* merge_inst = block->GetMergeInst()) { in AddBlocksInFunction() local 82 merge_inst->GetSingleWordInOperand(kMergeNodeIndex); in AddBlocksInFunction() 85 if (merge_inst->opcode() == SpvOpLoopMerge) { in AddBlocksInFunction() 96 if (merge_inst->NextNode()->opcode() == SpvOpSwitch) { in AddBlocksInFunction() 122 Instruction* merge_inst = header->GetMergeInst(); in MergeBlock() local 123 return merge_inst->GetSingleWordInOperand(kMergeNodeIndex); in MergeBlock() 133 Instruction* merge_inst = header->GetMergeInst(); in LoopMergeBlock() local 134 return merge_inst->GetSingleWordInOperand(kMergeNodeIndex); in LoopMergeBlock() 144 Instruction* merge_inst = header->GetMergeInst(); in LoopContinueBlock() local 155 Instruction* merge_inst = header->GetMergeInst(); in SwitchMergeBlock() local [all …]
|
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/3rdparty/spirv-tools/source/opt/ |
H A D | struct_cfg_analysis.cpp | 79 if (Instruction* merge_inst = block->GetMergeInst()) { in AddBlocksInFunction() local 82 merge_inst->GetSingleWordInOperand(kMergeNodeIndex); in AddBlocksInFunction() 85 if (merge_inst->opcode() == SpvOpLoopMerge) { in AddBlocksInFunction() 96 if (merge_inst->NextNode()->opcode() == SpvOpSwitch) { in AddBlocksInFunction() 122 Instruction* merge_inst = header->GetMergeInst(); in MergeBlock() local 123 return merge_inst->GetSingleWordInOperand(kMergeNodeIndex); in MergeBlock() 133 Instruction* merge_inst = header->GetMergeInst(); in LoopMergeBlock() local 134 return merge_inst->GetSingleWordInOperand(kMergeNodeIndex); in LoopMergeBlock() 144 Instruction* merge_inst = header->GetMergeInst(); in LoopContinueBlock() local 155 Instruction* merge_inst = header->GetMergeInst(); in SwitchMergeBlock() local [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/SPIRV-Tools/src/source/opt/ |
H A D | struct_cfg_analysis.cpp | 79 if (Instruction* merge_inst = block->GetMergeInst()) { in AddBlocksInFunction() local 82 merge_inst->GetSingleWordInOperand(kMergeNodeIndex); in AddBlocksInFunction() 85 if (merge_inst->opcode() == SpvOpLoopMerge) { in AddBlocksInFunction() 101 if (merge_inst->NextNode()->opcode() == SpvOpSwitch) { in AddBlocksInFunction() 127 Instruction* merge_inst = header->GetMergeInst(); in MergeBlock() local 128 return merge_inst->GetSingleWordInOperand(kMergeNodeIndex); in MergeBlock() 151 Instruction* merge_inst = header->GetMergeInst(); in LoopMergeBlock() local 152 return merge_inst->GetSingleWordInOperand(kMergeNodeIndex); in LoopMergeBlock() 162 Instruction* merge_inst = header->GetMergeInst(); in LoopContinueBlock() local 186 Instruction* merge_inst = header->GetMergeInst(); in SwitchMergeBlock() local [all …]
|
H A D | block_merge_util.cpp | 111 Instruction* merge_inst = block->GetMergeInst(); in CanMergeWithSuccessor() local 113 if (pred_is_header && lab_id != merge_inst->GetSingleWordInOperand(0u)) { in CanMergeWithSuccessor() 128 assert(merge_inst->opcode() == SpvOpLoopMerge); in CanMergeWithSuccessor() 146 Instruction* merge_inst = bi->GetMergeInst(); in MergeWithSuccessor() local 168 if (merge_inst) { in MergeWithSuccessor() 169 if (pred_is_header && lab_id == merge_inst->GetSingleWordInOperand(0u)) { in MergeWithSuccessor() 172 context->KillInst(merge_inst); in MergeWithSuccessor() 179 auto& new_vec = merge_inst->dbg_line_insts(); in MergeWithSuccessor() 184 merge_inst->InsertBefore(terminator); in MergeWithSuccessor()
|
/dports/devel/intel-graphics-compiler/SPIRV-Tools/source/opt/ |
H A D | struct_cfg_analysis.cpp | 79 if (Instruction* merge_inst = block->GetMergeInst()) { in AddBlocksInFunction() local 82 merge_inst->GetSingleWordInOperand(kMergeNodeIndex); in AddBlocksInFunction() 85 if (merge_inst->opcode() == SpvOpLoopMerge) { in AddBlocksInFunction() 101 if (merge_inst->NextNode()->opcode() == SpvOpSwitch) { in AddBlocksInFunction() 127 Instruction* merge_inst = header->GetMergeInst(); in MergeBlock() local 128 return merge_inst->GetSingleWordInOperand(kMergeNodeIndex); in MergeBlock() 151 Instruction* merge_inst = header->GetMergeInst(); in LoopMergeBlock() local 152 return merge_inst->GetSingleWordInOperand(kMergeNodeIndex); in LoopMergeBlock() 162 Instruction* merge_inst = header->GetMergeInst(); in LoopContinueBlock() local 186 Instruction* merge_inst = header->GetMergeInst(); in SwitchMergeBlock() local [all …]
|
H A D | block_merge_util.cpp | 106 Instruction* merge_inst = block->GetMergeInst(); in CanMergeWithSuccessor() local 108 if (pred_is_header && lab_id != merge_inst->GetSingleWordInOperand(0u)) { in CanMergeWithSuccessor() 123 assert(merge_inst->opcode() == SpvOpLoopMerge); in CanMergeWithSuccessor() 141 Instruction* merge_inst = bi->GetMergeInst(); in MergeWithSuccessor() local 163 if (merge_inst) { in MergeWithSuccessor() 164 if (pred_is_header && lab_id == merge_inst->GetSingleWordInOperand(0u)) { in MergeWithSuccessor() 167 context->KillInst(merge_inst); in MergeWithSuccessor() 175 merge_inst->ClearDbgLineInsts(); in MergeWithSuccessor() 176 auto& new_vec = merge_inst->dbg_line_insts(); in MergeWithSuccessor() 186 merge_inst->InsertBefore(terminator); in MergeWithSuccessor()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | struct_cfg_analysis.cpp | 79 if (Instruction* merge_inst = block->GetMergeInst()) { in AddBlocksInFunction() local 82 merge_inst->GetSingleWordInOperand(kMergeNodeIndex); in AddBlocksInFunction() 85 if (merge_inst->opcode() == SpvOpLoopMerge) { in AddBlocksInFunction() 101 if (merge_inst->NextNode()->opcode() == SpvOpSwitch) { in AddBlocksInFunction() 127 Instruction* merge_inst = header->GetMergeInst(); in MergeBlock() local 128 return merge_inst->GetSingleWordInOperand(kMergeNodeIndex); in MergeBlock() 151 Instruction* merge_inst = header->GetMergeInst(); in LoopMergeBlock() local 152 return merge_inst->GetSingleWordInOperand(kMergeNodeIndex); in LoopMergeBlock() 162 Instruction* merge_inst = header->GetMergeInst(); in LoopContinueBlock() local 186 Instruction* merge_inst = header->GetMergeInst(); in SwitchMergeBlock() local [all …]
|
H A D | block_merge_util.cpp | 111 Instruction* merge_inst = block->GetMergeInst(); in CanMergeWithSuccessor() local 113 if (pred_is_header && lab_id != merge_inst->GetSingleWordInOperand(0u)) { in CanMergeWithSuccessor() 128 assert(merge_inst->opcode() == SpvOpLoopMerge); in CanMergeWithSuccessor() 146 Instruction* merge_inst = bi->GetMergeInst(); in MergeWithSuccessor() local 168 if (merge_inst) { in MergeWithSuccessor() 169 if (pred_is_header && lab_id == merge_inst->GetSingleWordInOperand(0u)) { in MergeWithSuccessor() 172 context->KillInst(merge_inst); in MergeWithSuccessor() 179 auto& new_vec = merge_inst->dbg_line_insts(); in MergeWithSuccessor() 184 merge_inst->InsertBefore(terminator); in MergeWithSuccessor()
|
/dports/graphics/spirv-tools/SPIRV-Tools-2021.4/source/opt/ |
H A D | struct_cfg_analysis.cpp | 79 if (Instruction* merge_inst = block->GetMergeInst()) { in AddBlocksInFunction() local 82 merge_inst->GetSingleWordInOperand(kMergeNodeIndex); in AddBlocksInFunction() 85 if (merge_inst->opcode() == SpvOpLoopMerge) { in AddBlocksInFunction() 101 if (merge_inst->NextNode()->opcode() == SpvOpSwitch) { in AddBlocksInFunction() 127 Instruction* merge_inst = header->GetMergeInst(); in MergeBlock() local 128 return merge_inst->GetSingleWordInOperand(kMergeNodeIndex); in MergeBlock() 151 Instruction* merge_inst = header->GetMergeInst(); in LoopMergeBlock() local 152 return merge_inst->GetSingleWordInOperand(kMergeNodeIndex); in LoopMergeBlock() 162 Instruction* merge_inst = header->GetMergeInst(); in LoopContinueBlock() local 186 Instruction* merge_inst = header->GetMergeInst(); in SwitchMergeBlock() local [all …]
|
H A D | block_merge_util.cpp | 106 Instruction* merge_inst = block->GetMergeInst(); in CanMergeWithSuccessor() local 108 if (pred_is_header && lab_id != merge_inst->GetSingleWordInOperand(0u)) { in CanMergeWithSuccessor() 123 assert(merge_inst->opcode() == SpvOpLoopMerge); in CanMergeWithSuccessor() 141 Instruction* merge_inst = bi->GetMergeInst(); in MergeWithSuccessor() local 163 if (merge_inst) { in MergeWithSuccessor() 164 if (pred_is_header && lab_id == merge_inst->GetSingleWordInOperand(0u)) { in MergeWithSuccessor() 167 context->KillInst(merge_inst); in MergeWithSuccessor() 175 merge_inst->ClearDbgLineInsts(); in MergeWithSuccessor() 176 auto& new_vec = merge_inst->dbg_line_insts(); in MergeWithSuccessor() 186 merge_inst->InsertBefore(terminator); in MergeWithSuccessor()
|