From: Chris Lattner Date: Sun, 2 Jan 2005 02:27:48 +0000 (+0000) Subject: Add some bits that can be set for instructions. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=273f2280f2218dd73e01edbaf09d02000d6726dd;p=oota-llvm.git Add some bits that can be set for instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19241 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Target.td b/lib/Target/Target.td index bdc30c06cd3..bdaa05bf518 100644 --- a/lib/Target/Target.td +++ b/lib/Target/Target.td @@ -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? }