Searched refs:debug_inst (Results 1 – 6 of 6) sorted by relevance
1142 for (Instruction& debug_inst : debugs2()) { in BuildIdToNameMap()1143 if (debug_inst.opcode() == SpvOpMemberName || in BuildIdToNameMap()1144 debug_inst.opcode() == SpvOpName) { in BuildIdToNameMap()1145 id_to_name_->insert({debug_inst.GetSingleWordInOperand(0), &debug_inst}); in BuildIdToNameMap()
1132 for (Instruction& debug_inst : debugs2()) { in BuildIdToNameMap()1133 if (debug_inst.opcode() == SpvOpMemberName || in BuildIdToNameMap()1134 debug_inst.opcode() == SpvOpName) { in BuildIdToNameMap()1135 id_to_name_->insert({debug_inst.GetSingleWordInOperand(0), &debug_inst}); in BuildIdToNameMap()
139 auto* debug_inst = _.FindDef(inst->word(word_index)); in DoesDebugInfoOperandMatchExpectation() local140 if (debug_inst->opcode() != SpvOpExtInst || in DoesDebugInfoOperandMatchExpectation()141 (debug_inst->ext_inst_type() != SPV_EXT_INST_TYPE_OPENCL_DEBUGINFO_100 && in DoesDebugInfoOperandMatchExpectation()142 debug_inst->ext_inst_type() != in DoesDebugInfoOperandMatchExpectation()144 !expectation(CommonDebugInfoInstructions(debug_inst->word(4)))) { in DoesDebugInfoOperandMatchExpectation()2986 auto* debug_inst = _.FindDef(inst->word(5)); in ValidateExtInst() local2988 OpenCLDebugInfo100DebugCompositeType(debug_inst->word(6)); in ValidateExtInst()2997 debug_inst = _.FindDef(inst->word(6)); in ValidateExtInst()2999 OpenCLDebugInfo100DebugCompositeType(debug_inst->word(6)); in ValidateExtInst()
86 auto* debug_inst = _.FindDef(inst->word(word_index)); in DoesDebugInfoOperandMatchExpectation() local87 if (debug_inst->opcode() != SpvOpExtInst || in DoesDebugInfoOperandMatchExpectation()88 debug_inst->ext_inst_type() != SPV_EXT_INST_TYPE_OPENCL_DEBUGINFO_100 || in DoesDebugInfoOperandMatchExpectation()89 !expectation(OpenCLDebugInfo100Instructions(debug_inst->word(4)))) { in DoesDebugInfoOperandMatchExpectation()2885 auto* debug_inst = _.FindDef(inst->word(5)); in ValidateExtInst() local2887 OpenCLDebugInfo100DebugCompositeType(debug_inst->word(6)); in ValidateExtInst()2895 debug_inst = _.FindDef(inst->word(6)); in ValidateExtInst()2897 OpenCLDebugInfo100DebugCompositeType(debug_inst->word(6)); in ValidateExtInst()