diff options
author | Chris Lattner <sabre@nondot.org> | 2005-11-17 07:20:15 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-11-17 07:20:15 +0000 |
commit | db40dc2d631faa52f4fbe655c5d7677d9b2ede8c (patch) | |
tree | de4c57d6e75f94a488f049f6c679f481d41cf700 | |
parent | bae5b3c1c6e1009898f66211a6fd466c1e809ccc (diff) |
Add globaladdress and targetglobaladdress nodes for dag patterns
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24389 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/TargetSelectionDAG.td | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/TargetSelectionDAG.td b/lib/Target/TargetSelectionDAG.td index 8be4e659f7..afc84b3d0f 100644 --- a/lib/Target/TargetSelectionDAG.td +++ b/lib/Target/TargetSelectionDAG.td @@ -140,6 +140,10 @@ def imm : SDNode<"ISD::Constant" , SDTImm , [], "ConstantSDNode">; def vt : SDNode<"ISD::VALUETYPE" , SDTVT , [], "VTSDNode">; def cond : SDNode<"ISD::CONDCODE" , SDTVT , [], "CondCodeSDNode">; def undef : SDNode<"ISD::UNDEF" , SDTUNDEF , []>; +def globaladdr : SDNode<"ISD::GlobalAddress", SDTImm, [], + "GlobalAddressSDNode">; +def tglobaladdr : SDNode<"ISD::TargetGlobalAddress", SDTImm, [], + "GlobalAddressSDNode">; def add : SDNode<"ISD::ADD" , SDTIntBinOp , [SDNPCommutative, SDNPAssociative]>; def sub : SDNode<"ISD::SUB" , SDTIntBinOp>; |