/external/llvm/include/llvm/Support/ |
BranchProbability.h | 1 //===- BranchProbability.h - Branch Probability Wrapper ---------*- C++ -*-===// 10 // Definition of BranchProbability shared by IR and Machine Instructions. 25 class BranchProbability { 33 BranchProbability(uint32_t n, uint32_t d) : N(n), D(d) { 38 static BranchProbability getZero() { return BranchProbability(0, 1); } 39 static BranchProbability getOne() { return BranchProbability(1, 1); } 45 BranchProbability getCompl() const { 46 return BranchProbability(D - N, D) [all...] |
BlockFrequency.h | 22 class BranchProbability; 48 BlockFrequency &operator*=(const BranchProbability &Prob); 49 const BlockFrequency operator*(const BranchProbability &Prob) const; 53 BlockFrequency &operator/=(const BranchProbability &Prob); 54 BlockFrequency operator/(const BranchProbability &Prob) const;
|
/external/llvm/lib/Support/ |
BranchProbability.cpp | 1 //===-------------- lib/Support/BranchProbability.cpp -----------*- C++ -*-===// 14 #include "llvm/Support/BranchProbability.h" 21 void BranchProbability::print(raw_ostream &OS) const { 25 void BranchProbability::dump() const { 31 raw_ostream &operator<<(raw_ostream &OS, const BranchProbability &Prob) {
|
BlockFrequency.cpp | 14 #include "llvm/Support/BranchProbability.h" 89 BlockFrequency &BlockFrequency::operator*=(const BranchProbability &Prob) { 95 BlockFrequency::operator*(const BranchProbability &Prob) const { 101 BlockFrequency &BlockFrequency::operator/=(const BranchProbability &Prob) { 106 BlockFrequency BlockFrequency::operator/(const BranchProbability &Prob) const {
|
Android.mk | 10 BranchProbability.cpp \
|
/external/llvm/unittests/Support/ |
BlockFrequencyTest.cpp | 2 #include "llvm/Support/BranchProbability.h" 13 BranchProbability Prob(UINT32_MAX - 1, UINT32_MAX); 20 BranchProbability Prob(UINT32_MAX, UINT32_MAX); 27 BranchProbability Prob(3000000, 9000000); 34 BranchProbability Prob(UINT32_MAX / 2, UINT32_MAX); 43 BranchProbability Prob(P, P); 50 BranchProbability Prob(UINT32_MAX, UINT32_MAX); 57 Freq /= BranchProbability(1, 2); 63 Freq /= BranchProbability(100, 300); 65 Freq /= BranchProbability(1, 2) [all...] |
/external/llvm/lib/CodeGen/ |
MachineBranchProbabilityInfo.cpp | 83 // FIXME: Compare against a static "hot" BranchProbability. 84 return getEdgeProbability(Src, Dst) > BranchProbability(4, 5); 100 if (getEdgeProbability(MBB, MaxSucc) >= BranchProbability(4, 5)) 106 BranchProbability 113 return BranchProbability(N, D); 120 const BranchProbability Prob = getEdgeProbability(Src, Dst);
|
MachineBlockPlacement.cpp | 328 const BranchProbability HotProb(4, 5); // 80% 357 BranchProbability SuccProb(SuccWeight / WeightScale, SumWeight); 689 BranchProbability SuccProb(SuccWeight / WeightScale, SumWeight); [all...] |
IfConversion.cpp | 180 const BranchProbability &Prediction) const; 183 const BranchProbability &Prediction) const; 211 const BranchProbability &Prediction) const { 220 const BranchProbability &Prediction) const { 463 const BranchProbability &Prediction) const { 490 const BranchProbability &Prediction) const { 802 BranchProbability Prediction = MBPI->getEdgeProbability(BB, TrueBBI.BB); [all...] |
/external/llvm/include/llvm/Analysis/ |
BranchProbabilityInfo.h | 21 #include "llvm/Support/BranchProbability.h" 57 BranchProbability getEdgeProbability(const BasicBlock *Src, 63 BranchProbability getEdgeProbability(const BasicBlock *Src,
|
BlockFrequencyImpl.h | 23 #include "llvm/Support/BranchProbability.h" 76 BranchProbability Prob = BPI->getEdgeProbability(Src, Dst); 96 typedef DenseMap<BlockT*, BranchProbability> LoopExitProbMap; 256 BranchProbability LEP = BranchProbability(N, D);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
R600InstrInfo.h | 81 const BranchProbability &Probability) const; 85 const BranchProbability &Probability) const ; 92 const BranchProbability &Probability) const;
|
R600InstrInfo.cpp | 370 const BranchProbability &Probability) const{ 381 const BranchProbability &Probability) const 389 const BranchProbability &Probability)
|
/external/mesa3d/src/gallium/drivers/radeon/ |
R600InstrInfo.h | 81 const BranchProbability &Probability) const; 85 const BranchProbability &Probability) const ; 92 const BranchProbability &Probability) const;
|
R600InstrInfo.cpp | 370 const BranchProbability &Probability) const{ 381 const BranchProbability &Probability) const 389 const BranchProbability &Probability)
|
/external/llvm/include/llvm/CodeGen/ |
MachineBranchProbabilityInfo.h | 19 #include "llvm/Support/BranchProbability.h" 75 BranchProbability getEdgeProbability(MachineBasicBlock *Src,
|
/external/llvm/lib/Target/PowerPC/ |
PPCInstrInfo.h | 162 const BranchProbability &Probability) const { 170 const BranchProbability &Probability) const; 174 const BranchProbability
|
/external/llvm/lib/Analysis/ |
BranchProbabilityInfo.cpp | 536 // FIXME: Compare against a static "hot" BranchProbability. 537 return getEdgeProbability(Src, Dst) > BranchProbability(4, 5); 560 if (BranchProbability(MaxWeight, Sum) > BranchProbability(4, 5)) 607 BranchProbability BranchProbabilityInfo:: 612 return BranchProbability(N, D); 617 BranchProbability BranchProbabilityInfo:: 623 return BranchProbability(N, D); 631 const BranchProbability Prob = getEdgeProbability(Src, Dst);
|
/external/llvm/lib/Target/SystemZ/ |
SystemZInstrInfo.h | 135 const BranchProbability &Probability) const 143 const BranchProbability &Probability) const
|
/external/llvm/include/llvm/Target/ |
TargetInstrInfo.h | 38 class BranchProbability; 323 const BranchProbability &Probability) const { 338 const BranchProbability &Probability) const { 350 const BranchProbability &Probability) const { [all...] |
/external/llvm/lib/Target/Hexagon/ |
HexagonInstrInfo.h | 124 const BranchProbability &Probability) const; 130 const BranchProbability &Probability) const; 149 const BranchProbability &Probability) const;
|
HexagonNewValueJump.cpp | 296 const BranchProbability Prediction = 299 if (Prediction >= BranchProbability(1,2))
|
HexagonInstrInfo.cpp | 954 const BranchProbability &Probability) const { 967 const BranchProbability &Probability) const { [all...] |
/external/llvm/lib/Target/R600/ |
R600InstrInfo.h | 155 const BranchProbability &Probability) const; 159 const BranchProbability &Probability) const ; 166 const BranchProbability &Probability) const;
|
/external/llvm/lib/Target/ARM/ |
ARMBaseInstrInfo.h | 172 const BranchProbability &Probability) const; 178 const BranchProbability &Probability) const; 182 const BranchProbability
|