Home
last modified time | relevance | path

Searched refs:getNumerator (Results 1 – 25 of 44) sorted by relevance

12

/external/llvm/unittests/Support/
DBranchProbabilityTest.cpp18 *os << P.getNumerator() << "/" << P.getDenominator(); in PrintTo()
25 EXPECT_EQ(306783378u, BP(1, 7).getNumerator()); in TEST()
27 EXPECT_EQ(0u, BP::getZero().getNumerator()); in TEST()
29 EXPECT_EQ(1u << 31, BP::getOne().getNumerator()); in TEST()
295 EXPECT_EQ(BranchProbability::getDenominator() / 2, Probs[0].getNumerator()); in TEST()
296 EXPECT_EQ(BranchProbability::getDenominator() / 2, Probs[1].getNumerator()); in TEST()
301 EXPECT_EQ(0u, Probs[0].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()
24 EXPECT_EQ(306783378u, BP(1, 7).getNumerator()); in TEST()
26 EXPECT_EQ(0u, BP::getZero().getNumerator()); in TEST()
28 EXPECT_EQ(1u << 31, BP::getOne().getNumerator()); in TEST()
342 EXPECT_EQ(BranchProbability::getDenominator() / 2, Probs[0].getNumerator()); in TEST()
343 EXPECT_EQ(BranchProbability::getDenominator() / 2, Probs[1].getNumerator()); in TEST()
348 EXPECT_EQ(0u, Probs[0].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/oboe/src/flowgraph/resampler/
DIntegerRatio.h37 int32_t getNumerator() { in getNumerator() function
DMultiChannelResampler.cpp40 mNumerator = ratio.getNumerator(); in MultiChannelResampler()
/external/cbor-java/src/main/java/co/nstant/in/cbor/model/
DRationalNumber.java28 public Number getNumerator() { in getNumerator() method in RationalNumber
/external/cbor-java/src/test/java/co/nstant/in/cbor/model/
DRationalNumberTest.java31 assertEquals(one, rationalNumber.getNumerator()); in shouldSetNumeratorAndDenominator()
/external/llvm-project/llvm/include/llvm/MCA/
DSupport.h63 unsigned getNumerator() const { return Numerator; } in getNumerator() function
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/
DSupport.h63 unsigned getNumerator() const { return Numerator; } in getNumerator() function
/external/llvm/lib/CodeGen/
DStackProtector.cpp434 .createBranchWeights(SuccessProb.getNumerator(), in InsertStackProtectors()
435 FailureProb.getNumerator()); in InsertStackProtectors()
DSafeStack.cpp498 .createBranchWeights(SuccessProb.getNumerator(), in checkStackGuard()
499 FailureProb.getNumerator()); in checkStackGuard()
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/
DProperBigFractionFormat.java95 BigInteger num = fraction.getNumerator(); in format()
DProperFractionFormat.java96 int num = fraction.getNumerator(); in format()
DFractionFormat.java150 getNumeratorFormat().format(fraction.getNumerator(), toAppendTo, pos); in format()
DBigFractionFormat.java143 getNumeratorFormat().format(BigFraction.getNumerator(), toAppendTo, pos); in format()
DFraction.java367 public int getNumerator() { in getNumerator() method in Fraction
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DStackProtector.cpp515 .createBranchWeights(SuccessProb.getNumerator(), in InsertStackProtectors()
516 FailureProb.getNumerator()); in InsertStackProtectors()
DMachineBasicBlock.cpp367 << format("0x%08" PRIx32, getSuccProbability(I).getNumerator()) in print()
379 rint(((double)BP.getNumerator() / BP.getDenominator()) * in print()
645 Sum += Prob.getNumerator(); in validateSuccProbs()
/external/llvm-project/llvm/lib/CodeGen/
DStackProtector.cpp542 .createBranchWeights(SuccessProb.getNumerator(), in InsertStackProtectors()
543 FailureProb.getNumerator()); in InsertStackProtectors()
/external/llvm/include/llvm/Support/
DBranchProbability.h66 uint32_t getNumerator() const { return N; } in getNumerator() function
/external/llvm-project/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp567 uint64_t Mul = static_cast<uint64_t>(NewReachableSum.getNumerator()) * in calcMetadataWeights()
568 BP[I].getNumerator(); in calcMetadataWeights()
570 divideNearest(Mul, OldReachableSum.getNumerator())); in calcMetadataWeights()
1141 TotalNumerator += Probs[SuccIdx].getNumerator(); in setEdgeProbability()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DBranchProbability.h65 uint32_t getNumerator() const { return N; } in getNumerator() function
/external/llvm-project/llvm/include/llvm/Support/
DBranchProbability.h65 uint32_t getNumerator() const { return N; } in getNumerator() function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/Stages/
DExecuteStage.cpp261 dbgs() << "cycles: " << Resource.second.getNumerator() << '\n'; in notifyInstructionIssued()
/external/llvm-project/llvm/lib/MCA/Stages/
DExecuteStage.cpp261 dbgs() << "cycles: " << Resource.second.getNumerator() << '\n'; in notifyInstructionIssued()
/external/llvm-project/llvm/include/llvm/Analysis/
DCFGPrinter.h247 double WeightPercent = ((double)BranchProb.getNumerator()) /

12