Home
last modified time | relevance | path

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/
DKnownBits.h171 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/
DGISelKnownBits.cpp199 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/
DValueTracking.cpp358 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 …]
DInstructionSimplify.cpp1368 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/
DBypassSlowDivision.cpp244 if (Known.countMinLeadingZeros() >= HiBits) in getValueRange()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp417 return ScalarSize - Known.countMinLeadingZeros(); in numBitsUnsigned()
DAMDGPUISelLowering.cpp54 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/
DSelectionDAG.cpp2798 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()
DTargetLowering.cpp7330 : DAG.computeKnownBits(LHS).countMinLeadingZeros(); in expandFixedPointDiv()
DSelectionDAGBuilder.cpp851 unsigned NumZeroBits = LOI->Known.countMinLeadingZeros(); in getCopyFromRegs()
DDAGCombiner.cpp10820 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/
DInstCombineSimplifyDemanded.cpp681 unsigned Leaders = Known2.countMinLeadingZeros(); in SimplifyDemandedUseBits()
DInstCombineCompares.cpp3589 unsigned MinLeadZero = Known.countMinLeadingZeros(); in foldShiftIntoShiftInAnotherHandOfAndInICmp()
3600 unsigned MinLeadZero = Known.countMinLeadingZeros(); in foldShiftIntoShiftInAnotherHandOfAndInICmp()
DInstructionCombining.cpp2659 unsigned LeadingKnownZeros = Known.countMinLeadingZeros(); in visitSwitchInst()
DInstCombineCalls.cpp1226 : Known.countMinLeadingZeros(); in foldCttzCtlz()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonLoopIdiomRecognition.cpp1260 return Known.countMinLeadingZeros() >= IterCount; in highBitsAreZero()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp19961 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()