/external/llvm/unittests/Support/ |
D | BranchProbabilityTest.cpp | 18 *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/ |
D | BranchProbabilityTest.cpp | 17 *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/ |
D | IntegerRatio.h | 37 int32_t getNumerator() { in getNumerator() function
|
D | MultiChannelResampler.cpp | 40 mNumerator = ratio.getNumerator(); in MultiChannelResampler()
|
/external/cbor-java/src/main/java/co/nstant/in/cbor/model/ |
D | RationalNumber.java | 28 public Number getNumerator() { in getNumerator() method in RationalNumber
|
/external/cbor-java/src/test/java/co/nstant/in/cbor/model/ |
D | RationalNumberTest.java | 31 assertEquals(one, rationalNumber.getNumerator()); in shouldSetNumeratorAndDenominator()
|
/external/llvm-project/llvm/include/llvm/MCA/ |
D | Support.h | 63 unsigned getNumerator() const { return Numerator; } in getNumerator() function
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/ |
D | Support.h | 63 unsigned getNumerator() const { return Numerator; } in getNumerator() function
|
/external/llvm/lib/CodeGen/ |
D | StackProtector.cpp | 434 .createBranchWeights(SuccessProb.getNumerator(), in InsertStackProtectors() 435 FailureProb.getNumerator()); in InsertStackProtectors()
|
D | SafeStack.cpp | 498 .createBranchWeights(SuccessProb.getNumerator(), in checkStackGuard() 499 FailureProb.getNumerator()); in checkStackGuard()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/ |
D | ProperBigFractionFormat.java | 95 BigInteger num = fraction.getNumerator(); in format()
|
D | ProperFractionFormat.java | 96 int num = fraction.getNumerator(); in format()
|
D | FractionFormat.java | 150 getNumeratorFormat().format(fraction.getNumerator(), toAppendTo, pos); in format()
|
D | BigFractionFormat.java | 143 getNumeratorFormat().format(BigFraction.getNumerator(), toAppendTo, pos); in format()
|
D | Fraction.java | 367 public int getNumerator() { in getNumerator() method in Fraction
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | StackProtector.cpp | 515 .createBranchWeights(SuccessProb.getNumerator(), in InsertStackProtectors() 516 FailureProb.getNumerator()); in InsertStackProtectors()
|
D | MachineBasicBlock.cpp | 367 << 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/ |
D | StackProtector.cpp | 542 .createBranchWeights(SuccessProb.getNumerator(), in InsertStackProtectors() 543 FailureProb.getNumerator()); in InsertStackProtectors()
|
/external/llvm/include/llvm/Support/ |
D | BranchProbability.h | 66 uint32_t getNumerator() const { return N; } in getNumerator() function
|
/external/llvm-project/llvm/lib/Analysis/ |
D | BranchProbabilityInfo.cpp | 567 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/ |
D | BranchProbability.h | 65 uint32_t getNumerator() const { return N; } in getNumerator() function
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | BranchProbability.h | 65 uint32_t getNumerator() const { return N; } in getNumerator() function
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/Stages/ |
D | ExecuteStage.cpp | 261 dbgs() << "cycles: " << Resource.second.getNumerator() << '\n'; in notifyInstructionIssued()
|
/external/llvm-project/llvm/lib/MCA/Stages/ |
D | ExecuteStage.cpp | 261 dbgs() << "cycles: " << Resource.second.getNumerator() << '\n'; in notifyInstructionIssued()
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | CFGPrinter.h | 247 double WeightPercent = ((double)BranchProb.getNumerator()) /
|