Displaying 3 results from an estimated 3 matches for "addp1".
Did you mean:
add1
2012 Sep 12
2
[LLVMdev] [PATCH][Review request] tablegen: extend list fields
...et (other than running
make check).
The lists can be extended either with a "+=" operator in a let statement or
placing a '"+" in front of a superclass:
- Example 1:
def D0 : C1 {
let Predicates += [P2]; // Append P2 to C1's Predicates
}
- Example 2:
def D0 : C1, +AddP1;
Using a real example, MOVi16 (in ARMInstrInfo.td) which is defined as
def MOVi16 : AI1<0b1000, (outs GPR:$Rd), (ins imm0_65535_expr:$imm),
DPFrm, IIC_iMOVi,
"movw", "\t$Rd, $imm",
[(set GPR:$Rd, imm0_65535:$imm)]>,...
2012 Sep 12
0
[LLVMdev] [llvm-commits] [PATCH][Review request] tablegen: extend list fields
...be extended either with a "+=" operator in a let statement or
> placing a '"+" in front of a superclass:
>
> - Example 1:
>
> def D0 : C1 {
> let Predicates += [P2]; // Append P2 to C1's Predicates
> }
>
> - Example 2:
>
> def D0 : C1, +AddP1;
>
>
> Using a real example, MOVi16 (in ARMInstrInfo.td) which is defined as
>
> def MOVi16 : AI1<0b1000, (outs GPR:$Rd), (ins imm0_65535_expr:$imm),
> DPFrm, IIC_iMOVi,
> "movw", "\t$Rd, $imm",
> [(se...
2012 Sep 14
1
[LLVMdev] [llvm-commits] [PATCH][Review request] tablegen: extend list fields
...tatement
> or
> > placing a '"+" in front of a superclass:
> >
> > - Example 1:
> >
> > def D0 : C1 {
> > let Predicates += [P2]; // Append P2 to C1's Predicates
> > }
> >
> > - Example 2:
> >
> > def D0 : C1, +AddP1;
> >
> >
> > Using a real example, MOVi16 (in ARMInstrInfo.td) which is defined as
> >
> > def MOVi16 : AI1<0b1000, (outs GPR:$Rd), (ins imm0_65535_expr:$imm),
> > DPFrm, IIC_iMOVi,
> > "movw", "\t$Rd, $im...