| /freebsd-13.1/contrib/llvm-project/llvm/lib/MC/MCParser/ |
| H A D | DarwinAsmParser.cpp | 57 SMLoc LastVersionDirective; 199 LastVersionDirective = SMLoc(); in Initialize() 666 SMLoc Loc = getLexer().getLoc(); in parseDirectiveSection() 711 SMLoc BLoc = SMLoc::getFromPointer(SectionVal.data() + B); in parseDirectiveSection() 712 SMLoc ELoc = SMLoc::getFromPointer(SectionVal.data() + E); in parseDirectiveSection() 829 SMLoc IDLoc = getLexer().getLoc(); in parseDirectiveTBSS() 842 SMLoc SizeLoc = getLexer().getLoc(); in parseDirectiveTBSS() 847 SMLoc Pow2AlignmentLoc; in parseDirectiveTBSS() 914 SMLoc IDLoc = getLexer().getLoc(); in parseDirectiveZerofill() 927 SMLoc SizeLoc = getLexer().getLoc(); in parseDirectiveZerofill() [all …]
|
| H A D | COFFAsmParser.cpp | 119 bool ParseDirectiveSection(StringRef, SMLoc); 120 bool ParseDirectiveDef(StringRef, SMLoc); 121 bool ParseDirectiveScl(StringRef, SMLoc); 122 bool ParseDirectiveType(StringRef, SMLoc); 123 bool ParseDirectiveEndef(StringRef, SMLoc); 125 bool ParseDirectiveSecIdx(StringRef, SMLoc); 127 bool ParseDirectiveSymIdx(StringRef, SMLoc); 130 bool ParseDirectiveRVA(StringRef, SMLoc); 466 SMLoc OffsetLoc; in ParseDirectiveSecRel32() 496 SMLoc OffsetLoc; in ParseDirectiveRVA() [all …]
|
| H A D | COFFMasmParser.cpp | 50 bool ParseDirectiveProc(StringRef, SMLoc); 51 bool ParseDirectiveEndProc(StringRef, SMLoc); 52 bool ParseDirectiveSegment(StringRef, SMLoc); 53 bool ParseDirectiveSegmentEnd(StringRef, SMLoc); 54 bool ParseDirectiveIncludelib(StringRef, SMLoc); 56 bool ParseDirectiveAlias(StringRef, SMLoc); 59 bool ParseSEHDirectiveEndProlog(StringRef, SMLoc); 61 bool IgnoreDirective(StringRef, SMLoc) { in IgnoreDirective() argument 324 SMLoc nextLoc = getTok().getLoc(); in ParseDirectiveProc() 356 SMLoc LabelLoc = getTok().getLoc(); in ParseDirectiveEndProc() [all …]
|
| H A D | ELFAsmParser.cpp | 142 bool ParseDirectiveSection(StringRef, SMLoc); 143 bool ParseDirectiveSize(StringRef, SMLoc); 145 bool ParseDirectiveType(StringRef, SMLoc); 146 bool ParseDirectiveIdent(StringRef, SMLoc); 147 bool ParseDirectiveSymver(StringRef, SMLoc); 148 bool ParseDirectiveVersion(StringRef, SMLoc); 149 bool ParseDirectiveWeakref(StringRef, SMLoc); 248 SMLoc FirstLoc = getLexer().getLoc(); in ParseSectionName() 258 SMLoc PrevLoc = getLexer().getLoc(); in ParseSectionName() 464 SMLoc StartLoc = L.getLoc(); in parseLinkedToSym() [all …]
|
| H A D | AsmParser.cpp | 96 SMLoc ExitLoc; 130 SMLoc StartTokLoc; 160 SMLoc Loc; 1379 SMLoc EndLoc; in parseExpression() 1448 static bool isAngleBracketString(SMLoc &StrLoc, SMLoc &EndLoc) { in isAngleBracketString() 2781 SMLoc EndLoc; in parseMacroArguments() 3742 SMLoc Loc; in parseCVFunctionId() 3751 SMLoc Loc; in parseCVFileId() 3976 SMLoc Loc; in parseDirectiveCVDefRange() 4751 SMLoc Loc; in parseDirectivePurgeMacro() [all …]
|
| H A D | MasmParser.cpp | 98 SMLoc ExitLoc; 425 SMLoc Loc; 1850 SMLoc EndLoc; in parseExpression() 1860 static bool isAngleBracketString(SMLoc &StrLoc, SMLoc &EndLoc) { in isAngleBracketString() 3198 SMLoc EndLoc; in parseMacroArguments() 3494 SMLoc EndLoc; in parseDirectiveEquate() 3871 SMLoc SignLoc; in parseRealValue() 5116 SMLoc Loc; in parseCVFunctionId() 5125 SMLoc Loc; in parseCVFileId() 5352 SMLoc Loc; in parseDirectiveCVDefRange() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/MSP430/AsmParser/ |
| H A D | MSP430AsmParser.cpp | 47 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override; 113 SMLoc Start, End; 118 MSP430Operand(KindTy Kind, unsigned Reg, SMLoc const &S, SMLoc const &E) in MSP430Operand() 120 MSP430Operand(MCExpr const *Imm, SMLoc const &S, SMLoc const &E) in MSP430Operand() 122 MSP430Operand(unsigned Reg, MCExpr const *Expr, SMLoc const &S, SMLoc const &E) in MSP430Operand() 210 SMLoc S, SMLoc E) { in CreateMem() 270 SMLoc ErrorLoc = Loc; in MatchAndEmitInstruction() 276 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction() 359 Operands.push_back(MSP430Operand::CreateImm(CCode, SMLoc(), SMLoc())); in parseJccInstruction() 457 SMLoc StartLoc, EndLoc; in ParseOperand() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | MCStreamer.h | 650 SMLoc Loc = SMLoc()) = 0; 687 SMLoc Loc = SMLoc()); 786 SMLoc Loc = SMLoc()); 797 SMLoc Loc = SMLoc()); 1010 virtual void EmitWinCFIEndProc(SMLoc Loc = SMLoc()); 1020 SMLoc Loc = SMLoc()); 1023 SMLoc Loc = SMLoc()); 1025 SMLoc Loc = SMLoc()); 1027 virtual void EmitWinCFIEndProlog(SMLoc Loc = SMLoc()); 1029 SMLoc Loc = SMLoc()); [all …]
|
| H A D | MCExpr.h | 54 SMLoc Loc; 82 SMLoc getLoc() const { return Loc; } in getLoc() 378 const MCAsmInfo *MAI, SMLoc Loc = SMLoc()); 389 MCContext &Ctx, SMLoc Loc = SMLoc()); 443 MCContext &Ctx, SMLoc Loc = SMLoc()); 445 static const MCUnaryExpr *createLNot(const MCExpr *Expr, MCContext &Ctx, SMLoc Loc = SMLoc()) { 449 static const MCUnaryExpr *createMinus(const MCExpr *Expr, MCContext &Ctx, SMLoc Loc = SMLoc()) { 453 static const MCUnaryExpr *createNot(const MCExpr *Expr, MCContext &Ctx, SMLoc Loc = SMLoc()) { 457 static const MCUnaryExpr *createPlus(const MCExpr *Expr, MCContext &Ctx, SMLoc Loc = SMLoc()) { 512 SMLoc Loc = SMLoc()) [all …]
|
| H A D | MCObjectStreamer.h | 117 void emitLabel(MCSymbol *Symbol, SMLoc Loc = SMLoc()) override; 118 virtual void emitLabelAtPos(MCSymbol *Symbol, SMLoc Loc, MCFragment *F, 122 SMLoc Loc = SMLoc()) override; 143 SMLoc Loc) override; 156 StringRef FileName, SMLoc Loc) override; 178 SMLoc Loc, const MCSubtargetInfo &STI) override; 181 SMLoc Loc = SMLoc()) override; 183 SMLoc Loc = SMLoc()) override; 185 SMLoc Loc) override;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
| H A D | X86WinCOFFTargetStreamer.cpp | 34 SMLoc L) override; 35 bool emitFPOEndPrologue(SMLoc L) override; 36 bool emitFPOEndProc(SMLoc L) override; 38 bool emitFPOPushReg(unsigned Reg, SMLoc L) override; 41 bool emitFPOSetFrame(unsigned Reg, SMLoc L) override; 78 bool checkInFPOPrologue(SMLoc L); 88 SMLoc L) override; 89 bool emitFPOEndPrologue(SMLoc L) override; 90 bool emitFPOEndProc(SMLoc L) override; 92 bool emitFPOPushReg(unsigned Reg, SMLoc L) override; [all …]
|
| H A D | X86TargetStreamer.h | 22 SMLoc L = {}) = 0; 23 virtual bool emitFPOEndPrologue(SMLoc L = {}) = 0; 24 virtual bool emitFPOEndProc(SMLoc L = {}) = 0; 25 virtual bool emitFPOData(const MCSymbol *ProcSym, SMLoc L = {}) = 0; 26 virtual bool emitFPOPushReg(unsigned Reg, SMLoc L = {}) = 0; 27 virtual bool emitFPOStackAlloc(unsigned StackAlloc, SMLoc L = {}) = 0; 28 virtual bool emitFPOStackAlign(unsigned Align, SMLoc L = {}) = 0; 29 virtual bool emitFPOSetFrame(unsigned Reg, SMLoc L = {}) = 0;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/BPF/AsmParser/ |
| H A D | BPFAsmParser.cpp | 41 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override; 97 SMLoc StartLoc, EndLoc; 290 SMLoc ErrorLoc; in MatchAndEmitInstruction() 315 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction() 351 SMLoc S = getLoc(); in parseOperandAsOperator() 416 SMLoc S = getLoc(); in parseRegister() 417 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseRegister() 449 SMLoc S = getLoc(); in parseImmediate() 454 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseImmediate() 468 SMLoc E = SMLoc::getFromPointer(NameLoc.getPointer() - 1); in ParseInstruction() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AVR/AsmParser/ |
| H A D | AVRAsmParser.cpp | 54 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override; 111 AVROperand(unsigned Reg, SMLoc const &S, SMLoc const &E) in AVROperand() 113 AVROperand(MCExpr const *Imm, SMLoc const &S, SMLoc const &E) in AVROperand() 115 AVROperand(unsigned Reg, MCExpr const *Imm, SMLoc const &S, SMLoc const &E) in AVROperand() 127 SMLoc Start, End; 217 CreateMemri(unsigned RegNum, const MCExpr *Val, SMLoc S, SMLoc E) { in CreateMemri() 281 SMLoc ErrorLoc = Loc; in invalidOperand() 403 SMLoc S = Parser.getTok().getLoc(); in tryParseExpression() 421 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in tryParseExpression() 504 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in tryParseRelocExpression() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/CSKY/AsmParser/ |
| H A D | CSKYAsmParser.cpp | 45 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override; 98 SMLoc StartLoc, EndLoc; 325 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() 411 SMLoc S = getLoc(); in parseRegister() 412 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseRegister() 497 SMLoc S = getLoc(); in parseImmediate() 501 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseImmediate() 538 SMLoc S = getLoc(); in parseCSKYSymbol() 539 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseCSKYSymbol() 572 SMLoc S = getLoc(); in parseConstpoolSymbol() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | SMLoc.h | 23 class SMLoc { 27 SMLoc() = default; 31 bool operator==(const SMLoc &RHS) const { return RHS.Ptr == Ptr; } 32 bool operator!=(const SMLoc &RHS) const { return RHS.Ptr != Ptr; } 36 static SMLoc getFromPointer(const char *Ptr) { in getFromPointer() 37 SMLoc L; in getFromPointer() 50 SMLoc Start, End; 54 SMRange(SMLoc St, SMLoc En) : Start(St), End(En) { in SMRange()
|
| H A D | SourceMgr.h | 75 SMLoc IncludeLoc; 134 SMLoc getParentIncludeLoc(unsigned i) const { in getParentIncludeLoc() 142 SMLoc IncludeLoc) { in AddNewSourceBuffer() 162 unsigned FindBufferContainingLoc(SMLoc Loc) const; 172 std::pair<unsigned, unsigned> getLineAndColumn(SMLoc Loc, 177 std::string getFormattedLocationNoOffset(SMLoc Loc, 195 void PrintMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg, 222 void PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const; 234 SMFixIt(SMLoc Loc, const Twine &Replacement) in SMFixIt() 253 SMLoc Loc; [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/M68k/AsmParser/ |
| H A D | M68kAsmParser.cpp | 68 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override; 128 SMLoc Start, End; 137 M68kOperand(KindTy Kind, SMLoc Start, SMLoc End) in M68kOperand() 267 SMLoc Start, SMLoc End) { in createMemOp() 281 SMLoc Start, SMLoc End) { in createToken() 297 SMLoc Start, SMLoc End) { in createImm() 600 SMLoc Start = getLexer().getLoc(); in parseImm() 603 SMLoc End; in parseImm() 615 SMLoc Start = getLexer().getLoc(); in parseMemOp() 721 SMLoc End = getLexer().getLoc(); in parseMemOp() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/ |
| H A D | WebAssemblyAsmTypeCheck.h | 45 bool typeError(SMLoc ErrorLoc, const Twine &Msg); 46 bool popType(SMLoc ErrorLoc, Optional<wasm::ValType> EVT); 47 bool getLocal(SMLoc ErrorLoc, const MCInst &Inst, wasm::ValType &Type); 48 bool checkEnd(SMLoc ErrorLoc); 49 bool checkSig(SMLoc ErrorLoc, const wasm::WasmSignature &Sig); 50 bool getSymRef(SMLoc ErrorLoc, const MCInst &Inst, 52 bool getGlobal(SMLoc ErrorLoc, const MCInst &Inst, wasm::ValType &Type); 60 void endOfFunction(SMLoc ErrorLoc); 61 bool typeCheck(SMLoc ErrorLoc, const MCInst &Inst);
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-mca/ |
| H A D | CodeRegion.h | 58 llvm::SMLoc RangeStart; 59 llvm::SMLoc RangeEnd; 65 CodeRegion(llvm::StringRef Desc, llvm::SMLoc Start) in CodeRegion() 72 llvm::SMLoc startLoc() const { return RangeStart; } in startLoc() 73 llvm::SMLoc endLoc() const { return RangeEnd; } in endLoc() 75 void setEndLocation(llvm::SMLoc End) { RangeEnd = End; } in setEndLocation() 77 bool isLocInRange(llvm::SMLoc Loc) const; 109 void beginRegion(llvm::StringRef Description, llvm::SMLoc Loc); 110 void endRegion(llvm::StringRef Description, llvm::SMLoc Loc);
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsTargetStreamer.h | 122 void emitR(unsigned Opcode, unsigned Reg0, SMLoc IDLoc, 124 void emitII(unsigned Opcode, int16_t Imm1, int16_t Imm2, SMLoc IDLoc, 128 void emitRI(unsigned Opcode, unsigned Reg0, int32_t Imm, SMLoc IDLoc, 133 SMLoc IDLoc, const MCSubtargetInfo *STI); 135 SMLoc IDLoc, const MCSubtargetInfo *STI); 137 MCOperand Op3, SMLoc IDLoc, const MCSubtargetInfo *STI); 139 SMLoc IDLoc, const MCSubtargetInfo *STI); 141 int16_t Imm1, int16_t Imm2, SMLoc IDLoc, 146 SMLoc IDLoc, const MCSubtargetInfo *STI); 147 void emitEmptyDelaySlot(bool hasShortDelaySlot, SMLoc IDLoc, [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/TableGen/ |
| H A D | Error.cpp | 27 static void PrintMessage(ArrayRef<SMLoc> Loc, SourceMgr::DiagKind Kind, in PrintMessage() 34 SMLoc NullLoc; in PrintMessage() 49 void PrintNote(ArrayRef<SMLoc> NoteLoc, const Twine &Msg) { in PrintNote() 62 void PrintFatalNote(ArrayRef<SMLoc> NoteLoc, const Twine &Msg) { in PrintFatalNote() 91 void PrintWarning(ArrayRef<SMLoc> WarningLoc, const Twine &Msg) { in PrintWarning() 96 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Warning, Msg); in PrintWarning() 103 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) { in PrintError() 108 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Error, Msg); in PrintError() 132 void PrintFatalError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) { in PrintFatalError() 159 void CheckAssert(SMLoc Loc, Init *Condition, Init *Message) { in CheckAssert()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MC/MCParser/ |
| H A D | MCAsmParser.h | 117 SMLoc Location, bool Create) = 0; 126 using DirectiveHandler = bool (*)(MCAsmParserExtension*, StringRef, SMLoc); 131 SMLoc Loc; 213 virtual void Note(SMLoc L, const Twine &Msg, SMRange Range = None) = 0; 225 bool Error(SMLoc L, const Twine &Msg, SMRange Range = None); 258 bool parseTokenLoc(SMLoc &Loc); 273 bool check(bool P, SMLoc Loc, const Twine &Msg); 300 virtual bool parseExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0; 308 virtual bool parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc, 340 SMLoc &EndLoc) = 0; [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/AsmParser/ |
| H A D | SystemZAsmParser.cpp | 152 SystemZOperand(OperandKind kind, SMLoc startLoc, SMLoc endLoc) in SystemZOperand() 169 createReg(RegisterKind Kind, unsigned Num, SMLoc StartLoc, SMLoc EndLoc) { in createReg() 177 createImm(const MCExpr *Expr, SMLoc StartLoc, SMLoc EndLoc) { in createImm() 186 unsigned LengthReg, SMLoc StartLoc, SMLoc EndLoc) { in createMem() 202 SMLoc StartLoc, SMLoc EndLoc) { in createImmTLS() 486 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc, 909 SMLoc EndLoc = in parseAnyRegister() 1200 SMLoc EndLoc = in parseAddress() 1280 SMLoc EndLoc = in ParseDirectiveInsn() 1480 SMLoc EndLoc = in parseOperand() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/AsmParser/ |
| H A D | RISCVAsmParser.cpp | 86 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override; 1259 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseRegister() 1274 SMLoc S = getLoc(); in parseCSRSystemRegister() 1348 SMLoc S = getLoc(); in parseImmediate() 1349 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseImmediate() 1378 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseOperandWithModifier() 1417 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseBareSymbol() 1469 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseCallSymbol() 1497 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parsePseudoJumpSymbol() 1630 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseMaskReg() [all …]
|