forked from OSchip/llvm-project
Remove these MachineOpCodeFlags and their accessor - they are never set.
llvm-svn: 11341
This commit is contained in:
parent
80da865f77
commit
84262c112c
|
@ -32,17 +32,6 @@ template <typename T> class ilist_traits;
|
||||||
|
|
||||||
typedef int MachineOpCode;
|
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
|
/// MOTy - MachineOperandType - This namespace contains an enum that describes
|
||||||
/// how the machine operand is used by the instruction: is it read, defined, or
|
/// how the machine operand is used by the instruction: is it read, defined, or
|
||||||
|
@ -389,10 +378,9 @@ public:
|
||||||
///
|
///
|
||||||
MachineInstr(MachineBasicBlock *MBB, int Opcode, unsigned numOps);
|
MachineInstr(MachineBasicBlock *MBB, int Opcode, unsigned numOps);
|
||||||
|
|
||||||
/// Accessors for opcode and associated flags.
|
/// Accessors for opcode.
|
||||||
///
|
///
|
||||||
const int getOpcode() const { return opCode; }
|
const int getOpcode() const { return opCode; }
|
||||||
unsigned getOpCodeFlags() const { return opCodeFlags; }
|
|
||||||
|
|
||||||
/// Access to explicit operands of the instruction.
|
/// Access to explicit operands of the instruction.
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in New Issue