summaryrefslogtreecommitdiff
path: root/include/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Analysis/Dominators.h8
-rw-r--r--include/llvm/Analysis/IntervalPartition.h2
-rw-r--r--include/llvm/Analysis/LoopInfo.h2
-rw-r--r--include/llvm/Analysis/ScalarEvolution.h2
-rw-r--r--include/llvm/CodeGen/LiveIntervalAnalysis.h2
-rw-r--r--include/llvm/Pass.h3
6 files changed, 9 insertions, 10 deletions
diff --git a/include/llvm/Analysis/Dominators.h b/include/llvm/Analysis/Dominators.h
index c1cdae50f2..c901911495 100644
--- a/include/llvm/Analysis/Dominators.h
+++ b/include/llvm/Analysis/Dominators.h
@@ -114,7 +114,7 @@ public:
/// print - Convert to human readable form
///
- virtual void print(std::ostream &OS) const;
+ virtual void print(std::ostream &OS, const Module* = 0) const;
};
//===-------------------------------------
@@ -218,7 +218,7 @@ public:
/// print - Convert to human readable form
///
- virtual void print(std::ostream &OS) const;
+ virtual void print(std::ostream &OS, const Module* = 0) const;
/// dominates - Return true if A dominates B. This performs the special
/// checks necessary if A and B are in the same basic block.
@@ -375,7 +375,7 @@ public:
/// print - Convert to human readable form
///
- virtual void print(std::ostream &OS) const;
+ virtual void print(std::ostream &OS, const Module* = 0) const;
};
@@ -475,7 +475,7 @@ public:
/// print - Convert to human readable form
///
- virtual void print(std::ostream &OS) const;
+ virtual void print(std::ostream &OS, const Module* = 0) const;
};
diff --git a/include/llvm/Analysis/IntervalPartition.h b/include/llvm/Analysis/IntervalPartition.h
index 408ace2e7e..d5dd64eca7 100644
--- a/include/llvm/Analysis/IntervalPartition.h
+++ b/include/llvm/Analysis/IntervalPartition.h
@@ -60,7 +60,7 @@ public:
~IntervalPartition() { destroy(); }
// print - Show contents in human readable format...
- virtual void print(std::ostream &O) const;
+ virtual void print(std::ostream &O, const Module* = 0) const;
// getRootInterval() - Return the root interval that contains the starting
// block of the function.
diff --git a/include/llvm/Analysis/LoopInfo.h b/include/llvm/Analysis/LoopInfo.h
index 32351ea55c..0be3ddb3a0 100644
--- a/include/llvm/Analysis/LoopInfo.h
+++ b/include/llvm/Analysis/LoopInfo.h
@@ -241,7 +241,7 @@ public:
virtual bool runOnFunction(Function &F);
virtual void releaseMemory();
- void print(std::ostream &O) const;
+ void print(std::ostream &O, const Module* = 0) const;
/// getAnalysisUsage - Requires dominator sets
///
diff --git a/include/llvm/Analysis/ScalarEvolution.h b/include/llvm/Analysis/ScalarEvolution.h
index d72405d24d..3a97e91bd7 100644
--- a/include/llvm/Analysis/ScalarEvolution.h
+++ b/include/llvm/Analysis/ScalarEvolution.h
@@ -202,7 +202,7 @@ namespace llvm {
virtual bool runOnFunction(Function &F);
virtual void releaseMemory();
virtual void getAnalysisUsage(AnalysisUsage &AU) const;
- virtual void print(std::ostream &OS) const;
+ virtual void print(std::ostream &OS, const Module* = 0) const;
};
}
diff --git a/include/llvm/CodeGen/LiveIntervalAnalysis.h b/include/llvm/CodeGen/LiveIntervalAnalysis.h
index 036ca132d2..815600861f 100644
--- a/include/llvm/CodeGen/LiveIntervalAnalysis.h
+++ b/include/llvm/CodeGen/LiveIntervalAnalysis.h
@@ -128,7 +128,7 @@ namespace llvm {
virtual bool runOnMachineFunction(MachineFunction&);
/// print - Implement the dump method.
- virtual void print(std::ostream &O) const;
+ virtual void print(std::ostream &O, const Module* = 0) const;
private:
/// computeIntervals - compute live intervals
diff --git a/include/llvm/Pass.h b/include/llvm/Pass.h
index ff710d3766..0855986fbb 100644
--- a/include/llvm/Pass.h
+++ b/include/llvm/Pass.h
@@ -96,8 +96,7 @@ public:
/// provide the Module* in case the analysis doesn't need it it can just be
/// ignored.
///
- virtual void print(std::ostream &O, const Module *M) const { print(O); }
- virtual void print(std::ostream &O) const;
+ virtual void print(std::ostream &O, const Module *M) const;
void dump() const; // dump - call print(std::cerr, 0);