Home
last modified time | relevance | path

Searched refs:SMRange (Results 1 – 25 of 52) 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.h221 const Twine &Msg, ArrayRef<SMRange> Ranges = {},
227 ArrayRef<SMRange> Ranges = {},
244 ArrayRef<SMRange> Ranges = {},
258 SMRange Range;
263 LLVM_ABI SMFixIt(SMRange R, const Twine &Replacement);
266 : SMFixIt(SMRange(Loc, Loc), Replacement) {} in SMFixIt()
269 SMRange getRange() const { return Range; } in getRange()
H A DYAMLParser.h110 LLVM_ABI void printError(const SMRange &Range, const Twine &Msg,
167 SMRange getSourceRange() const { return SourceRange; } in getSourceRange()
168 void setSourceRange(SMRange SR) { SourceRange = SR; } in setSourceRange()
184 SMRange SourceRange;
223 SourceRange = SMRange(Start, End); in ScalarNode()
271 SourceRange = SMRange(Start, End); in BlockScalarNode()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/MCParser/
H A DMCAsmParser.h133 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.h74 bool Error(SMLoc L, const Twine &Msg, SMRange Range = SMRange()) {
/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()
H A DYAMLTraits.cpp198 const SMRange &ReportLoc = NN.second.second; in endMapping()
375 void Input::setError(const SMRange &range, const Twine &message) { in setError()
389 void Input::reportWarning(const SMRange &range, const Twine &message) { in reportWarning()
/freebsd/contrib/llvm-project/llvm/lib/FileCheck/
H A DFileCheckImpl.h512 SMRange Range;
517 ErrorDiagnostic(SMDiagnostic &&Diag, SMRange Range) in ErrorDiagnostic()
528 SMRange getRange() const { return Range; } in getRange()
531 SMRange Range = std::nullopt) {
539 return get(SM, Start, ErrMsg, SMRange(Start, End)); in get()
736 SMRange MatchRange, FileCheckDiag::MatchType MatchTy,
H A DFileCheck.cpp1245 SMRange Range, in printSubstitutions()
1272 SMRange(Range.Start, Range.Start), OS.str()); in printSubstitutions()
1287 SMRange Range; in printVariableDefs()
1296 VC.Range = SMRange(Start, End); in printVariableDefs()
1308 VC.Range = SMRange(Start, End); in printVariableDefs()
1332 static SMRange ProcessMatchResult(FileCheckDiag::MatchType MatchTy, in ProcessMatchResult()
1340 SMRange Range(Start, End); in ProcessMatchResult()
1388 SMRange MatchRange = in printFuzzyMatch()
1500 SMRange InputRange, StringRef Note) in FileCheckDiag()
2037 SMRange MatchRange = ProcessMatchResult(MatchTy, SM, Loc, Pat.getCheckTy(), in printMatch()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DMCAsmParser.cpp100 bool MCAsmParser::TokError(const Twine &Msg, SMRange Range) { in TokError()
104 bool MCAsmParser::Error(SMLoc L, const Twine &Msg, SMRange Range) { in Error()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetMachine.h60 SMRange &SourceRange) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyTargetMachine.h74 SMRange &SourceRange) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetMachine.h70 SMRange &SourceRange) const override;
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/
H A DTargetMachine.h58 class SMRange; variable
192 SMRange &SourceRange) const { in parseMachineFunctionInfo()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp89 bool error(const SMDiagnostic &Error, SMRange SourceRange);
177 SMRange SourceRange);
182 SMRange SourceRange);
223 bool MIRParserImpl::error(const SMDiagnostic &Error, SMRange SourceRange) { in error()
637 SMRange SrcRange; in initializeMachineFunction()
1173 SMRange SourceRange) { in diagFromMIStringDiag()
1189 SMRange SourceRange) { in diagFromBlockStringDiag()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetMachine.h67 SMRange &SourceRange) const override;
/freebsd/contrib/llvm-project/llvm/include/llvm/FileCheck/
H A DFileCheck.h173 MatchType MatchTy, SMRange InputRange,
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DRecord.h1554 SmallVector<SMRange, 0> ReferenceLocs;
1603 void addReferenceLoc(SMRange Loc) { ReferenceLocs.push_back(Loc); } in addReferenceLoc()
1606 ArrayRef<SMRange> getReferenceLocs() const { return ReferenceLocs; } in getReferenceLocs()
1655 mutable SmallVector<SMRange, 0> ReferenceLocs;
1663 SmallVector<std::pair<const Record *, SMRange>, 0> DirectSuperClasses;
1723 void appendReferenceLoc(SMRange Loc) const { ReferenceLocs.push_back(Loc); } in appendReferenceLoc()
1726 ArrayRef<SMRange> getReferenceLocs() const { return ReferenceLocs; } in getReferenceLocs()
1771 ArrayRef<std::pair<const Record *, SMRange>> getDirectSuperClasses() const { in getDirectSuperClasses()
1861 void addDirectSuperClass(const Record *R, SMRange Range) { in addDirectSuperClass()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCAsmMacro.h80 LLVM_ABI SMRange getLocRange() const;
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetMachine.h108 SMRange &SourceRange) const override;
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.h122 const StringInit *Name, SMRange NameLoc,
291 SMRange NameLoc, IDParseMode Mode = ParseValueMode);
H A DTGLexer.h243 SMRange getLocRange() const;
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/MIRParser/
H A DMIParser.h245 SMRange SourceRange, SMDiagnostic &Error);
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetMachine.h119 SMRange &SourceRange) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp1120 bool Error(SMLoc L, const Twine &Msg, SMRange Range = std::nullopt, in Error()
1442 SMRange(StartLoc, EndLoc)); in MatchRegisterByName()
1512 return Error(StartLoc, "invalid register name", SMRange(StartLoc, EndLoc)); in MatchRegisterByName()
1549 SMRange(StartLoc, EndLoc)); in ParseRegister()
1607 SMRange(StartLoc, EndLoc)); in ParseRegister()
2112 SMRange(IdentLoc, IDEnd)); in ParseIntelExpression()
2571 return Error(OpLoc, "expression has unknown type", SMRange(Start, End)); in ParseMasmOperator()
2821 SMRange(Loc, EndLoc)); in parseATTOperand()
2824 SMRange(Loc, EndLoc)); in parseATTOperand()
3082 SMRange(BaseLoc, EndLoc)); in ParseMemOperand()
[all …]

123