search for: ldap_lu10

Displaying 1 result from an estimated 1 matches for "ldap_lu10".

2009 Nov 15
0
[LLVMdev] Matching an instruction that writes a specific register in a Pat<>
...an instruction whose result is always written to a specific register using set with that register as the first operand in the DAG pattern of the instruction. For example on the XCore the result of the the ldap instruction is written to R11 and used to match the tglobaladdr node as follows: def LDAP_lu10 : _FLU10< (outs), (ins i32imm:$addr), "ldap r11, $addr", [(set R11, (pcrelwrapper tglobaladdr:$addr))]>; Is there anyway to get the same effect using a Pat<>? I'm asking because I want to use the sam...