projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add missing override statements in ScalarEvolution.h. NFC
[oota-llvm.git]
/
include
/
llvm
/
Analysis
/
BranchProbabilityInfo.h
diff --git
a/include/llvm/Analysis/BranchProbabilityInfo.h
b/include/llvm/Analysis/BranchProbabilityInfo.h
index 9f7c0f9d747e5af89eede0d7e522cac0f1c2dc48..a6e721a388ee77c7c8c1cd28728d0aa7ccd2253d 100644
(file)
--- a/
include/llvm/Analysis/BranchProbabilityInfo.h
+++ b/
include/llvm/Analysis/BranchProbabilityInfo.h
@@
-39,6
+39,9
@@
class raw_ostream;
/// value 10.
class BranchProbabilityInfo {
public:
/// value 10.
class BranchProbabilityInfo {
public:
+ BranchProbabilityInfo() {}
+ BranchProbabilityInfo(Function &F, const LoopInfo &LI) { calculate(F, LI); }
+
void releaseMemory();
void print(raw_ostream &OS) const;
void releaseMemory();
void print(raw_ostream &OS) const;
@@
-126,9
+129,6
@@
private:
DenseMap<Edge, uint32_t> Weights;
DenseMap<Edge, uint32_t> Weights;
- /// \brief Handle to the LoopInfo analysis.
- LoopInfo *LI;
-
/// \brief Track the last function we run over for printing.
Function *LastF;
/// \brief Track the last function we run over for printing.
Function *LastF;