Add what will eventually be the TSFlags. Big switch(opcode) statements are bad.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14883 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Brian Gaeke 2004-07-16 10:31:59 +00:00
parent d303a2058c
commit 7d7ac63366
2 changed files with 24 additions and 0 deletions

View File

@ -19,6 +19,18 @@
namespace llvm { namespace llvm {
/// V8II - This namespace holds all of the target specific flags that
/// instruction info tracks.
///
namespace V8II {
enum {
Pseudo = (1<<0),
Load = (1<<1),
Store = (1<<2),
DelaySlot = (1<<3)
};
};
class SparcV8InstrInfo : public TargetInstrInfo { class SparcV8InstrInfo : public TargetInstrInfo {
const SparcV8RegisterInfo RI; const SparcV8RegisterInfo RI;
public: public:

View File

@ -19,6 +19,18 @@
namespace llvm { namespace llvm {
/// V8II - This namespace holds all of the target specific flags that
/// instruction info tracks.
///
namespace V8II {
enum {
Pseudo = (1<<0),
Load = (1<<1),
Store = (1<<2),
DelaySlot = (1<<3)
};
};
class SparcV8InstrInfo : public TargetInstrInfo { class SparcV8InstrInfo : public TargetInstrInfo {
const SparcV8RegisterInfo RI; const SparcV8RegisterInfo RI;
public: public: