Lines Matching refs:constituent
70 const auto constituent = _.FindDef(constituent_id); in ValidateConstantComposite() local
71 if (!constituent || in ValidateConstantComposite()
72 !spvOpcodeIsConstantOrUndef(constituent->opcode())) { in ValidateConstantComposite()
78 const auto constituent_result_type = _.FindDef(constituent->type_id()); in ValidateConstantComposite()
117 const auto constituent = _.FindDef(constituent_id); in ValidateConstantComposite() local
118 if (!constituent || in ValidateConstantComposite()
119 !spvOpcodeIsConstantOrUndef(constituent->opcode())) { in ValidateConstantComposite()
127 const auto vector = _.FindDef(constituent->type_id()); in ValidateConstantComposite()
129 return _.diag(SPV_ERROR_INVALID_ID, constituent) in ValidateConstantComposite()
185 const auto constituent = _.FindDef(constituent_id); in ValidateConstantComposite() local
186 if (!constituent || in ValidateConstantComposite()
187 !spvOpcodeIsConstantOrUndef(constituent->opcode())) { in ValidateConstantComposite()
193 const auto constituent_type = _.FindDef(constituent->type_id()); in ValidateConstantComposite()
195 return _.diag(SPV_ERROR_INVALID_ID, constituent) in ValidateConstantComposite()
221 const auto constituent = _.FindDef(constituent_id); in ValidateConstantComposite() local
222 if (!constituent || in ValidateConstantComposite()
223 !spvOpcodeIsConstantOrUndef(constituent->opcode())) { in ValidateConstantComposite()
229 const auto constituent_type = _.FindDef(constituent->type_id()); in ValidateConstantComposite()
231 return _.diag(SPV_ERROR_INVALID_ID, constituent) in ValidateConstantComposite()
254 const auto constituent = _.FindDef(constituent_id); in ValidateConstantComposite() local
255 if (!constituent || !spvOpcodeIsConstantOrUndef(constituent->opcode())) { in ValidateConstantComposite()
261 const auto constituent_type = _.FindDef(constituent->type_id()); in ValidateConstantComposite()
263 return _.diag(SPV_ERROR_INVALID_ID, constituent) in ValidateConstantComposite()