forked from OSchip/llvm-project
Add globaladdress and targetglobaladdress nodes for dag patterns
llvm-svn: 24389
This commit is contained in:
parent
63ed749ce0
commit
840458276c
|
@ -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>;
|
||||
|
|
Loading…
Reference in New Issue