diff options
| author | Brian Gaeke <gaeke@uiuc.edu> | 2004-07-16 10:31:59 +0000 |
|---|---|---|
| committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-07-16 10:31:59 +0000 |
| commit | a57943154ebff38d283fe10414c1739133ff9cfd (patch) | |
| tree | 0c06d288513d4097f8ff5c5f674a2791f4970b77 | |
| parent | f486726c56fb0686eca4e8e6aab703acbea2cd25 (diff) | |
| download | bcm5719-llvm-a57943154ebff38d283fe10414c1739133ff9cfd.tar.gz bcm5719-llvm-a57943154ebff38d283fe10414c1739133ff9cfd.zip | |
Add what will eventually be the TSFlags. Big switch(opcode) statements are bad.
llvm-svn: 14883
| -rw-r--r-- | llvm/lib/Target/SparcV8/SparcV8InstrInfo.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/lib/Target/SparcV8/SparcV8InstrInfo.h b/llvm/lib/Target/SparcV8/SparcV8InstrInfo.h index f946d1a9a17..52cd7c7f8d0 100644 --- a/llvm/lib/Target/SparcV8/SparcV8InstrInfo.h +++ b/llvm/lib/Target/SparcV8/SparcV8InstrInfo.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: |

