Add some bits that can be set for instructions.
authorChris Lattner <sabre@nondot.org>
Sun, 2 Jan 2005 02:27:48 +0000 (02:27 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 2 Jan 2005 02:27:48 +0000 (02:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19241 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Target.td

index bdc30c06cd32b4ed1717ad3464b1b15f1e9e4dd5..bdaa05bf518e8ee8ec249bd7143d99d8e31984e9 100644 (file)
@@ -133,6 +133,8 @@ class Instruction {
   bit isLoad       = 0;     // Is this instruction a load instruction?
   bit isStore      = 0;     // Is this instruction a store instruction?
   bit isTwoAddress = 0;     // Is this a two address instruction?
+  bit isConvertibleToThreeAddress = 0;  // Can this 2-addr instruction promote?
+  bit isCommutable = 0;     // Is this 3 operand instruction commutable?
   bit isTerminator = 0;     // Is this part of the terminator for a basic block?
   bit hasDelaySlot = 0;     // Does this instruction have an delay slot?
 }