/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | KnownBits.h | 237 unsigned countMinLeadingZeros() const { return Zero.countl_one(); } in countMinLeadingZeros() function 246 return countMinLeadingZeros(); in countMinSignBits() 286 return getBitWidth() - countMinLeadingZeros(); in countMaxActiveBits()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | KnownBits.cpp | 583 KnownAbs.One.setBits(getBitWidth() - Tmp.countMinLeadingZeros(), in abs() 692 std::max(LHS.countMinLeadingZeros(), RHS.countMinLeadingOnes()); in computeForSatAddSub() 1054 std::max(LHS.countMinLeadingZeros(), RHS.countMinLeadingZeros()); in urem() 1080 Known.Zero.setHighBits(LHS.countMinLeadingZeros()); in srem()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUPostLegalizerCombiner.cpp | 424 if (KB->getKnownBits(Src1).countMinLeadingZeros() >= 32 && in matchCombine_s_mul_u64() 425 KB->getKnownBits(Src0).countMinLeadingZeros() >= 32) { in matchCombine_s_mul_u64()
|
H A D | SIISelLowering.cpp | 4126 const bool UseReducedTable = KB.countMinLeadingZeros() >= 30; in lowerSET_ROUNDING() 6789 unsigned Op0LeadingZeros = Op0KnownBits.countMinLeadingZeros(); in lowerMUL() 6791 unsigned Op1LeadingZeros = Op1KnownBits.countMinLeadingZeros(); in lowerMUL() 13987 bool S0IsUnsigned = Known0.countMinLeadingZeros() > 0; in checkDot4MulSignedness() 13990 bool S1IsUnsigned = Known1.countMinLeadingZeros() > 0; in checkDot4MulSignedness()
|
H A D | AMDGPUISelLowering.cpp | 4026 unsigned LZ = Known.countMinLeadingZeros(); in performShlCombine()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | BypassSlowDivision.cpp | 241 if (Known.countMinLeadingZeros() >= HiBits) in getValueRange()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyInstrInfo.td | 230 return CurDAG->computeKnownBits(SDValue(N, 0)).countMinLeadingZeros() == 31;
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineShifts.cpp | 995 if (!I.hasNoUnsignedWrap() && MaxCnt <= KnownAmt.countMinLeadingZeros()) { in setShiftFlags()
|
H A D | InstructionCombining.cpp | 1494 IntSz - OpsKnown[OpNo].getKnownBits(SQ).countMinLeadingZeros(); in foldFBinOpOfIntCastsFromSign() 3828 unsigned LeadingKnownZeros = Known.countMinLeadingZeros(); in visitSwitchInst()
|
H A D | InstCombineCalls.cpp | 598 : Known.countMinLeadingZeros(); in foldCttzCtlz() 1952 uint64_t LZ = alignDown(Known.countMinLeadingZeros(), 8); in visitCallInst()
|
H A D | InstCombineCompares.cpp | 1777 Know.countMinLeadingZeros()); in foldICmpAndConstConst() 4617 unsigned MinLeadZero = Known.countMinLeadingZeros(); in foldShiftIntoShiftInAnotherHandOfAndInICmp() 4628 unsigned MinLeadZero = Known.countMinLeadingZeros(); in foldShiftIntoShiftInAnotherHandOfAndInICmp()
|
H A D | InstCombineCasts.cpp | 1702 SrcKnown.countMinLeadingZeros() - in isKnownExactCastIntToFP()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 1017 DAG.computeKnownBits(ExtOpA, DemandedElts, Depth).countMinLeadingZeros(); in combineShiftToAVG() 1019 DAG.computeKnownBits(ExtOpB, DemandedElts, Depth).countMinLeadingZeros(); in combineShiftToAVG() 1877 if (bool IsNUW = (Known.countMinLeadingZeros() >= HalfWidth)) { in SimplifyDemandedBits() 6486 unsigned KnownLeadingZeros = DAG.computeKnownBits(N0).countMinLeadingZeros(); in BuildUDIV() 9320 (!IsSigned && DAG.computeKnownBits(LHS).countMinLeadingZeros() >= 1 && in expandAVG() 9321 DAG.computeKnownBits(RHS).countMinLeadingZeros() >= 1); in expandAVG() 10804 : DAG.computeKnownBits(LHS).countMinLeadingZeros(); in expandFixedPointDiv()
|
H A D | SelectionDAGBuilder.cpp | 925 unsigned NumZeroBits = LOI->Known.countMinLeadingZeros(); in getCopyFromRegs()
|
H A D | DAGCombiner.cpp | 10913 DAG.computeKnownBits(N0).countMinLeadingZeros())) in visitSHLSAT() 11195 Amt.ule(KnownSrc.countMinLeadingZeros()))) { in visitCTPOP()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonLoopIdiomRecognition.cpp | 1269 return Known.countMinLeadingZeros() >= IterCount; in highBitsAreZero()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | CombinerHelper.cpp | 2526 return KB->getKnownBits(Reg).countMinLeadingZeros() >= DstSize - SrcSize; in matchCombineZextTrunc() 5235 KB ? KB->getKnownBits(LHS).countMinLeadingZeros() : 0; in buildUDivUsingMul()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/ |
H A D | M68kISelLowering.cpp | 1695 if (Known.countMinLeadingZeros() < BitWidth - AndBitWidth) in LowerAndToBTST()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ValueTracking.cpp | 1449 Known.Zero.setHighBits(Known2.countMinLeadingZeros()); in computeKnownBitsFromOperator() 1453 Known.Zero.setHighBits(Known2.countMinLeadingZeros()); in computeKnownBitsFromOperator()
|
H A D | InstructionSimplify.cpp | 1144 if (Known.countMinLeadingZeros() == Known.getBitWidth() - 1) in simplifyDivRem()
|
H A D | ScalarEvolution.cpp | 6526 if (TotalShift.ult(KnownStart.countMinLeadingZeros())) in getRangeForUnknownRecurrence()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 10191 (DAG.computeKnownBits(Src).countMinLeadingZeros() >= EltSizeInBits))) in lowerShuffleWithVPMOV() 20491 if ((NumSrcEltBits - NumPackedZeroBits) <= Known.countMinLeadingZeros()) { in matchTruncateWithPACK() 22993 if (Known.countMinLeadingZeros() < BitWidth - AndBitWidth) in LowerAndToBT() 31374 unsigned LZ = Known.countMinLeadingZeros(); in LowerCTPOP() 32558 unsigned LZ = Known.countMinLeadingZeros(); in ReplaceNodeResults() 37292 if (Known.countMinLeadingZeros() < BitWidth) in computeKnownBitsForTargetNode() 38190 unsigned MinLZV1 = DAG.computeKnownBits(V1).countMinLeadingZeros(); in matchBinaryShuffle() 38191 unsigned MinLZV2 = DAG.computeKnownBits(V2).countMinLeadingZeros(); in matchBinaryShuffle() 54554 unsigned ShiftAmt = KnownLHS.countMinLeadingZeros(); in combineMOVMSK() 54557 ShiftAmt == KnownRHS.countMinLeadingZeros()))) { in combineMOVMSK() [all …]
|