add a new intrinsic node
authorChris Lattner <sabre@nondot.org>
Fri, 24 Mar 2006 01:03:55 +0000 (01:03 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 24 Mar 2006 01:03:55 +0000 (01:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27019 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SelectionDAGNodes.h

index 5026d038b16e4eaf6ce3a436dadf23a86ce3740d..75579ecb7cc2c15e1384367e23a8000c83da9606 100644 (file)
@@ -79,6 +79,14 @@ namespace ISD {
     TargetFrameIndex,
     TargetConstantPool,
     TargetExternalSymbol,
+    
+    /// RESULT{,OUTCHAIN} = INTRINSIC({INCHAIN,} INTRINSICID, arg1, arg2, ...)
+    /// This node represents a target intrinsic function.  If the intrinsic
+    /// has side effects, the first operand is a chain pointer and the result
+    /// includes an output chain.  After this input is the ID number of the 
+    /// intrinsic, from the llvm::intrinsic namespace.  The operands to the 
+    /// intrinsic follow.
+    INTRINSIC,
 
     // CopyToReg - This node has three operands: a chain, a register number to
     // set to this value, and a value.