From: Chris Lattner Date: Thu, 26 Jan 2006 22:23:45 +0000 (+0000) Subject: Add new INLINEASM node X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7572eb81eee93b0c666ddc5f5ff0ff72f17574fd;hp=6e87c0e029c011b9ee61068c607080ca4934378a;p=oota-llvm.git Add new INLINEASM node git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25663 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h index 431364e0724..b41b546d3ac 100644 --- a/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/include/llvm/CodeGen/SelectionDAGNodes.h @@ -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