[llvm-commits] CVS: llvm/include/llvm/CodeGen/SelectionDAGNodes.h

Chris Lattner lattner at cs.uiuc.edu
Thu Jan 26 14:23:56 PST 2006



Changes in directory llvm/include/llvm/CodeGen:

SelectionDAGNodes.h updated: 1.94 -> 1.95
---
Log message:

Add new INLINEASM node


---
Diffs of the changes:  (+9 -0)

 SelectionDAGNodes.h |    9 +++++++++
 1 files changed, 9 insertions(+)


Index: llvm/include/llvm/CodeGen/SelectionDAGNodes.h
diff -u llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.94 llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.95
--- llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.94	Wed Jan 25 12:21:52 2006
+++ llvm/include/llvm/CodeGen/SelectionDAGNodes.h	Thu Jan 26 16:23:45 2006
@@ -311,6 +311,15 @@
     // 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






More information about the llvm-commits mailing list