Displaying 1 result from an estimated 1 matches for "isimmlui".
2012 Jan 18
2
[LLVMdev] Question about isel patterns
...the DAG, can be ADDiu, ORi, SLL or LUi):
def : Pat<(isImmADDiu:$imm), (ADDiu (RegOpnd imm:$imm), (ImmOpnd imm:$imm))>;
def : Pat<(isImmORi:$imm), (ORi (RegOpnd imm:$imm), (ImmOpnd imm:$imm))>;
def : Pat<(isImmSLL:$imm), (SLL (RegOpnd imm:$imm), (ImmOpnd imm:$imm))>;
def : Pat<(isImmLUi:$imm), (LUi (ImmOpnd imm:$imm))>;
isImm*, RegOpnd and ImmOpnd all call a function which computes the
instruction sequence (the result is cached).
ImmOpnd and RegOpnd are SDNodeXForms that return the immediate and
register operands of the
root node. For example, when the immediate in the third...