Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 57 for add_args (0.65 sec)

  1. src/cmd/compile/internal/ssa/rewriteARM.go

    		v0.AuxInt = int32ToAuxInt(c)
    		v0.AddArg2(x, y)
    		v.AddArg(v0)
    		return true
    	}
    	// match: (CMP x (SRLconst [c] y))
    	// result: (CMPshiftRL x y [c])
    	for {
    		x := v_0
    		if v_1.Op != OpARMSRLconst {
    			break
    		}
    		c := auxIntToInt32(v_1.AuxInt)
    		y := v_1.Args[0]
    		v.reset(OpARMCMPshiftRL)
    		v.AuxInt = int32ToAuxInt(c)
    		v.AddArg2(x, y)
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 486.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewriteMIPS64.go

    		v6.AuxInt = int64ToAuxInt(3)
    		v6.AddArg(ptr)
    		v5.AddArg(v6)
    		v3.AddArg2(v4, v5)
    		v7 := b.NewValue0(v.Pos, OpMIPS64NORconst, typ.UInt64)
    		v7.AuxInt = int64ToAuxInt(0)
    		v8 := b.NewValue0(v.Pos, OpMIPS64SLLV, typ.UInt64)
    		v9 := b.NewValue0(v.Pos, OpMIPS64MOVVconst, typ.UInt64)
    		v9.AuxInt = int64ToAuxInt(0xff)
    		v8.AddArg2(v9, v5)
    		v7.AddArg(v8)
    		v2.AddArg2(v3, v7)
    		v.AddArg3(v0, v2, mem)
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 211.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewriteAMD64.go

    		v0.AuxInt = int8ToAuxInt(int8(c))
    		v0.AddArg(x)
    		v.AddArg(v0)
    		return true
    	}
    	// match: (CMPB x y)
    	// cond: canonLessThan(x,y)
    	// result: (InvertFlags (CMPB y x))
    	for {
    		x := v_0
    		y := v_1
    		if !(canonLessThan(x, y)) {
    			break
    		}
    		v.reset(OpAMD64InvertFlags)
    		v0 := b.NewValue0(v.Pos, OpAMD64CMPB, types.TypeFlags)
    		v0.AddArg2(y, x)
    		v.AddArg(v0)
    		return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 712.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewriteWasm.go

    		v0.AddArg2(src, mem)
    		v1 := b.NewValue0(v.Pos, OpWasmI64Store, types.TypeMem)
    		v2 := b.NewValue0(v.Pos, OpWasmI64Load, typ.UInt64)
    		v2.AddArg2(src, mem)
    		v1.AddArg3(dst, v2, mem)
    		v.AddArg3(dst, v0, v1)
    		return true
    	}
    	// match: (Move [3] dst src mem)
    	// result: (I64Store8 [2] dst (I64Load8U [2] src mem) (I64Store16 dst (I64Load16U src mem) mem))
    	for {
    		if auxIntToInt64(v.AuxInt) != 3 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 108.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewriteLOONG64.go

    		v0 := b.NewValue0(v.Pos, OpLOONG64SLLV, t)
    		v1 := b.NewValue0(v.Pos, OpZeroExt16to64, typ.UInt64)
    		v1.AddArg(y)
    		v0.AddArg2(x, v1)
    		v2 := b.NewValue0(v.Pos, OpLOONG64SGTU, typ.Bool)
    		v3 := b.NewValue0(v.Pos, OpLOONG64MOVVconst, typ.UInt64)
    		v3.AuxInt = int64ToAuxInt(64)
    		v2.AddArg2(v3, v1)
    		v.AddArg2(v0, v2)
    		return true
    	}
    }
    func rewriteValueLOONG64_OpLsh16x32(v *Value) bool {
    	v_1 := v.Args[1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 195.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewrite386.go

    		v0 := b.NewValue0(v.Pos, Op386LEAL4, v.Type)
    		v0.AddArg2(x, x)
    		v.AddArg2(x, v0)
    		return true
    	}
    	// match: (MULLconst [13] x)
    	// result: (LEAL4 x (LEAL2 <v.Type> x x))
    	for {
    		if auxIntToInt32(v.AuxInt) != 13 {
    			break
    		}
    		x := v_0
    		v.reset(Op386LEAL4)
    		v0 := b.NewValue0(v.Pos, Op386LEAL2, v.Type)
    		v0.AddArg2(x, x)
    		v.AddArg2(x, v0)
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 21:05:46 UTC 2023
    - 262.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewriteAMD64splitload.go

    		mem := v_1
    		if !(vo.Val() == 0) {
    			break
    		}
    		v.reset(OpAMD64TESTB)
    		x := b.NewValue0(v.Pos, OpAMD64MOVBload, typ.UInt8)
    		x.AuxInt = int32ToAuxInt(vo.Off())
    		x.Aux = symToAux(sym)
    		x.AddArg2(ptr, mem)
    		v.AddArg2(x, x)
    		return true
    	}
    	// match: (CMPBconstload {sym} [vo] ptr mem)
    	// cond: vo.Val() != 0
    	// result: (CMPBconst (MOVBload {sym} [vo.Off()] ptr mem) [vo.Val8()])
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 21.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/value.go

    	v.Args[i] = w
    	w.Uses++
    }
    func (v *Value) SetArgs1(a *Value) {
    	v.resetArgs()
    	v.AddArg(a)
    }
    func (v *Value) SetArgs2(a, b *Value) {
    	v.resetArgs()
    	v.AddArg(a)
    	v.AddArg(b)
    }
    func (v *Value) SetArgs3(a, b, c *Value) {
    	v.resetArgs()
    	v.AddArg(a)
    	v.AddArg(b)
    	v.AddArg(c)
    }
    
    func (v *Value) resetArgs() {
    	for _, a := range v.Args {
    		a.Uses--
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:40:22 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewritedec64.go

    		v8 := b.NewValue0(v.Pos, OpConst16, typ.UInt16)
    		v8.AuxInt = int16ToAuxInt(32)
    		v7.AddArg2(v8, s)
    		v6.AddArg2(v1, v7)
    		v3.AddArg2(v4, v6)
    		v9 := b.NewValue0(v.Pos, OpRsh32Ux16, typ.UInt32)
    		v10 := b.NewValue0(v.Pos, OpSub16, typ.UInt16)
    		v10.AddArg2(s, v8)
    		v9.AddArg2(v1, v10)
    		v2.AddArg2(v3, v9)
    		v.AddArg2(v0, v2)
    		return true
    	}
    }
    func rewriteValuedec64_OpRsh64Ux32(v *Value) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 65.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/rewritegeneric.go

    		v3.AuxInt = int32ToAuxInt(int32(smagic32(c).m))
    		v2.AddArg2(v3, x)
    		v1.AddArg2(v2, x)
    		v4 := b.NewValue0(v.Pos, OpConst64, typ.UInt64)
    		v4.AuxInt = int64ToAuxInt(smagic32(c).s)
    		v0.AddArg2(v1, v4)
    		v5 := b.NewValue0(v.Pos, OpRsh32x64, t)
    		v6 := b.NewValue0(v.Pos, OpConst64, typ.UInt64)
    		v6.AuxInt = int64ToAuxInt(31)
    		v5.AddArg2(x, v6)
    		v.AddArg2(v0, v5)
    		return true
    	}
    	return false
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
Back to top