diff options
Diffstat (limited to 'llvm/lib/Target/SparcV8')
-rw-r--r-- | llvm/lib/Target/SparcV8/SparcV8InstrInfo.cpp | 21 | ||||
-rw-r--r-- | llvm/lib/Target/SparcV8/SparcV8InstrInfo.h | 12 |
2 files changed, 1 insertions, 32 deletions
diff --git a/llvm/lib/Target/SparcV8/SparcV8InstrInfo.cpp b/llvm/lib/Target/SparcV8/SparcV8InstrInfo.cpp index a64dfbf88d4..71fc2d6d710 100644 --- a/llvm/lib/Target/SparcV8/SparcV8InstrInfo.cpp +++ b/llvm/lib/Target/SparcV8/SparcV8InstrInfo.cpp @@ -14,29 +14,10 @@ #include "SparcV8InstrInfo.h" #include "llvm/CodeGen/MachineInstrBuilder.h" #include "SparcV8GenInstrInfo.inc" - -namespace llvm { +using namespace llvm; SparcV8InstrInfo::SparcV8InstrInfo() : TargetInstrInfo(SparcV8Insts, sizeof(SparcV8Insts)/sizeof(SparcV8Insts[0]), 0) { } -// createNOPinstr - returns the target's implementation of NOP, which is -// usually a pseudo-instruction, implemented by a degenerate version of -// another instruction. -// -MachineInstr* SparcV8InstrInfo::createNOPinstr() const { - return 0; -} - -/// isNOPinstr - not having a special NOP opcode, we need to know if a given -/// instruction is interpreted as an `official' NOP instr, i.e., there may be -/// more than one way to `do nothing' but only one canonical way to slack off. -// -bool SparcV8InstrInfo::isNOPinstr(const MachineInstr &MI) const { - return false; -} - -} // end namespace llvm - diff --git a/llvm/lib/Target/SparcV8/SparcV8InstrInfo.h b/llvm/lib/Target/SparcV8/SparcV8InstrInfo.h index b76ab035abb..f946d1a9a17 100644 --- a/llvm/lib/Target/SparcV8/SparcV8InstrInfo.h +++ b/llvm/lib/Target/SparcV8/SparcV8InstrInfo.h @@ -29,18 +29,6 @@ public: /// always be able to get register info as well (through this method). /// virtual const MRegisterInfo &getRegisterInfo() const { return RI; } - - /// createNOPinstr - returns the target's implementation of NOP, which is - /// usually a pseudo-instruction, implemented by a degenerate version of - /// another instruction. - /// - MachineInstr* createNOPinstr() const; - - /// isNOPinstr - not having a special NOP opcode, we need to know if a given - /// instruction is interpreted as an `official' NOP instr, i.e., there may be - /// more than one way to `do nothing' but only one canonical way to slack off. - /// - bool isNOPinstr(const MachineInstr &MI) const; }; } |