void PrintGlobalVariable(const GlobalVariable* GVar);
void printInstruction(const MachineInstr *MI); // autogenerated.
- const char *getRegisterName(unsigned RegNo) const;
+ static const char *getRegisterName(unsigned RegNo);
void printMachineInstruction(const MachineInstr *MI);
bool runOnMachineFunction(MachineFunction &F);
return "Alpha Assembly Printer";
}
void printInstruction(const MachineInstr *MI);
- const char *getRegisterName(unsigned RegNo) const;
+ static const char *getRegisterName(unsigned RegNo);
void printOp(const MachineOperand &MO, bool IsCallOp = false);
void printOperand(const MachineInstr *MI, int opNum);
void printOperand(const MachineInstr *MI, int opNum);
void printMemoryOperand(const MachineInstr *MI, int opNum);
void printInstruction(const MachineInstr *MI); // autogenerated.
- const char *getRegisterName(unsigned RegNo) const;
+ static const char *getRegisterName(unsigned RegNo);
void emitLinkage(const std::string &n, GlobalValue::LinkageTypes l);
bool runOnMachineFunction(MachineFunction &F);
/// printInstruction - This method is automatically generated by tablegen
/// from the instruction set description.
void printInstruction(const MachineInstr *MI);
- const char *getRegisterName(unsigned RegNo) const;
+ static const char *getRegisterName(unsigned RegNo);
void printMachineInstruction(const MachineInstr *MI);
const char* Modifier = 0);
void printCCOperand(const MachineInstr *MI, int OpNum);
void printInstruction(const MachineInstr *MI); // autogenerated.
- const char *getRegisterName(unsigned RegNo) const;
+ static const char *getRegisterName(unsigned RegNo);
void printMachineInstruction(const MachineInstr * MI);
bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNo,
void emitFrameDirective(MachineFunction &MF);
void printInstruction(const MachineInstr *MI); // autogenerated.
- const char *getRegisterName(unsigned RegNo) const;
+ static const char *getRegisterName(unsigned RegNo);
bool runOnMachineFunction(MachineFunction &F);
bool doInitialization(Module &M);
void printOperand(const MachineInstr *MI, int opNum);
void printCCOperand(const MachineInstr *MI, int opNum);
void printInstruction(const MachineInstr *MI); // definition autogenerated.
- const char *getRegisterName(unsigned RegNo) const;
+ static const char *getRegisterName(unsigned RegNo);
bool printMachineInstruction(const MachineInstr *MI);
void EmitFunctionDecls (Module &M);
/// machine instruction was sufficiently described to print it, otherwise it
/// returns false.
void printInstruction(const MachineInstr *MI);
- const char *getRegisterName(unsigned RegNo) const;
+ static const char *getRegisterName(unsigned RegNo);
void printMachineInstruction(const MachineInstr *MI);
void printCCOperand(const MachineInstr *MI, int opNum);
void printInstruction(const MachineInstr *MI); // autogenerated.
- const char *getRegisterName(unsigned RegNo) const;
+ static const char *getRegisterName(unsigned RegNo);
bool runOnMachineFunction(MachineFunction &F);
bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNo,
}
void printInstruction(const MachineInstr *MI); // autogenerated.
- const char *getRegisterName(unsigned RegNo) const;
+ static const char *getRegisterName(unsigned RegNo);
void printMachineInstruction(const MachineInstr * MI);
class MCInst;
class MCOperand;
class raw_ostream;
- class TargetRegisterInfo; // FIXME: ELIM
class X86ATTInstPrinter {
raw_ostream &O;
// Autogenerated by tblgen.
void printInstruction(const MCInst *MI);
- const char *getRegisterName(unsigned RegNo) const;
+ static const char *getRegisterName(unsigned RegNo);
void printOperand(const MCInst *MI, unsigned OpNo,
/// machine instruction was sufficiently described to print it, otherwise it
/// returns false.
void printInstruction(const MachineInstr *MI);
- const char *getRegisterName(unsigned RegNo) const;
+ static const char *getRegisterName(unsigned RegNo);
// This method is used by the tablegen'erated instruction printer.
void emitFunctionEnd(MachineFunction &MF);
void printInstruction(const MachineInstr *MI); // autogenerated.
- const char *getRegisterName(unsigned RegNo) const;
+ static const char *getRegisterName(unsigned RegNo);
void printMachineInstruction(const MachineInstr *MI);
bool runOnMachineFunction(MachineFunction &F);
"/// from the register set description. This returns the assembler name\n"
"/// for the specified register.\n"
"const char *" << Target.getName() << ClassName
- << "::getRegisterName(unsigned RegNo) const {\n"
+ << "::getRegisterName(unsigned RegNo) {\n"
<< " assert(RegNo && RegNo < " << (Registers.size()+1)
<< " && \"Invalid register number!\");\n"
<< "\n"