Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 479 for opload (0.19 sec)

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

    		return true
    	}
    	// match: (ArraySelect [i] x:(Load <t> ptr mem))
    	// result: @x.Block (Load <v.Type> (OffPtr <v.Type.PtrTo()> [t.Elem().Size()*i] ptr) mem)
    	for {
    		i := auxIntToInt64(v.AuxInt)
    		x := v_0
    		if x.Op != OpLoad {
    			break
    		}
    		t := x.Type
    		mem := x.Args[1]
    		ptr := x.Args[0]
    		b = x.Block
    		v0 := b.NewValue0(v.Pos, OpLoad, v.Type)
    		v.copyOf(v0)
    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/nilcheck_test.go

    			Valu("sb", OpSB, c.config.Types.Uintptr, 0, nil),
    			Goto("checkPtr")),
    		Bloc("checkPtr",
    			Valu("ptr1", OpLoad, ptrType, 0, nil, "sb", "mem"),
    			Valu("bool1", OpIsNonNil, c.config.Types.Bool, 0, nil, "ptr1"),
    			If("bool1", "differentCheck", "exit")),
    		Bloc("differentCheck",
    			Valu("ptr2", OpLoad, ptrType, 0, nil, "sb", "mem"),
    			Valu("bool2", OpIsNonNil, c.config.Types.Bool, 0, nil, "ptr2"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/shift_test.go

    			Valu("SP", OpSP, c.config.Types.Uintptr, 0, nil),
    			Valu("argptr", OpOffPtr, ptyp, 8, nil, "SP"),
    			Valu("resptr", OpOffPtr, ptyp, 16, nil, "SP"),
    			Valu("load", OpLoad, typ, 0, nil, "argptr", "mem"),
    			Valu("c", OpConst64, c.config.Types.UInt64, amount, nil),
    			Valu("shift", op, typ, 0, nil, "load", "c"),
    			Valu("store", OpStore, types.TypeMem, 0, c.config.Types.UInt64, "resptr", "shift", "mem"),
    			Exit("store")))
    	Compile(fun.f)
    	return fun
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/cse_test.go

    			Valu("addr1", OpAddr, c.config.Types.Int64.PtrTo(), 0, nil, "sb1"),
    			Valu("addr2", OpAddr, c.config.Types.Int64.PtrTo(), 0, nil, "sb2"),
    			Valu("a1ld", OpLoad, c.config.Types.Int64, 0, nil, "addr1", "start"),
    			Valu("a2ld", OpLoad, c.config.Types.Int64, 0, nil, "addr2", "start"),
    			Valu("c1", OpConst64, c.config.Types.Int64, 1, nil),
    			Valu("r1", OpAdd64, c.config.Types.Int64, 0, nil, "a1ld", "c1"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/schedule_test.go

    				Valu("mem2", OpStore, types.TypeMem, 0, c.config.Types.Int64, "ptr", "v", "mem1"),
    				Valu("mem3", OpStore, types.TypeMem, 0, c.config.Types.Int64, "ptr", "sum", "mem2"),
    				Valu("l1", OpLoad, c.config.Types.Int64, 0, nil, "ptr", "mem1"),
    				Valu("l2", OpLoad, c.config.Types.Int64, 0, nil, "ptr", "mem2"),
    				Valu("sum", OpAdd64, c.config.Types.Int64, 0, nil, "l1", "l2"),
    				Goto("exit")),
    			Bloc("exit",
    				Exit("mem3"))),
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 08 01:46:00 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/softfloat.go

    	if !f.Config.SoftFloat {
    		return
    	}
    	newInt64 := false
    
    	for _, b := range f.Blocks {
    		for _, v := range b.Values {
    			if v.Type.IsFloat() {
    				f.unCache(v)
    				switch v.Op {
    				case OpPhi, OpLoad, OpArg:
    					if v.Type.Size() == 4 {
    						v.Type = f.Config.Types.UInt32
    					} else {
    						v.Type = f.Config.Types.UInt64
    					}
    				case OpConst32F:
    					v.Op = OpConst32
    					v.Type = f.Config.Types.UInt32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 03 16:14:24 UTC 2021
    - 2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/fuse_test.go

    	fun := c.Fun("entry",
    		Bloc("entry",
    			Valu("mem", OpInitMem, types.TypeMem, 0, nil),
    			Valu("sb", OpSB, c.config.Types.Uintptr, 0, nil),
    			Goto("checkPtr")),
    		Bloc("checkPtr",
    			Valu("ptr1", OpLoad, ptrType, 0, nil, "sb", "mem"),
    			Valu("nilptr", OpConstNil, ptrType, 0, nil),
    			Valu("bool1", OpNeqPtr, c.config.Types.Bool, 0, nil, "ptr1", "nilptr"),
    			If("bool1", "then", "exit")),
    		Bloc("then",
    			Goto("exit")),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  8. src/sync/map_test.go

    )
    
    var mapOps = [...]mapOp{
    	opLoad,
    	opStore,
    	opLoadOrStore,
    	opLoadAndDelete,
    	opDelete,
    	opSwap,
    	opCompareAndSwap,
    	opCompareAndDelete,
    	opClear,
    }
    
    // mapCall is a quick.Generator for calls on mapInterface.
    type mapCall struct {
    	op   mapOp
    	k, v any
    }
    
    func (c mapCall) apply(m mapInterface) (any, bool) {
    	switch c.op {
    	case opLoad:
    		return m.Load(c.k)
    	case opStore:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 15:34:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/memcombine.go

    			}
    		}
    		if v.Op != extOp {
    			return false
    		}
    		load := v.Args[0]
    		if load.Op != OpLoad {
    			return false
    		}
    		if load.Uses != 1 {
    			return false
    		}
    		if load.Args[1] != mem {
    			return false
    		}
    		p, off := splitPtr(load.Args[0])
    		if p != base {
    			return false
    		}
    		r[i] = LoadRecord{load: load, offset: off, shift: shift}
    	}
    
    	// Sort in memory address order.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/expand_calls.go

    		return m0
    	}
    	if a.Op == OpDereference {
    		a.Op = OpLoad // For purposes of parameter passing expansion, a Dereference is a Load.
    	}
    
    	if !rc.hasRegs() && !CanSSA(at) {
    		dst := x.offsetFrom(b, rc.storeDest, rc.storeOffset, types.NewPtr(at))
    		if x.debug > 1 {
    			x.Printf("...recur store %s at %s\n", a.LongString(), dst.LongString())
    		}
    		if a.Op == OpLoad {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 05:13:40 UTC 2023
    - 31.9K bytes
    - Viewed (0)
Back to top