Searched refs:Range (Results 51 - 75 of 301) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Rewrite/Core/
H A DRewriter.h88 int getRangeSize(SourceRange Range,
90 int getRangeSize(const CharSourceRange &Range,
98 std::string getRewrittenText(CharSourceRange Range) const;
105 std::string getRewrittenText(SourceRange Range) const {
106 return getRewrittenText(CharSourceRange::getTokenRange(Range));
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/MC/MCParser/
H A DMCAsmParser.h118 SMRange Range; member in struct:llvm::MCAsmParser::MCPendingError
180 virtual void Note(SMLoc L, const Twine &Msg, SMRange Range = None) = 0;
185 virtual bool Warning(SMLoc L, const Twine &Msg, SMRange Range = None) = 0;
192 bool Error(SMLoc L, const Twine &Msg, SMRange Range = None);
198 virtual bool printError(SMLoc L, const Twine &Msg, SMRange Range = None) = 0;
205 printError(Err.Loc, Twine(Err.Msg), Err.Range);
223 bool TokError(const Twine &Msg, SMRange Range = None);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DFunctionInfo.cpp28 OS << '[' << HEX64(FI.Range.Start) << '-' << HEX64(FI.Range.End) << "): "
36 FI.Range.Start = BaseAddr;
41 FI.Range.End = FI.Range.Start + Data.getU32(&Offset);
115 llvm::Error err = OptLineTable->encode(O, Range.Start);
133 llvm::Error err = Inline->encode(O, Range.Start);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveRegMatrix.cpp111 TRI, VirtReg, PhysReg, [&](unsigned Unit, const LiveRange &Range) {
112 LLVM_DEBUG(dbgs() << ' ' << printRegUnit(Unit, TRI) << ' ' << Range);
113 Matrix[Unit].unify(VirtReg, Range);
128 [&](unsigned Unit, const LiveRange &Range) {
130 Matrix[Unit].extract(VirtReg, Range);
171 const LiveRange &Range) {
173 return Range.overlaps(UnitRange, CP, *LIS->getSlotIndexes());
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMinidumpEmitter.cpp59 allocateNewArray(const iterator_range<RangeType> &Range);
85 BlobAllocator::allocateNewArray(const iterator_range<RangeType> &Range) {
86 size_t Num = std::distance(Range.begin(), Range.end());
88 std::uninitialized_copy(Range.begin(), Range.end(), Array.begin());
138 static void layout(BlobAllocator &File, MemoryListStream::entry_type &Range) {
139 Range.Entry.Memory = layout(File, Range.Content);
H A DDWARFEmitter.cpp95 for (auto Range : DI.ARanges) {
97 writeInitialLength(Range.Length, OS, DI.IsLittleEndian);
98 writeInteger((uint16_t)Range.Version, OS, DI.IsLittleEndian);
99 writeInteger((uint32_t)Range.CuOffset, OS, DI.IsLittleEndian);
100 writeInteger((uint8_t)Range.AddrSize, OS, DI.IsLittleEndian);
101 writeInteger((uint8_t)Range.SegSize, OS, DI.IsLittleEndian);
104 auto FirstDescriptor = alignTo(HeaderSize, Range.AddrSize * 2);
107 for (auto Descriptor : Range.Descriptors) {
108 writeVariableSizedInteger(Descriptor.Address, Range.AddrSize, OS,
110 writeVariableSizedInteger(Descriptor.Length, Range
[all...]
H A DDWARFYAML.cpp67 DWARFYAML::ARange &Range) {
68 IO.mapRequired("Length", Range.Length);
69 IO.mapRequired("Version", Range.Version);
70 IO.mapRequired("CuOffset", Range.CuOffset);
71 IO.mapRequired("AddrSize", Range.AddrSize);
72 IO.mapRequired("SegSize", Range.SegSize);
73 IO.mapRequired("Descriptors", Range.Descriptors);
66 mapping(IO &IO, DWARFYAML::ARange &Range) argument
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Lex/
H A DLexer.h394 static CharSourceRange getAsCharRange(SourceRange Range, argument
397 SourceLocation End = getLocForEndOfToken(Range.getEnd(), 0, SM, LangOpts);
400 Range.getBegin(), End);
402 static CharSourceRange getAsCharRange(CharSourceRange Range, argument
405 return Range.isTokenRange()
406 ? getAsCharRange(Range.getAsRange(), SM, LangOpts)
407 : Range;
456 static CharSourceRange makeFileCharRange(CharSourceRange Range,
461 static StringRef getSourceText(CharSourceRange Range,
H A DDependencyDirectivesSourceMinimizer.h85 llvm::SmallVectorImpl<SkippedRange> &Range);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFinder.cpp46 for (const auto &Range : NameRanges) {
47 SourceLocation Start = Range.getBegin();
48 SourceLocation End = Range.getEnd();
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmtAttr.cpp25 SourceRange Range) {
31 SourceLocation L = S.getLocForEndOfToken(Range.getEnd());
54 SourceRange Range) {
281 SourceRange Range) {
322 SourceRange Range) {
331 return handleFallThroughAttr(S, St, A, Range);
333 return handleLoopHintAttr(S, St, A, Range);
335 return handleOpenCLUnrollHint(S, St, A, Range);
337 return handleSuppressAttr(S, St, A, Range);
349 SourceRange Range) {
24 handleFallThroughAttr(Sema &S, Stmt *St, const ParsedAttr &A, SourceRange Range) argument
53 handleSuppressAttr(Sema &S, Stmt *St, const ParsedAttr &A, SourceRange Range) argument
280 handleOpenCLUnrollHint(Sema &S, Stmt *St, const ParsedAttr &A, SourceRange Range) argument
321 ProcessStmtAttribute(Sema &S, Stmt *St, const ParsedAttr &A, SourceRange Range) argument
347 ProcessStmtAttributes(Stmt *S, const ParsedAttributesView &AttrList, SourceRange Range) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DYAMLParser.cpp155 StringRef Range; member in struct:llvm::yaml::Token
198 static UTF8Decoded decodeUTF8(StringRef Range) { argument
199 StringRef::iterator Position= Range.begin();
200 StringRef::iterator End = Range.end();
668 OS << T.Range << "\n";
997 , i->Tok->Range.begin());
1017 T.Range = StringRef(Current, 1);
1036 T.Range = StringRef(Current, 0);
1084 T.Range = StringRef(Current, EI.second);
1103 T.Range
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Format/
H A DAffectedRangeManager.h36 // Returns true if 'Range' intersects with one of the input ranges.
37 bool affectsCharSourceRange(const CharSourceRange &Range);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMUnwindOpAsm.cpp77 uint32_t Range = countTrailingOnes(Mask >> 5); // Exclude r4.
79 Mask &= ~(0xffffffe0u << Range);
85 EmitInt8(ARM::EHABI::UNWIND_OPCODE_POP_REG_RANGE_R4 | Range);
89 EmitInt8(ARM::EHABI::UNWIND_OPCODE_POP_REG_RANGE_R4_R14 | Range);
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DMicrosoftMangle.cpp322 void mangleAddressSpaceType(QualType T, Qualifiers Quals, SourceRange Range);
323 void mangleType(QualType T, SourceRange Range,
361 void mangleFunctionArgumentType(QualType T, SourceRange Range);
371 SourceRange Range);
394 SourceRange Range);
396 SourceRange Range);
1565 SourceRange Range) {
1587 Extra.mangleType(Type, Range);
1594 SourceRange Range) {
1604 Quals, Range);
1563 mangleObjCLifetime(const QualType Type, Qualifiers Quals, SourceRange Range) argument
1592 mangleObjCKindOfType(const ObjCObjectType *T, Qualifiers Quals, SourceRange Range) argument
1744 mangleFunctionArgumentType(QualType T, SourceRange Range) argument
1818 mangleAddressSpaceType(QualType T, Qualifiers Quals, SourceRange Range) argument
1886 mangleType(QualType T, SourceRange Range, QualifierMangleMode QMM) argument
1957 mangleType(const BuiltinType *T, Qualifiers, SourceRange Range) argument
2183 SourceRange Range; local
2432 mangleType(const UnresolvedUsingType *T, Qualifiers, SourceRange Range) argument
2568 mangleType(const MemberPointerType *T, Qualifiers Quals, SourceRange Range) argument
2584 mangleType(const TemplateTypeParmType *T, Qualifiers, SourceRange Range) argument
2593 mangleType(const SubstTemplateTypeParmPackType *T, Qualifiers, SourceRange Range) argument
2605 mangleType(const PointerType *T, Qualifiers Quals, SourceRange Range) argument
2620 mangleType(const ObjCObjectPointerType *T, Qualifiers Quals, SourceRange Range) argument
2640 mangleType(const LValueReferenceType *T, Qualifiers Quals, SourceRange Range) argument
2652 mangleType(const RValueReferenceType *T, Qualifiers Quals, SourceRange Range) argument
2661 mangleType(const ComplexType *T, Qualifiers, SourceRange Range) argument
2695 mangleType(const VectorType *T, Qualifiers Quals, SourceRange Range) argument
2729 Extra.mangleType(QualType(ET, 0), Range, QMM_Escape); local
2737 mangleType(const ExtVectorType *T, Qualifiers Quals, SourceRange Range) argument
2739 mangleType(static_cast<const VectorType *>(T), Quals, Range); local
2742 mangleType(const DependentVectorType *T, Qualifiers, SourceRange Range) argument
2751 mangleType(const DependentSizedExtVectorType *T, Qualifiers, SourceRange Range) argument
2760 mangleType(const DependentAddressSpaceType *T, Qualifiers, SourceRange Range) argument
2776 mangleType(const ObjCObjectType *T, Qualifiers Quals, SourceRange Range) argument
2818 mangleType(const BlockPointerType *T, Qualifiers Quals, SourceRange Range) argument
2834 mangleType(const TemplateSpecializationType *T, Qualifiers, SourceRange Range) argument
2843 mangleType(const DependentNameType *T, Qualifiers, SourceRange Range) argument
2852 mangleType( const DependentTemplateSpecializationType *T, Qualifiers, SourceRange Range) argument
2862 mangleType(const PackExpansionType *T, Qualifiers, SourceRange Range) argument
2871 mangleType(const TypeOfType *T, Qualifiers, SourceRange Range) argument
2880 mangleType(const TypeOfExprType *T, Qualifiers, SourceRange Range) argument
2889 mangleType(const DecltypeType *T, Qualifiers, SourceRange Range) argument
2898 mangleType(const UnaryTransformType *T, Qualifiers, SourceRange Range) argument
2907 mangleType(const AutoType *T, Qualifiers, SourceRange Range) argument
2918 mangleType( const DeducedTemplateSpecializationType *T, Qualifiers, SourceRange Range) argument
2929 mangleType(const AtomicType *T, Qualifiers, SourceRange Range) argument
2943 mangleType(const PipeType *T, Qualifiers, SourceRange Range) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMILexer.h167 StringRef Range; member in struct:llvm::MIToken
175 MIToken &reset(TokenKind Kind, StringRef Range);
212 StringRef::iterator location() const { return Range.begin(); }
214 StringRef range() const { return Range; }
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DBlock.h44 typedef RangeList::Entry Range; typedef in class:lldb_private::Block
74 void AddRange(const Range &range);
109 bool Contains(const Range &range) const;
343 bool GetRangeContainingOffset(const lldb::addr_t offset, Range &range);
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DPointerIterationChecker.cpp43 auto Range = MarkedStmt->getSourceRange(); local
54 OS.str(), Location, Range);
H A DPointerSortingChecker.cpp43 auto Range = MarkedStmt->getSourceRange(); local
54 OS.str(), Location, Range);
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceLocation.h251 SourceRange Range; member in class:clang::SourceLocation::CharSourceRange
256 CharSourceRange(SourceRange R, bool ITR) : Range(R), IsTokenRange(ITR) {}
280 SourceLocation getBegin() const { return Range.getBegin(); }
281 SourceLocation getEnd() const { return Range.getEnd(); }
282 SourceRange getAsRange() const { return Range; }
284 void setBegin(SourceLocation b) { Range.setBegin(b); }
285 void setEnd(SourceLocation e) { Range.setEnd(e); }
288 bool isValid() const { return Range.isValid(); }
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_diag.h102 class Range { class in namespace:__ubsan
107 Range() : Start(), End(), Text() {} function in class:__ubsan::Range
108 Range(MemoryLocation Start, MemoryLocation End, const char *Text) function in class:__ubsan::Range
188 Range Ranges[MaxRanges];
197 Diag &AddRange(Range A) {
219 Diag &operator<<(const Range &R) { return AddRange(R); }
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeHashing.h40 template <typename Range>
41 static std::vector<LocallyHashedType> hashTypes(Range &&Records) {
109 template <typename Range>
110 static std::vector<GloballyHashedType> hashTypes(Range &&Records) {
145 template <typename Range>
147 hashIds(Range &&Records, ArrayRef<GloballyHashedType> TypeHashes) {
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp97 void HighlightRange(Rewriter& R, FileID BugFileID, SourceRange Range,
610 static bool shouldDisplayPopUpRange(const SourceRange &Range) { argument
611 return !(Range.getBegin().isMacroID() || Range.getEnd().isMacroID());
617 for (const auto &Range : PopUpRanges) {
618 if (!shouldDisplayPopUpRange(Range))
621 html::HighlightRange(R, Range.getBegin(), Range.getEnd(), "",
635 SourceRange Range(Piece.getLocation().asRange());
636 if (!shouldDisplayPopUpRange(Range))
1003 HighlightRange(Rewriter& R, FileID BugFileID, SourceRange Range, const char *HighlightStart, const char *HighlightEnd) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DComment.h58 SourceRange Range; member in class:clang::comments::Comment
178 Range = SR;
200 Loc(LocBegin), Range(SourceRange(LocBegin, LocEnd)) {
216 SourceRange getSourceRange() const LLVM_READONLY { return Range; }
218 SourceLocation getBeginLoc() const LLVM_READONLY { return Range.getBegin(); }
220 SourceLocation getEndLoc() const LLVM_READONLY { return Range.getEnd(); }
302 SourceRange Range; member in struct:clang::comments::InlineCommandComment::Argument
305 Argument(SourceRange Range, StringRef Text) : Range(Range), Tex argument
601 SourceRange Range; member in struct:clang::comments::BlockCommandComment::Argument
605 Argument(SourceRange Range, StringRef Text) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Object/
H A DIRSymtab.h62 template <typename T> struct Range { struct in namespace:llvm::irsymtab::storage
142 Range<Module> Modules;
143 Range<Comdat> Comdats;
144 Range<Symbol> Symbols;
145 Range<Uncommon> Uncommons;
153 Range<Str> DependentLibraries;
242 template <typename T> ArrayRef<T> range(storage::Range<T> R) const {

Completed in 173 milliseconds

1234567891011>>