Searched refs:LeadZ (Results 1 – 8 of 8) sorted by relevance
/external/llvm-project/llvm/lib/Support/ |
D | KnownBits.cpp | 296 unsigned LeadZ = in computeForMul() local 300 LeadZ = std::min(LeadZ, BitWidth); in computeForMul() 364 Res.Zero.setHighBits(LeadZ); in computeForMul() 378 unsigned LeadZ = LHS.countMinLeadingZeros(); in udiv() local 382 LeadZ = std::min(BitWidth, LeadZ + BitWidth - RHSMaxLeadingZeros - 1); in udiv() 384 Known.Zero.setHighBits(LeadZ); in udiv()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | GISelKnownBits.cpp | 247 unsigned LeadZ = in computeKnownBitsImpl() local 254 Known.Zero.setHighBits(std::min(LeadZ, BitWidth)); in computeKnownBitsImpl()
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 354 unsigned LeadZ = std::max(KnownZero.countLeadingOnes() + in computeKnownBitsMul() local 359 LeadZ = std::min(LeadZ, BitWidth); in computeKnownBitsMul() 361 APInt::getHighBitsSet(BitWidth, LeadZ); in computeKnownBitsMul() 940 unsigned LeadZ = KnownZero2.countLeadingOnes(); in computeKnownBitsFromOperator() local 947 LeadZ = std::min(BitWidth, in computeKnownBitsFromOperator() 948 LeadZ + BitWidth - RHSUnknownLeadingOnes - 1); in computeKnownBitsFromOperator() 950 KnownZero = APInt::getHighBitsSet(BitWidth, LeadZ); in computeKnownBitsFromOperator()
|
/external/llvm-project/llvm/include/llvm/ADT/ |
D | APInt.h | 526 unsigned LeadZ = countLeadingZerosSlowCase(); 527 return (Ones + LeadZ + countTrailingZeros()) == BitWidth;
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | APInt.h | 525 unsigned LeadZ = countLeadingZerosSlowCase(); in isShiftedMask() local 526 return (Ones + LeadZ + countTrailingZeros()) == BitWidth; in isShiftedMask()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 358 unsigned LeadZ = std::max(Known.countMinLeadingZeros() + in computeKnownBitsMul() local 361 LeadZ = std::min(LeadZ, BitWidth); in computeKnownBitsMul() 425 Known.Zero.setHighBits(LeadZ); in computeKnownBitsMul() 1114 unsigned LeadZ = Known2.countMinLeadingZeros(); in computeKnownBitsFromOperator() local 1120 LeadZ = std::min(BitWidth, LeadZ + BitWidth - RHSMaxLeadingZeros - 1); in computeKnownBitsFromOperator() 1122 Known.Zero.setHighBits(LeadZ); in computeKnownBitsFromOperator()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 2080 unsigned LeadZ = std::max(KnownZero.countLeadingOnes() + in computeKnownBits() local 2085 LeadZ = std::min(LeadZ, BitWidth); in computeKnownBits() 2087 APInt::getHighBitsSet(BitWidth, LeadZ); in computeKnownBits() 2095 unsigned LeadZ = KnownZero2.countLeadingOnes(); in computeKnownBits() local 2102 LeadZ = std::min(BitWidth, in computeKnownBits() 2103 LeadZ + BitWidth - RHSUnknownLeadingOnes - 1); in computeKnownBits() 2105 KnownZero = APInt::getHighBitsSet(BitWidth, LeadZ); in computeKnownBits()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 2798 unsigned LeadZ = std::max(Known.countMinLeadingZeros() + in computeKnownBits() local 2804 Known.Zero.setHighBits(std::min(LeadZ, BitWidth)); in computeKnownBits() 2812 unsigned LeadZ = Known2.countMinLeadingZeros(); in computeKnownBits() local 2817 LeadZ = std::min(BitWidth, LeadZ + BitWidth - RHSMaxLeadingZeros - 1); in computeKnownBits() 2819 Known.Zero.setHighBits(LeadZ); in computeKnownBits()
|