mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 20:34:38 +00:00
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:
parent
64573aecb6
commit
19af2ed415
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user