Searched refs:Range (Results 76 - 100 of 301) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DGsymCreator.cpp197 if (Prev->Range.intersects(Curr->Range)) {
199 if (Prev->Range == Curr->Range) {
229 } else if (Prev->Range.size() == 0 &&
230 Curr->Range.contains(Prev->Range.Start)) {
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp140 SourceSelectionKind selectionKindFor(CharSourceRange Range) { argument
141 SourceLocation End = Range.getEnd();
143 if (Range.isTokenRange())
145 if (!SourceLocation::isPairOfFileLocations(Range.getBegin(), End))
149 if (SM.isPointWithin(SelectionBegin, Range.getBegin(), End))
153 bool HasStart = SM.isPointWithin(SelectionBegin, Range.getBegin(), End);
154 bool HasEnd = SM.isPointWithin(SelectionEnd, Range.getBegin(), End);
157 if (SM.isPointWithin(Range.getBegin(), SelectionBegin, SelectionEnd) &&
164 if (HasEnd && SelectionEnd != Range.getBegin())
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DRangedConstraintManager.h24 /// A Range represents the closed range [from, to]. The caller must
25 /// guarantee that from <= to. Note that Range is immutable, so as not
27 class Range : public std::pair<const llvm::APSInt *, const llvm::APSInt *> { class in namespace:clang::ento
29 Range(const llvm::APSInt &from, const llvm::APSInt &to) function in class:clang::ento::Range
48 class RangeTrait : public llvm::ImutContainerInfo<Range> {
50 // When comparing if one Range is less than another, we should compare
64 typedef llvm::ImmutableSet<Range, RangeTrait> PrimRangeSet;
90 : ranges(F.add(F.getEmptySet(), Range(from, to))) {}
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DRewriteRule.cpp37 Expected<CharSourceRange> Range = Edit.TargetRange(Result); local
38 if (!Range)
39 return Range.takeError();
41 tooling::getRangeForEdit(*Range, *Result.Context);
50 T.Range = *EditRange;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegStackify.cpp659 const iterator_range<mop_iterator> &Range = Insert->explicit_uses(); local
660 if (Range.begin() != Range.end())
661 Worklist.push_back(reverse(Range));
667 RangeTy &Range = Worklist.back(); local
668 MachineOperand &Op = *Range.begin();
669 Range = drop_begin(Range, 1);
670 if (Range.begin() == Range
699 const RangeTy &Range = Worklist.back(); local
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DDeclSpec.cpp49 if (Range.getBegin().isInvalid())
50 Range.setBegin(TL.getBeginLoc());
51 Range.setEnd(ColonColonLoc);
53 assert(Range == Builder.getSourceRange() &&
62 if (Range.getBegin().isInvalid())
63 Range.setBegin(IdentifierLoc);
64 Range.setEnd(ColonColonLoc);
66 assert(Range == Builder.getSourceRange() &&
75 if (Range.getBegin().isInvalid())
76 Range
[all...]
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_ppmd7.c749 p->Range = 0xFFFFFFFF;
773 return (p->Code - p->Low) / (p->Range /= total);
780 if((p->Low ^ (p->Low + p->Range)) >= kTopValue)
782 if(p->Range >= p->Bottom)
785 p->Range = ((uint32_t)(-(int32_t)p->Low)) & (p->Bottom - 1);
788 p->Range <<= 8;
796 p->Code -= start * p->Range;
797 p->Range *= size;
804 p->Low += start * p->Range;
805 p->Range *
[all...]
H A Darchive_ppmd7_private.h76 UInt32 Range; member in struct:__anon15
88 UInt32 Range; member in struct:__anon16
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp363 for (const auto &Range : Ranges) {
364 if (Range.isInvalid())
367 SourceLocation Begin = Range.getBegin(), End = Range.getEnd();
368 bool IsTokenRange = Range.isTokenRange();
468 static bool checkRangeForMacroArgExpansion(CharSourceRange Range, argument
471 SourceLocation BegLoc = Range.getBegin(), EndLoc = Range.getEnd();
492 for (const auto &Range : Ranges)
493 if (Range
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Lex/
H A DPPCallbacks.h282 const MacroDefinition &MD, SourceRange Range,
304 SourceRange Range) {
314 /// \param Range The SourceRange that was skipped. The range begins at the
319 virtual void SourceRangeSkipped(SourceRange Range, SourceLocation EndifLoc) { argument
541 SourceRange Range, const MacroArgs *Args) override {
542 First->MacroExpands(MacroNameTok, MD, Range, Args);
543 Second->MacroExpands(MacroNameTok, MD, Range, Args);
560 SourceRange Range) override {
561 First->Defined(MacroNameTok, MD, Range);
562 Second->Defined(MacroNameTok, MD, Range);
281 MacroExpands(const Token &MacroNameTok, const MacroDefinition &MD, SourceRange Range, const MacroArgs *Args) argument
303 Defined(const Token &MacroNameTok, const MacroDefinition &MD, SourceRange Range) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Target/
H A DMemory.h49 typedef Range<lldb::addr_t, lldb::addr_t> AddrRange;
97 Range<lldb::addr_t, uint32_t> m_range;
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/MC/MCParser/
H A DMCAsmParserExtension.h74 bool Error(SMLoc L, const Twine &Msg, SMRange Range = SMRange()) {
75 return getParser().Error(L, Msg, Range);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/
H A DRange.h1 //===- Range.h --------------------------------------------------*- C++ -*-===//
91 bool contains(AddressRange Range) const;
92 void insert(AddressRange Range);
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DDeclSpec.h64 SourceRange Range; member in class:clang::CXXScopeSpec
68 SourceRange getRange() const { return Range; }
69 void setRange(SourceRange R) { Range = R; }
70 void setBeginLoc(SourceLocation Loc) { Range.setBegin(Loc); }
71 void setEndLoc(SourceLocation Loc) { Range.setEnd(Loc); }
72 SourceLocation getBeginLoc() const { return Range.getBegin(); }
73 SourceLocation getEndLoc() const { return Range.getEnd(); }
189 bool isEmpty() const { return !Range.isValid(); }
201 if (Range.getBegin().isInvalid())
202 Range
387 SourceRange Range; member in class:clang::DeclSpec
1272 SourceRange Range; member in struct:clang::DeclaratorChunk::TypeAndRange
1798 SourceRange Range; member in class:clang::Declarator
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Utility/
H A DRangeMap.h19 // Uncomment to make sure all Range objects are sorted when needed
29 template <typename B, typename S> struct Range { struct in namespace:lldb_private
36 Range() : base(0), size(0) {} function in struct:lldb_private::Range
38 Range(BaseType b, SizeType s) : base(b), size(s) {} function in struct:lldb_private::Range
52 bool Union(const Range &rhs) {
85 bool Contains(const Range &range) const {
91 bool DoesAdjoinOrIntersect(const Range &rhs) const {
101 bool DoesIntersect(const Range &rhs) const {
110 bool operator<(const Range &rhs) const {
116 bool operator==(const Range
608 typedef lldb_private::Range<B, S> Range; typedef in class:lldb_private::RangeDataVector
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Format/
H A DTokenAnalyzer.h44 ArrayRef<tooling::Range> Ranges, unsigned FirstStartColumn = 0,
H A DUsingDeclarationsSorter.cpp144 auto Range = CharSourceRange::getCharRange(Begin, End); local
145 auto Err = Fixes->add(tooling::Replacement(SourceMgr, Range, ""));
168 auto Range = CharSourceRange::getCharRange(Begin, End); local
169 auto Err = Fixes->add(tooling::Replacement(SourceMgr, Range, Text));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNRegPressure.h201 template <typename Range>
203 getLiveRegMap(Range &&R, bool After, LiveIntervals &LIS) {
252 template <typename Range>
254 Range &&LiveRegs) {
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_handlers_cxx.cpp62 << Range(Pointer, Pointer + sizeof(uptr), "possibly invalid vptr");
66 << Range(Pointer, Pointer + sizeof(uptr), "invalid vptr");
71 << Range(Pointer, Pointer + sizeof(uptr), "vptr for %0");
79 << Range(Pointer, Pointer + sizeof(uptr),
/freebsd-11-stable/contrib/llvm-project/lldb/source/Symbol/
H A DBlock.cpp46 const Range &range = m_ranges.GetEntryRef(i);
85 const Range &range = m_ranges.GetEntryRef(i);
162 const Range &range = m_ranges.GetEntryRef(i);
187 bool Block::Contains(const Range &range) const {
229 bool Block::GetRangeContainingOffset(const addr_t offset, Range &range) {
230 const Range *range_ptr = m_ranges.FindEntryThatContains(offset);
251 const Range *range_ptr = m_ranges.FindEntryThatContains(offset);
296 const Range &vm_range = m_ranges.GetEntryRef(range_idx);
324 void Block::AddRange(const Range &range) {
366 size_t mem_size = sizeof(Block) + m_ranges.GetSize() * sizeof(Range);
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DFuchsiaHandleChecker.cpp185 void reportDoubleRelease(SymbolRef HandleSym, const SourceRange &Range,
188 void reportUseAfterFree(SymbolRef HandleSym, const SourceRange &Range,
192 const SourceRange *Range, const BugType &Type,
490 const SourceRange &Range,
493 reportBug(HandleSym, ErrNode, C, &Range, DoubleReleaseBugType,
498 const SourceRange &Range,
501 reportBug(HandleSym, ErrNode, C, &Range, UseAfterReleaseBugType,
507 const SourceRange *Range,
528 if (Range)
529 R->addRange(*Range);
489 reportDoubleRelease(SymbolRef HandleSym, const SourceRange &Range, CheckerContext &C) const argument
497 reportUseAfterFree(SymbolRef HandleSym, const SourceRange &Range, CheckerContext &C) const argument
505 reportBug(SymbolRef Sym, ExplodedNode *ErrorNode, CheckerContext &C, const SourceRange *Range, const BugType &Type, StringRef Msg) const argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DStackSafetyAnalysis.cpp66 // Range should never set to empty-set, that is an invalid access range
84 ConstantRange Range; member in struct:__anon1653::UseInfo
89 explicit UseInfo(unsigned PointerSize) : Range{PointerSize, false} {}
91 void updateRange(ConstantRange R) { Range = Range.unionWith(R); }
95 OS << U.Range;
458 return FS.Params[ParamNo].Use.Range;
470 if (!US.Range.contains(CalleeRange)) {
473 US.Range = UnknownRange;
475 US.Range
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp62 /// Range.
63 void foldNode(llvm::ArrayRef<syntax::Token> Range, syntax::Tree *New);
67 void noticeDeclaratorRange(llvm::ArrayRef<syntax::Token> Range);
175 void assignRole(llvm::ArrayRef<syntax::Token> Range, argument
177 assert(!Range.empty());
178 auto It = Trees.lower_bound(Range.begin());
180 assert(It->first == Range.begin() && "no child with the specified range");
182 std::next(It)->first == Range.end()) &&
608 void syntax::TreeBuilder::foldNode(llvm::ArrayRef<syntax::Token> Range, argument
610 Pending.foldChildren(Arena, Range, Ne
613 noticeDeclaratorRange( llvm::ArrayRef<syntax::Token> Range) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInductiveRangeCheckElimination.cpp183 /// Represents an signed integer range [Range.getBegin(), Range.getEnd()). If
186 class Range { class in class:__anon2683::InductiveRangeCheck
191 Range(const SCEV *Begin, const SCEV *End) : Begin(Begin), End(End) { function in class:__anon2683::InductiveRangeCheck::Range
215 Optional<Range> computeSafeIterationSpace(ScalarEvolution &SE,
541 // intersection of `Range' and the iteration space of the original loop.
620 InductiveRangeCheck::Range Range; member in class:__anon2684::LoopConstrainer
630 DominatorTree &DT, InductiveRangeCheck::Range R)
633 Range(
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Option/
H A DArgList.h206 OptRange Range = getRange({toOptSpecifier(Ids)...}); local
207 auto B = Args.begin() + Range.first;
208 auto E = Args.begin() + Range.second;
217 OptRange Range = getRange({toOptSpecifier(Ids)...}); local
218 auto B = Args.rend() - Range.second;
219 auto E = Args.rend() - Range.first;

Completed in 336 milliseconds

1234567891011>>