Home
last modified time | relevance | path

Searched refs:Bound (Results 1 – 25 of 34) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp2673 delete [] Bound; in banerjeeMIVtest()
2708 Bound[K].DirSet |= Bound[K].Direction; in exploreDirections()
2835 if (Bound[K].Iterations) { in findBoundsALL()
2916 Bound[K].Iterations, SE->getOne(Bound[K].Iterations->getType())); in findBoundsLT()
2960 Bound[K].Iterations, SE->getOne(Bound[K].Iterations->getType())); in findBoundsGT()
3045 const SCEV *Sum = Bound[1].Lower[Bound[1].Direction]; in getLowerBound()
3047 if (Bound[K].Lower[Bound[K].Direction]) in getLowerBound()
3048 Sum = SE->getAddExpr(Sum, Bound[K].Lower[Bound[K].Direction]); in getLowerBound()
3061 const SCEV *Sum = Bound[1].Upper[Bound[1].Direction]; in getUpperBound()
3063 if (Bound[K].Upper[Bound[K].Direction]) in getUpperBound()
[all …]
H A DDemandedBits.cpp507 APInt Bound = (LHS.Zero & RHS.Zero) | (LHS.One & RHS.One); in determineLiveOperandBitsAddCarry() local
514 APInt RBound = Bound.reverseBits(); in determineLiveOperandBitsAddCarry()
H A DScalarEvolution.cpp7268 const Instruction *Bound = nullptr; in getDefiningScopeBound() local
7272 if (!Bound || DT.dominates(Bound, DefI)) in getDefiningScopeBound()
7273 Bound = DefI; in getDefiningScopeBound()
7279 return Bound ? Bound : &*F.getEntryBlock().begin(); in getDefiningScopeBound()
10266 [&](APInt Bound) -> std::pair<std::optional<APInt>, bool> { in SolveQuadraticAddRecRange() argument
10270 << Bound << " (before multiplying by " << M << ")\n"); in SolveQuadraticAddRecRange()
10271 Bound *= M; // The quadratic equation multiplier. in SolveQuadraticAddRecRange()
10277 SO = APIntOps::SolveQuadraticEquationWrap(A, B, -Bound, BitWidth); in SolveQuadraticAddRecRange()
10282 APIntOps::SolveQuadraticEquationWrap(A, B, -Bound, BitWidth + 1); in SolveQuadraticAddRecRange()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DDependenceAnalysis.h822 const SCEV *getLowerBound(BoundInfo *Bound) const;
827 const SCEV *getUpperBound(BoundInfo *Bound) const;
837 BoundInfo *Bound,
845 BoundInfo *Bound,
852 BoundInfo *Bound,
859 BoundInfo *Bound,
866 BoundInfo *Bound,
873 BoundInfo *Bound,
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/
H A DSPIRVObjectWriter.cpp55 constexpr uint32_t Bound = 900; in writeHeader() local
61 W.write<uint32_t>(Bound); in writeHeader()
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Dranges258 template<weakly_incrementable W, semiregular Bound = unreachable_sentinel_t>
259 requires weakly-equality-comparable-with<W, Bound> && copyable<W>
262 template<class W, class Bound>
263 inline constexpr bool enable_borrowed_range<iota_view<W, Bound>> = true;
270 template<move_constructible T, semiregular Bound = unreachable_sentinel_t>
272 (integer-like-with-usable-difference-type<Bound> ||
273 same_as<Bound, unreachable_sentinel_t>))
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DMatrixUtils.cpp24 Value *Bound, Value *Step, StringRef Name, in CreateLoop() argument
44 Value *Cond = B.CreateICmpNE(Inc, Bound, Name + ".cond"); in CreateLoop()
H A DSimplifyLibCalls.cpp924 Value *Bound) { in optimizeStringLength() argument
929 (!Bound || isKnownNonZero(Bound, DL))) { in optimizeStringLength()
940 if (Bound) { in optimizeStringLength()
941 if (ConstantInt *BoundCst = dyn_cast<ConstantInt>(Bound)) { in optimizeStringLength()
960 if (Bound) in optimizeStringLength()
961 return B.CreateBinaryIntrinsic(Intrinsic::umin, LenC, Bound); in optimizeStringLength()
965 if (Bound) in optimizeStringLength()
1046 Value *Bound = CI->getArgOperand(1); in optimizeStrNLen() local
1047 if (Value *V = optimizeStringLength(CI, B, 8, Bound)) in optimizeStrNLen()
1050 if (isKnownNonZero(Bound, DL)) in optimizeStrNLen()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DMatrixUtils.h83 Value *Bound, Value *Step, StringRef Name,
H A DSimplifyLibCalls.h251 Value *Bound = nullptr);
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_handlers.cpp436 static void handleVLABoundNotPositive(VLABoundData *Data, ValueHandle Bound, in handleVLABoundNotPositive() argument
448 << Value(Data->Type, Bound); in handleVLABoundNotPositive()
452 ValueHandle Bound) { in __ubsan_handle_vla_bound_not_positive() argument
454 handleVLABoundNotPositive(Data, Bound, Opts); in __ubsan_handle_vla_bound_not_positive()
457 ValueHandle Bound) { in __ubsan_handle_vla_bound_not_positive_abort() argument
459 handleVLABoundNotPositive(Data, Bound, Opts); in __ubsan_handle_vla_bound_not_positive_abort()
H A Dubsan_handlers.h108 RECOVERABLE(vla_bound_not_positive, VLABoundData *Data, ValueHandle Bound)
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86LowerAMXIntrinsics.cpp72 BasicBlock *createLoop(BasicBlock *Preheader, BasicBlock *Exit, Value *Bound,
104 BasicBlock *Exit, Value *Bound, in createLoop() argument
124 Value *Cond = B.CreateICmpNE(Inc, Bound, Name + ".cond"); in createLoop()
/freebsd-14.2/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp817 std::optional<DynTypedMatcher> Bound = Result->tryBind(BindID); in constructBoundMatcher() local
818 if (Bound) { in constructBoundMatcher()
819 return VariantMatcher::SingleMatcher(*Bound); in constructBoundMatcher()
H A DParser.cpp399 std::optional<DynTypedMatcher> Bound = Result->tryBind(BindID); in parseIdentifierPrefixImpl() local
400 if (Bound) { in parseIdentifierPrefixImpl()
401 *Value = VariantMatcher::SingleMatcher(*Bound); in parseIdentifierPrefixImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.cpp1365 DISubrange::BoundType Bound) -> void { in constructSubrangeDIE() argument
1366 if (auto *BV = dyn_cast_if_present<DIVariable *>(Bound)) { in constructSubrangeDIE()
1369 } else if (auto *BE = dyn_cast_if_present<DIExpression *>(Bound)) { in constructSubrangeDIE()
1375 } else if (auto *BI = dyn_cast_if_present<ConstantInt *>(Bound)) { in constructSubrangeDIE()
1404 DIGenericSubrange::BoundType Bound) -> void { in constructGenericSubrangeDIE() argument
1405 if (auto *BV = dyn_cast_if_present<DIVariable *>(Bound)) { in constructGenericSubrangeDIE()
1408 } else if (auto *BE = dyn_cast_if_present<DIExpression *>(Bound)) { in constructGenericSubrangeDIE()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DELF_riscv.cpp156 auto Bound = in getRISCVPCRelHi20() local
159 for (auto It = Bound.first; It != Bound.second; ++It) { in getRISCVPCRelHi20()
/freebsd-14.2/contrib/llvm-project/clang/utils/TableGen/
H A DRISCVVEmitter.cpp293 size_t Bound = SignatureTable.size() - Signature.size() + 1; in getIndex() local
294 for (size_t Index = 0; Index < Bound; ++Index) { in getIndex()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DDIBuilder.cpp708 auto ConvToMetadata = [&](DIGenericSubrange::BoundType Bound) -> Metadata * { in getOrCreateGenericSubrange() argument
709 return isa<DIExpression *>(Bound) ? (Metadata *)cast<DIExpression *>(Bound) in getOrCreateGenericSubrange()
710 : (Metadata *)cast<DIVariable *>(Bound); in getOrCreateGenericSubrange()
H A DAsmWriter.cpp1989 auto IsConstant = [&](Metadata *Bound) -> bool { in writeDIGenericSubrange() argument
1990 if (auto *BE = dyn_cast_or_null<DIExpression>(Bound)) { in writeDIGenericSubrange()
1998 auto GetConstant = [&](Metadata *Bound) -> int64_t { in writeDIGenericSubrange() argument
1999 assert(IsConstant(Bound) && "Expected constant"); in writeDIGenericSubrange()
2000 auto *BE = dyn_cast_or_null<DIExpression>(Bound); in writeDIGenericSubrange()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp235 llvm::APSInt Bound, ProgramStateRef State) { in isInRelation() argument
239 nonloc::ConcreteInt(Bound), SVB.getConditionType()); in isInRelation()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchFloat32InstrInfo.td118 // Bound Check Memory Access Instructions
H A DLoongArchFloat64InstrInfo.td110 // Bound Check Memory Access Instructions
/freebsd-14.2/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp4981 auto convToMetadata = [&](MDSignedOrMDField Bound) -> Metadata * { in parseDISubrange() argument
4982 if (Bound.isMDSignedField()) in parseDISubrange()
4984 Type::getInt64Ty(Context), Bound.getMDSignedValue())); in parseDISubrange()
4985 if (Bound.isMDField()) in parseDISubrange()
4986 return Bound.getMDFieldValue(); in parseDISubrange()
5013 auto ConvToMetadata = [&](MDSignedOrMDField Bound) -> Metadata * { in parseDIGenericSubrange() argument
5014 if (Bound.isMDSignedField()) in parseDIGenericSubrange()
5017 static_cast<uint64_t>(Bound.getMDSignedValue())}); in parseDIGenericSubrange()
5018 if (Bound.isMDField()) in parseDIGenericSubrange()
5019 return Bound.getMDFieldValue(); in parseDIGenericSubrange()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExpr.cpp1181 llvm::Value *Bound = in EmitBoundsCheck() local
1184 EmitBoundsCheckImpl(E, Bound, Index, IndexType, IndexedType, Accessed); in EmitBoundsCheck()
1187 void CodeGenFunction::EmitBoundsCheckImpl(const Expr *E, llvm::Value *Bound, in EmitBoundsCheckImpl() argument
1191 if (!Bound) in EmitBoundsCheckImpl()
1198 llvm::Value *BoundVal = Builder.CreateIntCast(Bound, SizeTy, false); in EmitBoundsCheckImpl()

12