Home
last modified time | relevance | path

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

/external/llvm/unittests/Support/
DSourceMgrTest.cpp36 SMRange getRange(unsigned Offset, unsigned Length) { in getRange()
37 return SMRange(getLoc(Offset), getLoc(Offset + Length)); in getRange()
41 const Twine &Msg, ArrayRef<SMRange> Ranges, in printMessage()
132 SMRange Ranges[] = { getRange(0, 3), getRange(4, 3) }; in TEST_F()
143 SMRange Ranges[] = { getRange(0, 3), getRange(2, 4) }; in TEST_F()
/external/llvm/include/llvm/MC/MCParser/
DMCAsmParser.h29 class SMRange; variable
126 ArrayRef<SMRange> Ranges = None) = 0;
132 ArrayRef<SMRange> Ranges = None) = 0;
139 ArrayRef<SMRange> Ranges = None) = 0;
149 bool TokError(const Twine &Msg, ArrayRef<SMRange> Ranges = None);
DMCAsmLexer.h77 SMRange getLocRange() const;
/external/llvm/include/llvm/Support/
DSMLoc.h48 class SMRange {
52 SMRange() {} in SMRange() function
53 SMRange(SMLoc St, SMLoc En) : Start(St), End(En) { in SMRange() function
DSourceMgr.h163 ArrayRef<SMRange> Ranges = None,
169 ArrayRef<SMRange> Ranges = None,
186 ArrayRef<SMRange> Ranges = None,
201 SMRange Range;
213 SMFixIt(SMRange R, const Twine &Replacement) in SMFixIt()
219 SMRange getRange() const { return Range; } in getRange()
DYAMLParser.h132 SMRange getSourceRange() const { return SourceRange; } in getSourceRange()
133 void setSourceRange(SMRange SR) { SourceRange = SR; } in setSourceRange()
159 SMRange SourceRange;
200 SourceRange = SMRange(Start, End); in ScalarNode()
243 SourceRange = SMRange(Start, End); in BlockScalarNode()
/external/llvm/lib/MC/MCParser/
DMCAsmLexer.cpp34 SMRange AsmToken::getLocRange() const { in getLocRange()
35 return SMRange(getLoc(), getEndLoc()); in getLocRange()
DMCAsmParser.cpp36 bool MCAsmParser::TokError(const Twine &Msg, ArrayRef<SMRange> Ranges) { in TokError()
DDarwinAsmParser.cpp608 SMRange(BLoc, ELoc)); in parseDirectiveSection()
610 "\"", SMRange(BLoc, ELoc)); in parseDirectiveSection()
DAsmParser.cpp215 ArrayRef<SMRange> Ranges = None) override;
217 ArrayRef<SMRange> Ranges = None) override;
219 ArrayRef<SMRange> Ranges = None) override;
301 ArrayRef<SMRange> Ranges = None) const { in printMessage()
553 void AsmParser::Note(SMLoc L, const Twine &Msg, ArrayRef<SMRange> Ranges) { in Note()
558 bool AsmParser::Warning(SMLoc L, const Twine &Msg, ArrayRef<SMRange> Ranges) { in Warning()
568 bool AsmParser::Error(SMLoc L, const Twine &Msg, ArrayRef<SMRange> Ranges) { in Error()
/external/llvm/lib/Support/
DSourceMgr.cpp137 ArrayRef<SMRange> Ranges, in GetMessage()
171 SMRange R = Ranges[i]; in GetMessage()
217 const Twine &Msg, ArrayRef<SMRange> Ranges, in PrintMessage()
223 const Twine &Msg, ArrayRef<SMRange> Ranges, in PrintMessage()
259 SMRange R = I->getRange(); in buildFixItLine()
DYAMLParser.cpp278 ArrayRef<SMRange> Ranges = None) { in printError()
1812 SourceRange = SMRange(Start, Start); in Node()
/external/llvm/lib/CodeGen/MIRParser/
DMIRParser.cpp77 bool error(const SMDiagnostic &Error, SMRange SourceRange);
141 SMRange SourceRange);
146 SMRange SourceRange);
180 bool MIRParserImpl::error(const SMDiagnostic &Error, SMRange SourceRange) { in error()
644 SMRange SourceRange) { in diagFromMIStringDiag()
660 SMRange SourceRange) { in diagFromBlockStringDiag()
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp665 ArrayRef<SMRange> Ranges = None, in Error()
673 ArrayRef<SMRange> Ranges = None, in ErrorAndEatStatement()
910 SMRange(StartLoc, EndLoc)); in ParseRegister()
936 SMRange(StartLoc, EndLoc)); in ParseRegister()
1000 SMRange(StartLoc, EndLoc)); in ParseRegister()
1792 SMRange(Start, End)); in ParseATTOperand()
1964 SMRange(StartLoc, EndLoc)); in ParseMemOperand()
2495 ArrayRef<SMRange> EmptyRanges = None; in ErrorMissingFeature()
2516 ArrayRef<SMRange> EmptyRanges = None; in MatchAndEmitATTInstruction()
2633 ArrayRef<SMRange> Ranges = in MatchAndEmitATTInstruction()
[all …]
DX86Operand.h81 SMRange getLocRange() const { return SMRange(StartLoc, EndLoc); } in getLocRange()
/external/clang/utils/TableGen/
DClangDiagnosticsEmitter.cpp154 static SMRange findSuperClassRange(const Record *R, StringRef SuperName) { in findSuperClassRange()
161 return SMRange(); in findSuperClassRange()
237 SMRange InGroupRange = findSuperClassRange(*DI, "InGroup"); in groupDiagnostics()
267 SMRange InGroupRange = findSuperClassRange(*DI, "InGroup"); in groupDiagnostics()
/external/llvm/include/llvm/CodeGen/
DMIRYamlMapping.h33 SMRange SourceRange;
94 SMRange SourceRange;
/external/llvm/lib/TableGen/
DTGParser.h139 Init *&DefmPrefix, SMRange DefmPrefixRange,
DTGParser.cpp30 SMRange RefRange;
39 SMRange RefRange;
188 ArrayRef<SMRange> SCRanges = SC->getSuperClassRanges(); in AddSubClass()
1215 SCRef.RefRange = SMRange(NameLoc, EndLoc); in ParseSimpleValue()
2318 SMRange DefmPrefixRange, in InstantiateMulticlassDef()
2552 SMRange(DefmLoc, in ParseDefm()
/external/llvm/include/llvm/TableGen/
DRecord.h1157 std::vector<SMRange> SuperClassRanges;
1228 ArrayRef<SMRange> getSuperClassRanges() const { return SuperClassRanges; } in getSuperClassRanges()
1303 void addSuperClass(Record *R, SMRange Range) { in addSuperClass()
/external/llvm/test/CodeGen/PowerPC/
Dtoc-load-sched-bug.ll133 %"class.llvm::SMFixIt" = type { %"class.llvm::SMRange", %"class.std::basic_string" }
134 %"class.llvm::SMRange" = type { %"class.llvm::SMLoc", %"class.llvm::SMLoc" }
/external/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp126 SMRange Range, bool ShowColors = true);
3689 SMRange Range, bool ShowColors) { in printWarningWithFixIt()
3740 SMRange RegRange = RegTok.getLocRange(); in matchCPURegisterName()
/external/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp180 void Note(SMLoc L, const Twine &Msg, ArrayRef<SMRange> Ranges = None) { in Note()
184 ArrayRef<SMRange> Ranges = None) { in Warning()
188 ArrayRef<SMRange> Ranges = None) { in Error()
575 SMRange getLocRange() const { return SMRange(StartLoc, EndLoc); } in getLocRange()
/external/llvm/utils/TableGen/
DCodeGenRegisters.cpp591 ArrayRef<SMRange> Ranges = Proto->getSuperClassRanges(); in expand()