From 72601cac6051a9571ca4db3b32d6a73e40b40bd1 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 24 Mar 2006 01:03:55 +0000 Subject: [PATCH] add a new intrinsic node git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27019 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/SelectionDAGNodes.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h index 5026d038b16..75579ecb7cc 100644 --- a/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/include/llvm/CodeGen/SelectionDAGNodes.h @@ -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.