/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSimplifyDemanded.cpp | 96 llvm::computeKnownBits(V, Known, Depth, Q); in SimplifyDemandedBits() 112 llvm::computeKnownBits(V, Known, Depth, Q); in SimplifyDemandedBits() 206 llvm::computeKnownBits(I, Known, Depth, Q); in SimplifyDemandedUseBits() 628 llvm::computeKnownBits(I, Known, Depth, Q); in SimplifyDemandedUseBits() 649 llvm::computeKnownBits(I, Known, Depth, Q); in SimplifyDemandedUseBits() 714 llvm::computeKnownBits(I, Known, Depth, Q); in SimplifyDemandedUseBits() 731 llvm::computeKnownBits(I, Known, Depth, Q); in SimplifyDemandedUseBits() 779 llvm::computeKnownBits(I, Known, Depth, Q); in SimplifyDemandedUseBits() 834 llvm::computeKnownBits(I, Known, Depth, Q); in SimplifyDemandedUseBits() 856 llvm::computeKnownBits(I, Known, Depth, Q); in SimplifyDemandedUseBits() [all …]
|
H A D | InstCombineCasts.cpp | 308 llvm::computeKnownBits(I->getOperand(1), IC.getDataLayout()); in canEvaluateTruncated() 323 llvm::computeKnownBits(I->getOperand(1), IC.getDataLayout()); in canEvaluateTruncated() 341 llvm::computeKnownBits(I->getOperand(1), IC.getDataLayout()); in canEvaluateTruncated() 959 KnownBits Known = computeKnownBits(Cmp->getOperand(0), 0, &Zext); in transformZExtICmp() 1321 KnownBits Known = computeKnownBits(Op0, 0, &Sext); in transformSExtICmp() 1700 KnownBits SrcKnown = IC.computeKnownBits(Src, 0, &I); in isKnownExactCastIntToFP()
|
H A D | InstCombineShifts.cpp | 984 KnownBits KnownCnt = computeKnownBits(I.getOperand(1), /* Depth */ 0, Q); in setShiftFlags() 990 KnownBits KnownAmt = computeKnownBits(I.getOperand(0), /* Depth */ 0, Q); in setShiftFlags() 1292 computeKnownBits(X, /*Depth=*/0, &I).countMaxActiveBits() <= 1 && in visitLShr() 1293 computeKnownBits(Y, /*Depth=*/0, &I).countMaxActiveBits() <= 1) in visitLShr()
|
H A D | InstCombineCalls.cpp | 590 KnownBits Known = IC.computeKnownBits(Op0, 0, &II); in foldCttzCtlz() 674 IC.computeKnownBits(Op0, Known, 0, &II); in foldCtpop() 1045 KnownBits Known = computeKnownBits(Op, /*Depth=*/0, SQ); in getKnownSign() 1949 KnownBits Known = computeKnownBits(IIOperand, 0, II); in visitCallInst() 2866 uint64_t Bytes1 = computeKnownBits(Bytes, 0, Op0).One.getZExtValue(); in visitCallInst() 2867 uint64_t Mask1 = computeKnownBits(Mask, 0, II).One.getZExtValue(); in visitCallInst() 3156 computeKnownBits(IIOperand, Known, 0, II); in visitCallInst()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ValueTracking.cpp | 150 static void computeKnownBits(const Value *V, const APInt &DemandedElts, 154 void llvm::computeKnownBits(const Value *V, KnownBits &Known, unsigned Depth, in computeKnownBits() function in llvm 162 ::computeKnownBits(V, DemandedElts, Known, Depth, Q); in computeKnownBits() 165 void llvm::computeKnownBits(const Value *V, KnownBits &Known, in computeKnownBits() function in llvm 169 computeKnownBits( in computeKnownBits() 174 KnownBits llvm::computeKnownBits(const Value *V, const DataLayout &DL, in computeKnownBits() function in llvm 178 return computeKnownBits( in computeKnownBits() 182 KnownBits llvm::computeKnownBits(const Value *V, const APInt &DemandedElts, in computeKnownBits() function in llvm 186 return computeKnownBits( in computeKnownBits() 286 return computeKnownBits(V, Depth, SQ).isNonNegative(); in isKnownNonNegative() [all …]
|
H A D | DemandedBits.cpp | 74 computeKnownBits(V1, Known, DL, 0, &AC, UserI, &DT); in determineLiveOperandBits() 78 computeKnownBits(V2, Known2, DL, 0, &AC, UserI, &DT); in determineLiveOperandBits()
|
H A D | InstructionSimplify.cpp | 816 KnownBits Known = computeKnownBits(Op1, /* Depth */ 0, Q); in simplifySubInst() 1068 computeKnownBits(X, /* Depth */ 0, Q).getMaxValue().ult(*C)) in isDivZero() 1130 KnownBits Known = computeKnownBits(Op1, /* Depth */ 0, Q); in simplifyDivRem() 1200 KnownBits KnownOp0 = computeKnownBits(Op0, /* Depth */ 0, Q); in simplifyDiv() 1387 KnownBits KnownAmt = computeKnownBits(Op1, /* Depth */ 0, Q); in simplifyShift() 1400 KnownBits KnownVal = computeKnownBits(Op0, /* Depth */ 0, Q); in simplifyShift() 1436 KnownBits Op0Known = computeKnownBits(Op0, /* Depth */ 0, Q); in simplifyRightShift() 1508 const KnownBits YKnown = computeKnownBits(Y, /* Depth */ 0, Q); in simplifyLShrInst() 2129 KnownBits Known = computeKnownBits(Shift, /* Depth */ 0, Q); in simplifyAndInst() 2193 const KnownBits YKnown = computeKnownBits(Y, /* Depth */ 0, Q); in simplifyAndInst() [all …]
|
H A D | Lint.cpp | 521 computeKnownBits(V, DL, 0, AC, dyn_cast<Instruction>(V), DT); in isZero() 541 KnownBits Known = computeKnownBits(Elem, DL); in isZero()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
H A D | AggressiveInstCombineInternal.h | 111 KnownBits computeKnownBits(const Value *V) const { in computeKnownBits() function 112 return llvm::computeKnownBits(V, DL, /*Depth=*/0, &AC, in computeKnownBits()
|
H A D | TruncInstCombine.cpp | 310 KnownBits KnownRHS = computeKnownBits(I->getOperand(1)); in getBestTruncatedType() 317 KnownBits KnownLHS = computeKnownBits(I->getOperand(0)); in getBestTruncatedType() 333 KnownBits Known = computeKnownBits(Op); in getBestTruncatedType()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAG.cpp | 2693 return Mask.isSubsetOf(computeKnownBits(V, Depth).Zero); in MaskedValueIsZero() 2702 return Mask.isSubsetOf(computeKnownBits(V, DemandedElts, Depth).Zero); in MaskedValueIsZero() 2709 return computeKnownBits(V, DemandedElts, Depth).isZero(); in MaskedVectorIsZero() 2715 return Mask.isSubsetOf(computeKnownBits(V, Depth).One); in MaskedValueIsAllOnes() 3055 KnownBits KnownAmt = computeKnownBits(V.getOperand(1), DemandedElts, Depth); in getValidShiftAmountRange() 3129 KnownBits SelectionDAG::computeKnownBits(SDValue Op, unsigned Depth) const { in computeKnownBits() function in SelectionDAG 3138 return computeKnownBits(Op, DemandedElts, Depth); in computeKnownBits() 3144 KnownBits SelectionDAG::computeKnownBits(SDValue Op, const APInt &DemandedElts, in computeKnownBits() function in SelectionDAG 3174 return computeKnownBits(Op.getOperand(Op.getResNo()), DemandedElts, in computeKnownBits() 3182 Known = computeKnownBits(SrcOp, Depth + 1).trunc(BitWidth); in computeKnownBits() [all …]
|
H A D | TargetLowering.cpp | 759 LHSKnown = DAG.computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in SimplifyMultipleUseDemandedBits() 760 RHSKnown = DAG.computeKnownBits(Op.getOperand(1), DemandedElts, Depth + 1); in SimplifyMultipleUseDemandedBits() 772 LHSKnown = DAG.computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in SimplifyMultipleUseDemandedBits() 773 RHSKnown = DAG.computeKnownBits(Op.getOperand(1), DemandedElts, Depth + 1); in SimplifyMultipleUseDemandedBits() 785 LHSKnown = DAG.computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in SimplifyMultipleUseDemandedBits() 786 RHSKnown = DAG.computeKnownBits(Op.getOperand(1), DemandedElts, Depth + 1); in SimplifyMultipleUseDemandedBits() 1017 DAG.computeKnownBits(ExtOpA, DemandedElts, Depth).countMinLeadingZeros(); in combineShiftToAVG() 1019 DAG.computeKnownBits(ExtOpB, DemandedElts, Depth).countMinLeadingZeros(); in combineShiftToAVG() 1186 Known = TLO.DAG.computeKnownBits(Op, DemandedElts, Depth); in SimplifyDemandedBits() 1203 Known = TLO.DAG.computeKnownBits(Op, DemandedElts, Depth); in SimplifyDemandedBits() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/ |
H A D | InstCombiner.h | 431 void computeKnownBits(const Value *V, KnownBits &Known, unsigned Depth, in computeKnownBits() function 433 llvm::computeKnownBits(V, Known, Depth, SQ.getWithInstruction(CxtI)); in computeKnownBits() 436 KnownBits computeKnownBits(const Value *V, unsigned Depth, in computeKnownBits() function 438 return llvm::computeKnownBits(V, Depth, SQ.getWithInstruction(CxtI)); in computeKnownBits()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | ValueTracking.h | 58 void computeKnownBits(const Value *V, KnownBits &Known, const DataLayout &DL, 65 KnownBits computeKnownBits(const Value *V, const DataLayout &DL, 72 KnownBits computeKnownBits(const Value *V, const APInt &DemandedElts, 79 KnownBits computeKnownBits(const Value *V, const APInt &DemandedElts, 82 KnownBits computeKnownBits(const Value *V, unsigned Depth, 85 void computeKnownBits(const Value *V, KnownBits &Known, unsigned Depth,
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | InferAlignment.cpp | 73 KnownBits Known = computeKnownBits(PtrOp, DL, 0, &AC, &I, &DT); in inferAlignment()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyISelDAGToDAG.cpp | 381 KnownBits Known0 = CurDAG->computeKnownBits(N->getOperand(0), 0); in SelectAddrOperands() 382 KnownBits Known1 = CurDAG->computeKnownBits(N->getOperand(1), 0); in SelectAddrOperands()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsISelDAGToDAG.cpp | 343 KnownBits Known = CurDAG->computeKnownBits(N->getOperand(0)); in isUnneededShiftMask()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | BypassSlowDivision.cpp | 239 computeKnownBits(V, Known, DL); in getValueRange()
|
H A D | LowerSwitch.cpp | 411 KnownBits Known = computeKnownBits(Val, DL, /*Depth=*/0, AC, SI); in ProcessSwitchInst()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
H A D | LoongArchISelDAGToDAG.cpp | 252 KnownBits Known = CurDAG->computeKnownBits(N->getOperand(0)); in selectShiftMask()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86PartialReduction.cpp | 97 computeKnownBits(LHS, *DL).countMaxActiveBits() <= 8) && in matchVPDPBUSDPattern()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULateCodeGenPrepare.cpp | 78 KnownBits Known = computeKnownBits(V, *DL, 0, AC); in isDWORDAligned()
|
H A D | AMDGPUTargetTransformInfo.cpp | 982 return computeKnownBits(Mask, DL).countMinTrailingZeros() >= in isAlwaysUniform() 1067 KnownBits Known = computeKnownBits(MaskOp, DL, 0, nullptr, II); in rewriteIntrinsicWithAddressSpace()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/ |
H A D | XCoreISelLowering.cpp | 398 KnownBits Known = DAG.computeKnownBits(Value); in isWordAligned() 1562 KnownBits Known = DAG.computeKnownBits(N2); in PerformDAGCombine() 1584 KnownBits Known = DAG.computeKnownBits(N2); in PerformDAGCombine() 1599 KnownBits Known = DAG.computeKnownBits(N2); in PerformDAGCombine()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZISelDAGToDAG.cpp | 768 KnownBits Known = CurDAG->computeKnownBits(Op.getOperand(0)); in detectOrAndInsertion() 828 KnownBits Known = CurDAG->computeKnownBits(Input); in expandRxSBG() 851 KnownBits Known = CurDAG->computeKnownBits(Input); in expandRxSBG()
|