Searched refs:WithCache (Results 1 – 8 of 8) sorted by relevance
| /llvm-project/llvm/include/llvm/Analysis/ |
| H A D | WithCache.h | 27 template <typename Arg> class WithCache { 52 WithCache(PointerType Pointer) : Pointer(Pointer, false) {} in WithCache() function 53 WithCache(PointerType Pointer, const KnownBits &Known) in WithCache() function
|
| H A D | ValueTracking.h | 18 #include "llvm/Analysis/WithCache.h" 106 bool haveNoCommonBitsSet(const WithCache<const Value *> &LHSCache, 107 const WithCache<const Value *> &RHSCache, 916 computeOverflowForUnsignedAdd(const WithCache<const Value *> &LHS, 917 const WithCache<const Value *> &RHS, 919 OverflowResult computeOverflowForSignedAdd(const WithCache<const Value *> &LHS, 920 const WithCache<const Value *> &RHS, 951 computeConstantRangeIncludingKnownBits(const WithCache<const Value *> &V,
|
| /llvm-project/llvm/include/llvm/Transforms/InstCombine/ |
| H A D | InstCombiner.h | 480 computeOverflowForUnsignedAdd(const WithCache<const Value *> &LHS, in computeOverflowForUnsignedAdd() 481 const WithCache<const Value *> &RHS, in computeOverflowForUnsignedAdd() 488 computeOverflowForSignedAdd(const WithCache<const Value *> &LHS, in computeOverflowForSignedAdd() 489 const WithCache<const Value *> &RHS, in computeOverflowForSignedAdd()
|
| /llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineInternal.h | 310 bool willNotOverflowSignedAdd(const WithCache<const Value *> &LHS, 311 const WithCache<const Value *> &RHS, 317 bool willNotOverflowUnsignedAdd(const WithCache<const Value *> &LHS, in willNotOverflowSignedAdd() 318 const WithCache<const Value *> &RHS, 386 Constant *Op1FpC, SmallVectorImpl<WithCache<const Value *>> &OpsKnown);
|
| H A D | InstCombineSimplifyDemanded.cpp | 273 WithCache<const Value *> LHSCache(I->getOperand(0), LHSKnown), in SimplifyDemandedUseBits()
|
| H A D | InstructionCombining.cpp | 1447 Constant *Op1FpC, SmallVectorImpl<WithCache<const Value *>> &OpsKnown) { in foldFBinOpOfIntCastsFromSign() 1473 // knownbits here. If we ever start supporting WithCache for in foldFBinOpOfIntCastsFromSign() 1493 // TODO: If we add support for `WithCache` in `ComputeNumSignBits`, change in foldFBinOpOfIntCastsFromSign() 1584 // TODO: If we add support for `WithCache` in `willNotOverflow`, change in foldFBinOpOfIntCastsFromSign() 1621 SmallVector<WithCache<const Value *>, 2> OpsKnown = {IntOps[0], IntOps[1]}; in foldFBinOpOfIntCasts()
|
| H A D | InstCombineAddSub.cpp | 1679 WithCache<const Value *> LHSCache(LHS), RHSCache(RHS); in visitAdd()
|
| /llvm-project/llvm/lib/Analysis/ |
| H A D | ValueTracking.cpp | 36 #include "llvm/Analysis/WithCache.h" 248 bool llvm::haveNoCommonBitsSet(const WithCache<const Value *> &LHSCache, in haveNoCommonBitsSet() 249 const WithCache<const Value *> &RHSCache, in haveNoCommonBitsSet() 7198 llvm::computeConstantRangeIncludingKnownBits(const WithCache<const Value *> &V, in canCreateUndefOrPoison() 7265 llvm::computeOverflowForUnsignedAdd(const WithCache<const Value *> &LHS, in directlyImpliesPoison() 7266 const WithCache<const Value *> &RHS, in directlyImpliesPoison() 7276 computeOverflowForSignedAdd(const WithCache<const Value *> &LHS, in impliesPoison() 7277 const WithCache<const Value *> &RHS, in impliesPoison() 7923 llvm::computeOverflowForSignedAdd(const WithCache<const Value *> &LHS, in matchFastFloatClamp() 7924 const WithCache<cons in matchFastFloatClamp() [all...] |