Searched refs:countPopulation (Results 1 – 24 of 24) sorted by relevance
/external/llvm/unittests/ADT/ |
D | APIntTest.cpp | 38 EXPECT_EQ(128u, Minus1.countPopulation()); in TEST() 51 EXPECT_EQ(32u, i33minus2.countPopulation()); in TEST() 65 EXPECT_EQ(0u, i65.countPopulation()); in TEST() 73 EXPECT_EQ(1u, i65minus.countPopulation()); in TEST() 83 EXPECT_EQ(128u, u128max.countPopulation()); in TEST() 91 EXPECT_EQ(64u, u64max.countPopulation()); in TEST() 100 EXPECT_EQ(0u, zero.countPopulation()); in TEST() 110 EXPECT_EQ(1u, one.countPopulation()); in TEST()
|
/external/llvm/include/llvm/ADT/ |
D | APInt.h | 355 : !isNegative() && countPopulation() == BitWidth - 1; in isMaxSignedValue() 1408 unsigned countPopulation() const { in countPopulation() function 1410 return llvm::countPopulation(VAL); in countPopulation()
|
D | SmallBitVector.h | 185 return countPopulation(Bits); in count()
|
D | BitVector.h | 124 NumBits += countPopulation(Bits[i]); in count()
|
D | SparseBitVector.h | 127 NumBits += countPopulation(Bits[i]);
|
/external/llvm/lib/Target/Mips/ |
D | MipsSEISelDAGToDAG.cpp | 635 Imm = CurDAG->getTargetConstant(ImmValue.countPopulation(), EltTy); in selectVSplatMaskL() 666 Imm = CurDAG->getTargetConstant(ImmValue.countPopulation(), EltTy); in selectVSplatMaskR()
|
D | MipsISelLowering.cpp | 73 Size = countPopulation(I); in isShiftedMask()
|
/external/llvm/include/llvm/Support/ |
D | MathExtras.h | 445 inline unsigned countPopulation(T Value) {
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZSelectionDAGInfo.cpp | 106 Bytes <= 16 && countPopulation(Bytes) <= 2 : in EmitTargetCodeForMemset()
|
/external/llvm/lib/Target/R600/ |
D | AMDGPUISelDAGToDAG.cpp | 1206 uint32_t WidthVal = countPopulation(MaskVal); in SelectS_BFE() 1227 uint32_t WidthVal = countPopulation(MaskVal); in SelectS_BFE()
|
D | AMDGPUInstructions.td | 586 return CurDAG->getTargetConstant(countPopulation(N->getZExtValue()),
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 1948 unsigned PopCount = countPopulation(B.Mask); in visitBitTestCase() 2142 if (BigValue.countPopulation() == SmallValue.countPopulation() + 1 && in handleSmallSwitchRange() 2147 CommonBit.countPopulation() == 1 && "Not a common bit?"); in handleSmallSwitchRange() 4400 countPopulation(Val) + Log2_32(Val) < 7) { in ExpandPowI()
|
D | TargetLowering.cpp | 1155 return (KnownZero.countPopulation() == BitWidth - 1) && in ValueHasExactlyOneBitSet() 1156 (KnownOne.countPopulation() == 1); in ValueHasExactlyOneBitSet()
|
D | DAGCombiner.cpp | 9242 unsigned SliceSize = getUsedBits().countPopulation(); in getLoadedSize() 12811 if (ConstAndRHS && ConstAndRHS->getAPIntValue().countPopulation() == 1) { in SimplifySelectCC()
|
D | SelectionDAG.cpp | 2772 return getConstant(Val.countPopulation(), VT, C->isTargetOpcode(), in getNode()
|
/external/llvm/lib/Target/X86/ |
D | X86FloatingPoint.cpp | 901 assert(StackTop == countPopulation(Mask) && "Live count mismatch"); in adjustLiveRegs()
|
D | X86ISelLowering.cpp | 22273 uint64_t MaskSize = countPopulation(Mask); in PerformAndCombine()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 872 if (Op1MaybeOne.countPopulation() != 1) in checkRippleForAdd()
|
D | InstCombineAndOrXor.cpp | 384 Mask->getValue().countPopulation()) == in FoldLogicalPlusAnd() 404 Mask->getValue().countPopulation()) == Mask->getValue().getBitWidth() in FoldLogicalPlusAnd()
|
D | InstCombineCasts.cpp | 605 if (UnknownBit.countPopulation() == 1) { in transformZExtICmp()
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 1542 return ConstantInt::get(Ty, Op->getValue().countPopulation()); in ConstantFoldScalarCall()
|
/external/llvm/lib/Support/ |
D | APInt.cpp | 774 Count += llvm::countPopulation(pVal[i]); in countPopulationSlowCase()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonISelLowering.cpp | 987 return DAG.getTargetConstant(countPopulation(V), MVT::i64); in LowerCTPOP()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 6377 return Success(Val.countPopulation() % 2, E); in VisitCallExpr() 6387 return Success(Val.countPopulation(), E); in VisitCallExpr()
|