diff options
author | Chris Lattner <sabre@nondot.org> | 2006-03-25 02:29:35 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-03-25 02:29:35 +0000 |
commit | ea93f639640f8f1a80c7ffef3a465bc6017b0d35 (patch) | |
tree | 1e097ab6624fd6c82ad03d5c2d65c475460bc006 | |
parent | 29e6ac620f4329202257df1a402761c8ef1d4dde (diff) |
Add new intrinsic node definitions for tblgen use
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27100 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/TargetSelectionDAG.td | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Target/TargetSelectionDAG.td b/lib/Target/TargetSelectionDAG.td index 94efe42e41..3856009bd2 100644 --- a/lib/Target/TargetSelectionDAG.td +++ b/lib/Target/TargetSelectionDAG.td @@ -311,6 +311,18 @@ def build_vector : SDNode<"ISD::BUILD_VECTOR", SDTypeProfile<1, 0, []>, []>; def scalar_to_vector : SDNode<"ISD::SCALAR_TO_VECTOR", SDTypeProfile<1, 1, []>, []>; +// Nodes for intrinsics, you should use the intrinsic itself and let tblgen use +// these internally. Don't reference these directly. +def intrinsic_void : SDNode<"ISD::INTRINSIC", + SDTypeProfile<0, -1, [SDTCisPtrTy<0>]>, + [SDNPHasChain]>; +def intrinsic_w_chain : SDNode<"ISD::INTRINSIC", + SDTypeProfile<1, -1, [SDTCisPtrTy<1>]>, + [SDNPHasChain]>; +def intrinsic_wo_chain : SDNode<"ISD::INTRINSIC", + SDTypeProfile<1, -1, [SDTCisPtrTy<1>]>, []>; + + //===----------------------------------------------------------------------===// // Selection DAG Condition Codes |