Displaying 1 result from an estimated 1 matches for "isimmsl".
Did you mean:
isimmsll
2012 Jan 18
2
[LLVMdev] Question about isel patterns
...ve the following patterns (the last instruction of the
sequence, or the root of 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...