Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for AddArg2 (0.08 sec)

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

    			break
    		}
    		v.reset(OpComplexMake)
    		v0 := b.NewValue0(v.Pos, OpLoad, typ.Float32)
    		v0.AddArg2(ptr, mem)
    		v1 := b.NewValue0(v.Pos, OpLoad, typ.Float32)
    		v2 := b.NewValue0(v.Pos, OpOffPtr, typ.Float32Ptr)
    		v2.AuxInt = int64ToAuxInt(4)
    		v2.AddArg(ptr)
    		v1.AddArg2(v2, mem)
    		v.AddArg2(v0, v1)
    		return true
    	}
    	// match: (Load <t> ptr mem)
    	// cond: t.IsComplex() && t.Size() == 16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:48:31 UTC 2023
    - 24.9K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  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/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)
  6. 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