parent
1499e5a92c
commit
d06650ade1
|
@ -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);
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue