Searched refs:countPopulation (Results 1 - 25 of 43) sorted by relevance

12

/external/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonShuffler.h47 return (countPopulation(A.getUnits()) < countPopulation(B.getUnits()));
H A DHexagonShuffler.cpp41 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 DAPIntTest.cpp38 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 DPublicsStream.cpp123 NumBuckets += countPopulation(B);
/external/llvm/unittests/ADT/
H A DAPIntTest.cpp46 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 DAPInt.h213 /// 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 DAPInt.h219 /// 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 DSmallBitVector.h182 return countPopulation(Bits);
H A DBitVector.h125 NumBits += countPopulation(Bits[i]);
H A DSparseBitVector.h126 NumBits += countPopulation(Bits[i]);
/external/llvm/lib/Target/SystemZ/
H A DSystemZSelectionDAGInfo.cpp97 Bytes <= 16 && countPopulation(Bytes) <= 2 :
/external/llvm/lib/Target/Mips/
H A DMipsSEISelDAGToDAG.cpp659 Imm = CurDAG->getTargetConstant(ImmValue.countPopulation(), SDLoc(N),
691 Imm = CurDAG->getTargetConstant(ImmValue.countPopulation(), SDLoc(N),
/external/llvm/include/llvm/Support/
H A DMathExtras.h469 /// Ex. countPopulation(0xF000F000) = 8
472 inline unsigned countPopulation(T Value) { function in namespace:llvm
/external/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelDAGToDAG.cpp1269 uint32_t WidthVal = countPopulation(MaskVal);
1291 uint32_t WidthVal = countPopulation(MaskVal);
H A DSIRegisterInfo.cpp773 unsigned Count = countPopulation(getSubRegIndexLaneMask(SubIdx));
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp422 Mask->getValue().countPopulation()) ==
442 Mask->getValue().countPopulation()) == Mask->getValue().getBitWidth()
H A DInstCombineCasts.cpp604 if (UnknownBit.countPopulation() == 1) {
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp1173 if (SubUndef.countPopulation() == Ratio)
H A DInstCombineAddSub.cpp852 if (Op1MaybeOne.countPopulation() != 1)
H A DInstCombineAndOrXor.cpp373 Mask->getValue().countPopulation()) ==
393 Mask->getValue().countPopulation()) == Mask->getValue().getBitWidth()
/external/llvm/lib/Target/X86/
H A DX86FloatingPoint.cpp900 assert(StackTop == countPopulation(Mask) && "Live count mismatch");
/external/llvm/lib/Transforms/Utils/
H A DLocal.cpp1822 unsigned NumMaskedBits = AndMask.countPopulation();
/external/swiftshader/third_party/LLVM/lib/Analysis/
H A DConstantFolding.cpp1279 return ConstantInt::get(Ty, Op->getValue().countPopulation());
/external/llvm/lib/CodeGen/
H A DMachinePipeliner.cpp1236 unsigned numAlternatives = countPopulation(funcUnits);
1256 if (countPopulation(FuncUnits) == 1)
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp1901 return (KnownZero.countPopulation() == BitWidth - 1) &&
1902 (KnownOne.countPopulation() == 1);

Completed in 549 milliseconds

12