| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | InstructionSimplify.h | 63 const SimplifyQuery &Q); 67 const SimplifyQuery &Q); 71 const SimplifyQuery &Q); 75 const SimplifyQuery &Q); 79 const SimplifyQuery &Q); 83 const SimplifyQuery &Q); 87 const SimplifyQuery &Q); 91 const SimplifyQuery &Q); 96 const SimplifyQuery &Q, 103 const SimplifyQuery &Q, [all …]
|
| H A D | SimplifyQuery.h | 71 struct SimplifyQuery { struct 90 SimplifyQuery(const DataLayout &DL, const Instruction *CXTI = nullptr) argument 93 SimplifyQuery(const DataLayout &DL, const TargetLibraryInfo *TLI, argument 101 SimplifyQuery(const DataLayout &DL, const DominatorTree *DT, argument 108 SimplifyQuery getWithInstruction(const Instruction *I) const { in getWithInstruction() argument 109 SimplifyQuery Copy(*this); in getWithInstruction() 113 SimplifyQuery getWithoutUndef() const { in getWithoutUndef() argument 114 SimplifyQuery Copy(*this); in getWithoutUndef() 123 SimplifyQuery getWithoutDomCondCache() const { in getWithoutDomCondCache() argument 124 SimplifyQuery Copy(*this); in getWithoutDomCondCache() [all …]
|
| H A D | ValueTracking.h | 86 const SimplifyQuery &Q, unsigned Depth = 0); 88 LLVM_ABI KnownBits computeKnownBits(const Value *V, const SimplifyQuery &Q, 92 const SimplifyQuery &Q, unsigned Depth = 0); 102 const SimplifyQuery &Q, 109 const SimplifyQuery &SQ, 116 const SimplifyQuery &Q, 122 const SimplifyQuery &SQ); 138 const SimplifyQuery &Q, 151 LLVM_ABI bool isKnownNonZero(const Value *V, const SimplifyQuery &Q, 169 LLVM_ABI bool isKnownNonNegative(const Value *V, const SimplifyQuery &SQ, [all …]
|
| H A D | WithCache.h | 24 struct SimplifyQuery; 25 LLVM_ABI KnownBits computeKnownBits(const Value *V, const SimplifyQuery &Q, 47 void calculateKnownBits(const SimplifyQuery &Q) const { in calculateKnownBits() 59 [[nodiscard]] const KnownBits &getKnownBits(const SimplifyQuery &Q) const { in getKnownBits()
|
| H A D | InstSimplifyFolder.h | 38 SimplifyQuery SQ;
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | InstructionSimplify.cpp | 60 static Value *simplifyAndInst(Value *, Value *, const SimplifyQuery &, 62 static Value *simplifyUnOp(unsigned, Value *, const SimplifyQuery &, unsigned); 64 const SimplifyQuery &, unsigned); 65 static Value *simplifyBinOp(unsigned, Value *, Value *, const SimplifyQuery &, 68 const SimplifyQuery &, unsigned); 70 const SimplifyQuery &, unsigned); 72 const SimplifyQuery &Q, unsigned MaxRecurse); 73 static Value *simplifyOrInst(Value *, Value *, const SimplifyQuery &, unsigned); 74 static Value *simplifyXorInst(Value *, Value *, const SimplifyQuery &, 76 static Value *simplifyCastInst(unsigned, Value *, Type *, const SimplifyQuery &, [all …]
|
| H A D | ValueTracking.cpp | 135 KnownBits &Known, const SimplifyQuery &Q, 139 const SimplifyQuery &Q, unsigned Depth) { in computeKnownBits() 154 SimplifyQuery(DL, DT, AC, safeCxtI(V, CxtI), UseInstrInfo), in computeKnownBits() 163 V, SimplifyQuery(DL, DT, AC, safeCxtI(V, CxtI), UseInstrInfo), Depth); in computeKnownBits() 173 SimplifyQuery(DL, DT, AC, safeCxtI(V, CxtI), UseInstrInfo), Depth); in computeKnownBits() 177 const SimplifyQuery &SQ) { in haveNoCommonBitsSetSpecialCases() 236 const SimplifyQuery &SQ) { in haveNoCommonBitsSet() 272 V, OrZero, SimplifyQuery(DL, DT, AC, safeCxtI(V, CxtI), UseInstrInfo), in isKnownToBeAPowerOfTwo() 277 const SimplifyQuery &Q, unsigned Depth); 279 bool llvm::isKnownNonNegative(const Value *V, const SimplifyQuery &SQ, in isKnownNonNegative() [all …]
|
| H A D | Loads.cpp | 136 !isKnownNonZero(V, SimplifyQuery(DL, DT, AC, CtxI))) in isDereferenceableAndAlignedPointer() 184 isKnownNonZero(V, SimplifyQuery(DL, DT, AC, CtxI)) && in isDereferenceableAndAlignedPointer()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | LoopRotationUtils.h | 26 struct SimplifyQuery; 38 MemorySSAUpdater *MSSAU, const SimplifyQuery &SQ,
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | InstSimplifyPass.cpp | 28 static bool runImpl(Function &F, const SimplifyQuery &SQ) { in runImpl() 103 const SimplifyQuery SQ(DL, TLI, DT, AC); in runOnFunction() 129 const SimplifyQuery SQ(DL, &TLI, &DT, &AC); in run()
|
| H A D | LoopRotation.cpp | 72 const SimplifyQuery SQ = getBestSimplifyQuery(AR, DL); in run()
|
| H A D | LoopInstSimplify.cpp | 46 SimplifyQuery SQ(DL, &TLI, &DT, &AC); in simplifyLoopInst()
|
| H A D | LoopDeletion.cpp | 178 const SimplifyQuery &SQ) { in getValueOnFirstIteration() 303 const SimplifyQuery SQ(DL); in canProveExitOnFirstIteration()
|
| H A D | NaryReassociate.cpp | 362 SimplifyQuery SQ(*DL, DT, AC, GEP); in tryReassociateGEPAtIndex() 409 if (isKnownNonNegative(LHS, SimplifyQuery(*DL, DT, AC, GEP)) && in tryReassociateGEPAtIndex()
|
| H A D | Reassociate.cpp | 541 Flags.AllKnownNonNegative &= isKnownNonNegative(V, SimplifyQuery(DL)); in LinearizeExprTree() 547 Flags.AllKnownNonZero &= isKnownNonZero(V, SimplifyQuery(DL)); in LinearizeExprTree() 549 Flags.AllKnownNonNegative &= isKnownNonNegative(V, SimplifyQuery(DL)); in LinearizeExprTree() 2192 SimplifyQuery(I->getDataLayout(), in OptimizeInst()
|
| H A D | CorrelatedValuePropagation.cpp | 256 const SimplifyQuery &SQ) { in processPHI() 1256 const SimplifyQuery &SQ) { in runImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineInternal.h | 120 BinaryOperator *Sh0, const SimplifyQuery &SQ, 570 KnownBits &Known, const SimplifyQuery &Q, 575 const SimplifyQuery &Q, 584 const SimplifyQuery &Q, 716 Instruction *foldICmpBinOp(ICmpInst &Cmp, const SimplifyQuery &SQ); 733 const SimplifyQuery &Q);
|
| H A D | InstCombineShifts.cpp | 59 BinaryOperator *Sh0, const SimplifyQuery &SQ, in reassociateShiftAmtsOfTwoSameDirectionShifts() 190 const SimplifyQuery &Q, in dropRedundantMaskingOfLeftShiftInput() 982 static bool setShiftFlags(BinaryOperator &I, const SimplifyQuery &Q) { in setShiftFlags() 1042 const SimplifyQuery Q = SQ.getWithInstruction(&I); in visitShl() 1602 const SimplifyQuery Q = SQ.getWithInstruction(&I); in visitLShr() 1808 const SimplifyQuery Q = SQ.getWithInstruction(&I); in visitAShr()
|
| H A D | InstCombineCompares.cpp | 1281 const SimplifyQuery Q = SQ.getWithInstruction(&Cmp); in foldICmpWithZero() 1534 const SimplifyQuery &Q) { in foldICmpTruncWithTruncOrExt() 3243 const SimplifyQuery Q = SQ.getWithInstruction(&Cmp); in foldICmpAddConstant() 3691 const SimplifyQuery Q = SQ.getWithInstruction(&Cmp); in foldICmpBinOpEqualityWithConstant() 3766 const SimplifyQuery &Q) { in foldCtpopPow2Test() 4208 const SimplifyQuery Q = SQ.getWithInstruction(&Cmp); in foldICmpIntrinsicWithConstant() 4398 static bool isMaskOrZero(const Value *V, bool Not, const SimplifyQuery &Q, in isMaskOrZero() 4506 Value *Op1, const SimplifyQuery &Q, in foldICmpWithLowBitMaskedVal() 4709 foldShiftIntoShiftInAnotherHandOfAndInICmp(ICmpInst &I, const SimplifyQuery SQ, in foldShiftIntoShiftInAnotherHandOfAndInICmp() 4982 static Instruction *foldICmpAndXX(ICmpInst &I, const SimplifyQuery &Q, in foldICmpAndXX() [all …]
|
| H A D | InstCombineSimplifyDemanded.cpp | 98 const SimplifyQuery &Q, in SimplifyDemandedBits() 167 const SimplifyQuery &Q, in SimplifyDemandedUseBits() 1148 const SimplifyQuery &Q, unsigned Depth) { in SimplifyMultipleUseDemandedBits()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/ |
| H A D | InstCombiner.h | 77 SimplifyQuery SQ; 338 const SimplifyQuery &getSimplifyQuery() const { return SQ; } in getSimplifyQuery() 513 const SimplifyQuery &Q,
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LoopRotationUtils.cpp | 68 const SimplifyQuery &SQ; 77 const SimplifyQuery &SQ, bool RotationOnly, bool IsUtilMode, in LoopRotate() 1059 const SimplifyQuery &SQ, bool RotationOnly = true, in LoopRotation()
|
| H A D | PromoteMemoryToRegister.cpp | 388 const SimplifyQuery SQ; 524 !isKnownNonZero(Val, SimplifyQuery(DL, DT, AC, LI))) in convertMetadataToAssumes()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULibCalls.cpp | 617 return isKnownNeverInfinity(I, SimplifyQuery(DL)); in isKnownIntegral() 629 isKnownNeverInfOrNaN(I, SimplifyQuery(DL)); in isKnownIntegral() 768 SimplifyQuery(M->getDataLayout(), TLInfo, DT, AC, Call))) { in fold()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 347 SimplifyQuery(I.getDataLayout())); in tryToRecognizePopCount() 443 Arg, SimplifyQuery(Call->getDataLayout(), &TLI, &DT, &AC, Call)))) { in foldSqrt()
|