projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix physical register liveness calculations:
[oota-llvm.git]
/
include
/
llvm
/
CodeGen
/
MachineFunctionPass.h
diff --git
a/include/llvm/CodeGen/MachineFunctionPass.h
b/include/llvm/CodeGen/MachineFunctionPass.h
index bac110316d4f306e2034314cb8b093bb1f8d4058..b7bf0a36c44737064a98e20a45d2afee45cc870b 100644
(file)
--- a/
include/llvm/CodeGen/MachineFunctionPass.h
+++ b/
include/llvm/CodeGen/MachineFunctionPass.h
@@
-31,8
+31,7
@@
class MachineFunction;
/// override runOnMachineFunction.
class MachineFunctionPass : public FunctionPass {
protected:
/// override runOnMachineFunction.
class MachineFunctionPass : public FunctionPass {
protected:
- explicit MachineFunctionPass(intptr_t ID) : FunctionPass(ID) {}
- explicit MachineFunctionPass(void *ID) : FunctionPass(ID) {}
+ explicit MachineFunctionPass(char &ID) : FunctionPass(ID) {}
/// runOnMachineFunction - This method must be overloaded to perform the
/// desired machine code transformation or analysis.
/// runOnMachineFunction - This method must be overloaded to perform the
/// desired machine code transformation or analysis.
@@
-48,7
+47,11
@@
protected:
virtual void getAnalysisUsage(AnalysisUsage &AU) const;
private:
virtual void getAnalysisUsage(AnalysisUsage &AU) const;
private:
- bool runOnFunction(Function &F);
+ /// createPrinterPass - Get a machine function printer pass.
+ virtual Pass *createPrinterPass(raw_ostream &O,
+ const std::string &Banner) const;
+
+ virtual bool runOnFunction(Function &F);
};
} // End llvm namespace
};
} // End llvm namespace