Home
last modified time | relevance | path

Searched refs:getDenominator (Results 1 – 25 of 32) sorted by relevance

12

/external/llvm/unittests/Support/
DBranchProbabilityTest.cpp18 *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/
DBranchProbabilityTest.cpp17 *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/
DBranchProbability.h67 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/
DBranchProbability.h66 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/
DBranchProbability.h66 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/
DMultiChannelResampler.cpp41 mDenominator = ratio.getDenominator(); in MultiChannelResampler()
88 bool usePolyphase = (getNumTaps() * ratio.getDenominator()) <= kMaxCoefficients; in build()
DIntegerRatio.h41 int32_t getDenominator() { in getDenominator() function
/external/cbor-java/src/main/java/co/nstant/in/cbor/model/
DRationalNumber.java32 public Number getDenominator() { in getDenominator() method in RationalNumber
/external/cbor-java/src/test/java/co/nstant/in/cbor/model/
DRationalNumberTest.java32 assertEquals(two, rationalNumber.getDenominator()); in shouldSetNumeratorAndDenominator()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/
DECDSASigner.java198 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/
DSupport.h64 unsigned getDenominator() const { return Denominator; } in getDenominator() function
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/
DSupport.h64 unsigned getDenominator() const { return Denominator; } in getDenominator() function
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/signers/
DECDSASigner.java200 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/
DECDSASigner.java200 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/
DProperBigFractionFormat.java96 BigInteger den = fraction.getDenominator(); in format()
DProperFractionFormat.java97 int den = fraction.getDenominator(); in format()
DFractionFormat.java152 getDenominatorFormat().format(fraction.getDenominator(), toAppendTo, in format()
DBigFractionFormat.java145 getDenominatorFormat().format(BigFraction.getDenominator(), toAppendTo, pos); in format()
DFraction.java359 public int getDenominator() { in getDenominator() method in Fraction
DBigFraction.java738 public BigInteger getDenominator() { in getDenominator() method in BigFraction
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/Stages/
DExecuteStage.cpp258 assert(Resource.second.getDenominator() == 1 && "Invalid cycles!"); in notifyInstructionIssued()
/external/llvm-project/llvm/lib/MCA/Stages/
DExecuteStage.cpp258 assert(Resource.second.getDenominator() == 1 && "Invalid cycles!"); in notifyInstructionIssued()
/external/llvm-project/llvm/include/llvm/Analysis/
DCFGPrinter.h248 ((double)BranchProb.getDenominator());
/external/llvm-project/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp1149 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/
DMachineBasicBlock.cpp379 rint(((double)BP.getNumerator() / BP.getDenominator()) * in print()
649 assert((uint64_t)std::abs(Sum - BranchProbability::getDenominator()) <= in validateSuccProbs()

12