/external/llvm/lib/Target/Hexagon/MCTargetDesc/ |
H A D | HexagonShuffler.h | 47 return (countPopulation(A.getUnits()) < countPopulation(B.getUnits()));
|
H A D | HexagonShuffler.cpp | 41 HexagonBid(unsigned B) { Bid = B ? MAX / countPopulation(B) : 0; }; 93 (Key << (SlotWeight * s)) * ((MaskWeight - countPopulation(getUnits()))
|
/external/swiftshader/third_party/LLVM/unittests/ADT/ |
H A D | APIntTest.cpp | 38 EXPECT_EQ(128u, Minus1.countPopulation()); 51 EXPECT_EQ(32u, i33minus2.countPopulation()); 65 EXPECT_EQ(1u, i65minus.countPopulation()); 75 EXPECT_EQ(128u, u128max.countPopulation()); 83 EXPECT_EQ(64u, u64max.countPopulation()); 92 EXPECT_EQ(0u, zero.countPopulation()); 102 EXPECT_EQ(1u, one.countPopulation());
|
/external/llvm/lib/DebugInfo/PDB/Raw/ |
H A D | PublicsStream.cpp | 123 NumBuckets += countPopulation(B);
|
/external/llvm/unittests/ADT/ |
H A D | APIntTest.cpp | 46 EXPECT_EQ(128u, Minus1.countPopulation()); 59 EXPECT_EQ(32u, i33minus2.countPopulation()); 73 EXPECT_EQ(0u, i65.countPopulation()); 81 EXPECT_EQ(1u, i65minus.countPopulation()); 91 EXPECT_EQ(128u, u128max.countPopulation()); 99 EXPECT_EQ(64u, u64max.countPopulation()); 108 EXPECT_EQ(0u, zero.countPopulation()); 118 EXPECT_EQ(1u, one.countPopulation());
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
H A D | APInt.h | 213 /// out-of-line slow case for countPopulation 316 return countPopulation() == BitWidth; 323 return countPopulation() == BitWidth; 331 !isNegative() && countPopulation() == BitWidth - 1; 1237 /// countPopulation - This function is an APInt version of the 1243 unsigned countPopulation() const {
|
/external/llvm/include/llvm/ADT/ |
H A D | APInt.h | 219 /// out-of-line slow case for countPopulation 355 return !isNegative() && countPopulation() == BitWidth - 1; 1417 /// This function is an APInt version of the countPopulation functions 1421 unsigned countPopulation() const { 1423 return llvm::countPopulation(VAL);
|
H A D | SmallBitVector.h | 182 return countPopulation(Bits);
|
H A D | BitVector.h | 125 NumBits += countPopulation(Bits[i]);
|
H A D | SparseBitVector.h | 126 NumBits += countPopulation(Bits[i]);
|
/external/llvm/lib/Target/SystemZ/ |
H A D | SystemZSelectionDAGInfo.cpp | 97 Bytes <= 16 && countPopulation(Bytes) <= 2 :
|
/external/llvm/lib/Target/Mips/ |
H A D | MipsSEISelDAGToDAG.cpp | 659 Imm = CurDAG->getTargetConstant(ImmValue.countPopulation(), SDLoc(N), 691 Imm = CurDAG->getTargetConstant(ImmValue.countPopulation(), SDLoc(N),
|
/external/llvm/include/llvm/Support/ |
H A D | MathExtras.h | 469 /// Ex. countPopulation(0xF000F000) = 8 472 inline unsigned countPopulation(T Value) { function in namespace:llvm
|
/external/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUISelDAGToDAG.cpp | 1269 uint32_t WidthVal = countPopulation(MaskVal); 1291 uint32_t WidthVal = countPopulation(MaskVal);
|
H A D | SIRegisterInfo.cpp | 773 unsigned Count = countPopulation(getSubRegIndexLaneMask(SubIdx));
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
H A D | InstCombineAndOrXor.cpp | 422 Mask->getValue().countPopulation()) == 442 Mask->getValue().countPopulation()) == Mask->getValue().getBitWidth()
|
H A D | InstCombineCasts.cpp | 604 if (UnknownBit.countPopulation() == 1) {
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSimplifyDemanded.cpp | 1173 if (SubUndef.countPopulation() == Ratio)
|
H A D | InstCombineAddSub.cpp | 852 if (Op1MaybeOne.countPopulation() != 1)
|
H A D | InstCombineAndOrXor.cpp | 373 Mask->getValue().countPopulation()) == 393 Mask->getValue().countPopulation()) == Mask->getValue().getBitWidth()
|
/external/llvm/lib/Target/X86/ |
H A D | X86FloatingPoint.cpp | 900 assert(StackTop == countPopulation(Mask) && "Live count mismatch");
|
/external/llvm/lib/Transforms/Utils/ |
H A D | Local.cpp | 1822 unsigned NumMaskedBits = AndMask.countPopulation();
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
H A D | ConstantFolding.cpp | 1279 return ConstantInt::get(Ty, Op->getValue().countPopulation());
|
/external/llvm/lib/CodeGen/ |
H A D | MachinePipeliner.cpp | 1236 unsigned numAlternatives = countPopulation(funcUnits); 1256 if (countPopulation(FuncUnits) == 1)
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 1901 return (KnownZero.countPopulation() == BitWidth - 1) && 1902 (KnownOne.countPopulation() == 1);
|