OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64573ae
)
Give MachineFunctionAnalysis a getPassName() implementation to make timing reports...
author
Owen Anderson
<resistor@mac.com>
Tue, 4 Jan 2011 18:21:18 +0000
(18:21 +0000)
committer
Owen Anderson
<resistor@mac.com>
Tue, 4 Jan 2011 18:21:18 +0000
(18:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122816
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/CodeGen/MachineFunctionAnalysis.h
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/MachineFunctionAnalysis.h
b/include/llvm/CodeGen/MachineFunctionAnalysis.h
index
75dbaab
..
50676ad
100644
(file)
--- a/
include/llvm/CodeGen/MachineFunctionAnalysis.h
+++ b/
include/llvm/CodeGen/MachineFunctionAnalysis.h
@@
-37,6
+37,10
@@
public:
MachineFunction &getMF() const { return *MF; }
CodeGenOpt::Level getOptLevel() const { return OptLevel; }
+
+ virtual const char* getPassName() const {
+ return "Machine Function Analysis";
+ }
private:
virtual bool doInitialization(Module &M);