Searched refs:Range (Results 1 - 25 of 301) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DTypes.cpp18 const char *llvm::getMinimalTypeForRange(uint64_t Range, unsigned MaxSize LLVM_ATTRIBUTE_UNUSED) { argument
25 assert(((MaxSize > 32) ? Range <= 0xFFFFFFFFFFFFFFFFULL
26 : Range <= 0xFFFFFFFFULL) &&
29 if (Range > 0xFFFFFFFFULL)
31 if (Range > 0xFFFF)
33 if (Range > 0xFF)
H A DTypes.h18 const char *getMinimalTypeForRange(uint64_t Range, unsigned MaxSize = 64);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp17 StringRef clang::tooling::getText(CharSourceRange Range, argument
19 return Lexer::getSourceText(Range, Context.getSourceManager(),
23 CharSourceRange clang::tooling::maybeExtendRange(CharSourceRange Range, argument
27 Range.getEnd(), Context.getSourceManager(), Context.getLangOpts());
29 return Range;
30 return CharSourceRange::getTokenRange(Range.getBegin(), Tok->getLocation());
48 CharSourceRange Range = Lexer::makeFileCharRange(EditRange, SM, LangOpts); local
49 if (Range.isInvalid())
52 if (Range.getBegin().isMacroID() || Range
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/
H A DFixIt.cpp21 StringRef getText(CharSourceRange Range, const ASTContext &Context) { argument
22 return Lexer::getSourceText(Range, Context.getSourceManager(),
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/
H A DFunctionInfo.h16 #include "llvm/DebugInfo/GSYM/Range.h"
89 AddressRange Range; member in struct:llvm::gsym::FunctionInfo
95 : Range(Addr, Addr + Size), Name(N) {}
172 uint64_t startAddress() const { return Range.Start; }
173 uint64_t endAddress() const { return Range.End; }
174 uint64_t size() const { return Range.size(); }
175 void setStartAddress(uint64_t Addr) { Range.Start = Addr; }
176 void setEndAddress(uint64_t Addr) { Range.End = Addr; }
177 void setSize(uint64_t Size) { Range.End = Range
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Testing/Support/
H A DAnnotations.h31 /// llvm::Range R = Example.range("fail"); // find named ranges
50 struct Range { struct in class:llvm::Annotations
54 friend bool operator==(const Range &L, const Range &R) {
57 friend bool operator!=(const Range &L, const Range &R) { return !(L == R); }
75 Range range(llvm::StringRef Name = "") const;
77 std::vector<Range> ranges(llvm::StringRef Name = "") const;
82 llvm::StringMap<llvm::SmallVector<Range, 1>> Ranges;
86 const llvm::Annotations::Range
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFLocationExpression.h26 Optional<DWARFAddressRange> Range; member in struct:llvm::DWARFLocationExpression
34 return L.Range == R.Range && L.Expr == R.Expr;
H A DDWARFDebugAranges.h34 struct Range { struct in class:llvm::DWARFDebugAranges
35 explicit Range(uint64_t LowPC = -1ULL, uint64_t HighPC = -1ULL, function in struct:llvm::DWARFDebugAranges::Range
52 bool operator<(const Range &other) const {
74 using RangeColl = std::vector<Range>;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DRange.cpp1 //===- Range.cpp ------------------------------------------------*- C++ -*-===//
10 #include "llvm/DebugInfo/GSYM/Range.h"
20 void AddressRanges::insert(AddressRange Range) { argument
21 if (Range.size() == 0)
24 auto It = llvm::upper_bound(Ranges, Range);
26 while (It2 != Ranges.end() && It2->Start < Range.End)
29 Range.End = std::max(Range.End, It2[-1].End);
32 if (It != Ranges.begin() && Range.Start < It[-1].End)
33 It[-1].End = std::max(It[-1].End, Range
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Format/
H A DSortJavaScriptImports.h29 ArrayRef<tooling::Range> Ranges,
H A DFormatInternal.h74 ArrayRef<tooling::Range> Ranges, unsigned FirstStartColumn,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFLocationExpression.cpp17 return OS << Loc.Range << ": "
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DSafeStackLayout.h30 StackColoring::LiveRange Range; member in struct:llvm::safestack::StackLayout::StackRegion
33 const StackColoring::LiveRange &Range)
34 : Start(Start), End(End), Range(Range) {}
43 StackColoring::LiveRange Range; member in struct:llvm::safestack::StackLayout::StackObject
59 const StackColoring::LiveRange &Range);
32 StackRegion(unsigned Start, unsigned End, const StackColoring::LiveRange &Range) argument
H A DSafeStackLayout.cpp33 << "), range " << Regions[i].Range << "\n";
42 const StackColoring::LiveRange &Range) {
43 StackObjects.push_back({V, Size, Alignment, Range});
60 Regions.emplace_back(Start, End, Obj.Range);
66 << Obj.Alignment << ", range " << Obj.Range << "\n");
73 << ", range " << R.Range << "\n");
79 if (Obj.Range.Overlaps(R.Range)) {
103 << End << ", range " << Obj.Range << "\n");
104 Regions.emplace_back(LastRegionEnd, End, Obj.Range);
41 addObject(const Value *V, unsigned Size, unsigned Alignment, const StackColoring::LiveRange &Range) argument
[all...]
H A DLiveIntervalUnion.cpp29 void LiveIntervalUnion::unify(LiveInterval &VirtReg, const LiveRange &Range) { argument
30 if (Range.empty())
35 LiveRange::const_iterator RegPos = Range.begin();
36 LiveRange::const_iterator RegEnd = Range.end();
56 void LiveIntervalUnion::extract(LiveInterval &VirtReg, const LiveRange &Range) { argument
57 if (Range.empty())
62 LiveRange::const_iterator RegPos = Range.begin();
63 LiveRange::const_iterator RegEnd = Range.end();
73 RegPos = Range.advanceTo(RegPos, SegPos.start());
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/
H A DMPIBugReporter.cpp37 SourceRange Range = RequestRegion->sourceRange(); local
39 if (Range.isValid())
40 Report->addRange(Range);
59 SourceRange Range = RequestRegion->sourceRange(); local
60 if (Range.isValid())
61 Report->addRange(Range);
80 SourceRange Range = RequestRegion->sourceRange(); local
81 if (Range.isValid())
82 Report->addRange(Range);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DASTSelectionRequirements.cpp18 Expected<SourceRange> Range = local
20 if (!Range)
21 return Range.takeError();
24 findSelectedASTNodes(Context.getASTContext(), *Range);
27 Range->getBegin(), diag::err_refactor_selection_invalid_ast);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/
H A DPreprocessingRecord.cpp45 const FileEntry *File, SourceRange Range)
46 : PreprocessingDirective(InclusionDirectiveKind, Range), InQuotes(InQuotes),
57 /// that source range \p Range encompasses.
59 PreprocessingRecord::getPreprocessedEntitiesInRange(SourceRange Range) { argument
60 if (Range.isInvalid())
63 if (CachedRangeQuery.Range == Range) {
68 std::pair<int, int> Res = getPreprocessedEntitiesInRangeSlow(Range);
70 CachedRangeQuery.Range = Range;
42 InclusionDirective(PreprocessingRecord &PPRec, InclusionKind Kind, StringRef FileName, bool InQuotes, bool ImportedModule, const FileEntry *File, SourceRange Range) argument
137 getPreprocessedEntitiesInRangeSlow(SourceRange Range) argument
203 SourceRange Range = PPE->getSourceRange(); local
422 Defined(const Token &MacroNameTok, const MacroDefinition &MD, SourceRange Range) argument
431 SourceRangeSkipped(SourceRange Range, SourceLocation EndifLoc) argument
437 MacroExpands(const Token &Id, const MacroDefinition &MD, SourceRange Range, const MacroArgs *Args) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Parse/
H A DLoopHint.h22 SourceRange Range; member in struct:clang::LoopHint
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DUnicodeCharRanges.h28 inline bool operator<(uint32_t Value, UnicodeCharRange Range) { argument
29 return Value < Range.Lower;
31 inline bool operator<(UnicodeCharRange Range, uint32_t Value) { argument
32 return Range.Upper < Value;
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSTLExtras.h426 make_filter_range(RangeT &&Range, PredicateT Pred) { argument
430 FilterIteratorT(std::begin(std::forward<RangeT>(Range)),
431 std::end(std::forward<RangeT>(Range)), Pred),
432 FilterIteratorT(std::end(std::forward<RangeT>(Range)),
433 std::end(std::forward<RangeT>(Range)), Pred));
512 make_early_inc_range(RangeT &&Range) { argument
515 return make_range(EarlyIncIteratorT(std::begin(std::forward<RangeT>(Range))),
516 EarlyIncIteratorT(std::end(std::forward<RangeT>(Range))));
1163 auto size(R &&Range, typename std::enable_if<
1165 Range
1175 for_each(R &&Range, UnaryPredicate P) argument
1182 all_of(R &&Range, UnaryPredicate P) argument
1189 any_of(R &&Range, UnaryPredicate P) argument
1196 none_of(R &&Range, UnaryPredicate P) argument
1229 copy_if(R &&Range, OutputIt Out, UnaryPredicate P) argument
1234 copy(R &&Range, OutputIt Out) argument
1241 is_contained(R &&Range, const E &Element) argument
1264 transform(R &&Range, OutputIt d_first, UnaryPredicate P) argument
1306 stable_sort(R &&Range) argument
1311 stable_sort(R &&Range, Compare C) argument
1326 is_splat(R &&Range) argument
1480 enumerator(R &&Range) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/Core/
H A DReplacement.h44 class Range { class in namespace:clang::tooling
46 Range() = default;
47 Range(unsigned Offset, unsigned Length) : Offset(Offset), Length(Length) {} function in class:clang::tooling::Range
55 /// \name Range Predicates
58 bool overlapsWith(Range RHS) const {
63 bool contains(Range RHS) const {
69 bool operator==(const Range &RHS) const {
103 Replacement(const SourceManager &Sources, const CharSourceRange &Range,
136 const CharSourceRange &Range,
141 Range ReplacementRang
362 const CharSourceRange Range = local
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/Dynamic/
H A DDiagnostics.h43 ParserValue() : Text(), Range(), Value() {}
45 SourceRange Range; member in struct:clang::ast_matchers::dynamic::ParserValue
139 ArgStream addError(SourceRange Range, ErrorType Error);
144 SourceRange Range; member in struct:clang::ast_matchers::dynamic::Diagnostics::ContextFrame
152 SourceRange Range; member in struct:clang::ast_matchers::dynamic::Diagnostics::ErrorContent::Message
174 ArgStream pushContextFrame(ContextType Type, SourceRange Range);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DCPlusPlusNameParser.h68 // Range of tokens saved in m_next_token_index.
69 struct Range { struct in class:lldb_private::CPlusPlusNameParser
73 Range() {} function in struct:lldb_private::CPlusPlusNameParser::Range
74 Range(size_t begin, size_t end) : begin_index(begin), end_index(end) { function in struct:lldb_private::CPlusPlusNameParser::Range
84 Range basename_range;
85 Range context_range;
169 llvm::StringRef GetTextForRange(const Range &range);
/freebsd-11-stable/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DDiagnostics.cpp15 SourceRange Range) {
19 data.Range = Range;
65 Diagnostics::ArgStream Diagnostics::addError(SourceRange Range, argument
71 Last.Messages.back().Range = Range;
152 static void maybeAddLineAndColumn(SourceRange Range, argument
154 if (Range.Start.Line > 0 && Range.Start.Column > 0) {
155 OS << Range
14 pushContextFrame(ContextType Type, SourceRange Range) argument
[all...]

Completed in 179 milliseconds

1234567891011>>