Add new INLINEASM node
authorChris Lattner <sabre@nondot.org>
Thu, 26 Jan 2006 22:23:45 +0000 (22:23 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 26 Jan 2006 22:23:45 +0000 (22:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25663 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SelectionDAGNodes.h

index 431364e07242256fa75535a5ecff156e818ed577..b41b546d3ac7ab6e7ea0d4b80aa220c5402fdbb6 100644 (file)
@@ -311,6 +311,15 @@ namespace ISD {
     // the callee is known not to access the stack of the caller.
     CALL,
     TAILCALL,
+    
+    // INLINEASM - Represents an inline asm block.  This node always has two
+    // return values: a chain and a flag result.  The inputs are as follows:
+    //   Operand #0   : Input chain.
+    //   Operand #1   : a ExternalSymbolSDNode with a pointer to the asm string.
+    //   Operand #2n+2: A RegisterNode.
+    //   Operand #2n+3: A TargetConstant, indicating if the reg is a use/def
+    //   Operand #last: Optional, an incoming flag.
+    INLINEASM,
 
     // STACKSAVE - STACKSAVE has one operand, an input chain.  It produces a
     // value, the same type as the pointer type for the system, and an output