forked from OSchip/llvm-project
parent
b45de95345
commit
2edfdd289f
|
@ -53,8 +53,6 @@ namespace {
|
|||
|
||||
void printOp(const MachineOperand &MO, raw_ostream &O);
|
||||
void printOperand(const MachineInstr *MI, int opNum, raw_ostream &O);
|
||||
void printBaseOffsetPair(const MachineInstr *MI, int i, raw_ostream &O,
|
||||
bool brackets=true);
|
||||
virtual void EmitFunctionBodyStart();
|
||||
virtual void EmitFunctionBodyEnd();
|
||||
void EmitStartOfAsmFile(Module &M);
|
||||
|
|
|
@ -65,11 +65,8 @@ namespace {
|
|||
void printFSLImm(const MachineInstr *MI, int opNum, raw_ostream &O);
|
||||
void printMemOperand(const MachineInstr *MI, int opNum, raw_ostream &O,
|
||||
const char *Modifier = 0);
|
||||
void printFCCOperand(const MachineInstr *MI, int opNum, raw_ostream &O,
|
||||
const char *Modifier = 0);
|
||||
void printSavedRegsBitmask(raw_ostream &OS);
|
||||
|
||||
const char *emitCurrentABIString();
|
||||
void emitFrameDirective();
|
||||
|
||||
void printInstruction(const MachineInstr *MI, raw_ostream &O);
|
||||
|
@ -292,13 +289,6 @@ printMemOperand(const MachineInstr *MI, int opNum, raw_ostream &O,
|
|||
printOperand(MI, opNum, O);
|
||||
}
|
||||
|
||||
void MBlazeAsmPrinter::
|
||||
printFCCOperand(const MachineInstr *MI, int opNum, raw_ostream &O,
|
||||
const char *Modifier) {
|
||||
const MachineOperand& MO = MI->getOperand(opNum);
|
||||
O << MBlaze::MBlazeFCCToString((MBlaze::CondCode)MO.getImm());
|
||||
}
|
||||
|
||||
// Force static initialization.
|
||||
extern "C" void LLVMInitializeMBlazeAsmPrinter() {
|
||||
RegisterAsmPrinter<MBlazeAsmPrinter> X(TheMBlazeTarget);
|
||||
|
|
Loading…
Reference in New Issue