mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +00:00
Give passes nice names!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5059 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8233e2fe01
commit
f0eb7beb66
@ -91,6 +91,10 @@ namespace {
|
||||
return false; // We never modify the LLVM itself.
|
||||
}
|
||||
|
||||
virtual const char *getPassName() const {
|
||||
return "X86 Simple Instruction Selection";
|
||||
}
|
||||
|
||||
/// visitBasicBlock - This method is called when we are visiting a new basic
|
||||
/// block. This simply creates a new MachineBasicBlock to emit code into
|
||||
/// and adds it to the current MachineFunction. Subsequent visit* for
|
||||
|
@ -25,6 +25,10 @@ namespace {
|
||||
|
||||
bool runOnFunction(Function &F);
|
||||
|
||||
virtual const char *getPassName() const {
|
||||
return "X86 Machine Code Emitter";
|
||||
}
|
||||
|
||||
private:
|
||||
void emitBasicBlock(MachineBasicBlock &MBB);
|
||||
void emitInstruction(MachineInstr &MI);
|
||||
|
@ -21,6 +21,10 @@ namespace {
|
||||
|
||||
Printer(TargetMachine &tm, std::ostream &o) : TM(tm), O(o) {}
|
||||
|
||||
virtual const char *getPassName() const {
|
||||
return "X86 Assembly Printer";
|
||||
}
|
||||
|
||||
bool runOnFunction(Function &F);
|
||||
};
|
||||
}
|
||||
|
@ -21,6 +21,10 @@ namespace {
|
||||
|
||||
Printer(TargetMachine &tm, std::ostream &o) : TM(tm), O(o) {}
|
||||
|
||||
virtual const char *getPassName() const {
|
||||
return "X86 Assembly Printer";
|
||||
}
|
||||
|
||||
bool runOnFunction(Function &F);
|
||||
};
|
||||
}
|
||||
|
@ -25,6 +25,10 @@ namespace {
|
||||
|
||||
bool runOnFunction(Function &F);
|
||||
|
||||
virtual const char *getPassName() const {
|
||||
return "X86 Machine Code Emitter";
|
||||
}
|
||||
|
||||
private:
|
||||
void emitBasicBlock(MachineBasicBlock &MBB);
|
||||
void emitInstruction(MachineInstr &MI);
|
||||
|
@ -91,6 +91,10 @@ namespace {
|
||||
return false; // We never modify the LLVM itself.
|
||||
}
|
||||
|
||||
virtual const char *getPassName() const {
|
||||
return "X86 Simple Instruction Selection";
|
||||
}
|
||||
|
||||
/// visitBasicBlock - This method is called when we are visiting a new basic
|
||||
/// block. This simply creates a new MachineBasicBlock to emit code into
|
||||
/// and adds it to the current MachineFunction. Subsequent visit* for
|
||||
|
Loading…
x
Reference in New Issue
Block a user