/external/llvm/unittests/Support/ |
D | BranchProbabilityTest.cpp | 18 *os << P.getNumerator() << "/" << P.getDenominator(); in PrintTo() 26 EXPECT_EQ(1u << 31, BP(1, 7).getDenominator()); in TEST() 28 EXPECT_EQ(1u << 31, BP::getZero().getDenominator()); in TEST() 30 EXPECT_EQ(1u << 31, BP::getOne().getDenominator()); in TEST() 164 auto MAX_DENOMINATOR = BP::getDenominator(); in TEST() 295 EXPECT_EQ(BranchProbability::getDenominator() / 2, Probs[0].getNumerator()); in TEST() 296 EXPECT_EQ(BranchProbability::getDenominator() / 2, Probs[1].getNumerator()); in TEST() 302 EXPECT_EQ(BranchProbability::getDenominator(), Probs[1].getNumerator()); in TEST() 307 EXPECT_EQ(BranchProbability::getDenominator() / 2, Probs[0].getNumerator()); in TEST() 308 EXPECT_EQ(BranchProbability::getDenominator() / 2, Probs[1].getNumerator()); in TEST() [all …]
|
/external/llvm-project/llvm/unittests/Support/ |
D | BranchProbabilityTest.cpp | 17 *os << P.getNumerator() << "/" << P.getDenominator(); in PrintTo() 25 EXPECT_EQ(1u << 31, BP(1, 7).getDenominator()); in TEST() 27 EXPECT_EQ(1u << 31, BP::getZero().getDenominator()); in TEST() 29 EXPECT_EQ(1u << 31, BP::getOne().getDenominator()); in TEST() 211 auto MAX_DENOMINATOR = BP::getDenominator(); in TEST() 342 EXPECT_EQ(BranchProbability::getDenominator() / 2, Probs[0].getNumerator()); in TEST() 343 EXPECT_EQ(BranchProbability::getDenominator() / 2, Probs[1].getNumerator()); in TEST() 349 EXPECT_EQ(BranchProbability::getDenominator(), Probs[1].getNumerator()); in TEST() 354 EXPECT_EQ(BranchProbability::getDenominator() / 2, Probs[0].getNumerator()); in TEST() 355 EXPECT_EQ(BranchProbability::getDenominator() / 2, Probs[1].getNumerator()); in TEST() [all …]
|
/external/llvm/include/llvm/Support/ |
D | BranchProbability.h | 67 static uint32_t getDenominator() { return D; } in getDenominator() function 195 if (Sum < BranchProbability::getDenominator()) in normalizeProbabilities() 197 (BranchProbability::getDenominator() - Sum) / UnknownProbCount); in normalizeProbabilities() 203 if (Sum <= BranchProbability::getDenominator()) in normalizeProbabilities()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | BranchProbability.h | 66 static uint32_t getDenominator() { return D; } in getDenominator() function 224 if (Sum < BranchProbability::getDenominator()) in normalizeProbabilities() 226 (BranchProbability::getDenominator() - Sum) / UnknownProbCount); in normalizeProbabilities() 232 if (Sum <= BranchProbability::getDenominator()) in normalizeProbabilities()
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | BranchProbability.h | 66 static uint32_t getDenominator() { return D; } in getDenominator() function 224 if (Sum < BranchProbability::getDenominator()) in normalizeProbabilities() 226 (BranchProbability::getDenominator() - Sum) / UnknownProbCount); in normalizeProbabilities() 232 if (Sum <= BranchProbability::getDenominator()) in normalizeProbabilities()
|
/external/oboe/src/flowgraph/resampler/ |
D | MultiChannelResampler.cpp | 41 mDenominator = ratio.getDenominator(); in MultiChannelResampler() 88 bool usePolyphase = (getNumTaps() * ratio.getDenominator()) <= kMaxCoefficients; in build()
|
D | IntegerRatio.h | 41 int32_t getDenominator() { in getDenominator() function
|
/external/cbor-java/src/main/java/co/nstant/in/cbor/model/ |
D | RationalNumber.java | 32 public Number getDenominator() { in getDenominator() method in RationalNumber
|
/external/cbor-java/src/test/java/co/nstant/in/cbor/model/ |
D | RationalNumberTest.java | 32 assertEquals(two, rationalNumber.getDenominator()); in shouldSetNumeratorAndDenominator()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/ |
D | ECDSASigner.java | 198 ECFieldElement D = getDenominator(curve.getCoordinateSystem(), point); in verifySignature() 238 protected ECFieldElement getDenominator(int coordinateSystem, ECPoint p) in getDenominator() method in ECDSASigner
|
/external/llvm-project/llvm/include/llvm/MCA/ |
D | Support.h | 64 unsigned getDenominator() const { return Denominator; } in getDenominator() function
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/ |
D | Support.h | 64 unsigned getDenominator() const { return Denominator; } in getDenominator() function
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/signers/ |
D | ECDSASigner.java | 200 ECFieldElement D = getDenominator(curve.getCoordinateSystem(), point); in verifySignature() 240 protected ECFieldElement getDenominator(int coordinateSystem, ECPoint p) in getDenominator() method in ECDSASigner
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/signers/ |
D | ECDSASigner.java | 200 ECFieldElement D = getDenominator(curve.getCoordinateSystem(), point); in verifySignature() 240 protected ECFieldElement getDenominator(int coordinateSystem, ECPoint p) in getDenominator() method in ECDSASigner
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/ |
D | ProperBigFractionFormat.java | 96 BigInteger den = fraction.getDenominator(); in format()
|
D | ProperFractionFormat.java | 97 int den = fraction.getDenominator(); in format()
|
D | FractionFormat.java | 152 getDenominatorFormat().format(fraction.getDenominator(), toAppendTo, in format()
|
D | BigFractionFormat.java | 145 getDenominatorFormat().format(BigFraction.getDenominator(), toAppendTo, pos); in format()
|
D | Fraction.java | 359 public int getDenominator() { in getDenominator() method in Fraction
|
D | BigFraction.java | 738 public BigInteger getDenominator() { in getDenominator() method in BigFraction
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/Stages/ |
D | ExecuteStage.cpp | 258 assert(Resource.second.getDenominator() == 1 && "Invalid cycles!"); in notifyInstructionIssued()
|
/external/llvm-project/llvm/lib/MCA/Stages/ |
D | ExecuteStage.cpp | 258 assert(Resource.second.getDenominator() == 1 && "Invalid cycles!"); in notifyInstructionIssued()
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | CFGPrinter.h | 248 ((double)BranchProb.getDenominator());
|
/external/llvm-project/llvm/lib/Analysis/ |
D | BranchProbabilityInfo.cpp | 1149 assert(TotalNumerator <= BranchProbability::getDenominator() + Probs.size()); in setEdgeProbability() 1150 assert(TotalNumerator >= BranchProbability::getDenominator() - Probs.size()); in setEdgeProbability()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | MachineBasicBlock.cpp | 379 rint(((double)BP.getNumerator() / BP.getDenominator()) * in print() 649 assert((uint64_t)std::abs(Sum - BranchProbability::getDenominator()) <= in validateSuccProbs()
|