Searched refs:cur_word_instr (Results 1 – 2 of 2) sorted by relevance
841 auto cur_word_instr = _.FindDef(cur_word); in ValidateAccessChain() local843 auto index_type = _.FindDef(cur_word_instr->type_id()); in ValidateAccessChain()862 if (SpvOpConstant != cur_word_instr->opcode()) { in ValidateAccessChain()863 return _.diag(SPV_ERROR_INVALID_ID, cur_word_instr) in ValidateAccessChain()873 const uint32_t cur_index = cur_word_instr->word(3); in ValidateAccessChain()879 return _.diag(SPV_ERROR_INVALID_ID, cur_word_instr) in ValidateAccessChain()894 return _.diag(SPV_ERROR_INVALID_ID, cur_word_instr) in ValidateAccessChain()
1005 auto cur_word_instr = _.FindDef(cur_word); in ValidateAccessChain() local1007 auto index_type = _.FindDef(cur_word_instr->type_id()); in ValidateAccessChain()1026 if (SpvOpConstant != cur_word_instr->opcode()) { in ValidateAccessChain()1027 return _.diag(SPV_ERROR_INVALID_ID, cur_word_instr) in ValidateAccessChain()1037 const uint32_t cur_index = cur_word_instr->word(3); in ValidateAccessChain()1043 return _.diag(SPV_ERROR_INVALID_ID, cur_word_instr) in ValidateAccessChain()1058 return _.diag(SPV_ERROR_INVALID_ID, cur_word_instr) in ValidateAccessChain()