Displaying 3 results from an estimated 3 matches for "dpfrm".
Did you mean:
dfrm
2012 Sep 12
2
[LLVMdev] [PATCH][Review request] tablegen: extend list fields
...erclass:
- 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)]>,
Requires<[IsARM, HasV6T2]>, UnaryDP {
can be rewritten to this:
class PredHasV6T2 {
list<Predicate> Predicates = [HasV6T2];
}
def MOVi16...
2012 Sep 12
0
[LLVMdev] [llvm-commits] [PATCH][Review request] tablegen: extend list fields
...ates += [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)]>,
> Requires<[IsARM, HasV6T2]>, UnaryDP {
>
>
> can be rewritten to this:
>
> class PredHasV6T2 {
> list<Predicate&...
2012 Sep 14
1
[LLVMdev] [llvm-commits] [PATCH][Review request] tablegen: extend list fields
...> }
> >
> > - 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)]>,
> > Requires<[IsARM, HasV6T2]>, UnaryDP {
> >
> >
> > can be rewritten to this:
> >
> > class...