Give MachineFunctionAnalysis a getPassName() implementation to make timing reports prettier.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122816 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Owen Anderson 2011-01-04 18:21:18 +00:00
parent 64573aecb6
commit 19af2ed415

View File

@ -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);