/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | APIntTest.cpp | 51 EXPECT_EQ(128u, Minus1.countPopulation()); in TEST() 61 EXPECT_EQ(32u, i33minus2.countPopulation()); in TEST() 72 EXPECT_EQ(1u, i61.countPopulation()); in TEST() 81 EXPECT_EQ(11u, i61.countPopulation()); in TEST() 93 EXPECT_EQ(0u, i65.countPopulation()); in TEST() 101 EXPECT_EQ(1u, i65minus.countPopulation()); in TEST() 111 EXPECT_EQ(128u, u128max.countPopulation()); in TEST() 119 EXPECT_EQ(64u, u64max.countPopulation()); in TEST() 128 EXPECT_EQ(0u, zero.countPopulation()); in TEST() 138 EXPECT_EQ(1u, one.countPopulation()); in TEST() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | KnownBits.h | 52 return Zero.countPopulation() + One.countPopulation() == getBitWidth(); in isConstant() 187 return One.countPopulation(); in countMinPopulation() 192 return getBitWidth() - Zero.countPopulation(); in countMaxPopulation()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mca/ |
D | Scheduler.h | 166 assert(llvm::countPopulation(ResourceMask) > 1); in computeResourceSizeMaskForGroup() 174 bool IsAGroup = llvm::countPopulation(ResourceMask) > 1; in ResourceState() 206 llvm::countPopulation(ReadyMask) >= NumUnits; 209 return llvm::countPopulation(ResourceMask) > 1; in isAResourceGroup() 225 return isAResourceGroup() ? 1U : llvm::countPopulation(ResourceSizeMask); in getNumUnits()
|
D | InstrBuilder.cpp | 69 unsigned popcntA = countPopulation(A.first); in initializeUsedResources() 70 unsigned popcntB = countPopulation(B.first); in initializeUsedResources() 92 if (countPopulation(A.first) == 1) { in initializeUsedResources() 103 if (countPopulation(B.first) > 1) in initializeUsedResources() 127 if (countPopulation(RPC.first) > 1 && !RPC.second.isReserved()) { in initializeUsedResources()
|
D | Scheduler.cpp | 73 assert(countPopulation(ID) == 1); in removeFromNextInSequence() 198 assert((countPopulation(R.first) > 1) && "Expected a group!"); in issueInstruction() 215 if (countPopulation(RR.first) == 1) in cycleEvent()
|
/external/swiftshader/third_party/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(1u, i65minus.countPopulation()); in TEST() 75 EXPECT_EQ(128u, u128max.countPopulation()); in TEST() 83 EXPECT_EQ(64u, u64max.countPopulation()); in TEST() 92 EXPECT_EQ(0u, zero.countPopulation()); in TEST() 102 EXPECT_EQ(1u, one.countPopulation()); in TEST()
|
/external/llvm/lib/Target/Hexagon/MCTargetDesc/ |
D | HexagonShuffler.h | 47 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/MCTargetDesc/ |
D | HexagonShuffler.h | 56 return (countPopulation(A.getUnits()) < countPopulation(B.getUnits())); in lessUnits()
|
D | HexagonShuffler.cpp | 51 HexagonBid(unsigned B) { Bid = B ? MAX / countPopulation(B) : 0; } in HexagonBid() 103 unsigned Ctpop = countPopulation(Units); 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/ |
D | LaneBitmask.h | 77 return countPopulation(Mask); in getNumLanes()
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | APInt.h | 316 return countPopulation() == BitWidth; in isAllOnesValue() 323 return countPopulation() == BitWidth; in isMaxValue() 331 !isNegative() && countPopulation() == BitWidth - 1; in isMaxSignedValue() 1243 unsigned countPopulation() const { in countPopulation() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/Native/ |
D | GlobalsStream.cpp | 104 NumBuckets += countPopulation(B); in readGSIHashBuckets()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/ |
D | MCSchedule.cpp | 143 double Temp = countPopulation(I->getUnits()) * 1.0 / I->getCycles(); in getReciprocalThroughput()
|
/external/llvm/lib/DebugInfo/PDB/Raw/ |
D | PublicsStream.cpp | 123 NumBuckets += countPopulation(B); in reload()
|
/external/llvm/include/llvm/ADT/ |
D | APInt.h | 355 return !isNegative() && countPopulation() == BitWidth - 1; in isMaxSignedValue() 1421 unsigned countPopulation() const { in countPopulation() function 1423 return llvm::countPopulation(VAL); in countPopulation()
|
D | SmallBitVector.h | 182 return countPopulation(Bits); in count()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | APInt.h | 359 return !isNegative() && countPopulation() == BitWidth - 1; in isMaxSignedValue() 1397 unsigned countPopulation() const { in countPopulation() function 1399 return llvm::countPopulation(VAL); in countPopulation()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceBitVector.h | 135 Count += llvm::countPopulation(Bits[i]); in count() 358 NumBits += llvm::countPopulation(Bits[i]); in count()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 945 DemandedElts &= (1 << countPopulation(DMaskVal)) - 1; in simplifyAMDGCNMemoryIntrinsicDemanded() 963 unsigned NewNumElts = PowerOf2Ceil(DemandedElts.countPopulation()); in simplifyAMDGCNMemoryIntrinsicDemanded() 1348 if (SubUndef.countPopulation() == Ratio) in SimplifyDemandedVectorElts()
|
/external/llvm/lib/Target/Mips/ |
D | MipsSEISelDAGToDAG.cpp | 659 Imm = CurDAG->getTargetConstant(ImmValue.countPopulation(), SDLoc(N), in selectVSplatMaskL() 691 Imm = CurDAG->getTargetConstant(ImmValue.countPopulation(), SDLoc(N), in selectVSplatMaskR()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | APInt.h | 1651 unsigned countPopulation() const { in countPopulation() function 1653 return llvm::countPopulation(U.VAL); in countPopulation()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/ |
D | SystemZSelectionDAGInfo.cpp | 96 Bytes <= 16 && countPopulation(Bytes) <= 2 : in EmitTargetCodeForMemset()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZSelectionDAGInfo.cpp | 97 Bytes <= 16 && countPopulation(Bytes) <= 2 : in EmitTargetCodeForMemset()
|