Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for AddArg2 (0.19 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/cmd/compile/internal/ssa/value.go

    //
    //go:noinline
    func (v *Value) AddArg(w *Value) {
    	if v.Args == nil {
    		v.resetArgs() // use argstorage
    	}
    	v.Args = append(v.Args, w)
    	w.Uses++
    }
    
    //go:noinline
    func (v *Value) AddArg2(w1, w2 *Value) {
    	if v.Args == nil {
    		v.resetArgs() // use argstorage
    	}
    	v.Args = append(v.Args, w1, w2)
    	w1.Uses++
    	w2.Uses++
    }
    
    //go:noinline
    func (v *Value) AddArg3(w1, w2, w3 *Value) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:40:22 UTC 2024
    - 16.7K bytes
    - Viewed (0)
Back to top