Add what will eventually be the TSFlags. Big switch(opcode) statements are bad.
authorBrian Gaeke <gaeke@uiuc.edu>
Fri, 16 Jul 2004 10:31:59 +0000 (10:31 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Fri, 16 Jul 2004 10:31:59 +0000 (10:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14883 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Sparc/SparcInstrInfo.h
lib/Target/SparcV8/SparcV8InstrInfo.h

index f946d1a9a17a112ee7698351d3e841822ccc5425..52cd7c7f8d04cd2f30aac61316bdd099c65ebb29 100644 (file)
 
 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 {
   const SparcV8RegisterInfo RI;
 public:
index f946d1a9a17a112ee7698351d3e841822ccc5425..52cd7c7f8d04cd2f30aac61316bdd099c65ebb29 100644 (file)
 
 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 {
   const SparcV8RegisterInfo RI;
 public: