Lines Matching refs:IDLoc
1164 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
1169 void MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op, OperandVector &Operands,
1172 bool ErrorMissingFeature(SMLoc IDLoc, const FeatureBitset &MissingFeatures,
1175 bool MatchAndEmitATTInstruction(SMLoc IDLoc, unsigned &Opcode,
1180 bool MatchAndEmitIntelInstruction(SMLoc IDLoc, unsigned &Opcode,
4014 bool X86AsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
4019 return MatchAndEmitIntelInstruction(IDLoc, Opcode, Operands, Out, ErrorInfo, in MatchAndEmitInstruction()
4021 return MatchAndEmitATTInstruction(IDLoc, Opcode, Operands, Out, ErrorInfo, in MatchAndEmitInstruction()
4025 void X86AsmParser::MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op, in MatchFPUWaitAlias() argument
4044 Inst.setLoc(IDLoc); in MatchFPUWaitAlias()
4047 Operands[0] = X86Operand::CreateToken(Repl, IDLoc); in MatchFPUWaitAlias()
4051 bool X86AsmParser::ErrorMissingFeature(SMLoc IDLoc, in ErrorMissingFeature() argument
4062 return Error(IDLoc, OS.str(), SMRange(), MatchingInlineAsm); in ErrorMissingFeature()
4117 bool X86AsmParser::MatchAndEmitATTInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitATTInstruction() argument
4127 MatchFPUWaitAlias(IDLoc, static_cast<X86Operand &>(*Operands[0]), Operands, in MatchAndEmitATTInstruction()
4179 Inst.setLoc(IDLoc); in MatchAndEmitATTInstruction()
4187 ErrorLoc = IDLoc; in MatchAndEmitATTInstruction()
4192 return ErrorMissingFeature(IDLoc, MissingFeatures, MatchingInlineAsm); in MatchAndEmitATTInstruction()
4199 Error(IDLoc, "instruction must have size higher than 0", EmptyRange, in MatchAndEmitATTInstruction()
4284 Inst.setLoc(IDLoc); in MatchAndEmitATTInstruction()
4313 Error(IDLoc, OS.str(), EmptyRange, MatchingInlineAsm); in MatchAndEmitATTInstruction()
4323 return Error(IDLoc, "invalid instruction mnemonic '" + Base + "'", in MatchAndEmitATTInstruction()
4327 return Error(IDLoc, "unsupported instruction", EmptyRange, in MatchAndEmitATTInstruction()
4334 return Error(IDLoc, "too few operands for instruction", EmptyRange, in MatchAndEmitATTInstruction()
4345 return Error(IDLoc, "invalid operand for instruction", EmptyRange, in MatchAndEmitATTInstruction()
4352 return Error(IDLoc, "unsupported instruction", EmptyRange, in MatchAndEmitATTInstruction()
4361 return ErrorMissingFeature(IDLoc, ErrorInfoMissingFeatures, in MatchAndEmitATTInstruction()
4369 return Error(IDLoc, "invalid operand for instruction", EmptyRange, in MatchAndEmitATTInstruction()
4374 Error(IDLoc, "unknown use of instruction mnemonic without a size suffix", in MatchAndEmitATTInstruction()
4379 bool X86AsmParser::MatchAndEmitIntelInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitIntelInstruction() argument
4392 …MatchFPUWaitAlias(IDLoc, static_cast<X86Operand &>(*Operands[0]), Operands, Out, MatchingInlineAsm… in MatchAndEmitIntelInstruction()
4512 return Error(IDLoc, "invalid instruction mnemonic '" + Mnemonic + "'", in MatchAndEmitIntelInstruction()
4549 Inst.setLoc(IDLoc); in MatchAndEmitIntelInstruction()
4565 return Error(IDLoc, "unsupported instruction", EmptyRange, in MatchAndEmitIntelInstruction()
4574 return ErrorMissingFeature(IDLoc, ErrorInfoMissingFeatures, in MatchAndEmitIntelInstruction()
4582 return Error(IDLoc, "invalid operand for instruction", EmptyRange, in MatchAndEmitIntelInstruction()
4590 ErrorLoc = IDLoc; in MatchAndEmitIntelInstruction()
4596 return Error(IDLoc, "unknown instruction mnemonic", EmptyRange, in MatchAndEmitIntelInstruction()