Lines Matching refs:IDLoc
1197 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
1202 void MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op, OperandVector &Operands,
1205 bool ErrorMissingFeature(SMLoc IDLoc, const FeatureBitset &MissingFeatures,
1208 bool matchAndEmitATTInstruction(SMLoc IDLoc, unsigned &Opcode, MCInst &Inst,
1212 bool matchAndEmitIntelInstruction(SMLoc IDLoc, unsigned &Opcode, MCInst &Inst,
4052 bool X86AsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
4060 MatchFPUWaitAlias(IDLoc, static_cast<X86Operand &>(*Operands[0]), Operands, in MatchAndEmitInstruction()
4091 ? matchAndEmitIntelInstruction(IDLoc, Opcode, Inst, Operands, Out, in MatchAndEmitInstruction()
4093 : matchAndEmitATTInstruction(IDLoc, Opcode, Inst, Operands, Out, in MatchAndEmitInstruction()
4097 void X86AsmParser::MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op, in MatchFPUWaitAlias() argument
4116 Inst.setLoc(IDLoc); in MatchFPUWaitAlias()
4119 Operands[0] = X86Operand::CreateToken(Repl, IDLoc); in MatchFPUWaitAlias()
4123 bool X86AsmParser::ErrorMissingFeature(SMLoc IDLoc, in ErrorMissingFeature() argument
4134 return Error(IDLoc, OS.str(), SMRange(), MatchingInlineAsm); in ErrorMissingFeature()
4177 SMLoc IDLoc, unsigned &Opcode, MCInst &Inst, OperandVector &Operands, in matchAndEmitATTInstruction() argument
4206 Inst.setLoc(IDLoc); in matchAndEmitATTInstruction()
4214 ErrorLoc = IDLoc; in matchAndEmitATTInstruction()
4219 return ErrorMissingFeature(IDLoc, MissingFeatures, MatchingInlineAsm); in matchAndEmitATTInstruction()
4226 Error(IDLoc, "instruction must have size higher than 0", EmptyRange, in matchAndEmitATTInstruction()
4310 Inst.setLoc(IDLoc); in matchAndEmitATTInstruction()
4339 Error(IDLoc, OS.str(), EmptyRange, MatchingInlineAsm); in matchAndEmitATTInstruction()
4349 return Error(IDLoc, "invalid instruction mnemonic '" + Base + "'", in matchAndEmitATTInstruction()
4353 return Error(IDLoc, "unsupported instruction", EmptyRange, in matchAndEmitATTInstruction()
4360 return Error(IDLoc, "too few operands for instruction", EmptyRange, in matchAndEmitATTInstruction()
4371 return Error(IDLoc, "invalid operand for instruction", EmptyRange, in matchAndEmitATTInstruction()
4377 return Error(IDLoc, "unsupported instruction", EmptyRange, in matchAndEmitATTInstruction()
4385 return ErrorMissingFeature(IDLoc, ErrorInfoMissingFeatures, in matchAndEmitATTInstruction()
4392 return Error(IDLoc, "invalid operand for instruction", EmptyRange, in matchAndEmitATTInstruction()
4397 Error(IDLoc, "unknown use of instruction mnemonic without a size suffix", in matchAndEmitATTInstruction()
4403 SMLoc IDLoc, unsigned &Opcode, MCInst &Inst, OperandVector &Operands, in matchAndEmitIntelInstruction() argument
4504 return Error(IDLoc, "invalid instruction mnemonic '" + Mnemonic + "'", in matchAndEmitIntelInstruction()
4540 Inst.setLoc(IDLoc); in matchAndEmitIntelInstruction()
4555 return Error(IDLoc, "unsupported instruction", EmptyRange, in matchAndEmitIntelInstruction()
4563 return ErrorMissingFeature(IDLoc, ErrorInfoMissingFeatures, in matchAndEmitIntelInstruction()
4570 return Error(IDLoc, "invalid operand for instruction", EmptyRange, in matchAndEmitIntelInstruction()
4577 ErrorLoc = IDLoc; in matchAndEmitIntelInstruction()
4583 return Error(IDLoc, "unknown instruction mnemonic", EmptyRange, in matchAndEmitIntelInstruction()