summaryrefslogtreecommitdiff
path: root/lib/Target/Sparc/SparcInstrInfo.h
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-07-16 10:31:59 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-07-16 10:31:59 +0000
commit7d7ac63366956473c8b3ef790447f576315e4c21 (patch)
tree3b6fd407a6bed7567742b1bcb270458231b35452 /lib/Target/Sparc/SparcInstrInfo.h
parentd303a2058cdfac5f11ae65762d68577f34e9abdb (diff)
downloadllvm-7d7ac63366956473c8b3ef790447f576315e4c21.tar.gz
llvm-7d7ac63366956473c8b3ef790447f576315e4c21.tar.bz2
llvm-7d7ac63366956473c8b3ef790447f576315e4c21.tar.xz
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
Diffstat (limited to 'lib/Target/Sparc/SparcInstrInfo.h')
-rw-r--r--lib/Target/Sparc/SparcInstrInfo.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Target/Sparc/SparcInstrInfo.h b/lib/Target/Sparc/SparcInstrInfo.h
index f946d1a9a1..52cd7c7f8d 100644
--- a/lib/Target/Sparc/SparcInstrInfo.h
+++ b/lib/Target/Sparc/SparcInstrInfo.h
@@ -19,6 +19,18 @@
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: