Home
last modified time | relevance | path

Searched +defs:Range +defs:Length (Results 1 – 25 of 48) sorted by relevance

12

/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDebugAranges.h38 struct Range { struct
39 explicit Range(uint64_t LowPC, uint64_t HighPC, uint64_t CUOffset) in Range() function
55 bool operator<(const Range &other) const { argument
60 uint64_t Length; /// End of address range (not including this address). member
77 using RangeColl = std::vector<Range>; argument
/llvm-project/clang-tools-extra/pseudo/include/clang-pseudo/
H A DToken.h
/llvm-project/clang/include/clang/Tooling/Core/
H A DReplacement.h47 Range(unsigned Offset, unsigned Length) : Offset(Offset), Length(Length) {} in Range() function
76 unsigned Length = 0; variable
365 const CharSourceRange Range = in Replacement() local
/llvm-project/clang/lib/Tooling/Core/
H A DReplacement.cpp47 Replacement::Replacement(StringRef FilePath, unsigned Offset, unsigned Length, in Replacement() argument
53 unsigned Length, StringRef ReplacementText) { in Replacement() argument
58 const CharSourceRange &Range, in Replacement() argument
121 SourceLocation Start, unsigned Length, in setFromSourceLocation() argument
136 const CharSourceRange &Range, in getRangeSize() argument
149 setFromSourceRange(const SourceManager & Sources,const CharSourceRange & Range,StringRef ReplacementText,const LangOptions & LangOpts) setFromSourceRange() argument
438 unsigned Length; global() member in __anon411aaf200211::MergedReplacement
540 unsigned Length = R.getReplacementText().size(); getAffectedRanges() local
[all...]
/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMILexer.cpp62 MIToken &MIToken::reset(TokenKind Kind, StringRef Range) { in reset() argument
170 auto Range = C; in lexName() local
296 auto Range = C; maybeLexIdentifier() local
310 auto Range = C; maybeLexMachineBasicBlock() local
344 auto Range = C; maybeLexIndex() local
357 auto Range = C; maybeLexIndexAndName() local
430 auto Range = C; lexVirtualRegister() local
446 Cursor Range = C; lexNamedVirtualRegister() local
471 auto Range = C; maybeLexRegister() local
487 auto Range = C; maybeLexGlobalValue() local
556 lexFloatingPointLiteral(Cursor Range,Cursor C,MIToken & Token) lexFloatingPointLiteral() argument
575 Cursor Range = C; maybeLexHexadecimalLiteral() local
597 auto Range = C; maybeLexNumericalLiteral() local
623 auto Range = C; maybeLexExclaim() local
672 unsigned Length = 1; maybeLexSymbol() local
680 auto Range = C; maybeLexSymbol() local
689 auto Range = C; maybeLexNewline() local
699 auto Range = C; maybeLexEscapedIRValue() local
[all...]
/llvm-project/clang/unittests/Tooling/
H A DDiagnosticsYamlTest.cpp37 int Length, in makeByteRange() argument
39 FileByteRange Range; in makeByteRange() local
[all...]
H A DRefactoringTest.cpp772 EXPECT_FALSE(Range( argument
695 expectReplacementAt(const Replacement & Replace,StringRef File,unsigned Offset,unsigned Length) expectReplacementAt() argument
781 TEST(Range,contains) TEST() argument
788 TEST(Range,CalculateRangesOfReplacements) TEST() argument
804 TEST(Range,CalculateRangesOfInsertionAroundReplacement) TEST() argument
815 TEST(Range,RangesAfterEmptyReplacements) TEST() argument
822 TEST(Range,RangesAfterReplacements) TEST() argument
829 TEST(Range,RangesBeforeReplacements) TEST() argument
836 TEST(Range,NotAffectedByReplacements) TEST() argument
846 TEST(Range,RangesWithNonOverlappingReplacements) TEST() argument
856 TEST(Range,RangesWithOverlappingReplacements) TEST() argument
867 TEST(Range,MergeIntoOneRange) TEST() argument
875 TEST(Range,ReplacementsStartingAtRangeOffsets) TEST() argument
884 TEST(Range,ReplacementsEndingAtRangeEnds) TEST() argument
892 TEST(Range,AjacentReplacements) TEST() argument
900 TEST(Range,MergeRangesAfterReplacements) TEST() argument
910 TEST(Range,ConflictingRangesBeforeReplacements) TEST() argument
1321 replacementToAtomicChange(llvm::StringRef Key,unsigned Offset,unsigned Length,llvm::StringRef Text) replacementToAtomicChange() argument
[all...]
H A DRangeSelectorTest.cpp60 Expected<CharSourceRange> Range = Selector(Match.Result); in select() local
178 const SourceRange Range = E->getSourceRange(); in TEST() local
198 StringRef Id, int Length) { in getSpellingLocAfter()
/llvm-project/llvm/include/llvm/MC/MCParser/
H A DMCAsmParser.h55 unsigned Length; member
99 unsigned Length = 0; member
132 SMRange Range; member
[all...]
/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DParser.cpp61 SourceRange Range; member
216 unsigned Length = 1; in consumeNumberLiteral() local
259 SourceRange Range; in consumeNumberLiteral() local
273 for (size_t Length = 1, Size = Code.size(); Length != Size; ++Length) { in consumeStringLiteral() local
293 SourceRange Range; in consumeStringLiteral() local
/llvm-project/clang-tools-extra/modularize/
H A DPreprocessorTracker.cpp303 clang::SourceRange Range) { in getSourceString()
308 size_t Length = EndPtr - BeginPtr; in getSourceString() local
334 size_t Length = EndPtr - BeginPtr; in getSourceLine() local
368 size_t Length = EndPtr - BeginPtr; in getSourceLine() local
377 static std::string getMacroUnexpandedString(clang::SourceRange Range, in getMacroUnexpandedString()
383 size_t Length; in getMacroUnexpandedString() local
1309 clang::SourceRange Range, in MacroExpands()
1327 clang::SourceRange Range) { in Defined()
/llvm-project/clang/lib/Rewrite/
H A DRewriter.cpp141 getRangeSize(const CharSourceRange & Range,RewriteOptions opts) const getRangeSize() argument
171 getRangeSize(SourceRange Range,RewriteOptions opts) const getRangeSize() argument
305 RemoveText(SourceLocation Start,unsigned Length,RewriteOptions opts) RemoveText() argument
[all...]
/llvm-project/clang/include/clang/Basic/
H A DSarif.h109 std::optional<size_t> Length; variable
178 CharSourceRange Range; variable
/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DSymbolRecord.h80 uint16_t Length = 0; variable
115 uint32_t Length = 0; variable
446 uint16_t Range = 0; member
451 uint16_t Range = 0; member
471 LocalVariableAddrRange Range; variable
493 LocalVariableAddrRange Range; variable
515 LocalVariableAddrRange Range; variable
539 LocalVariableAddrRange Range; variable
565 LocalVariableAddrRange Range; variable
600 LocalVariableAddrRange Range; variable
/llvm-project/llvm/lib/MC/
H A DMCDwarf.cpp544 for (char Length : StandardOpcodeLengths) Emit() local
843 int Length = UnitLengthBytes + 2 + OffsetSize + 1 + 1; EmitGenDwarfAranges() local
934 const MCExpr *Length = EmitGenDwarfInfo() local
1537 const MCExpr *Range = EmitCompactUnwind() local
1595 const MCExpr *Length = makeEndMinusStartExpr(context, *sectionStart, EmitCIE() local
1722 const MCExpr *Length = makeEndMinusStartExpr(context, *fdeStart, *fdeEnd, 0); EmitFDE() local
1749 const MCExpr *Range = EmitFDE() local
[all...]
/llvm-project/clang/lib/Tooling/Syntax/
H A DTokens.cpp143 syntax::Token::Token(SourceLocation Location, unsigned Length, in Token()
191 unsigned Length) { in FileRange()
439 SourceRange Range = spelledForExpandedSlow( in spelledForExpanded() local
625 SourceRange Range, const MacroArgs *Args) override { in MacroExpands()
/llvm-project/clang/lib/Tooling/Refactoring/
H A DAtomicChange.cpp265 return Replaces.add(Replacement(SM, Loc, Length, Text)); in replace() argument
259 replace(const SourceManager & SM,const CharSourceRange & Range,llvm::StringRef ReplacementText) replace() argument
/llvm-project/llvm/tools/llvm-cov/
H A DSourceCoverageViewText.cpp155 unsigned Length = getDividerWidth(getOptions()); in renderViewDivider() local
205 for (const auto &Range : HighlightedRanges) in renderLine() local
/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFStreamer.cpp463 for (const AddressRange &Range : LinkedRanges) { emitDwarfDebugArangesTable() local
488 for (const AddressRange &Range : LinkedRanges) { emitDwarfDebugRangesTableFragment() local
572 for (const AddressRange &Range : LinkedRanges) { emitDwarfDebugRngListsTableFragment() local
1024 for (auto Length : P.StandardOpcodeLengths) { emitLineTableProloguePayload() local
[all...]
/llvm-project/clang/lib/Lex/
H A DLexer.cpp329 size_t Length = 0; getSpellingSlow() local
920 makeRangeFromFileLocs(CharSourceRange Range,const SourceManager & SM,const LangOptions & LangOpts) makeRangeFromFileLocs() argument
955 makeFileCharRange(CharSourceRange Range,const SourceManager & SM,const LangOptions & LangOpts) makeFileCharRange() argument
1024 getSourceText(CharSourceRange Range,const SourceManager & SM,const LangOptions & LangOpts,bool * Invalid) getSourceText() argument
1614 diagnoseExtensionInIdentifier(DiagnosticsEngine & Diags,uint32_t C,CharSourceRange Range) diagnoseExtensionInIdentifier() argument
1636 maybeDiagnoseIDCharCompat(DiagnosticsEngine & Diags,uint32_t C,CharSourceRange Range,bool IsFirst) maybeDiagnoseIDCharCompat() argument
1665 maybeDiagnoseUTF8Homoglyph(DiagnosticsEngine & Diags,uint32_t C,CharSourceRange Range) maybeDiagnoseUTF8Homoglyph() argument
1741 diagnoseInvalidUnicodeCodepointInIdentifier(DiagnosticsEngine & Diags,const LangOptions & LangOpts,uint32_t CodePoint,CharSourceRange Range,bool IsFirst) diagnoseInvalidUnicodeCodepointInIdentifier() argument
2600 unsigned Length = llvm::getUTF8SequenceSize( SkipLineComment() local
[all...]
/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFVerifier.cpp62 DWARFAddressRange Range(*Pos); in insert() local
56 DWARFAddressRange Range(*Pos); insert() local
128 uint64_t AbbrOffset, Length; verifyUnitHeader() local
594 for (const auto &Range : Ranges) { verifyDieRanges() local
1923 uint64_t Length; verifyDebugStrOffsets() local
[all...]
/llvm-project/clang-tools-extra/clangd/unittests/
H A DSourceCodeTests.cpp97 unsigned Length; member
666 std::optional<SourceRange> Range = toHalfOpenFileRange( in TEST() local
/llvm-project/llvm/tools/llvm-pdbutil/
H A DMinimalSymbolDumper.cpp349 static std::string formatRange(LocalVariableAddrRange Range) { in formatRange()
728 auto formatCodeLength = [&](uint32_t Length) { in visitKnownRecord()
/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp302 SourceRange Range(BegLoc, EndLoc); rewriteToPropertyDotSyntax() local
1802 unsigned Length = End.second - Begin.second; writeRemove() local
1819 replace(CharSourceRange Range,StringRef Text) replace() argument
1826 remove(CharSourceRange Range) remove() argument
2165 CharSourceRange Range; applyEditsToTemp() local
[all...]
/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp1274 makeStandaloneRange(CharSourceRange Range,const SourceManager & SM,const LangOptions & LangOpts) makeStandaloneRange() argument
1310 for (const auto &Range : InDiag.getRanges()) makeStandaloneDiagnostic() local
2414 for (const auto &Range : SD.Ranges) { TranslateStoredDiagnostics() local
2478 findFileRegionDecls(FileID File,unsigned Offset,unsigned Length,SmallVectorImpl<Decl * > & Decls) findFileRegionDecls() argument
[all...]

12