Searched refs:import_inst (Results 1 – 9 of 9) sorted by relevance
574 auto import_inst = MakeUnique<Instruction>( in GetGlslInsts() local578 Instruction* inst = import_inst.get(); in GetGlslInsts()579 context()->module()->AddExtInstImport(std::move(import_inst)); in GetGlslInsts()
1036 auto import_inst = in IsNonSemanticInstruction() local1038 std::string import_name = import_inst->GetInOperand(0).AsString(); in IsNonSemanticInstruction()
568 auto import_inst = MakeUnique<Instruction>( in GetGlslInsts() local572 Instruction* inst = import_inst.get(); in GetGlslInsts()573 context()->module()->AddExtInstImport(std::move(import_inst)); in GetGlslInsts()
1058 auto import_inst = in IsNonSemanticInstruction() local1060 std::string import_name = import_inst->GetInOperand(0).AsString(); in IsNonSemanticInstruction()
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()
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()
1106 auto* import_inst = _.FindDef(ext_inst_set); in ValidateExtInst() local1107 assert(import_inst); in ValidateExtInst()1110 ss << import_inst->GetOperandAs<std::string>(1); in ValidateExtInst()3682 auto import_inst = _.FindDef(inst->GetOperandAs<uint32_t>(2)); in ValidateExtInst() local3683 const std::string name = import_inst->GetOperandAs<std::string>(1); in ValidateExtInst()3688 return _.diag(SPV_ERROR_INVALID_DATA, import_inst) in ValidateExtInst()3694 return _.diag(SPV_ERROR_INVALID_DATA, import_inst) in ValidateExtInst()3699 return _.diag(SPV_ERROR_INVALID_DATA, import_inst) in ValidateExtInst()
1102 auto* import_inst = _.FindDef(ext_inst_set); in ValidateExtInst() local1103 assert(import_inst); in ValidateExtInst()1106 ss << import_inst->GetOperandAs<std::string>(1); in ValidateExtInst()3678 auto import_inst = _.FindDef(inst->GetOperandAs<uint32_t>(2)); in ValidateExtInst() local3679 const std::string name = import_inst->GetOperandAs<std::string>(1); in ValidateExtInst()3684 return _.diag(SPV_ERROR_INVALID_DATA, import_inst) in ValidateExtInst()3690 return _.diag(SPV_ERROR_INVALID_DATA, import_inst) in ValidateExtInst()3695 return _.diag(SPV_ERROR_INVALID_DATA, import_inst) in ValidateExtInst()