/external/llvm/lib/Target/Hexagon/MCTargetDesc/ |
D | HexagonShuffler.h | 46 return (countPopulation(A.getUnits()) < countPopulation(B.getUnits())); in lessUnits()
|
D | HexagonShuffler.cpp | 41 HexagonBid(unsigned B) { Bid = B ? MAX / countPopulation(B) : 0; }; in HexagonBid() 93 (Key << (SlotWeight * s)) * ((MaskWeight - countPopulation(getUnits())) in setWeight()
|
/external/llvm/unittests/ADT/ |
D | APIntTest.cpp | 46 EXPECT_EQ(128u, Minus1.countPopulation()); in TEST() 59 EXPECT_EQ(32u, i33minus2.countPopulation()); in TEST() 73 EXPECT_EQ(0u, i65.countPopulation()); in TEST() 81 EXPECT_EQ(1u, i65minus.countPopulation()); in TEST() 91 EXPECT_EQ(128u, u128max.countPopulation()); in TEST() 99 EXPECT_EQ(64u, u64max.countPopulation()); in TEST() 108 EXPECT_EQ(0u, zero.countPopulation()); in TEST() 118 EXPECT_EQ(1u, one.countPopulation()); in TEST()
|
/external/llvm/include/llvm/ADT/ |
D | APInt.h | 355 return !isNegative() && countPopulation() == BitWidth - 1; in isMaxSignedValue() 1416 unsigned countPopulation() const { in countPopulation() function 1418 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 | 126 NumBits += countPopulation(Bits[i]);
|
/external/llvm/lib/Target/Mips/ |
D | MipsSEISelDAGToDAG.cpp | 643 Imm = CurDAG->getTargetConstant(ImmValue.countPopulation(), SDLoc(N), in selectVSplatMaskL() 675 Imm = CurDAG->getTargetConstant(ImmValue.countPopulation(), SDLoc(N), in selectVSplatMaskR()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZSelectionDAGInfo.cpp | 101 Bytes <= 16 && countPopulation(Bytes) <= 2 : in EmitTargetCodeForMemset()
|
/external/llvm/include/llvm/Support/ |
D | MathExtras.h | 449 inline unsigned countPopulation(T Value) {
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelDAGToDAG.cpp | 1321 uint32_t WidthVal = countPopulation(MaskVal); in SelectS_BFE() 1342 uint32_t WidthVal = countPopulation(MaskVal); in SelectS_BFE()
|
D | AMDGPUInstructions.td | 593 return CurDAG->getTargetConstant(countPopulation(N->getZExtValue()), SDLoc(N),
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 383 Mask->getValue().countPopulation()) == in FoldLogicalPlusAnd() 403 Mask->getValue().countPopulation()) == Mask->getValue().getBitWidth() in FoldLogicalPlusAnd() 1667 unsigned InputBitLen = BitMask.countPopulation(); in CollectBitParts()
|
D | InstCombineSimplifyDemanded.cpp | 1143 if (SubUndef.countPopulation() == Ratio) in SimplifyDemandedVectorElts()
|
D | InstCombineAddSub.cpp | 872 if (Op1MaybeOne.countPopulation() != 1) in checkRippleForAdd()
|
D | InstCombineCasts.cpp | 680 if (UnknownBit.countPopulation() == 1) { in transformZExtICmp()
|
/external/llvm/lib/Target/X86/ |
D | X86FloatingPoint.cpp | 891 assert(StackTop == countPopulation(Mask) && "Live count mismatch"); in adjustLiveRegs()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 1197 return (KnownZero.countPopulation() == BitWidth - 1) && in ValueHasExactlyOneBitSet() 1198 (KnownOne.countPopulation() == 1); in ValueHasExactlyOneBitSet()
|
D | SelectionDAGBuilder.cpp | 2050 unsigned PopCount = countPopulation(B.Mask); in visitBitTestCase() 4197 countPopulation(Val) + Log2_32(Val) < 7) { in ExpandPowI()
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 1594 return ConstantInt::get(Ty, Op->getValue().countPopulation()); in ConstantFoldScalarCall()
|
D | ValueTracking.cpp | 1504 unsigned BitsPossiblySet = BitWidth - KnownZero2.countPopulation(); in computeKnownBitsFromOperator()
|
/external/llvm/lib/Support/ |
D | APInt.cpp | 774 Count += llvm::countPopulation(pVal[i]); in countPopulationSlowCase()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonISelLowering.cpp | 1209 return DAG.getTargetConstant(countPopulation(V), dl, MVT::i64); in LowerCTPOP()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 6716 return Success(Val.countPopulation() % 2, E); in VisitCallExpr() 6726 return Success(Val.countPopulation(), E); in VisitCallExpr()
|
/external/clang/lib/CodeGen/ |
D | CGExpr.cpp | 2386 assert(llvm::countPopulation(Kind) == 1); in getRecoverableKind()
|