Searched refs:import_inst (Results 1 – 9 of 9) sorted by relevance
736 auto* import_inst = _.FindDef(ext_inst_set); in ValidateExtInst() local737 assert(import_inst); in ValidateExtInst()740 ss << reinterpret_cast<const char*>(import_inst->words().data() + 2); in ValidateExtInst()3121 auto import_inst = _.FindDef(inst->GetOperandAs<uint32_t>(2)); in ValidateExtInst() local3123 import_inst->words().data() + import_inst->operands()[1].offset)); in ValidateExtInst()3128 return _.diag(SPV_ERROR_INVALID_DATA, import_inst) in ValidateExtInst()3134 return _.diag(SPV_ERROR_INVALID_DATA, import_inst) in ValidateExtInst()3139 return _.diag(SPV_ERROR_INVALID_DATA, import_inst) in ValidateExtInst()
577 auto import_inst = MakeUnique<Instruction>( in GetGlslInsts() local581 Instruction* inst = import_inst.get(); in GetGlslInsts()582 context()->module()->AddExtInstImport(std::move(import_inst)); in GetGlslInsts()
1038 auto import_inst = in IsNonSemanticInstruction() local1040 std::string import_name = import_inst->GetInOperand(0).AsString(); in IsNonSemanticInstruction()
576 auto import_inst = MakeUnique<Instruction>( in GetGlslInsts() local580 Instruction* inst = import_inst.get(); in GetGlslInsts()581 context()->module()->AddExtInstImport(std::move(import_inst)); in GetGlslInsts()
933 auto import_inst = in IsNonSemanticInstruction() local935 std::string import_name = import_inst->GetInOperand(0).AsString(); in IsNonSemanticInstruction()
773 auto* import_inst = _.FindDef(ext_inst_set); in ValidateExtInst() local774 assert(import_inst); in ValidateExtInst()777 ss << reinterpret_cast<const char*>(import_inst->words().data() + 2); in ValidateExtInst()3266 auto import_inst = _.FindDef(inst->GetOperandAs<uint32_t>(2)); in ValidateExtInst() local3268 import_inst->words().data() + import_inst->operands()[1].offset)); in ValidateExtInst()3273 return _.diag(SPV_ERROR_INVALID_DATA, import_inst) in ValidateExtInst()3279 return _.diag(SPV_ERROR_INVALID_DATA, import_inst) in ValidateExtInst()3284 return _.diag(SPV_ERROR_INVALID_DATA, import_inst) in ValidateExtInst()