Home
last modified time | relevance | path

Searched refs:LeadZ (Results 1 – 7 of 7) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Analysis/
DValueTracking.cpp214 unsigned LeadZ = std::max(KnownZero.countLeadingOnes() + in ComputeMaskedBits() local
219 LeadZ = std::min(LeadZ, BitWidth); in ComputeMaskedBits()
221 APInt::getHighBitsSet(BitWidth, LeadZ); in ComputeMaskedBits()
232 unsigned LeadZ = KnownZero2.countLeadingOnes(); in ComputeMaskedBits() local
240 LeadZ = std::min(BitWidth, in ComputeMaskedBits()
241 LeadZ + BitWidth - RHSUnknownLeadingOnes - 1); in ComputeMaskedBits()
243 KnownZero = APInt::getHighBitsSet(BitWidth, LeadZ) & Mask; in ComputeMaskedBits()
/external/llvm/lib/Analysis/
DValueTracking.cpp354 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAPInt.h520 unsigned LeadZ = countLeadingZerosSlowCase(); in isShiftedMask() local
521 return (Ones + LeadZ + countTrailingZeros()) == BitWidth; in isShiftedMask()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DValueTracking.cpp349 unsigned LeadZ = std::max(Known.countMinLeadingZeros() + in computeKnownBitsMul() local
352 LeadZ = std::min(LeadZ, BitWidth); in computeKnownBitsMul()
416 Known.Zero.setHighBits(LeadZ); in computeKnownBitsMul()
1027 unsigned LeadZ = Known2.countMinLeadingZeros(); in computeKnownBitsFromOperator() local
1033 LeadZ = std::min(BitWidth, LeadZ + BitWidth - RHSMaxLeadingZeros - 1); in computeKnownBitsFromOperator()
1035 Known.Zero.setHighBits(LeadZ); in computeKnownBitsFromOperator()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp1681 unsigned LeadZ = std::max(KnownZero.countLeadingOnes() + in ComputeMaskedBits() local
1686 LeadZ = std::min(LeadZ, BitWidth); in ComputeMaskedBits()
1688 APInt::getHighBitsSet(BitWidth, LeadZ); in ComputeMaskedBits()
1699 unsigned LeadZ = KnownZero2.countLeadingOnes(); in ComputeMaskedBits() local
1707 LeadZ = std::min(BitWidth, in ComputeMaskedBits()
1708 LeadZ + BitWidth - RHSUnknownLeadingOnes - 1); in ComputeMaskedBits()
1710 KnownZero = APInt::getHighBitsSet(BitWidth, LeadZ) & Mask; in ComputeMaskedBits()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp2080 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-7.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp2493 unsigned LeadZ = std::max(Known.countMinLeadingZeros() + in computeKnownBits() local
2499 Known.Zero.setHighBits(std::min(LeadZ, BitWidth)); in computeKnownBits()
2507 unsigned LeadZ = Known2.countMinLeadingZeros(); in computeKnownBits() local
2512 LeadZ = std::min(BitWidth, LeadZ + BitWidth - RHSMaxLeadingZeros - 1); in computeKnownBits()
2514 Known.Zero.setHighBits(LeadZ); in computeKnownBits()