Home
last modified time | relevance | path

Searched refs:InRange (Results 1 – 25 of 31) sorted by relevance

12

/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_diag.cpp296 Range *InRange = upperBound(Min, Ranges, NumRanges); in PrintMemorySnippet() local
299 if (InRange && InRange->getEnd().getMemoryLocation() == P) in PrintMemorySnippet()
300 InRange = upperBound(P, Ranges, NumRanges); in PrintMemorySnippet()
301 if (!InRange && P > Loc) in PrintMemorySnippet()
303 if (InRange && InRange->getStart().getMemoryLocation() < P) in PrintMemorySnippet()
305 if (InRange && InRange->getStart().getMemoryLocation() <= P) in PrintMemorySnippet()
316 InRange = 0; in PrintMemorySnippet()
319 if (!InRange || InRange->getEnd().getMemoryLocation() == P) in PrintMemorySnippet()
320 InRange = upperBound(P, Ranges, NumRanges); in PrintMemorySnippet()
321 if (!InRange) in PrintMemorySnippet()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantsContext.h199 std::optional<ConstantRange> InRange; variable
203 std::optional<ConstantRange> InRange,
209 Type *DestTy, unsigned Flags, std::optional<ConstantRange> InRange) { in Create() argument
213 std::move(InRange), AllocMarker); in Create()
394 std::optional<ConstantRange> InRange;
420 std::optional<ConstantRange> InRange = std::nullopt)
423 InRange(std::move(InRange)) {}
430 InRange(getInRangeIfValid(CE)) {}
438 InRange(getInRangeIfValid(CE)) {
456 rangesEqual(InRange, X.InRange);
[all …]
H A DConstants.cpp2497 std::optional<ConstantRange> InRange, in getGetElementPtr() argument
2502 if (Constant *FC = ConstantFoldGetElementPtr(Ty, C, InRange, Idxs)) in getGetElementPtr()
2539 {}, Ty, InRange); in getGetElementPtr()
2789 std::optional<ConstantRange> InRange, AllocInfo AllocInfo) in GetElementPtrConstantExpr() argument
2793 InRange(std::move(InRange)) { in GetElementPtrConstantExpr()
2809 return InRange; in getInRange()
H A DConstantFold.cpp1316 std::optional<ConstantRange> InRange, in ConstantFoldGetElementPtr() argument
1331 if (InRange) in ConstantFoldGetElementPtr()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSimpleConstraintManager.cpp96 const llvm::APSInt &To, bool InRange) { in assumeInclusiveRangeInternal() argument
106 return assumeSymInclusiveRange(State, Sym, From, To, InRange); in assumeInclusiveRangeInternal()
117 return assumeSymInclusiveRange(State, Sym, From, To, InRange); in assumeInclusiveRangeInternal()
124 bool isFeasible = (IsInRange == InRange); in assumeInclusiveRangeInternal()
H A DRangedConstraintManager.cpp103 const llvm::APSInt &To, bool InRange) { in assumeSymInclusiveRange() argument
125 if (InRange) in assumeSymInclusiveRange()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSimpleConstraintManager.h55 bool InRange) = 0;
76 bool InRange) override;
H A DSMTConv.h535 const llvm::APSInt &From, const llvm::APSInt &To, bool InRange) { in getRangeExpr() argument
549 return getBinExpr(Solver, Ctx, Exp, SymTy, InRange ? BO_EQ : BO_NE, in getRangeExpr()
561 getBinExpr(Solver, Ctx, Exp, SymTy, InRange ? BO_GE : BO_LT, FromExp, in getRangeExpr()
564 InRange ? BO_LE : BO_GT, ToExp, ToTy, in getRangeExpr()
567 return fromBinOp(Solver, LHS, InRange ? BO_LAnd : BO_LOr, RHS, in getRangeExpr()
H A DSMTConstraintManager.h71 bool InRange) override { in REGISTER_TRAIT_WITH_PROGRAMSTATE()
74 State, Sym, SMTConv::getRangeExpr(Solver, Ctx, Sym, From, To, InRange)); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
H A DRangedConstraintManager.h424 bool InRange) override;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalSplit.cpp71 std::optional<ConstantRange> InRange = GEP->getInRange(); in splitGlobal() local
72 if (!InRange) in splitGlobal()
80 ConstantRange SrcInRange = InRange->sextOrTrunc(IndexWidth).add(Offset); in splitGlobal()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/
H A DTraceCursorIntelPT.cpp37 if (!m_tsc_range || m_pos < 0 || !m_tsc_range->InRange(m_pos)) { in ClearTimingRangesIfInvalid()
45 !m_nanoseconds_range->InRange(m_pos)) { in ClearTimingRangesIfInvalid()
H A DDecodedThread.h78 bool InRange(uint64_t item_index) const;
118 bool InRange(uint64_t item_index) const;
H A DDecodedThread.cpp33 bool DecodedThread::TSCRange::InRange(uint64_t item_index) const { in InRange() function in DecodedThread::TSCRange
38 bool DecodedThread::NanosecondsRange::InRange(uint64_t item_index) const { in InRange() function in DecodedThread::NanosecondsRange
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Drelease.h363 if (!InRange) { in processNextPage()
365 InRange = true; in processNextPage()
382 if (InRange) { in closeOpenedRange()
386 InRange = false; in closeOpenedRange()
391 bool InRange = false; variable
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DThreadPlanStepRange.cpp101 bool ThreadPlanStepRange::InRange() { in InRange() function in ThreadPlanStepRange
516 if (InRange()) { in MischiefManaged()
549 if (!InRange()) { in IsPlanStale()
H A DThreadPlanStepOverRange.cpp208 if (InRange()) { in ShouldStop()
H A DThreadPlanStepInRange.cpp206 if (InRange()) { in ShouldStop()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantFold.h63 std::optional<ConstantRange> InRange,
H A DConstants.h1274 std::optional<ConstantRange> InRange = std::nullopt,
1278 InRange, OnlyIfReducedTy);
1283 std::optional<ConstantRange> InRange = std::nullopt,
1288 return getGetElementPtr(Ty, C, cast<Value>(Idx), NW, InRange,
1294 std::optional<ConstantRange> InRange = std::nullopt,
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGVTT.cpp88 llvm::ConstantRange InRange( in EmitVTTDefinition() local
92 VTable->getValueType(), VTable, Idxs, /*InBounds=*/true, InRange); in EmitVTTDefinition()
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DThreadPlanStepRange.h44 bool InRange();
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp846 std::optional<ConstantRange> InRange, in CastGEPIndices() argument
875 ConstantExpr::getGetElementPtr(SrcElemTy, Ops[0], NewIdxs, NW, InRange); in CastGEPIndices()
910 std::optional<ConstantRange> InRange = GEP->getInRange(); in SymbolicallyEvaluateGEP() local
911 if (InRange) in SymbolicallyEvaluateGEP()
912 InRange = InRange->sextOrTrunc(BitWidth); in SymbolicallyEvaluateGEP()
933 if (!InRange) { in SymbolicallyEvaluateGEP()
934 InRange = GEP->getInRange(); in SymbolicallyEvaluateGEP()
935 if (InRange) in SymbolicallyEvaluateGEP()
937 InRange = InRange->sextOrTrunc(BitWidth).subtract(Offset); in SymbolicallyEvaluateGEP()
990 InRange); in SymbolicallyEvaluateGEP()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMicroMipsSizeReduction.cpp327 static bool InRange(int64_t Value, unsigned short Shift, int LBound, in InRange() function
344 if (!InRange(offset, Entry.Shift(), Entry.LBound(), Entry.HBound())) in ImmInRange()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNRegPressure.cpp350 bool InRange = Upward ? (InstSlot > PriorUseIdx && InstSlot <= NextUseIdx) in findUseBetween() local
352 if (!InRange) in findUseBetween()

12