Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DSMLoc.h49 class SMRange {
53 SMRange() = default;
54 SMRange(NoneType) {} in SMRange() function
55 SMRange(SMLoc St, SMLoc En) : Start(St), End(En) { in SMRange() function
H A DSourceMgr.h192 ArrayRef<SMRange> Ranges = None,
198 ArrayRef<SMRange> Ranges = None,
215 ArrayRef<SMRange> Ranges = None,
229 SMRange Range;
241 SMFixIt(SMRange R, const Twine &Replacement) in SMFixIt()
247 SMRange getRange() const { return Range; } in getRange()
H A DYAMLParser.h160 SMRange getSourceRange() const { return SourceRange; } in getSourceRange()
161 void setSourceRange(SMRange SR) { SourceRange = SR; } in setSourceRange()
177 SMRange SourceRange;
216 SourceRange = SMRange(Start, End); in ScalarNode()
259 SourceRange = SMRange(Start, End); in BlockScalarNode()
H A DFileCheck.h128 SMRange MatchRange = None) const;
201 SMLoc CheckLoc, MatchType MatchTy, SMRange InputRange);
/freebsd-12.1/contrib/llvm/include/llvm/MC/MCParser/
H A DMCAsmParser.h119 SMRange Range;
187 virtual void Note(SMLoc L, const Twine &Msg, SMRange Range = None) = 0;
192 virtual bool Warning(SMLoc L, const Twine &Msg, SMRange Range = None) = 0;
199 bool Error(SMLoc L, const Twine &Msg, SMRange Range = None);
205 virtual bool printError(SMLoc L, const Twine &Msg, SMRange Range = None) = 0;
230 bool TokError(const Twine &Msg, SMRange Range = None);
H A DMCAsmParserExtension.h75 bool Error(SMLoc L, const Twine &Msg, SMRange Range = SMRange()) {
/freebsd-12.1/contrib/llvm/lib/MC/MCParser/
H A DMCAsmParser.cpp84 bool MCAsmParser::TokError(const Twine &Msg, SMRange Range) { in TokError()
88 bool MCAsmParser::Error(SMLoc L, const Twine &Msg, SMRange Range) { in Error()
H A DMCAsmLexer.cpp36 SMRange AsmToken::getLocRange() const { in getLocRange()
37 return SMRange(getLoc(), getEndLoc()); in getLocRange()
H A DDarwinAsmParser.cpp717 SMRange(BLoc, ELoc)); in parseDirectiveSection()
719 "\"", SMRange(BLoc, ELoc)); in parseDirectiveSection()
H A DAsmParser.cpp224 void Note(SMLoc L, const Twine &Msg, SMRange Range = None) override;
225 bool Warning(SMLoc L, const Twine &Msg, SMRange Range = None) override;
226 bool printError(SMLoc L, const Twine &Msg, SMRange Range = None) override;
306 SMRange Range = None) const { in printMessage()
307 ArrayRef<SMRange> Ranges(Range); in printMessage()
739 void AsmParser::Note(SMLoc L, const Twine &Msg, SMRange Range) { in Note()
745 bool AsmParser::Warning(SMLoc L, const Twine &Msg, SMRange Range) { in Warning()
755 bool AsmParser::printError(SMLoc L, const Twine &Msg, SMRange Range) { in printError()
/freebsd-12.1/contrib/llvm/lib/Support/
H A DSourceMgr.cpp171 ArrayRef<SMRange> Ranges, in GetMessage()
204 SMRange R = Ranges[i]; in GetMessage()
250 const Twine &Msg, ArrayRef<SMRange> Ranges, in PrintMessage()
256 const Twine &Msg, ArrayRef<SMRange> Ranges, in PrintMessage()
292 SMRange R = I->getRange(); in buildFixItLine()
H A DFileCheck.cpp373 SMRange MatchRange) const { in PrintVariableUses()
415 static SMRange ProcessMatchResult(FileCheckDiag::MatchType MatchTy, in ProcessMatchResult()
423 SMRange Range(Start, End); in ProcessMatchResult()
470 SMRange MatchRange = in PrintFuzzyMatch()
559 SMRange InputRange) in FileCheckDiag()
910 SMRange MatchRange = ProcessMatchResult( in PrintMatch()
961 SMRange SearchRange = ProcessMatchResult( in PrintNoMatch()
1281 SMRange OldRange(OldStart, OldEnd); in CheckDag()
H A DYAMLParser.cpp267 ArrayRef<SMRange> Ranges = None) { in printError()
1806 SourceRange = SMRange(Start, Start); in Node()
/freebsd-12.1/contrib/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp88 bool error(const SMDiagnostic &Error, SMRange SourceRange);
147 SMRange SourceRange);
152 SMRange SourceRange);
200 bool MIRParserImpl::error(const SMDiagnostic &Error, SMRange SourceRange) { in error()
801 SMRange SourceRange) { in diagFromMIStringDiag()
817 SMRange SourceRange) { in diagFromBlockStringDiag()
/freebsd-12.1/contrib/llvm/include/llvm/MC/
H A DMCAsmMacro.h88 SMRange getLocRange() const;
/freebsd-12.1/contrib/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp796 bool Error(SMLoc L, const Twine &Msg, SMRange Range = None, in Error()
807 std::nullptr_t ErrorOperand(SMLoc Loc, StringRef Msg, SMRange R = SMRange()) { in ErrorOperand()
1085 SMRange(StartLoc, EndLoc)); in ParseRegister()
1113 SMRange(StartLoc, EndLoc)); in ParseRegister()
1189 SMRange(StartLoc, EndLoc)); in ParseRegister()
1984 SMRange(Loc, EndLoc)); in ParseATTOperand()
1987 SMRange(Loc, EndLoc)); in ParseATTOperand()
2209 SMRange(BaseLoc, EndLoc)); in ParseMemOperand()
2942 SMRange EmptyRange = None; in MatchAndEmitATTInstruction()
3077 SMRange OperandRange = Operand.getLocRange(); in MatchAndEmitATTInstruction()
[all …]
H A DX86Operand.h94 SMRange getLocRange() const { return SMRange(StartLoc, EndLoc); } in getLocRange()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp549 SMRange getLocRange() const { in getLocRange()
550 return SMRange(StartLoc, EndLoc); in getLocRange()
848 bool OutOfRangeError(SMRange Range);
864 unsigned NextFreeVGPR, SMRange VGPRRange,
2615 SMRange TargetRange = SMRange(TargetStart, getTok().getLoc()); in ParseDirectiveAMDGCNTarget()
2629 bool AMDGPUAsmParser::OutOfRangeError(SMRange Range) { in OutOfRangeError()
2635 bool XNACKUsed, unsigned NextFreeVGPR, SMRange VGPRRange, in calculateGPRBlocks()
2683 SMRange VGPRRange; in ParseDirectiveAMDHSAKernel()
2685 SMRange SGPRRange; in ParseDirectiveAMDHSAKernel()
2700 SMRange IDRange = getTok().getLocRange(); in ParseDirectiveAMDHSAKernel()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DMIRYamlMapping.h36 SMRange SourceRange;
101 SMRange SourceRange;
/freebsd-12.1/contrib/llvm/lib/TableGen/
H A DSetTheory.cpp316 ArrayRef<std::pair<Record *, SMRange>> SC = Set->getSuperClasses(); in expand()
H A DRecord.cpp1595 ArrayRef<std::pair<Record *, SMRange>> SCs = Class->getSuperClasses(); in instantiate()
1600 SMRange(Class->getLoc().back(), in instantiate()
1884 ArrayRef<std::pair<Record *, SMRange>> SCs = getSuperClasses(); in getDirectSuperClasses()
1956 ArrayRef<std::pair<Record *, SMRange>> SC = R.getSuperClasses(); in operator <<()
H A DTGParser.cpp38 SMRange RefRange;
48 SMRange RefRange;
277 ArrayRef<std::pair<Record *, SMRange>> SCs = SC->getSuperClasses(); in AddSubClass()
/freebsd-12.1/contrib/llvm/include/llvm/TableGen/
H A DRecord.h1349 SmallVector<std::pair<Record *, SMRange>, 0> SuperClasses;
1419 ArrayRef<std::pair<Record *, SMRange>> getSuperClasses() const { in getSuperClasses()
1492 void addSuperClass(Record *R, SMRange Range) { in addSuperClass()
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp291 SMRange getLocRange() const { return SMRange(StartLoc, EndLoc); } in getLocRange()
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp245 SMRange getLocRange() const { return SMRange(StartLoc, EndLoc); } in getLocRange()

12