/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/CodeGen/ |
D | MachineBranchProbabilityInfo.cpp | 76 return getEdgeProbability(Src, Dst) > BranchProbability(4, 5); in isEdgeHot() 92 if (getEdgeProbability(MBB, MaxSucc) >= BranchProbability(4, 5)) in getHotSucc() 98 BranchProbability 105 return BranchProbability(N, D); in getEdgeProbability() 112 const BranchProbability Prob = getEdgeProbability(Src, Dst); in printEdgeProbability()
|
D | IfConversion.cpp | 177 const BranchProbability &Prediction) const; 180 const BranchProbability &Prediction) const; 208 const BranchProbability &Prediction) const { in MeetIfcvtSizeLimit() 217 const BranchProbability &Prediction) const { in MeetIfcvtSizeLimit() 454 const BranchProbability &Prediction) const { in ValidSimple() 481 const BranchProbability &Prediction) const { in ValidTriangle() 793 BranchProbability Prediction = MBPI->getEdgeProbability(BB, TrueBBI.BB); in AnalyzeBlock()
|
D | MachineBlockPlacement.cpp | 325 const BranchProbability HotProb(4, 5); // 80% in selectBestSuccessor() 354 BranchProbability SuccProb(SuccWeight / WeightScale, SumWeight); in selectBestSuccessor() 687 BranchProbability SuccProb(SuccWeight / WeightScale, SumWeight); in findBestLoopExit()
|
/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/Target/Hexagon/ |
D | HexagonInstrInfo.h | 117 const BranchProbability &Probability) const; 123 const BranchProbability &Probability) const; 137 const BranchProbability &Probability) const;
|
D | HexagonInstrInfo.cpp | 1302 const BranchProbability &Probability) const { in isProfitableToIfCvt() 1315 const BranchProbability &Probability) const { in isProfitableToIfCvt() 1370 const BranchProbability &Probability) const { in isProfitableToDupForIfCvt()
|
/external/llvm/lib/Analysis/ |
D | BranchProbabilityInfo.cpp | 440 return getEdgeProbability(Src, Dst) > BranchProbability(4, 5); in isEdgeHot() 463 if (BranchProbability(MaxWeight, Sum) > BranchProbability(4, 5)) in getHotSucc() 490 BranchProbability BranchProbabilityInfo:: 496 return BranchProbability(N, D); in getEdgeProbability() 504 const BranchProbability Prob = getEdgeProbability(Src, Dst); in printEdgeProbability()
|
/external/llvm/include/llvm/Target/ |
D | TargetInstrInfo.h | 36 class BranchProbability; variable 324 const BranchProbability &Probability) const { in isProfitableToIfCvt() 339 const BranchProbability &Probability) const { in isProfitableToIfCvt() 351 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 | 1439 const BranchProbability &Probability) const { in isProfitableToIfCvt() 1457 const BranchProbability &Probability) const { in isProfitableToIfCvt()
|
/external/llvm/include/llvm/Analysis/ |
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()
|
D | BranchProbabilityInfo.h | 54 BranchProbability getEdgeProbability(const BasicBlock *Src,
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineBranchProbabilityInfo.h | 73 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
|