mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-26 06:04:47 +00:00
Give MachineFunctionAnalysis a getPassName() implementation to make timing reports prettier.
llvm-svn: 122816
This commit is contained in:
parent
8df51d24bd
commit
8bc93c6fdf
@ -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