Home
last modified time | relevance | path

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

/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/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/include/llvm/Support/
DBranchProbability.h36 uint32_t getDenominator() const { return D; } in getDenominator() function
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/
DECDSASigner.java191 ECFieldElement D = getDenominator(curve.getCoordinateSystem(), point); in verifySignature()
231 protected ECFieldElement getDenominator(int coordinateSystem, ECPoint p) in getDenominator() method in ECDSASigner
/external/swiftshader/third_party/LLVM/lib/Support/
DBlockFrequency.cpp69 uint32_t d = Prob.getDenominator(); in operator *=()
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/
DProperFractionFormat.java97 int den = fraction.getDenominator(); in format()
DProperBigFractionFormat.java96 BigInteger 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/include/llvm/Analysis/
DBlockFrequencyImpl.h93 uint64_t D = Prob.getDenominator(); in divBlockFreq()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMBaseInstrInfo.cpp1398 UnpredCost /= Probability.getDenominator(); in isProfitableToIfCvt()
1416 TUnpredCost /= Probability.getDenominator(); in isProfitableToIfCvt()
1418 uint32_t Comp = Probability.getDenominator() - Probability.getNumerator(); in isProfitableToIfCvt()
1420 FUnpredCost /= Probability.getDenominator(); in isProfitableToIfCvt()
/external/llvm/include/llvm/Analysis/
DBlockFrequencyInfoImpl.h1326 uint32_t D = BP.getDenominator();
/external/llvm/lib/CodeGen/
DMachineBasicBlock.cpp521 assert((uint64_t)std::abs(Sum - BranchProbability::getDenominator()) <= in validateSuccProbs()