Added constpool, frameindex, and externalsym nodes.
authorEvan Cheng <evan.cheng@apple.com>
Thu, 15 Dec 2005 08:29:48 +0000 (08:29 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 15 Dec 2005 08:29:48 +0000 (08:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24723 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/TargetSelectionDAG.td

index 46fbd9f58a683384f9e4f0328b529bd02b1b268c..89deb72e01f0d32bdf83170bd5458cd01367325b 100644 (file)
@@ -185,12 +185,18 @@ def vt         : SDNode<"ISD::VALUETYPE" , SDTOther   , [], "VTSDNode">;
 def bb         : SDNode<"ISD::BasicBlock", SDTOther   , [], "BasicBlockSDNode">;
 def cond       : SDNode<"ISD::CONDCODE"  , SDTOther   , [], "CondCodeSDNode">;
 def undef      : SDNode<"ISD::UNDEF"     , SDTUNDEF   , []>;
-def globaladdr : SDNode<"ISD::GlobalAddress", SDTPtrLeaf, [],
+def globaladdr : SDNode<"ISD::GlobalAddress",       SDTPtrLeaf, [],
                         "GlobalAddressSDNode">;
-def tglobaladdr : SDNode<"ISD::TargetGlobalAddress", SDTPtrLeaf, [],
+def tglobaladdr: SDNode<"ISD::TargetGlobalAddress", SDTPtrLeaf, [],
                         "GlobalAddressSDNode">;
-def tconstpool  : SDNode<"ISD::TargetConstantPool", SDTPtrLeaf, [],
+def constpool  : SDNode<"ISD::ConstantPool",        SDTPtrLeaf, [],
                         "ConstantPoolSDNode">;
+def tconstpool : SDNode<"ISD::TargetConstantPool",  SDTPtrLeaf, [],
+                        "ConstantPoolSDNode">;
+def frameindex : SDNode<"ISD::FrameIndex",          SDTPtrLeaf, [],
+                        "FrameIndexSDNode">;
+def externalsym: SDNode<"ISD::ExternalSymbol",      SDTPtrLeaf, [],
+                        "ExternalSymbolSDNode">;
 def add        : SDNode<"ISD::ADD"       , SDTIntBinOp   ,
                         [SDNPCommutative, SDNPAssociative]>;
 def sub        : SDNode<"ISD::SUB"       , SDTIntBinOp>;