Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/llvm/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()
264 SourceRange = SMRange(Start, End); in BlockScalarNode()
/openbsd-src/gnu/llvm/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()) {
/openbsd-src/gnu/llvm/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.cpp203 const SMRange &ReportLoc = NN.second.second; in endMapping()
380 void Input::setError(const SMRange &range, const Twine &message) { in setError()
394 void Input::reportWarning(const SMRange &range, const Twine &message) { in reportWarning()
/openbsd-src/gnu/llvm/llvm/lib/FileCheck/
H A DFileCheckImpl.h539 SMRange Range;
544 ErrorDiagnostic(SMDiagnostic &&Diag, SMRange Range) in ErrorDiagnostic()
555 SMRange getRange() const { return Range; } in getRange()
558 SMRange Range = std::nullopt) {
566 return get(SM, Start, ErrMsg, SMRange(Start, End)); in get()
760 SMRange MatchRange, FileCheckDiag::MatchType MatchTy,
H A DFileCheck.cpp1359 SMRange Range, in printSubstitutions()
1385 SMRange(Range.Start, Range.Start), OS.str()); in printSubstitutions()
1400 SMRange Range; in printVariableDefs()
1409 VC.Range = SMRange(Start, End); in printVariableDefs()
1421 VC.Range = SMRange(Start, End); in printVariableDefs()
1445 static SMRange ProcessMatchResult(FileCheckDiag::MatchType MatchTy, in ProcessMatchResult()
1453 SMRange Range(Start, End); in ProcessMatchResult()
1501 SMRange MatchRange = in printFuzzyMatch()
1613 SMRange InputRange, StringRef Note) in FileCheckDiag()
2100 SMRange MatchRange = ProcessMatchResult(MatchTy, SM, Loc, Pat.getCheckTy(), in printMatch()
[all …]
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVTargetMachine.h61 SMRange &SourceRange) const override;
/openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/
H A DWebAssemblyTargetMachine.h64 SMRange &SourceRange) const override;
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp89 bool error(const SMDiagnostic &Error, SMRange SourceRange);
162 SMRange SourceRange);
167 SMRange SourceRange);
204 bool MIRParserImpl::error(const SMDiagnostic &Error, SMRange SourceRange) { in error()
554 SMRange SrcRange; in initializeMachineFunction()
1005 SMRange SourceRange) { in diagFromMIStringDiag()
1021 SMRange SourceRange) { in diagFromBlockStringDiag()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64TargetMachine.h62 SMRange &SourceRange) const override;
/openbsd-src/gnu/llvm/llvm/include/llvm/Target/
H A DTargetMachine.h52 class SMRange; variable
165 SMRange &SourceRange) const { in parseMachineFunctionInfo()
/openbsd-src/gnu/llvm/llvm/include/llvm/FileCheck/
H A DFileCheck.h171 SMLoc CheckLoc, MatchType MatchTy, SMRange InputRange,
/openbsd-src/gnu/llvm/llvm/include/llvm/TableGen/
H A DRecord.h1507 SmallVector<SMRange> ReferenceLocs;
1556 void addReferenceLoc(SMRange Loc) { ReferenceLocs.push_back(Loc); } in addReferenceLoc()
1559 ArrayRef<SMRange> getReferenceLocs() const { return ReferenceLocs; } in getReferenceLocs()
1597 SmallVector<SMRange, 0> ReferenceLocs;
1604 SmallVector<std::pair<Record *, SMRange>, 0> SuperClasses;
1668 void appendReferenceLoc(SMRange Loc) { ReferenceLocs.push_back(Loc); } in appendReferenceLoc()
1671 ArrayRef<SMRange> getReferenceLocs() const { return ReferenceLocs; } in getReferenceLocs()
1692 ArrayRef<std::pair<Record *, SMRange>> getSuperClasses() const { in getSuperClasses()
1777 void addSuperClass(Record *R, SMRange Range) { in addSuperClass()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetMachine.h105 SMRange &SourceRange) const override;
/openbsd-src/gnu/llvm/llvm/include/llvm/MC/
H A DMCAsmMacro.h87 SMRange getLocRange() const;
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/MIRParser/
H A DMIParser.h242 SMRange SourceRange, SMDiagnostic &Error);
/openbsd-src/gnu/llvm/llvm/lib/TableGen/
H A DTGLexer.h134 SMRange getLocRange() const;
H A DDetailedRecordsBackend.cpp159 ArrayRef<std::pair<Record *, SMRange>> Superclasses = Rec->getSuperClasses(); in printSuperclasses()
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DMIRYamlMapping.h36 SMRange SourceRange;
102 SMRange SourceRange;
394 SMRange SourceRange;
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp1081 bool Error(SMLoc L, const Twine &Msg, SMRange Range = std::nullopt, in Error()
1409 SMRange(StartLoc, EndLoc)); in MatchRegisterByName()
1476 return Error(StartLoc, "invalid register name", SMRange(StartLoc, EndLoc)); in MatchRegisterByName()
1513 SMRange(StartLoc, EndLoc)); in ParseRegister()
1571 SMRange(StartLoc, EndLoc)); in ParseRegister()
2085 SMRange(IdentLoc, IDEnd)); in ParseIntelExpression()
2482 return Error(OpLoc, "expression has unknown type", SMRange(Start, End)); in ParseMasmOperator()
2723 SMRange(Loc, EndLoc)); in parseATTOperand()
2726 SMRange(Loc, EndLoc)); in parseATTOperand()
2983 SMRange(BaseLoc, EndLoc)); in ParseMemOperand()
[all …]

123