Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for AddArg2 (0.17 sec)

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

    		v1 := b.NewValue0(v.Pos, OpWasmI64Const, typ.Int64)
    		v1.AuxInt = int64ToAuxInt(c & 15)
    		v0.AddArg2(x, v1)
    		v2 := b.NewValue0(v.Pos, OpRsh16Ux64, t)
    		v3 := b.NewValue0(v.Pos, OpWasmI64Const, typ.Int64)
    		v3.AuxInt = int64ToAuxInt(-c & 15)
    		v2.AddArg2(x, v3)
    		v.AddArg2(v0, v2)
    		return true
    	}
    	return false
    }
    func rewriteValueWasm_OpRotateLeft8(v *Value) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 108.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewriteAMD64.go

    		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(OpAMD64LEAL4)
    		v0 := b.NewValue0(v.Pos, OpAMD64LEAL2, v.Type)
    		v0.AddArg2(x, x)
    		v.AddArg2(x, 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)
  3. 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)
  4. src/cmd/compile/internal/ssa/rewriteARM64.go

    		v0.AuxInt = int64ToAuxInt(3)
    		v0.AddArg2(x, x)
    		v.AddArg2(a, v0)
    		return true
    	}
    	// match: (MADD a (MOVDconst [-1]) x)
    	// result: (SUB a x)
    	for {
    		a := v_0
    		if v_1.Op != OpARM64MOVDconst || auxIntToInt64(v_1.AuxInt) != -1 {
    			break
    		}
    		x := v_2
    		v.reset(OpARM64SUB)
    		v.AddArg2(a, x)
    		return true
    	}
    	// match: (MADD a (MOVDconst [0]) _)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 608.6K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/compile/internal/ssa/rewritePPC64.go

    		v1.AddArg2(x, y)
    		v0.AddArg2(y, v1)
    		v.AddArg2(x, v0)
    		return true
    	}
    	return false
    }
    func rewriteValuePPC64_OpMod32u(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (Mod32u x y)
    	// cond: buildcfg.GOPPC64 >= 9
    	// result: (MODUW x y)
    	for {
    		x := v_0
    		y := v_1
    		if !(buildcfg.GOPPC64 >= 9) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewriteS390X.go

    		v0.AuxInt = int32ToAuxInt(16)
    		v0.AddArg2(src, mem)
    		v1 := b.NewValue0(v.Pos, OpS390XMOVDstore, types.TypeMem)
    		v1.AuxInt = int32ToAuxInt(8)
    		v2 := b.NewValue0(v.Pos, OpS390XMOVDload, typ.UInt64)
    		v2.AuxInt = int32ToAuxInt(8)
    		v2.AddArg2(src, mem)
    		v3 := b.NewValue0(v.Pos, OpS390XMOVDstore, types.TypeMem)
    		v4 := b.NewValue0(v.Pos, OpS390XMOVDload, typ.UInt64)
    		v4.AddArg2(src, mem)
    		v3.AddArg3(dst, v4, mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 395.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewriteARM64latelower.go

    	for {
    		c := auxIntToInt64(v.AuxInt)
    		x := v_0
    		if !(!isARM64addcon(c)) {
    			break
    		}
    		v.reset(OpARM64ADDSflags)
    		v0 := b.NewValue0(v.Pos, OpARM64MOVDconst, typ.UInt64)
    		v0.AuxInt = int64ToAuxInt(c)
    		v.AddArg2(x, v0)
    		return true
    	}
    	return false
    }
    func rewriteValueARM64latelower_OpARM64ADDconst(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (ADDconst [c] x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewritePPC64latelower.go

    		v.AuxInt = int32ToAuxInt(a)
    		v.AddArg2(x, z)
    		return true
    	}
    	// match: (ISEL [a] (MOVDconst [0]) y z)
    	// result: (ISELZ [a^0x4] y z)
    	for {
    		a := auxIntToInt32(v.AuxInt)
    		if v_0.Op != OpPPC64MOVDconst || auxIntToInt64(v_0.AuxInt) != 0 {
    			break
    		}
    		y := v_1
    		z := v_2
    		v.reset(OpPPC64ISELZ)
    		v.AuxInt = int32ToAuxInt(a ^ 0x4)
    		v.AddArg2(y, z)
    		return true
    	}
    	return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/shortcircuit.go

    			// this handles all other uses of v.
    			argP, argQ := v.Args[cidx], v.Args[1^cidx]
    			u.replaceUses(v, argQ)
    			phi := t.Func.newValue(OpPhi, v.Type, t, v.Pos)
    			phi.AddArg2(argQ, argP)
    			t.replaceUses(v, phi)
    			if v.Uses == 0 {
    				return
    			}
    			v.moveTo(m, i)
    			// The phi in m belongs to whichever pred idx corresponds to t.
    			if m.Preds[0].b == t {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 03 17:47:02 UTC 2022
    - 12.6K bytes
    - Viewed (0)
Back to top