summaryrefslogtreecommitdiff
path: root/lib/Target/MBlaze/MBlazeInstrInfo.h
diff options
context:
space:
mode:
authorWesley Peck <peckw@wesleypeck.com>2010-10-21 03:34:22 +0000
committerWesley Peck <peckw@wesleypeck.com>2010-10-21 03:34:22 +0000
commit60e7127e862e359eb1b4694e5161da6dc4c2c397 (patch)
tree3b7b7f394b741cfd7b592c76909062d7a30623a7 /lib/Target/MBlaze/MBlazeInstrInfo.h
parentd9707e3d852622197133a73dcb788a7fcd364015 (diff)
downloadllvm-60e7127e862e359eb1b4694e5161da6dc4c2c397.tar.gz
llvm-60e7127e862e359eb1b4694e5161da6dc4c2c397.tar.bz2
llvm-60e7127e862e359eb1b4694e5161da6dc4c2c397.tar.xz
Reverting the commit 116986. It was breaking the build on llvm-x86_64-linux though it
compiles on OS X. I'll ensure that it builds on a linux machine before committing again. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116991 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MBlaze/MBlazeInstrInfo.h')
-rw-r--r--lib/Target/MBlaze/MBlazeInstrInfo.h32
1 files changed, 7 insertions, 25 deletions
diff --git a/lib/Target/MBlaze/MBlazeInstrInfo.h b/lib/Target/MBlaze/MBlazeInstrInfo.h
index eda16cc5e1..b3dba0ec76 100644
--- a/lib/Target/MBlaze/MBlazeInstrInfo.h
+++ b/lib/Target/MBlaze/MBlazeInstrInfo.h
@@ -134,47 +134,29 @@ namespace MBlaze {
/// instruction info tracks.
///
namespace MBlazeII {
- 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
-
+ /// Target Operand Flag enum.
+ enum TOF {
//===------------------------------------------------------------------===//
// 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
};
}