Searched refs:import_inst (Results 1 – 9 of 9) sorted by relevance
573 auto import_inst = MakeUnique<Instruction>( in GetGlslInsts() local577 Instruction* inst = import_inst.get(); in GetGlslInsts()578 context()->module()->AddExtInstImport(std::move(import_inst)); in GetGlslInsts()
1020 auto import_inst = in IsNonSemanticInstruction() local1022 std::string import_name = import_inst->GetInOperand(0).AsString(); in IsNonSemanticInstruction()
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()
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()
802 auto* import_inst = _.FindDef(ext_inst_set); in ValidateExtInst() local803 assert(import_inst); in ValidateExtInst()806 ss << import_inst->GetOperandAs<std::string>(1); in ValidateExtInst()3376 auto import_inst = _.FindDef(inst->GetOperandAs<uint32_t>(2)); in ValidateExtInst() local3377 const std::string name = import_inst->GetOperandAs<std::string>(1); in ValidateExtInst()3382 return _.diag(SPV_ERROR_INVALID_DATA, import_inst) in ValidateExtInst()3388 return _.diag(SPV_ERROR_INVALID_DATA, import_inst) in ValidateExtInst()3393 return _.diag(SPV_ERROR_INVALID_DATA, import_inst) in ValidateExtInst()