/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/ |
H A D | ubsan_diag.cpp | 296 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 D | ConstantsContext.h | 190 std::optional<ConstantRange> InRange; variable 194 std::optional<ConstantRange> InRange); 199 Type *DestTy, unsigned Flags, std::optional<ConstantRange> InRange) { in Create() argument 202 std::move(InRange)); in Create() 383 std::optional<ConstantRange> InRange; 409 std::optional<ConstantRange> InRange = std::nullopt) 412 InRange(std::move(InRange)) {} 419 InRange(getInRangeIfValid(CE)) {} 427 InRange(getInRangeIfValid(CE)) { 445 rangesEqual(InRange, X.InRange); [all …]
|
H A D | Constants.cpp | 2468 std::optional<ConstantRange> InRange, in getGetElementPtr() argument 2473 if (Constant *FC = ConstantFoldGetElementPtr(Ty, C, InRange, Idxs)) in getGetElementPtr() 2510 std::nullopt, Ty, InRange); in getGetElementPtr() 2750 std::optional<ConstantRange> InRange) in GetElementPtrConstantExpr() argument 2757 InRange(std::move(InRange)) { in GetElementPtrConstantExpr() 2773 return InRange; in getInRange()
|
H A D | ConstantFold.cpp | 1340 std::optional<ConstantRange> InRange, in ConstantFoldGetElementPtr() argument 1355 if (InRange) in ConstantFoldGetElementPtr()
|
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | SimpleConstraintManager.h | 55 bool InRange) = 0; 76 bool InRange) override;
|
H A D | SMTConv.h | 533 const llvm::APSInt &From, const llvm::APSInt &To, bool InRange) { in getRangeExpr() argument 547 return getBinExpr(Solver, Ctx, Exp, SymTy, InRange ? BO_EQ : BO_NE, in getRangeExpr() 559 getBinExpr(Solver, Ctx, Exp, SymTy, InRange ? BO_GE : BO_LT, FromExp, in getRangeExpr() 562 InRange ? BO_LE : BO_GT, ToExp, ToTy, in getRangeExpr() 565 return fromBinOp(Solver, LHS, InRange ? BO_LAnd : BO_LOr, RHS, in getRangeExpr()
|
H A D | SMTConstraintManager.h | 70 bool InRange) override { in REGISTER_TRAIT_WITH_PROGRAMSTATE() 73 State, Sym, SMTConv::getRangeExpr(Solver, Ctx, Sym, From, To, InRange)); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
|
H A D | RangedConstraintManager.h | 424 bool InRange) override;
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | GlobalSplit.cpp | 72 std::optional<ConstantRange> InRange = GEP->getInRange(); in splitGlobal() local 73 if (!InRange) in splitGlobal() 81 ConstantRange SrcInRange = InRange->sextOrTrunc(IndexWidth).add(Offset); in splitGlobal()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
H A D | TraceCursorIntelPT.cpp | 37 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 D | DecodedThread.h | 78 bool InRange(uint64_t item_index) const; 118 bool InRange(uint64_t item_index) const;
|
H A D | DecodedThread.cpp | 33 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 D | release.h | 355 if (!InRange) { in finish() 357 InRange = true; 374 if (InRange) { 377 InRange = false; in BlockSize() 383 bool InRange = false; in BlockSize() 368 bool InRange = false; global() variable
|
/freebsd/contrib/llvm-project/lldb/source/Target/ |
H A D | ThreadPlanStepRange.cpp | 101 bool ThreadPlanStepRange::InRange() { in InRange() function in ThreadPlanStepRange 449 if (InRange()) { in MischiefManaged() 482 if (!InRange()) { in IsPlanStale()
|
H A D | ThreadPlanStepOverRange.cpp | 193 if (InRange()) { in ShouldStop()
|
H A D | ThreadPlanStepInRange.cpp | 204 if (InRange()) { in ShouldStop()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | ConstantFold.h | 56 std::optional<ConstantRange> InRange,
|
H A D | Constants.h | 1242 std::optional<ConstantRange> InRange = std::nullopt, 1246 InRange, OnlyIfReducedTy); 1251 std::optional<ConstantRange> InRange = std::nullopt, 1256 return getGetElementPtr(Ty, C, cast<Value>(Idx), NW, InRange, 1262 std::optional<ConstantRange> InRange = std::nullopt,
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | RangedConstraintManager.cpp | 103 const llvm::APSInt &To, bool InRange) { in assumeSymInclusiveRange() argument 125 if (InRange) in assumeSymInclusiveRange()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGVTT.cpp | 88 llvm::ConstantRange InRange(llvm::APInt(32, -Offset, true), in EmitVTTDefinition() local 91 VTable->getValueType(), VTable, Idxs, /*InBounds=*/true, InRange); in EmitVTTDefinition()
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/ |
H A D | ThreadPlanStepRange.h | 44 bool InRange();
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 831 std::optional<ConstantRange> InRange, in CastGEPIndices() argument 860 ConstantExpr::getGetElementPtr(SrcElemTy, Ops[0], NewIdxs, NW, InRange); in CastGEPIndices() 894 std::optional<ConstantRange> InRange = GEP->getInRange(); in SymbolicallyEvaluateGEP() local 895 if (InRange) in SymbolicallyEvaluateGEP() 896 InRange = InRange->sextOrTrunc(BitWidth); in SymbolicallyEvaluateGEP() 917 if (!InRange) { in SymbolicallyEvaluateGEP() 918 InRange = GEP->getInRange(); in SymbolicallyEvaluateGEP() 919 if (InRange) in SymbolicallyEvaluateGEP() 921 InRange = InRange->sextOrTrunc(BitWidth).subtract(Offset); in SymbolicallyEvaluateGEP() 967 InRange); in SymbolicallyEvaluateGEP()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MicroMipsSizeReduction.cpp | 327 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/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 533 std::optional<ConstantRange> InRange; member 536 std::optional<ConstantRange> InRange = std::nullopt) in ExtraInfo() 538 InRange(std::move(InRange)) {} in ExtraInfo() 549 std::optional<ConstantRange> InRange; // GEP inrange attribute. member in __anondf6e26480411::BitcodeConstant 555 SrcElemTy(Info.SrcElemTy), InRange(Info.InRange) { in BitcodeConstant() 579 return InRange; in getInRange() 3403 std::optional<ConstantRange> InRange; in parseConstants() local 3417 InRange = MaybeInRange.get(); in parseConstants() 3454 {Instruction::GetElementPtr, uint8_t(Flags), PointeeType, InRange}, in parseConstants()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaChecking.cpp | 9848 InRange = InRangeFlag, enumerator 9863 if (Value >= PromotedMin) return InRange; in compare() 9864 if (Value <= PromotedMax) return InRange; in compare() 9873 case -1: return InRange; in compare() 10026 bool InRange = Cmp & PromotedRange::InRangeFlag; in CheckTautologicalComparison() local 10027 if (InRange && IsEnumConstOrFromMacro(S, Constant)) in CheckTautologicalComparison() 10032 if (Other->refersToBitField() && InRange && Value == 0 && in CheckTautologicalComparison() 10072 if (!InRange || Other->isKnownToHaveBooleanValue()) { in CheckTautologicalComparison() 10076 S.PDiag(!InRange ? diag::warn_out_of_range_compare in CheckTautologicalComparison()
|