Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 317 for opload (0.14 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/cmd/compile/internal/ssa/writebarrier.go

    			bEnd.Succs = append(bEnd.Succs, e)
    			e.b.Preds[e.i].b = bEnd
    		}
    
    		// set up control flow for write barrier test
    		// load word, test word, avoiding partial register write from load byte.
    		cfgtypes := &f.Config.Types
    		flag := b.NewValue2(pos, OpLoad, cfgtypes.UInt32, wbaddr, mem)
    		flag = b.NewValue2(pos, OpNeq32, cfgtypes.Bool, flag, const0)
    		b.Kind = BlockIf
    		b.SetControl(flag)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/ppc64/asm9.go

    				if eh > 1 {
    					c.ctxt.Diag("illegal EH field\n%v", p)
    				}
    				o1 = AOP_RRRI(c.oploadx(p.As), uint32(p.To.Reg), uint32(p.From.Index), uint32(p.From.Reg), uint32(eh))
    			} else {
    				o1 = AOP_RRR(c.oploadx(p.As), uint32(p.To.Reg), uint32(p.From.Index), uint32(p.From.Reg))
    			}
    		default:
    			o1 = AOP_RRR(c.oploadx(p.As), uint32(p.To.Reg), uint32(p.From.Index), uint32(p.From.Reg))
    		}
    	case 46: /* plain op */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/loopreschedchecks.go

    		sp := test.NewValue0(bb.Pos, OpSP, pt)
    		cmpOp := OpLess64U
    		if pt.Size() == 4 {
    			cmpOp = OpLess32U
    		}
    		limaddr := test.NewValue1I(bb.Pos, OpOffPtr, pt, 2*pt.Size(), g)
    		lim := test.NewValue2(bb.Pos, OpLoad, pt, limaddr, mem0)
    		cmp := test.NewValue2(bb.Pos, cmpOp, cfgtypes.Bool, sp, lim)
    		test.SetControl(cmp)
    
    		// if true, goto sched
    		test.AddEdgeTo(sched)
    
    		// if false, rewrite edge to header.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 21:17:10 UTC 2023
    - 16K bytes
    - Viewed (0)
Back to top