| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/AsmParser/ |
| H A D | MipsAsmParser.cpp | 1880 Inst.setLoc(IDLoc); in processInstruction() 2889 warnIfNoMacro(IDLoc); in loadImmediate() 2979 warnIfNoMacro(IDLoc); in loadAndAddSymbolAddress() 4237 warnIfNoMacro(IDLoc); in expandDivRem() 4462 warnIfNoMacro(IDLoc); in expandUlh() 4512 warnIfNoMacro(IDLoc); in expandUsh() 4614 warnIfNoMacro(IDLoc); in expandSge() 4648 warnIfNoMacro(IDLoc); in expandSgeImm() 4705 warnIfNoMacro(IDLoc); in expandSgtImm() 4751 warnIfNoMacro(IDLoc); in expandSle() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/LoongArch/AsmParser/ |
| H A D | LoongArchAsmParser.cpp | 1165 Inst.setLoc(IDLoc); in processInstruction() 1171 emitLoadAddressAbs(Inst, IDLoc, Out); in processInstruction() 1174 emitLoadAddressPcrel(Inst, IDLoc, Out); in processInstruction() 1180 emitLoadAddressGot(Inst, IDLoc, Out); in processInstruction() 1186 emitLoadAddressTLSLE(Inst, IDLoc, Out); in processInstruction() 1189 emitLoadAddressTLSIE(Inst, IDLoc, Out); in processInstruction() 1208 emitLoadImm(Inst, IDLoc, Out); in processInstruction() 1325 return Error(IDLoc, Msg); in MatchAndEmitInstruction() 1334 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() 1341 ErrorLoc = IDLoc; in MatchAndEmitInstruction() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsTargetStreamer.h | 121 void emitR(unsigned Opcode, unsigned Reg0, SMLoc IDLoc, 123 void emitII(unsigned Opcode, int16_t Imm1, int16_t Imm2, SMLoc IDLoc, 127 void emitRI(unsigned Opcode, unsigned Reg0, int32_t Imm, SMLoc IDLoc, 132 SMLoc IDLoc, const MCSubtargetInfo *STI); 134 SMLoc IDLoc, const MCSubtargetInfo *STI); 136 MCOperand Op3, SMLoc IDLoc, const MCSubtargetInfo *STI); 138 SMLoc IDLoc, const MCSubtargetInfo *STI); 140 int16_t Imm1, int16_t Imm2, SMLoc IDLoc, 145 SMLoc IDLoc, const MCSubtargetInfo *STI); 146 void emitEmptyDelaySlot(bool hasShortDelaySlot, SMLoc IDLoc, [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/ |
| H A D | MipsTargetStreamer.cpp | 180 TmpInst.setLoc(IDLoc); in emitR() 190 TmpInst.setLoc(IDLoc); in emitRX() 210 TmpInst.setLoc(IDLoc); in emitII() 222 TmpInst.setLoc(IDLoc); in emitRRX() 241 TmpInst.setLoc(IDLoc); in emitRRRX() 262 TmpInst.setLoc(IDLoc); in emitRRIII() 290 emitRR(Opc, Mips::ZERO, Mips::ZERO, IDLoc, STI); in emitEmptyDelaySlot() 297 emitRRI(Opc, Mips::ZERO, Mips::ZERO, 0, IDLoc, STI); in emitEmptyDelaySlot() 316 function_ref<unsigned()> GetATReg, SMLoc IDLoc, in emitStoreWithImmOffset() argument 340 emitRI(Mips::LUi, ATReg, HiOffset, IDLoc, STI); in emitStoreWithImmOffset() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Xtensa/AsmParser/ |
| H A D | XtensaAsmParser.cpp | 41 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 364 Inst.setLoc(IDLoc); in MatchAndEmitInstruction() 372 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() 379 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 384 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo), in MatchAndEmitInstruction() 387 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo), in MatchAndEmitInstruction() 391 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo), in MatchAndEmitInstruction() 394 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo), in MatchAndEmitInstruction() 397 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo), in MatchAndEmitInstruction() 400 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo), in MatchAndEmitInstruction() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/AsmParser/ |
| H A D | RISCVAsmParser.cpp | 1387 return Error(IDLoc, Msg); in MatchAndEmitInstruction() 1396 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() 1403 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 1413 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() 1422 return Error(IDLoc, in MatchAndEmitInstruction() 3183 emitLoadLocalAddress(Inst, IDLoc, Out); in emitLoadAddress() 3231 Opcode, IDLoc, Out); in emitLoadStoreSymbol() 3505 Inst.setLoc(IDLoc); in processInstruction() 3534 emitLoadLocalAddress(Inst, IDLoc, Out); in processInstruction() 3540 emitLoadAddress(Inst, IDLoc, Out); in processInstruction() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/MC/MCParser/ |
| H A D | MasmParser.cpp | 2108 SMLoc IDLoc = ID.getLoc(); in parseStatement() local 2188 return parseDirectiveElse(IDLoc); in parseStatement() 2190 return parseDirectiveEndIf(IDLoc); in parseStatement() 2258 Out.emitLabel(Sym, IDLoc); in parseStatement() 2264 IDLoc); in parseStatement() 2273 return handleMacroEntry(M, IDLoc); in parseStatement() 2383 return parseDirectiveFile(IDLoc); in parseStatement() 2465 return parseDirectiveEnd(IDLoc); in parseStatement() 2495 return parseDirectiveEcho(IDLoc); in parseStatement() 3109 SMLoc IDLoc = Lexer.getLoc(); in parseMacroArguments() local [all …]
|
| H A D | AsmParser.cpp | 1800 SMLoc IDLoc = ID.getLoc(); in parseStatement() local 1890 return parseDirectiveElseIf(IDLoc); in parseStatement() 1892 return parseDirectiveElse(IDLoc); in parseStatement() 1894 return parseDirectiveEndIf(IDLoc); in parseStatement() 1967 Out.emitLabel(Sym, IDLoc); in parseStatement() 2139 return parseDirectiveIrp(IDLoc); in parseStatement() 2141 return parseDirectiveIrpc(IDLoc); in parseStatement() 2143 return parseDirectiveEndr(IDLoc); in parseStatement() 2249 return parseDirectiveEnd(IDLoc); in parseStatement() 2772 SMLoc IDLoc = Lexer.getLoc(); in parseMacroArguments() local [all …]
|
| H A D | DarwinAsmParser.cpp | 587 SMLoc IDLoc) { in parseDirectiveDumpOrLoad() argument 602 return Warning(IDLoc, "ignoring directive .dump for now"); in parseDirectiveDumpOrLoad() 604 return Warning(IDLoc, "ignoring directive .load for now"); in parseDirectiveDumpOrLoad() 767 return Error(IDLoc, ".secure_log_unique specified multiple times"); in parseDirectiveSecureLogUnique() 782 return Error(IDLoc, Twine("can't open secure log file: ") + in parseDirectiveSecureLogUnique() 789 unsigned CurBuf = getSourceManager().FindBufferContainingLoc(IDLoc); in parseDirectiveSecureLogUnique() 791 << ":" << getSourceManager().FindLineNumber(IDLoc, CurBuf) << ":" in parseDirectiveSecureLogUnique() 828 SMLoc IDLoc = getLexer().getLoc(); in parseDirectiveTBSS() local 869 return Error(IDLoc, "invalid symbol redefinition"); in parseDirectiveTBSS() 913 SMLoc IDLoc = getLexer().getLoc(); in parseDirectiveZerofill() local [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/CSKY/AsmParser/ |
| H A D | CSKYAsmParser.cpp | 684 return Error(IDLoc, Msg); in MatchAndEmitInstruction() 694 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() 701 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 711 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() 826 Inst.setLoc(IDLoc); in processLRW() 874 Inst.setLoc(IDLoc); in processJSRI() 895 Inst.setLoc(IDLoc); in processJMPI() 941 return Error(IDLoc, "n must be in range [0,32]"); in processInstruction() 974 return processLRW(Inst, IDLoc, Out); in processInstruction() 976 return processJSRI(Inst, IDLoc, Out); in processInstruction() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/AsmParser/ |
| H A D | HexagonAsmParser.cpp | 142 SMLoc IDLoc); 470 MCB.setLoc(IDLoc); in finishBundle() 559 MCI.setLoc(IDLoc); in matchOneInstruction() 567 MCI.setLoc(IDLoc); in matchOneInstruction() 586 SMLoc ErrorLoc = IDLoc; in matchOneInstruction() 594 ErrorLoc = IDLoc; in matchOneInstruction() 639 return finishBundle(IDLoc, Out); in MatchAndEmitInstruction() 652 return finishBundle(IDLoc, Out); in MatchAndEmitInstruction() 1573 OutOfRange(IDLoc, s8, -128); in processInstruction() 1599 OutOfRange(IDLoc, s8, -128); in processInstruction() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/AsmParser/ |
| H A D | BPFAsmParser.cpp | 37 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 304 bool BPFAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument 312 return Error(IDLoc, "additional inst constraint not met"); in MatchAndEmitInstruction() 318 Inst.setLoc(IDLoc); in MatchAndEmitInstruction() 322 return Error(IDLoc, "instruction use requires an option to be enabled"); in MatchAndEmitInstruction() 324 return Error(IDLoc, "unrecognized instruction mnemonic"); in MatchAndEmitInstruction() 326 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 335 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/ |
| H A D | WebAssemblyAsmParser.cpp | 1018 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned & /*Opcode*/, in MatchAndEmitInstruction() argument 1023 Inst.setLoc(IDLoc); in MatchAndEmitInstruction() 1047 if (!SkipTypeCheck && TC.typeCheck(IDLoc, Inst, Operands)) in MatchAndEmitInstruction() 1051 onEndOfFunction(IDLoc); in MatchAndEmitInstruction() 1065 return Parser.Error(IDLoc, Message); in MatchAndEmitInstruction() 1068 return Parser.Error(IDLoc, "invalid instruction"); in MatchAndEmitInstruction() 1070 return Parser.Error(IDLoc, "ambiguous instruction"); in MatchAndEmitInstruction() 1073 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() 1079 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 1097 Parser.Error(IDLoc, in doBeforeLabelEmit() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Sparc/AsmParser/ |
| H A D | SparcAsmParser.cpp | 121 bool expandSET(MCInst &Inst, SMLoc IDLoc, 124 bool expandSETX(MCInst &Inst, SMLoc IDLoc, 615 return Error(IDLoc, in expandSET() 641 TmpInst.setLoc(IDLoc); in expandSET() 666 TmpInst.setLoc(IDLoc); in expandSET() 761 Inst.setLoc(IDLoc); in MatchAndEmitInstruction() 765 if (expandSET(Inst, IDLoc, Instructions)) in MatchAndEmitInstruction() 769 if (expandSETX(Inst, IDLoc, Instructions)) in MatchAndEmitInstruction() 781 return Error(IDLoc, in MatchAndEmitInstruction() 785 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/ |
| H A D | X86AsmParser.cpp | 1188 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 3967 Inst.setLoc(IDLoc); in MatchFPUWaitAlias() 3970 Operands[0] = X86Operand::CreateToken(Repl, IDLoc); in MatchFPUWaitAlias() 3974 bool X86AsmParser::ErrorMissingFeature(SMLoc IDLoc, in ErrorMissingFeature() argument 3985 return Error(IDLoc, OS.str(), SMRange(), MatchingInlineAsm); in ErrorMissingFeature() 4089 Inst.setLoc(IDLoc); in MatchAndEmitATTInstruction() 4097 ErrorLoc = IDLoc; in MatchAndEmitATTInstruction() 4193 Inst.setLoc(IDLoc); in MatchAndEmitATTInstruction() 4222 Error(IDLoc, OS.str(), EmptyRange, MatchingInlineAsm); in MatchAndEmitATTInstruction() 4454 Inst.setLoc(IDLoc); in MatchAndEmitIntelInstruction() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/VE/AsmParser/ |
| H A D | VEAsmParser.cpp | 54 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 763 bool VEAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument 772 Inst.setLoc(IDLoc); in MatchAndEmitInstruction() 777 return Error(IDLoc, in MatchAndEmitInstruction() 781 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() 784 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction() 788 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 794 return Error(IDLoc, "invalid instruction mnemonic"); in MatchAndEmitInstruction()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/AsmParser/ |
| H A D | SystemZAsmParser.cpp | 503 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 1519 bool SystemZAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument 1534 Inst.setLoc(IDLoc); in MatchAndEmitInstruction() 1549 return Error(IDLoc, Msg); in MatchAndEmitInstruction() 1553 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() 1556 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction() 1560 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 1569 return Error(IDLoc, "invalid instruction" + Suggestion, in MatchAndEmitInstruction()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/ |
| H A D | AMDGPUAsmParser.cpp | 1731 const SMLoc &IDLoc); 4932 if (!validateMIMGDataSize(Inst, IDLoc)) { in validateInstruction() 4935 if (!validateMIMGAddrSize(Inst, IDLoc)) in validateInstruction() 4962 if (!validateCoherencyBits(Inst, Operands, IDLoc)) { in validateInstruction() 4974 Error(IDLoc, in validateInstruction() 5043 return Error(IDLoc, in checkUnsupportedInstruction() 5113 if (!validateInstruction(Inst, IDLoc, Operands)) { in MatchAndEmitInstruction() 5116 Inst.setLoc(IDLoc); in MatchAndEmitInstruction() 5122 if (checkUnsupportedInstruction(Mnemo, IDLoc)) { in MatchAndEmitInstruction() 5135 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/MCParser/ |
| H A D | MCTargetAsmParser.h | 480 virtual bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 535 virtual void doBeforeLabelEmit(MCSymbol *Symbol, SMLoc IDLoc) {} in doBeforeLabelEmit() argument
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/AsmParser/ |
| H A D | PPCAsmParser.cpp | 126 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 1253 bool PPCAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument 1263 Inst.setLoc(IDLoc); in MatchAndEmitInstruction() 1267 return Error(IDLoc, "instruction use requires an option to be enabled"); in MatchAndEmitInstruction() 1272 return Error(IDLoc, "invalid instruction" + Suggestion, in MatchAndEmitInstruction() 1276 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() 1279 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction() 1282 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc; in MatchAndEmitInstruction()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/AsmParser/ |
| H A D | AArch64AsmParser.cpp | 231 bool validateInstruction(MCInst &Inst, SMLoc &IDLoc, 234 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 6451 if (validateInstruction(Inst, IDLoc, OperandLocs)) in MatchAndEmitInstruction() 6454 Inst.setLoc(IDLoc); in MatchAndEmitInstruction() 6469 return Error(IDLoc, Msg); in MatchAndEmitInstruction() 6474 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() 6478 return Error(IDLoc, "too few operands for instruction", in MatchAndEmitInstruction() 6479 SMRange(IDLoc, getTok().getLoc())); in MatchAndEmitInstruction() 6483 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 6700 …return Error(IDLoc, "too few operands for instruction", SMRange(IDLoc, (*Operands.back()).getEndLo… in MatchAndEmitInstruction() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/MSP430/AsmParser/ |
| H A D | MSP430AsmParser.cpp | 43 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AVR/AsmParser/ |
| H A D | AVRAsmParser.cpp | 54 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/AsmParser/ |
| H A D | ARMAsmParser.cpp | 718 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 736 SMLoc IDLoc, OperandVector &Operands); 740 void doBeforeLabelEmit(MCSymbol *Symbol, SMLoc IDLoc) override; 11179 Inst.setLoc(IDLoc); in MatchAndEmitInstruction() 11189 ReportNearMisses(NearMisses, IDLoc, Operands); in MatchAndEmitInstruction() 11195 return Error(IDLoc, "invalid instruction" + Suggestion, in MatchAndEmitInstruction() 11361 void ARMAsmParser::doBeforeLabelEmit(MCSymbol *Symbol, SMLoc IDLoc) { in doBeforeLabelEmit() argument 12546 Message.Loc = IDLoc; in FilterNearMisses() 12560 Message.Loc = IDLoc; in FilterNearMisses() 12610 FilterNearMisses(NearMisses, Messages, IDLoc, Operands); in ReportNearMisses() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/M68k/AsmParser/ |
| H A D | M68kAsmParser.cpp | 74 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
|