Searched refs:countMinLeadingZeros (Results 1 – 17 of 17) sorted by relevance
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | KnownBits.h | 171 unsigned countMinLeadingZeros() const { in countMinLeadingZeros() function 184 return countMinLeadingZeros(); in countMinSignBits()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | GISelKnownBits.cpp | 199 unsigned KnownZeroHigh = Known2.countMinLeadingZeros(); in computeKnownBitsImpl() 203 KnownZeroHigh = std::min(KnownZeroHigh, Known2.countMinLeadingZeros()); in computeKnownBitsImpl() 248 std::max(Known.countMinLeadingZeros() + Known2.countMinLeadingZeros(), in computeKnownBitsImpl()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 358 unsigned LeadZ = std::max(Known.countMinLeadingZeros() + in computeKnownBitsMul() 359 Known2.countMinLeadingZeros(), in computeKnownBitsMul() 902 Known.Zero.setHighBits(RHSKnown.countMinLeadingZeros()); in computeKnownBitsFromAssume() 923 Known.Zero.setHighBits(RHSKnown.countMinLeadingZeros() + 1); in computeKnownBitsFromAssume() 925 Known.Zero.setHighBits(RHSKnown.countMinLeadingZeros()); in computeKnownBitsFromAssume() 1114 unsigned LeadZ = Known2.countMinLeadingZeros(); in computeKnownBitsFromOperator() 1153 MaxHighZeros = std::max(Known.countMinLeadingZeros(), in computeKnownBitsFromOperator() 1154 Known2.countMinLeadingZeros()); in computeKnownBitsFromOperator() 1167 std::max(Known.countMinLeadingZeros(), Known2.countMinLeadingZeros()); in computeKnownBitsFromOperator() 1353 std::max(Known.countMinLeadingZeros(), Known2.countMinLeadingZeros()); in computeKnownBitsFromOperator() [all …]
|
D | InstructionSimplify.cpp | 1368 const unsigned EffWidthY = Width - YKnown.countMinLeadingZeros(); in SimplifyLShrInst() 2075 const unsigned EffWidthY = Width - YKnown.countMinLeadingZeros(); in SimplifyAndInst() 2079 const unsigned EffWidthX = Width - XKnown.countMinLeadingZeros(); in SimplifyAndInst()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | BypassSlowDivision.cpp | 244 if (Known.countMinLeadingZeros() >= HiBits) in getValueRange()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUCodeGenPrepare.cpp | 417 return ScalarSize - Known.countMinLeadingZeros(); in numBitsUnsigned()
|
D | AMDGPUISelLowering.cpp | 54 return VT.getSizeInBits() - Known.countMinLeadingZeros(); in numBitsUnsigned() 3082 unsigned LZ = Known.countMinLeadingZeros(); in performShlCombine() 3257 (Known.getBitWidth() - Known.countMinLeadingZeros() <= Log2_32(Size))) { in performTruncateCombine() 4495 unsigned LHSValBits = 24 - LHSKnown.countMinLeadingZeros(); in computeKnownBitsForTargetNode() 4496 unsigned RHSValBits = 24 - RHSKnown.countMinLeadingZeros(); in computeKnownBitsForTargetNode()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 2798 unsigned LeadZ = std::max(Known.countMinLeadingZeros() + in computeKnownBits() 2799 Known2.countMinLeadingZeros(), in computeKnownBits() 2812 unsigned LeadZ = Known2.countMinLeadingZeros(); in computeKnownBits() 2904 Known.Zero = APInt::getHighBitsSet(BitWidth, Known.countMinLeadingZeros()); in computeKnownBits() 3227 std::max(Known.countMinLeadingZeros(), Known2.countMinLeadingZeros()); in computeKnownBits() 3342 unsigned LeadZero = Known.countMinLeadingZeros(); in computeKnownBits() 3343 LeadZero = std::max(LeadZero, Known2.countMinLeadingZeros()); in computeKnownBits()
|
D | TargetLowering.cpp | 7330 : DAG.computeKnownBits(LHS).countMinLeadingZeros(); in expandFixedPointDiv()
|
D | SelectionDAGBuilder.cpp | 851 unsigned NumZeroBits = LOI->Known.countMinLeadingZeros(); in getCopyFromRegs()
|
D | DAGCombiner.cpp | 10820 if (Known.getBitWidth() - Known.countMinLeadingZeros() <= Log2_32(Size)) { in visitTRUNCATE()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 681 unsigned Leaders = Known2.countMinLeadingZeros(); in SimplifyDemandedUseBits()
|
D | InstCombineCompares.cpp | 3589 unsigned MinLeadZero = Known.countMinLeadingZeros(); in foldShiftIntoShiftInAnotherHandOfAndInICmp() 3600 unsigned MinLeadZero = Known.countMinLeadingZeros(); in foldShiftIntoShiftInAnotherHandOfAndInICmp()
|
D | InstructionCombining.cpp | 2659 unsigned LeadingKnownZeros = Known.countMinLeadingZeros(); in visitSwitchInst()
|
D | InstCombineCalls.cpp | 1226 : Known.countMinLeadingZeros(); in foldCttzCtlz()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonLoopIdiomRecognition.cpp | 1260 return Known.countMinLeadingZeros() >= IterCount; in highBitsAreZero()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 19961 if ((InNumEltBits - NumPackedZeroBits) <= Known.countMinLeadingZeros()) in LowerTRUNCATE() 21094 if (Known.countMinLeadingZeros() < BitWidth - AndBitWidth) in LowerAndToBT() 32623 if (Known.countMinLeadingZeros() < BitWidth) in computeKnownBitsForTargetNode() 42169 unsigned NumLeadingZeroBits = Known.countMinLeadingZeros(); in combineVectorSignBitsTruncation() 45255 unsigned NumZeros = Known.countMinLeadingZeros(); in combineSubToSubus()
|