Home
last modified time | relevance | path

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

123

/freebsd/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);
/freebsd/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/contrib/llvm-project/llvm/lib/FileCheck/
H A DFileCheckImpl.h490 SMRange Range;
495 ErrorDiagnostic(SMDiagnostic &&Diag, SMRange Range)
506 SMRange getRange() const { return Range; }
509 SMRange Range = std::nullopt) {
517 return get(SM, Start, ErrMsg, SMRange(Start, End));
711 SMRange MatchRange, FileCheckDiag::MatchType MatchTy,
H A DFileCheck.cpp1206 SMRange Range, in printSubstitutions()
1232 SMRange(Range.Start, Range.Start), OS.str()); in printSubstitutions()
1247 SMRange Range; in printVariableDefs()
1256 VC.Range = SMRange(Start, End); in printVariableDefs()
1268 VC.Range = SMRange(Start, End); in printVariableDefs()
1292 static SMRange ProcessMatchResult(FileCheckDiag::MatchType MatchTy, in ProcessMatchResult()
1300 SMRange Range(Start, End); in ProcessMatchResult()
1348 SMRange MatchRange = in printFuzzyMatch()
1460 SMRange InputRange, StringRef Note) in FileCheckDiag()
2000 SMRange MatchRange = ProcessMatchResult(MatchTy, SM, Loc, Pat.getCheckTy(), in printMatch()
[all …]
/freebsd/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/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/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetMachine.h61 SMRange &SourceRange) const override;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp89 bool error(const SMDiagnostic &Error, SMRange SourceRange);
174 SMRange SourceRange);
179 SMRange SourceRange);
216 bool MIRParserImpl::error(const SMDiagnostic &Error, SMRange SourceRange) { in error()
583 SMRange SrcRange; in initializeMachineFunction()
1064 SMRange SourceRange) { in diagFromMIStringDiag()
1080 SMRange SourceRange) { in diagFromBlockStringDiag()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyTargetMachine.h65 SMRange &SourceRange) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetMachine.h67 SMRange &SourceRange) const override;
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/
H A DTargetMachine.h51 class SMRange; variable
164 SMRange &SourceRange) const { in parseMachineFunctionInfo()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetMachine.h64 SMRange &SourceRange) const override;
/freebsd/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/contrib/llvm-project/llvm/include/llvm/FileCheck/
H A DFileCheck.h171 SMLoc CheckLoc, MatchType MatchTy, SMRange InputRange,
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetMachine.h94 SMRange &SourceRange) const override;
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.h122 StringInit *Name, SMRange NameLoc,
289 Init *ParseIDValue(Record *CurRec, StringInit *Name, SMRange NameLoc,
H A DDetailedRecordsBackend.cpp159 ArrayRef<std::pair<Record *, SMRange>> Superclasses = Rec->getSuperClasses(); in printSuperclasses()
H A DTGLexer.h241 SMRange getLocRange() const;
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCAsmMacro.h87 SMRange getLocRange() const;
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetMachine.h118 SMRange &SourceRange) const override;
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/MIRParser/
H A DMIParser.h244 SMRange SourceRange, SMDiagnostic &Error);

123