diff options
author | Chris Lattner <sabre@nondot.org> | 2002-10-28 21:17:20 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-10-28 21:17:20 +0000 |
commit | 9a8e4121aa4121100fb562134c098aeb38f70b37 (patch) | |
tree | 7d5bf9379a00952000fc9331b77b777183bb2dd8 /include/llvm/CodeGen/MachineInstr.h | |
parent | b98a53f201fd3652f4b7e37d1f2cb3b9b0775d45 (diff) |
Remove all traces of the "Opcode Mask" field in the MachineInstr class
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4359 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineInstr.h')
-rw-r--r-- | include/llvm/CodeGen/MachineInstr.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h index 8b7f0643c2..5855d149ff 100644 --- a/include/llvm/CodeGen/MachineInstr.h +++ b/include/llvm/CodeGen/MachineInstr.h @@ -17,7 +17,6 @@ class Value; class Function; typedef int MachineOpCode; -typedef int OpCodeMask; //--------------------------------------------------------------------------- // class MachineOperand @@ -185,13 +184,6 @@ private: // MachineOpCode must be an enum, defined separately for each target. // E.g., It is defined in SparcInstructionSelection.h for the SPARC. // -// opCodeMask is used to record variants of an instruction. -// E.g., each branch instruction on SPARC has 2 flags (i.e., 4 variants): -// ANNUL: if 1: Annul delay slot instruction. -// PREDICT-NOT-TAKEN: if 1: predict branch not taken. -// Instead of creating 4 different opcodes for BNZ, we create a single -// opcode and set bits in opCodeMask for each of these flags. -// // There are 2 kinds of operands: // // (1) Explicit operands of the machine instruction in vector operands[] @@ -204,7 +196,6 @@ private: class MachineInstr : public Annotable, // MachineInstrs are annotable public NonCopyable { // Disable copy operations MachineOpCode opCode; // the opcode - OpCodeMask opCodeMask; // extra bits for variants of an opcode std::vector<MachineOperand> operands; // the operands struct ImplicitRef { |