/external/llvm/include/llvm/Support/ |
D | BranchProbability.h | 25 class BranchProbability { 33 BranchProbability(uint32_t n, uint32_t d) : N(n), D(d) { in BranchProbability() function 38 static BranchProbability getZero() { return BranchProbability(0, 1); } in getZero() 39 static BranchProbability getOne() { return BranchProbability(1, 1); } in getOne() 45 BranchProbability getCompl() const { in getCompl() 46 return BranchProbability(D - N, D); in getCompl() 53 bool operator==(BranchProbability RHS) const { 56 bool operator!=(BranchProbability RHS) const { 59 bool operator<(BranchProbability RHS) const { 62 bool operator>(BranchProbability RHS) const { [all …]
|
D | BlockFrequency.h | 22 class BranchProbability; variable 36 BlockFrequency &operator*=(const BranchProbability &Prob); 37 const BlockFrequency operator*(const BranchProbability &Prob) const;
|
/external/llvm/unittests/Support/ |
D | BlockFrequencyTest.cpp | 14 BranchProbability Prob(UINT32_MAX - 1, UINT32_MAX); in TEST() 21 BranchProbability Prob(UINT32_MAX, UINT32_MAX); in TEST() 28 BranchProbability Prob(3000000, 9000000); in TEST() 35 BranchProbability Prob(UINT32_MAX / 2, UINT32_MAX); in TEST() 44 BranchProbability Prob(P, P); in TEST() 51 BranchProbability Prob(UINT32_MAX, UINT32_MAX); in TEST() 57 BranchProbability A(4, 5); in TEST() 58 BranchProbability B(4U << 29, 5U << 29); in TEST() 59 BranchProbability C(3, 4); in TEST() 75 BranchProbability BigZero(0, UINT32_MAX); in TEST() [all …]
|
/external/llvm/lib/Support/ |
D | BranchProbability.cpp | 21 void BranchProbability::print(raw_ostream &OS) const { in print() 25 void BranchProbability::dump() const { in dump() 31 raw_ostream &operator<<(raw_ostream &OS, const BranchProbability &Prob) { in operator <<()
|
D | BlockFrequency.cpp | 67 BlockFrequency &BlockFrequency::operator*=(const BranchProbability &Prob) { in operator *=() 95 BlockFrequency::operator*(const BranchProbability &Prob) const { in operator *()
|
D | Android.mk | 10 BranchProbability.cpp \
|
D | CMakeLists.txt | 13 BranchProbability.cpp
|
/external/llvm/lib/CodeGen/ |
D | MachineBranchProbabilityInfo.cpp | 84 return getEdgeProbability(Src, Dst) > BranchProbability(4, 5); in isEdgeHot() 100 if (getEdgeProbability(MBB, MaxSucc) >= BranchProbability(4, 5)) in getHotSucc() 106 BranchProbability 113 return BranchProbability(N, D); in getEdgeProbability() 120 const BranchProbability Prob = getEdgeProbability(Src, Dst); in printEdgeProbability()
|
D | MachineBlockPlacement.cpp | 322 const BranchProbability HotProb(4, 5); // 80% in selectBestSuccessor() 351 BranchProbability SuccProb(SuccWeight / WeightScale, SumWeight); in selectBestSuccessor() 684 BranchProbability SuccProb(SuccWeight / WeightScale, SumWeight); in findBestLoopExit() 1025 const BranchProbability ColdProb(1, 5); // 20% in buildCFGChains() 1067 BranchProbability LayoutProb = MBPI->getEdgeProbability(LayoutPred, *BI); in buildCFGChains()
|
D | IfConversion.cpp | 179 const BranchProbability &Prediction) const; 182 const BranchProbability &Prediction) const; 210 const BranchProbability &Prediction) const { in MeetIfcvtSizeLimit() 219 const BranchProbability &Prediction) const { in MeetIfcvtSizeLimit() 462 const BranchProbability &Prediction) const { in ValidSimple() 489 const BranchProbability &Prediction) const { in ValidTriangle() 801 BranchProbability Prediction = MBPI->getEdgeProbability(BB, TrueBBI.BB); in AnalyzeBlock()
|
/external/llvm/lib/Analysis/ |
D | BranchProbabilityInfo.cpp | 458 return getEdgeProbability(Src, Dst) > BranchProbability(4, 5); in isEdgeHot() 481 if (BranchProbability(MaxWeight, Sum) > BranchProbability(4, 5)) in getHotSucc() 528 BranchProbability BranchProbabilityInfo:: 533 return BranchProbability(N, D); in getEdgeProbability() 538 BranchProbability BranchProbabilityInfo:: 544 return BranchProbability(N, D); in getEdgeProbability() 552 const BranchProbability Prob = getEdgeProbability(Src, Dst); in printEdgeProbability()
|
/external/llvm/include/llvm/Analysis/ |
D | BranchProbabilityInfo.h | 57 BranchProbability getEdgeProbability(const BasicBlock *Src, 63 BranchProbability getEdgeProbability(const BasicBlock *Src,
|
D | BlockFrequencyImpl.h | 76 BranchProbability Prob = BPI->getEdgeProbability(Src, Dst); in getEdgeFreq() 90 void divBlockFreq(BlockT *BB, BranchProbability Prob) { in divBlockFreq() 217 divBlockFreq(BB, BranchProbability(Numerator, EntryFreq)); in doBlock()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonInstrInfo.h | 117 const BranchProbability &Probability) const; 123 const BranchProbability &Probability) const; 137 const BranchProbability &Probability) const;
|
D | HexagonInstrInfo.cpp | 2273 const BranchProbability &Probability) const { in isProfitableToIfCvt() 2286 const BranchProbability &Probability) const { in isProfitableToIfCvt() 2340 const BranchProbability &Probability) const { in isProfitableToDupForIfCvt()
|
/external/llvm/include/llvm/Target/ |
D | TargetInstrInfo.h | 38 class BranchProbability; variable 319 const BranchProbability &Probability) const { in isProfitableToIfCvt() 334 const BranchProbability &Probability) const { in isProfitableToIfCvt() 346 const BranchProbability &Probability) const { in isProfitableToDupForIfCvt()
|
/external/llvm/lib/Target/ARM/ |
D | ARMBaseInstrInfo.h | 174 const BranchProbability &Probability) const; 180 const BranchProbability &Probability) const; 184 const BranchProbability in isProfitableToDupForIfCvt()
|
D | ARMBaseInstrInfo.cpp | 1494 const BranchProbability &Probability) const { in isProfitableToIfCvt() 1512 const BranchProbability &Probability) const { in isProfitableToIfCvt()
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineBranchProbabilityInfo.h | 76 BranchProbability getEdgeProbability(MachineBasicBlock *Src,
|
/external/llvm/test/CodeGen/Thumb2/ |
D | 2010-06-21-TailMergeBug.ll | 42 ; Do not convert into single stream code. BranchProbability Analysis assumes
|