summaryrefslogtreecommitdiff
path: root/lib/Target/MBlaze/MBlazeInstrInfo.h
diff options
context:
space:
mode:
authorWesley Peck <peckw@wesleypeck.com>2010-10-21 03:57:26 +0000
committerWesley Peck <peckw@wesleypeck.com>2010-10-21 03:57:26 +0000
commit4e9141fd4c0040cd7d4d830211f7d27fd98e9338 (patch)
treed5abec1ba09eba300463f04139a22d89ad425518 /lib/Target/MBlaze/MBlazeInstrInfo.h
parent5b7a825ec5551fd1dff8c9f280cc203da3fdedd9 (diff)
downloadllvm-4e9141fd4c0040cd7d4d830211f7d27fd98e9338.tar.gz
llvm-4e9141fd4c0040cd7d4d830211f7d27fd98e9338.tar.bz2
llvm-4e9141fd4c0040cd7d4d830211f7d27fd98e9338.tar.xz
Recommit 116986 with capitalization typo fixed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116993 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MBlaze/MBlazeInstrInfo.h')
-rw-r--r--lib/Target/MBlaze/MBlazeInstrInfo.h32
1 files changed, 25 insertions, 7 deletions
diff --git a/lib/Target/MBlaze/MBlazeInstrInfo.h b/lib/Target/MBlaze/MBlazeInstrInfo.h
index b3dba0ec76..eda16cc5e1 100644
--- a/lib/Target/MBlaze/MBlazeInstrInfo.h
+++ b/lib/Target/MBlaze/MBlazeInstrInfo.h
@@ -134,29 +134,47 @@ namespace MBlaze {
/// instruction info tracks.
///
namespace MBlazeII {
- /// Target Operand Flag enum.
- enum TOF {
+ enum {
+ // PseudoFrm - This represents an instruction that is a pseudo instruction
+ // or one that has not been implemented yet. It is illegal to code generate
+ // it, but tolerated for intermediate implementation stages.
+ Pseudo = 0,
+
+ RegRegReg = 1,
+ RegRegImm = 2,
+ RegImmReg = 3,
+ FSL = 4,
+ FSLD = 5,
+ FSLT = 6,
+ FSLTD = 7,
+ Reg = 8,
+ Imm = 9,
+ RegReg = 10,
+ RegImm = 11,
+
+ FormMask = 63
+
//===------------------------------------------------------------------===//
// MBlaze Specific MachineOperand flags.
- MO_NO_FLAG,
+ // MO_NO_FLAG,
/// MO_GOT - Represents the offset into the global offset table at which
/// the address the relocation entry symbol resides during execution.
- MO_GOT,
+ // MO_GOT,
/// MO_GOT_CALL - Represents the offset into the global offset table at
/// which the address of a call site relocation entry symbol resides
/// during execution. This is different from the above since this flag
/// can only be present in call instructions.
- MO_GOT_CALL,
+ // MO_GOT_CALL,
/// MO_GPREL - Represents the offset from the current gp value to be used
/// for the relocatable object file being produced.
- MO_GPREL,
+ // MO_GPREL,
/// MO_ABS_HILO - Represents the hi or low part of an absolute symbol
/// address.
- MO_ABS_HILO
+ // MO_ABS_HILO
};
}