b := v.Block
// match: (LEAL1 <t> [c] {s} x y)
// cond: isPtr(x.Type) && c != 0 && s == nil
- // result: (ADDL x (ADDLconst <t> [c] y))
+ // result: (ADDL x (ADDLconst <y.Type> [c] y))
for {
- t := v.Type
c := auxIntToInt32(v.AuxInt)
s := auxToSym(v.Aux)
for _i0 := 0; _i0 <= 1; _i0, v_0, v_1 = _i0+1, v_1, v_0 {
continue
}
v.reset(OpAMD64ADDL)
- v0 := b.NewValue0(v.Pos, OpAMD64ADDLconst, t)
+ v0 := b.NewValue0(v.Pos, OpAMD64ADDLconst, y.Type)
v0.AuxInt = int32ToAuxInt(c)
v0.AddArg(y)
v.AddArg2(x, v0)
}
// match: (LEAL1 <t> [c] {s} x y)
// cond: !isPtr(x.Type) && c != 0 && s == nil
- // result: (ADDL y (ADDLconst <t> [c] x))
+ // result: (ADDL y (ADDLconst <x.Type> [c] x))
for {
- t := v.Type
c := auxIntToInt32(v.AuxInt)
s := auxToSym(v.Aux)
for _i0 := 0; _i0 <= 1; _i0, v_0, v_1 = _i0+1, v_1, v_0 {
continue
}
v.reset(OpAMD64ADDL)
- v0 := b.NewValue0(v.Pos, OpAMD64ADDLconst, t)
+ v0 := b.NewValue0(v.Pos, OpAMD64ADDLconst, x.Type)
v0.AuxInt = int32ToAuxInt(c)
v0.AddArg(x)
v.AddArg2(y, v0)
b := v.Block
// match: (LEAL2 <t> [c] {s} x y)
// cond: !isPtr(t) && c != 0 && s == nil
- // result: (ADDLconst [c] (LEAL2 <t> x y))
+ // result: (ADDLconst [c] (LEAL2 <x.Type> x y))
for {
t := v.Type
c := auxIntToInt32(v.AuxInt)
}
v.reset(OpAMD64ADDLconst)
v.AuxInt = int32ToAuxInt(c)
- v0 := b.NewValue0(v.Pos, OpAMD64LEAL2, t)
+ v0 := b.NewValue0(v.Pos, OpAMD64LEAL2, x.Type)
v0.AddArg2(x, y)
v.AddArg(v0)
return true
b := v.Block
// match: (LEAL4 <t> [c] {s} x y)
// cond: !isPtr(t) && c != 0 && s == nil
- // result: (ADDLconst [c] (LEAL4 <t> x y))
+ // result: (ADDLconst [c] (LEAL4 <x.Type> x y))
for {
t := v.Type
c := auxIntToInt32(v.AuxInt)
}
v.reset(OpAMD64ADDLconst)
v.AuxInt = int32ToAuxInt(c)
- v0 := b.NewValue0(v.Pos, OpAMD64LEAL4, t)
+ v0 := b.NewValue0(v.Pos, OpAMD64LEAL4, x.Type)
v0.AddArg2(x, y)
v.AddArg(v0)
return true
b := v.Block
// match: (LEAL8 <t> [c] {s} x y)
// cond: !isPtr(t) && c != 0 && s == nil
- // result: (ADDLconst [c] (LEAL8 <t> x y))
+ // result: (ADDLconst [c] (LEAL8 <x.Type> x y))
for {
t := v.Type
c := auxIntToInt32(v.AuxInt)
}
v.reset(OpAMD64ADDLconst)
v.AuxInt = int32ToAuxInt(c)
- v0 := b.NewValue0(v.Pos, OpAMD64LEAL8, t)
+ v0 := b.NewValue0(v.Pos, OpAMD64LEAL8, x.Type)
v0.AddArg2(x, y)
v.AddArg(v0)
return true
b := v.Block
// match: (LEAQ1 <t> [c] {s} x y)
// cond: isPtr(x.Type) && c != 0 && s == nil
- // result: (ADDQ x (ADDQconst <t> [c] y))
+ // result: (ADDQ x (ADDQconst <y.Type> [c] y))
for {
- t := v.Type
c := auxIntToInt32(v.AuxInt)
s := auxToSym(v.Aux)
for _i0 := 0; _i0 <= 1; _i0, v_0, v_1 = _i0+1, v_1, v_0 {
continue
}
v.reset(OpAMD64ADDQ)
- v0 := b.NewValue0(v.Pos, OpAMD64ADDQconst, t)
+ v0 := b.NewValue0(v.Pos, OpAMD64ADDQconst, y.Type)
v0.AuxInt = int32ToAuxInt(c)
v0.AddArg(y)
v.AddArg2(x, v0)
}
// match: (LEAQ1 <t> [c] {s} x y)
// cond: !isPtr(x.Type) && c != 0 && s == nil
- // result: (ADDQ y (ADDQconst <t> [c] x))
+ // result: (ADDQ y (ADDQconst <x.Type> [c] x))
for {
- t := v.Type
c := auxIntToInt32(v.AuxInt)
s := auxToSym(v.Aux)
for _i0 := 0; _i0 <= 1; _i0, v_0, v_1 = _i0+1, v_1, v_0 {
continue
}
v.reset(OpAMD64ADDQ)
- v0 := b.NewValue0(v.Pos, OpAMD64ADDQconst, t)
+ v0 := b.NewValue0(v.Pos, OpAMD64ADDQconst, x.Type)
v0.AuxInt = int32ToAuxInt(c)
v0.AddArg(x)
v.AddArg2(y, v0)
b := v.Block
// match: (LEAQ2 <t> [c] {s} x y)
// cond: !isPtr(t) && c != 0 && s == nil
- // result: (ADDQconst [c] (LEAQ2 <t> x y))
+ // result: (ADDQconst [c] (LEAQ2 <x.Type> x y))
for {
t := v.Type
c := auxIntToInt32(v.AuxInt)
}
v.reset(OpAMD64ADDQconst)
v.AuxInt = int32ToAuxInt(c)
- v0 := b.NewValue0(v.Pos, OpAMD64LEAQ2, t)
+ v0 := b.NewValue0(v.Pos, OpAMD64LEAQ2, x.Type)
v0.AddArg2(x, y)
v.AddArg(v0)
return true
b := v.Block
// match: (LEAQ4 <t> [c] {s} x y)
// cond: !isPtr(t) && c != 0 && s == nil
- // result: (ADDQconst [c] (LEAQ4 <t> x y))
+ // result: (ADDQconst [c] (LEAQ4 <x.Type> x y))
for {
t := v.Type
c := auxIntToInt32(v.AuxInt)
}
v.reset(OpAMD64ADDQconst)
v.AuxInt = int32ToAuxInt(c)
- v0 := b.NewValue0(v.Pos, OpAMD64LEAQ4, t)
+ v0 := b.NewValue0(v.Pos, OpAMD64LEAQ4, x.Type)
v0.AddArg2(x, y)
v.AddArg(v0)
return true
b := v.Block
// match: (LEAQ8 <t> [c] {s} x y)
// cond: !isPtr(t) && c != 0 && s == nil
- // result: (ADDQconst [c] (LEAQ8 <t> x y))
+ // result: (ADDQconst [c] (LEAQ8 <x.Type> x y))
for {
t := v.Type
c := auxIntToInt32(v.AuxInt)
}
v.reset(OpAMD64ADDQconst)
v.AuxInt = int32ToAuxInt(c)
- v0 := b.NewValue0(v.Pos, OpAMD64LEAQ8, t)
+ v0 := b.NewValue0(v.Pos, OpAMD64LEAQ8, x.Type)
v0.AddArg2(x, y)
v.AddArg(v0)
return true
b := v.Block
// match: (LEAW1 <t> [c] {s} x y)
// cond: isPtr(x.Type) && c != 0 && s == nil
- // result: (ADDL x (ADDLconst <t> [c] y))
+ // result: (ADDL x (ADDLconst <y.Type> [c] y))
for {
- t := v.Type
c := auxIntToInt32(v.AuxInt)
s := auxToSym(v.Aux)
for _i0 := 0; _i0 <= 1; _i0, v_0, v_1 = _i0+1, v_1, v_0 {
continue
}
v.reset(OpAMD64ADDL)
- v0 := b.NewValue0(v.Pos, OpAMD64ADDLconst, t)
+ v0 := b.NewValue0(v.Pos, OpAMD64ADDLconst, y.Type)
v0.AuxInt = int32ToAuxInt(c)
v0.AddArg(y)
v.AddArg2(x, v0)
}
// match: (LEAW1 <t> [c] {s} x y)
// cond: !isPtr(x.Type) && c != 0 && s == nil
- // result: (ADDL y (ADDLconst <t> [c] x))
+ // result: (ADDL y (ADDLconst <x.Type> [c] x))
for {
- t := v.Type
c := auxIntToInt32(v.AuxInt)
s := auxToSym(v.Aux)
for _i0 := 0; _i0 <= 1; _i0, v_0, v_1 = _i0+1, v_1, v_0 {
continue
}
v.reset(OpAMD64ADDL)
- v0 := b.NewValue0(v.Pos, OpAMD64ADDLconst, t)
+ v0 := b.NewValue0(v.Pos, OpAMD64ADDLconst, x.Type)
v0.AuxInt = int32ToAuxInt(c)
v0.AddArg(x)
v.AddArg2(y, v0)
b := v.Block
// match: (LEAW2 <t> [c] {s} x y)
// cond: !isPtr(t) && c != 0 && s == nil
- // result: (ADDLconst [c] (LEAW2 <t> x y))
+ // result: (ADDLconst [c] (LEAW2 <x.Type> x y))
for {
t := v.Type
c := auxIntToInt32(v.AuxInt)
}
v.reset(OpAMD64ADDLconst)
v.AuxInt = int32ToAuxInt(c)
- v0 := b.NewValue0(v.Pos, OpAMD64LEAW2, t)
+ v0 := b.NewValue0(v.Pos, OpAMD64LEAW2, x.Type)
v0.AddArg2(x, y)
v.AddArg(v0)
return true
b := v.Block
// match: (LEAW4 <t> [c] {s} x y)
// cond: !isPtr(t) && c != 0 && s == nil
- // result: (ADDLconst [c] (LEAW4 <t> x y))
+ // result: (ADDLconst [c] (LEAW4 <x.Type> x y))
for {
t := v.Type
c := auxIntToInt32(v.AuxInt)
}
v.reset(OpAMD64ADDLconst)
v.AuxInt = int32ToAuxInt(c)
- v0 := b.NewValue0(v.Pos, OpAMD64LEAW4, t)
+ v0 := b.NewValue0(v.Pos, OpAMD64LEAW4, x.Type)
v0.AddArg2(x, y)
v.AddArg(v0)
return true
b := v.Block
// match: (LEAW8 <t> [c] {s} x y)
// cond: !isPtr(t) && c != 0 && s == nil
- // result: (ADDLconst [c] (LEAW8 <t> x y))
+ // result: (ADDLconst [c] (LEAW8 <x.Type> x y))
for {
t := v.Type
c := auxIntToInt32(v.AuxInt)
}
v.reset(OpAMD64ADDLconst)
v.AuxInt = int32ToAuxInt(c)
- v0 := b.NewValue0(v.Pos, OpAMD64LEAW8, t)
+ v0 := b.NewValue0(v.Pos, OpAMD64LEAW8, x.Type)
v0.AddArg2(x, y)
v.AddArg(v0)
return true