Lines Matching refs:IDLoc
1181 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
1186 void MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op, OperandVector &Operands,
1189 bool ErrorMissingFeature(SMLoc IDLoc, const FeatureBitset &MissingFeatures,
1192 bool MatchAndEmitATTInstruction(SMLoc IDLoc, unsigned &Opcode,
1197 bool MatchAndEmitIntelInstruction(SMLoc IDLoc, unsigned &Opcode,
4042 bool X86AsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
4047 return MatchAndEmitIntelInstruction(IDLoc, Opcode, Operands, Out, ErrorInfo, in MatchAndEmitInstruction()
4049 return MatchAndEmitATTInstruction(IDLoc, Opcode, Operands, Out, ErrorInfo, in MatchAndEmitInstruction()
4053 void X86AsmParser::MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op, in MatchFPUWaitAlias() argument
4072 Inst.setLoc(IDLoc); in MatchFPUWaitAlias()
4075 Operands[0] = X86Operand::CreateToken(Repl, IDLoc); in MatchFPUWaitAlias()
4079 bool X86AsmParser::ErrorMissingFeature(SMLoc IDLoc, in ErrorMissingFeature() argument
4090 return Error(IDLoc, OS.str(), SMRange(), MatchingInlineAsm); in ErrorMissingFeature()
4127 bool X86AsmParser::MatchAndEmitATTInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitATTInstruction() argument
4137 MatchFPUWaitAlias(IDLoc, static_cast<X86Operand &>(*Operands[0]), Operands, in MatchAndEmitATTInstruction()
4189 Inst.setLoc(IDLoc); in MatchAndEmitATTInstruction()
4197 ErrorLoc = IDLoc; in MatchAndEmitATTInstruction()
4202 return ErrorMissingFeature(IDLoc, MissingFeatures, MatchingInlineAsm); in MatchAndEmitATTInstruction()
4209 Error(IDLoc, "instruction must have size higher than 0", EmptyRange, in MatchAndEmitATTInstruction()
4293 Inst.setLoc(IDLoc); in MatchAndEmitATTInstruction()
4322 Error(IDLoc, OS.str(), EmptyRange, MatchingInlineAsm); in MatchAndEmitATTInstruction()
4332 return Error(IDLoc, "invalid instruction mnemonic '" + Base + "'", in MatchAndEmitATTInstruction()
4336 return Error(IDLoc, "unsupported instruction", EmptyRange, in MatchAndEmitATTInstruction()
4343 return Error(IDLoc, "too few operands for instruction", EmptyRange, in MatchAndEmitATTInstruction()
4354 return Error(IDLoc, "invalid operand for instruction", EmptyRange, in MatchAndEmitATTInstruction()
4360 return Error(IDLoc, "unsupported instruction", EmptyRange, in MatchAndEmitATTInstruction()
4368 return ErrorMissingFeature(IDLoc, ErrorInfoMissingFeatures, in MatchAndEmitATTInstruction()
4375 return Error(IDLoc, "invalid operand for instruction", EmptyRange, in MatchAndEmitATTInstruction()
4380 Error(IDLoc, "unknown use of instruction mnemonic without a size suffix", in MatchAndEmitATTInstruction()
4385 bool X86AsmParser::MatchAndEmitIntelInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitIntelInstruction() argument
4398 …MatchFPUWaitAlias(IDLoc, static_cast<X86Operand &>(*Operands[0]), Operands, Out, MatchingInlineAsm… in MatchAndEmitIntelInstruction()
4518 return Error(IDLoc, "invalid instruction mnemonic '" + Mnemonic + "'", in MatchAndEmitIntelInstruction()
4554 Inst.setLoc(IDLoc); in MatchAndEmitIntelInstruction()
4569 return Error(IDLoc, "unsupported instruction", EmptyRange, in MatchAndEmitIntelInstruction()
4577 return ErrorMissingFeature(IDLoc, ErrorInfoMissingFeatures, in MatchAndEmitIntelInstruction()
4584 return Error(IDLoc, "invalid operand for instruction", EmptyRange, in MatchAndEmitIntelInstruction()
4591 ErrorLoc = IDLoc; in MatchAndEmitIntelInstruction()
4597 return Error(IDLoc, "unknown instruction mnemonic", EmptyRange, in MatchAndEmitIntelInstruction()