Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp1110 const SCEV *Bound = SE->getMinusSCEV(S, Size); in isKnownLessThan() local
1111 if (const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(Bound)) { in isKnownLessThan()
2616 BoundInfo *Bound = new BoundInfo[MaxLevels + 1]; in banerjeeMIVtest() local
2623 Bound[K].Iterations = A[K].Iterations ? A[K].Iterations : B[K].Iterations; in banerjeeMIVtest()
2624 Bound[K].Direction = Dependence::DVEntry::ALL; in banerjeeMIVtest()
2625 Bound[K].DirSet = Dependence::DVEntry::NONE; in banerjeeMIVtest()
2626 findBoundsALL(A, B, Bound, K); in banerjeeMIVtest()
2629 if (Bound[K].Lower[Dependence::DVEntry::ALL]) in banerjeeMIVtest()
2630 LLVM_DEBUG(dbgs() << *Bound[K].Lower[Dependence::DVEntry::ALL] << '\t'); in banerjeeMIVtest()
2633 if (Bound[K].Upper[Dependence::DVEntry::ALL]) in banerjeeMIVtest()
[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.cpp7284 const Instruction *Bound = nullptr; in getDefiningScopeBound() local
7288 if (!Bound || DT.dominates(Bound, DefI)) in getDefiningScopeBound()
7289 Bound = DefI; in getDefiningScopeBound()
7295 return Bound ? Bound : &*F.getEntryBlock().begin(); in getDefiningScopeBound()
10327 [&](APInt Bound) -> std::pair<std::optional<APInt>, bool> { in SolveQuadraticAddRecRange() argument
10331 << Bound << " (before multiplying by " << M << ")\n"); in SolveQuadraticAddRecRange()
10332 Bound *= M; // The quadratic equation multiplier. in SolveQuadraticAddRecRange()
10338 SO = APIntOps::SolveQuadraticEquationWrap(A, B, -Bound, BitWidth); in SolveQuadraticAddRecRange()
10343 APIntOps::SolveQuadraticEquationWrap(A, B, -Bound, BitWidth + 1); in SolveQuadraticAddRecRange()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DSPIRVObjectWriter.cpp27 W.write<uint32_t>(VersionInfo.Bound); in writeHeader()
32 unsigned Bound) { in setBuildVersion() argument
35 VersionInfo.Bound = Bound; in setBuildVersion()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DDependenceAnalysis.h822 const SCEV *getLowerBound(BoundInfo *Bound) const;
827 const SCEV *getUpperBound(BoundInfo *Bound) const;
831 /// in the DirSet field of Bound. Returns the number of distinct
837 BoundInfo *Bound,
845 BoundInfo *Bound,
849 /// using the * direction. Records them in Bound.
852 BoundInfo *Bound,
856 /// using the < direction. Records them in Bound.
859 BoundInfo *Bound,
863 /// using the > direction. Records them in Bound
[all...]
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSPIRVObjectWriter.h38 unsigned Bound = 0; member
46 void setBuildVersion(unsigned Major, unsigned Minor, unsigned Bound);
/freebsd/contrib/llvm-project/libcxx/include/
H A Dranges263 template<weakly_incrementable W, semiregular Bound = unreachable_sentinel_t>
264 requires weakly-equality-comparable-with<W, Bound> && copyable<W>
267 template<class W, class Bound>
268 inline constexpr bool enable_borrowed_range<iota_view<W, Bound>> = true;
275 template<move_constructible T, semiregular Bound = unreachable_sentinel_t>
277 (integer-like-with-usable-difference-type<Bound> ||
278 same_as<Bound, unreachable_sentinel_t>))
/freebsd/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.cpp933 Value *Bound) { in optimizeStringLength() argument
938 (!Bound || isKnownNonZero(Bound, DL))) { in optimizeStringLength()
949 if (Bound) { in optimizeStringLength()
950 if (ConstantInt *BoundCst = dyn_cast<ConstantInt>(Bound)) { in optimizeStringLength()
969 if (Bound) in optimizeStringLength()
970 return B.CreateBinaryIntrinsic(Intrinsic::umin, LenC, Bound); in optimizeStringLength()
974 if (Bound) in optimizeStringLength()
1055 Value *Bound = CI->getArgOperand(1); in optimizeStrNLen() local
1056 if (Value *V = optimizeStringLength(CI, B, 8, Bound)) in optimizeStrNLen()
1059 if (isKnownNonZero(Bound, DL)) in optimizeStrNLen()
/freebsd/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/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DMatrixUtils.h83 Value *Bound, Value *Step, StringRef Name,
H A DSimplifyLibCalls.h253 Value *Bound = nullptr);
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVGlobalRegistry.h74 unsigned Bound; variable
146 void setBound(unsigned V) { Bound = V; } in setBound()
147 unsigned getBound() { return Bound; } in getBound()
H A DSPIRVAsmPrinter.cpp118 unsigned Bound = 2 * (ST->getBound() + 1) + NLabels; in emitEndOfAsmFile() local
121 .setBuildVersion(Major, Minor, Bound); in emitEndOfAsmFile()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp818 std::optional<DynTypedMatcher> Bound = Result->tryBind(BindID); in constructBoundMatcher() local
819 if (Bound) { in constructBoundMatcher()
820 return VariantMatcher::SingleMatcher(*Bound); in constructBoundMatcher()
/freebsd/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/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.cpp1398 DISubrange::BoundType Bound) -> void { in constructSubrangeDIE() argument
1399 if (auto *BV = dyn_cast_if_present<DIVariable *>(Bound)) { in constructSubrangeDIE()
1402 } else if (auto *BE = dyn_cast_if_present<DIExpression *>(Bound)) { in constructSubrangeDIE()
1408 } else if (auto *BI = dyn_cast_if_present<ConstantInt *>(Bound)) { in constructSubrangeDIE()
1437 DIGenericSubrange::BoundType Bound) -> void { in constructGenericSubrangeDIE() argument
1438 if (auto *BV = dyn_cast_if_present<DIVariable *>(Bound)) { in constructGenericSubrangeDIE()
1441 } else if (auto *BE = dyn_cast_if_present<DIExpression *>(Bound)) { in constructGenericSubrangeDIE()
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DRISCVVEmitter.cpp295 size_t Bound = SignatureTable.size() - Signature.size() + 1; in getIndex() local
296 for (size_t Index = 0; Index < Bound; ++Index) { in getIndex()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDIBuilder.cpp735 auto ConvToMetadata = [&](DIGenericSubrange::BoundType Bound) -> Metadata * { in getOrCreateGenericSubrange() argument
736 return isa<DIExpression *>(Bound) ? (Metadata *)cast<DIExpression *>(Bound) in getOrCreateGenericSubrange()
737 : (Metadata *)cast<DIVariable *>(Bound); in getOrCreateGenericSubrange()
H A DAsmWriter.cpp2066 auto IsConstant = [&](Metadata *Bound) -> bool { in writeDIGenericSubrange() argument
2067 if (auto *BE = dyn_cast_or_null<DIExpression>(Bound)) { in writeDIGenericSubrange()
2075 auto GetConstant = [&](Metadata *Bound) -> int64_t { in writeDIGenericSubrange() argument
2076 assert(IsConstant(Bound) && "Expected constant"); in writeDIGenericSubrange()
2077 auto *BE = dyn_cast_or_null<DIExpression>(Bound); in writeDIGenericSubrange()
/freebsd/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/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp5237 auto convToMetadata = [&](MDSignedOrMDField Bound) -> Metadata * { in parseDISubrange() argument
5238 if (Bound.isMDSignedField()) in parseDISubrange()
5240 Type::getInt64Ty(Context), Bound.getMDSignedValue())); in parseDISubrange()
5241 if (Bound.isMDField()) in parseDISubrange()
5242 return Bound.getMDFieldValue(); in parseDISubrange()
5269 auto ConvToMetadata = [&](MDSignedOrMDField Bound) -> Metadata * { in parseDIGenericSubrange() argument
5270 if (Bound.isMDSignedField()) in parseDIGenericSubrange()
5273 static_cast<uint64_t>(Bound.getMDSignedValue())}); in parseDIGenericSubrange()
5274 if (Bound.isMDField()) in parseDIGenericSubrange()
5275 return Bound.getMDFieldValue(); in parseDIGenericSubrange()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExpr.cpp1175 llvm::Value *Bound = in EmitBoundsCheck() local
1178 EmitBoundsCheckImpl(E, Bound, Index, IndexType, IndexedType, Accessed); in EmitBoundsCheck()
1181 void CodeGenFunction::EmitBoundsCheckImpl(const Expr *E, llvm::Value *Bound, in EmitBoundsCheckImpl() argument
1185 if (!Bound) in EmitBoundsCheckImpl()
1192 llvm::Value *BoundVal = Builder.CreateIntCast(Bound, SizeTy, false); in EmitBoundsCheckImpl()

12