aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-02-12 04:00:55 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-02-12 04:00:55 +0000
commit2d58f0691ec71f5c38b93c969c4bfdcd536491a8 (patch)
tree3e59c20e6fb9ada7aee8e84106a719207449901f
parentc0b9dc5be79f009d260edb5cd5e1d8346587aaa2 (diff)
downloadexternal_llvm-2d58f0691ec71f5c38b93c969c4bfdcd536491a8.zip
external_llvm-2d58f0691ec71f5c38b93c969c4bfdcd536491a8.tar.gz
external_llvm-2d58f0691ec71f5c38b93c969c4bfdcd536491a8.tar.bz2
Remove these MachineOpCodeFlags and their accessor - they are never set.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11341 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/MachineInstr.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h
index 0cc46b0..572b982 100644
--- a/include/llvm/CodeGen/MachineInstr.h
+++ b/include/llvm/CodeGen/MachineInstr.h
@@ -33,17 +33,6 @@ template <typename T> class ilist_traits;
typedef int MachineOpCode;
//===----------------------------------------------------------------------===//
-/// Special flags on instructions that modify the opcode.
-/// These flags are unused for now, but having them enforces that some
-/// changes will be needed if they are used.
-///
-enum MachineOpCodeFlags {
- AnnulFlag, /// 1 if annul bit is set on a branch
- PredTakenFlag, /// 1 if branch should be predicted taken
- PredNotTakenFlag /// 1 if branch should be predicted not taken
-};
-
-//===----------------------------------------------------------------------===//
/// MOTy - MachineOperandType - This namespace contains an enum that describes
/// how the machine operand is used by the instruction: is it read, defined, or
/// both? Note that the MachineInstr/Operator class currently uses bool
@@ -389,10 +378,9 @@ public:
///
MachineInstr(MachineBasicBlock *MBB, int Opcode, unsigned numOps);
- /// Accessors for opcode and associated flags.
+ /// Accessors for opcode.
///
const int getOpcode() const { return opCode; }
- unsigned getOpCodeFlags() const { return opCodeFlags; }
/// Access to explicit operands of the instruction.
///