Home
last modified time | relevance | path

Searched refs:InRange (Results 1 – 25 of 30) 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.h190 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 DConstants.cpp2468 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 DConstantFold.cpp1340 std::optional<ConstantRange> InRange, in ConstantFoldGetElementPtr() argument
1355 if (InRange) in ConstantFoldGetElementPtr()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSimpleConstraintManager.h55 bool InRange) = 0;
76 bool InRange) override;
H A DSMTConv.h533 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 DSMTConstraintManager.h70 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 DRangedConstraintManager.h424 bool InRange) override;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalSplit.cpp72 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 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.h355 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 DThreadPlanStepRange.cpp101 bool ThreadPlanStepRange::InRange() { in InRange() function in ThreadPlanStepRange
449 if (InRange()) { in MischiefManaged()
482 if (!InRange()) { in IsPlanStale()
H A DThreadPlanStepOverRange.cpp193 if (InRange()) { in ShouldStop()
H A DThreadPlanStepInRange.cpp204 if (InRange()) { in ShouldStop()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantFold.h56 std::optional<ConstantRange> InRange,
H A DConstants.h1242 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 DRangedConstraintManager.cpp103 const llvm::APSInt &To, bool InRange) { in assumeSymInclusiveRange() argument
125 if (InRange) in assumeSymInclusiveRange()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGVTT.cpp88 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 DThreadPlanStepRange.h44 bool InRange();
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp831 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 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/Bitcode/Reader/
H A DBitcodeReader.cpp533 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 DSemaChecking.cpp9848 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()

12