Lines Matching refs:word_index

52     SpvOp expected_opcode, const Instruction* inst, uint32_t word_index,  in ValidateOperandForDebugInfo()  argument
54 auto* operand = _.FindDef(inst->word(word_index)); in ValidateOperandForDebugInfo()
84 const Instruction* inst, uint32_t word_index) { in DoesDebugInfoOperandMatchExpectation() argument
85 if (inst->words().size() <= word_index) return false; in DoesDebugInfoOperandMatchExpectation()
86 auto* debug_inst = _.FindDef(inst->word(word_index)); in DoesDebugInfoOperandMatchExpectation()
101 uint32_t word_index, const std::function<std::string()>& ext_inst_name) { in ValidateDebugInfoOperand() argument
106 if (DoesDebugInfoOperandMatchExpectation(_, expectation, inst, word_index)) in ValidateDebugInfoOperand()
135 ValidationState_t& _, const Instruction* inst, uint32_t word_index, in ValidateOperandBaseType() argument
139 word_index, ext_inst_name); in ValidateOperandBaseType()
148 const Instruction* inst, uint32_t word_index, in ValidateOperandLexicalScope() argument
157 if (DoesDebugInfoOperandMatchExpectation(_, expectation, inst, word_index)) in ValidateOperandLexicalScope()
171 const Instruction* inst, uint32_t word_index, in ValidateOperandDebugType() argument
185 if (DoesDebugInfoOperandMatchExpectation(_, expectation, inst, word_index)) in ValidateOperandDebugType()
657 uint32_t word_index) { in IsConstWithIntScalarType() argument
658 auto* int_scalar_const = _.FindDef(inst->word(word_index)); in IsConstWithIntScalarType()
668 uint32_t word_index) { in IsDebugVariableWithIntScalarType() argument
669 auto* dbg_int_scalar_var = _.FindDef(inst->word(word_index)); in IsDebugVariableWithIntScalarType()
2789 for (uint32_t word_index = 7; word_index < num_words; ++word_index) { in ValidateExtInst() local
2791 _, "Parameter Types", inst, word_index, ext_inst_name, true); in ValidateExtInst()
2820 for (uint32_t word_index = 13; word_index + 1 < num_words; in ValidateExtInst() local
2821 word_index += 2) { in ValidateExtInst()
2822 CHECK_OPERAND("Value", SpvOpConstant, word_index); in ValidateExtInst()
2823 CHECK_OPERAND("Name", SpvOpString, word_index + 1); in ValidateExtInst()
2842 for (uint32_t word_index = 14; word_index < num_words; ++word_index) { in ValidateExtInst() local
2850 inst, word_index)) { in ValidateExtInst()
2983 for (uint32_t word_index = 5; word_index < num_words; ++word_index) { in ValidateExtInst() local
2985 word_index); in ValidateExtInst()
3002 for (uint32_t word_index = 6; word_index < num_words; ++word_index) { in ValidateExtInst() local
3011 inst, word_index)) { in ValidateExtInst()
3082 for (uint32_t word_index = 8; word_index < num_words; ++word_index) { in ValidateExtInst() local
3086 if (!IsConstWithIntScalarType(_, inst, word_index) && in ValidateExtInst()
3087 !IsDebugVariableWithIntScalarType(_, inst, word_index)) { in ValidateExtInst()