Home
last modified time | relevance | path

Searched refs:SMRange (Results 1 – 25 of 57) sorted by relevance

123

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DSMLoc.h48 class SMRange {
52 SMRange() = default;
53 SMRange(std::nullopt_t) {} in SMRange() function
54 SMRange(SMLoc St, SMLoc En) : Start(St), End(En) { in SMRange() function
H A DSourceMgr.h220 ArrayRef<SMRange> Ranges = {},
226 ArrayRef<SMRange> Ranges = {},
243 ArrayRef<SMRange> Ranges = {},
257 SMRange Range;
262 SMFixIt(SMRange R, const Twine &Replacement);
265 : SMFixIt(SMRange(Loc, Loc), Replacement) {} in SMFixIt()
268 SMRange getRange() const { return Range; } in getRange()
H A DYAMLParser.h108 void printError(const SMRange &Range, const Twine &Msg,
165 SMRange getSourceRange() const { return SourceRange; } in getSourceRange()
166 void setSourceRange(SMRange SR) { SourceRange = SR; } in setSourceRange()
182 SMRange SourceRange;
221 SourceRange = SMRange(Start, End); in ScalarNode()
269 SourceRange = SMRange(Start, End); in BlockScalarNode()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/MCParser/
H A DMCAsmParser.h132 SMRange Range;
213 SMRange Range = std::nullopt) = 0;
219 SMRange Range = std::nullopt) = 0;
226 bool Error(SMLoc L, const Twine &Msg, SMRange Range = std::nullopt);
233 SMRange Range = std::nullopt) = 0;
258 bool TokError(const Twine &Msg, SMRange Range = std::nullopt);
H A DMCAsmParserExtension.h73 bool Error(SMLoc L, const Twine &Msg, SMRange Range = SMRange()) {
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DSourceMgr.cpp275 const Twine &Msg, ArrayRef<SMRange> Ranges, in GetMessage()
307 for (SMRange R : Ranges) { in GetMessage()
354 ArrayRef<SMRange> Ranges, ArrayRef<SMFixIt> FixIts, in PrintMessage()
360 const Twine &Msg, ArrayRef<SMRange> Ranges, in PrintMessage()
369 SMFixIt::SMFixIt(SMRange R, const Twine &Replacement) in SMFixIt()
405 SMRange R = Fixit.getRange(); in buildFixItLine()
/freebsd-14.2/contrib/llvm-project/llvm/lib/FileCheck/
H A DFileCheckImpl.h490 SMRange Range;
495 ErrorDiagnostic(SMDiagnostic &&Diag, SMRange Range) in ErrorDiagnostic()
506 SMRange getRange() const { return Range; } in getRange()
509 SMRange Range = std::nullopt) {
517 return get(SM, Start, ErrMsg, SMRange(Start, End)); in get()
711 SMRange MatchRange, FileCheckDiag::MatchType MatchTy,
H A DFileCheck.cpp1204 SMRange Range, in printSubstitutions()
1230 SMRange(Range.Start, Range.Start), OS.str()); in printSubstitutions()
1245 SMRange Range; in printVariableDefs()
1254 VC.Range = SMRange(Start, End); in printVariableDefs()
1266 VC.Range = SMRange(Start, End); in printVariableDefs()
1290 static SMRange ProcessMatchResult(FileCheckDiag::MatchType MatchTy, in ProcessMatchResult()
1298 SMRange Range(Start, End); in ProcessMatchResult()
1346 SMRange MatchRange = in printFuzzyMatch()
1458 SMRange InputRange, StringRef Note) in FileCheckDiag()
2089 SMRange NoteRange = SMRange(SearchRange.Start, SearchRange.Start); in printNoMatch()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DMCAsmParser.cpp97 bool MCAsmParser::TokError(const Twine &Msg, SMRange Range) { in TokError()
101 bool MCAsmParser::Error(SMLoc L, const Twine &Msg, SMRange Range) { in Error()
H A DMCAsmLexer.cpp34 SMRange AsmToken::getLocRange() const { in getLocRange()
35 return SMRange(getLoc(), getEndLoc()); in getLocRange()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceMgrAdapter.h68 SourceRange mapRange(const llvm::SourceMgr &LLVMSrcMgr, llvm::SMRange Range);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetMachine.h61 SMRange &SourceRange) const override;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyTargetMachine.h64 SMRange &SourceRange) const override;
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp88 bool error(const SMDiagnostic &Error, SMRange SourceRange);
171 SMRange SourceRange);
176 SMRange SourceRange);
213 bool MIRParserImpl::error(const SMDiagnostic &Error, SMRange SourceRange) { in error()
564 SMRange SrcRange; in initializeMachineFunction()
1044 SMRange SourceRange) { in diagFromMIStringDiag()
1060 SMRange SourceRange) { in diagFromBlockStringDiag()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetMachine.h66 SMRange &SourceRange) const override;
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Target/
H A DTargetMachine.h52 class SMRange; variable
165 SMRange &SourceRange) const { in parseMachineFunctionInfo()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/FileCheck/
H A DFileCheck.h171 SMLoc CheckLoc, MatchType MatchTy, SMRange InputRange,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetMachine.h93 SMRange &SourceRange) const override;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetMachine.h108 SMRange &SourceRange) const override;
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DRecord.h1561 SmallVector<SMRange> ReferenceLocs;
1610 void addReferenceLoc(SMRange Loc) { ReferenceLocs.push_back(Loc); } in addReferenceLoc()
1613 ArrayRef<SMRange> getReferenceLocs() const { return ReferenceLocs; } in getReferenceLocs()
1662 SmallVector<SMRange, 0> ReferenceLocs;
1670 SmallVector<std::pair<Record *, SMRange>, 0> SuperClasses;
1731 void appendReferenceLoc(SMRange Loc) { ReferenceLocs.push_back(Loc); } in appendReferenceLoc()
1734 ArrayRef<SMRange> getReferenceLocs() const { return ReferenceLocs; } in getReferenceLocs()
1760 ArrayRef<std::pair<Record *, SMRange>> getSuperClasses() const { in getSuperClasses()
1852 void addSuperClass(Record *R, SMRange Range) { in addSuperClass()
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DSourceMgrAdapter.cpp82 llvm::SMRange Range) { in mapRange()
/freebsd-14.2/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.h122 StringInit *Name, SMRange NameLoc,
287 Init *ParseIDValue(Record *CurRec, StringInit *Name, SMRange NameLoc,
H A DDetailedRecordsBackend.cpp159 ArrayRef<std::pair<Record *, SMRange>> Superclasses = Rec->getSuperClasses(); in printSuperclasses()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCAsmMacro.h87 SMRange getLocRange() const;
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/MIRParser/
H A DMIParser.h244 SMRange SourceRange, SMDiagnostic &Error);

123