/external/swiftshader/third_party/SPIRV-Tools/source/val/ |
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() 197 auto merge_block = merge_inst->function()->GetBlock(merge_target).first; in IsStructuredExit() [all …]
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/val/ |
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() 196 auto merge_inst = &_.ordered_instructions()[index - 1]; in IsStructuredExit() local 197 if (merge_inst->opcode() == SpvOpLoopMerge || in IsStructuredExit() 199 merge_inst->opcode() == SpvOpSelectionMerge && in IsStructuredExit() 201 auto merge_target = merge_inst->GetOperandAs<uint32_t>(0u); in IsStructuredExit() 202 auto merge_block = merge_inst->function()->GetBlock(merge_target).first; in IsStructuredExit() [all …]
|
/external/deqp-deps/SPIRV-Tools/source/val/ |
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() 197 auto merge_block = merge_inst->function()->GetBlock(merge_target).first; in IsStructuredExit() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
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()
|
D | fuzzer_pass_adjust_selection_controls.cpp | 37 if (auto merge_inst = block.GetMergeInst()) { in Apply() local 39 if (merge_inst->opcode() != SpvOpSelectionMerge) { in Apply() 56 if (control == merge_inst->GetSingleWordOperand(1)) { in Apply()
|
D | fuzzer_pass_adjust_loop_controls.cpp | 36 if (auto merge_inst = block.GetMergeInst()) { in Apply() local 38 if (merge_inst->opcode() != SpvOpLoopMerge) { in Apply() 48 uint32_t existing_mask = merge_inst->GetSingleWordOperand( in Apply()
|
D | transformation_set_selection_control.cpp | 38 if (auto merge_inst = block->GetMergeInst()) { in IsApplicable() local 39 return merge_inst->opcode() == SpvOpSelectionMerge; in IsApplicable()
|
/external/deqp-deps/SPIRV-Tools/source/fuzz/ |
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()
|
D | fuzzer_pass_adjust_selection_controls.cpp | 37 if (auto merge_inst = block.GetMergeInst()) { in Apply() local 39 if (merge_inst->opcode() != SpvOpSelectionMerge) { in Apply() 56 if (control == merge_inst->GetSingleWordOperand(1)) { in Apply()
|
D | fuzzer_pass_adjust_loop_controls.cpp | 36 if (auto merge_inst = block.GetMergeInst()) { in Apply() local 38 if (merge_inst->opcode() != SpvOpLoopMerge) { in Apply() 48 uint32_t existing_mask = merge_inst->GetSingleWordOperand( in Apply()
|
D | transformation_set_selection_control.cpp | 38 if (auto merge_inst = block->GetMergeInst()) { in IsApplicable() local 39 return merge_inst->opcode() == SpvOpSelectionMerge; in IsApplicable()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/ |
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()
|
D | fuzzer_pass_adjust_selection_controls.cpp | 34 if (auto merge_inst = block.GetMergeInst()) { in Apply() local 36 if (merge_inst->opcode() != SpvOpSelectionMerge) { in Apply() 53 if (control == merge_inst->GetSingleWordOperand(1)) { in Apply()
|
D | fuzzer_pass_adjust_loop_controls.cpp | 34 if (auto merge_inst = block.GetMergeInst()) { in Apply() local 36 if (merge_inst->opcode() != SpvOpLoopMerge) { in Apply() 46 uint32_t existing_mask = merge_inst->GetSingleWordOperand( in Apply()
|
D | transformation_set_selection_control.cpp | 38 if (auto merge_inst = block->GetMergeInst()) { in IsApplicable() local 39 return merge_inst->opcode() == SpvOpSelectionMerge; in IsApplicable()
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
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() 89 merge_inst->GetSingleWordInOperand(kContinueNodeIndex); 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 [all …]
|
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()
|
D | dead_branch_elim_pass.cpp | 195 Instruction* merge_inst = block->GetMergeInst(); in SimplifyBranch() local 197 if (merge_inst && merge_inst->opcode() == SpvOpSelectionMerge) { in SimplifyBranch() 198 if (merge_inst->NextNode()->opcode() == SpvOpSwitch && in SimplifyBranch() 219 live_lab_id, merge_inst->GetSingleWordInOperand(0), in SimplifyBranch() 227 context()->KillInst(merge_inst); in SimplifyBranch() 229 merge_inst->RemoveFromList(); in SimplifyBranch() 230 first_break->InsertBefore(std::unique_ptr<Instruction>(merge_inst)); in SimplifyBranch() 231 context()->set_instr_block(merge_inst, in SimplifyBranch()
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
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() 89 merge_inst->GetSingleWordInOperand(kContinueNodeIndex); 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 [all …]
|
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()
|
D | dead_branch_elim_pass.cpp | 195 Instruction* merge_inst = block->GetMergeInst(); in SimplifyBranch() local 197 if (merge_inst && merge_inst->opcode() == SpvOpSelectionMerge) { in SimplifyBranch() 198 if (merge_inst->NextNode()->opcode() == SpvOpSwitch && in SimplifyBranch() 219 live_lab_id, merge_inst->GetSingleWordInOperand(0), in SimplifyBranch() 227 context()->KillInst(merge_inst); in SimplifyBranch() 229 merge_inst->RemoveFromList(); in SimplifyBranch() 230 first_break->InsertBefore(std::unique_ptr<Instruction>(merge_inst)); in SimplifyBranch() 231 context()->set_instr_block(merge_inst, in SimplifyBranch()
|
D | code_sink.cpp | 115 Instruction* merge_inst = bb->GetMergeInst(); in FindNewBasicBlockFor() local 116 if (merge_inst == nullptr || merge_inst->opcode() != SpvOpSelectionMerge) { in FindNewBasicBlockFor()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/ |
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() 89 merge_inst->GetSingleWordInOperand(kContinueNodeIndex); 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 [all …]
|
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() 174 auto& new_vec = merge_inst->dbg_line_insts(); in MergeWithSuccessor() 179 merge_inst->InsertBefore(terminator); in MergeWithSuccessor()
|
D | dead_branch_elim_pass.cpp | 195 Instruction* merge_inst = block->GetMergeInst(); in SimplifyBranch() local 197 if (merge_inst && merge_inst->opcode() == SpvOpSelectionMerge) { in SimplifyBranch() 198 if (merge_inst->NextNode()->opcode() == SpvOpSwitch && in SimplifyBranch() 219 live_lab_id, merge_inst->GetSingleWordInOperand(0), in SimplifyBranch() 227 context()->KillInst(merge_inst); in SimplifyBranch() 229 merge_inst->RemoveFromList(); in SimplifyBranch() 230 first_break->InsertBefore(std::unique_ptr<Instruction>(merge_inst)); in SimplifyBranch() 231 context()->set_instr_block(merge_inst, in SimplifyBranch()
|