Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 212 for Mem (0.02 sec)

  1. src/cmd/compile/internal/ssa/_gen/MIPS.rules

    		mem)
    
    // moves
    (Move [0] _ _ mem) => mem
    (Move [1] dst src mem) => (MOVBstore dst (MOVBUload src mem) mem)
    (Move [2] {t} dst src mem) && t.Alignment()%2 == 0 =>
    	(MOVHstore dst (MOVHUload src mem) mem)
    (Move [2] dst src mem) =>
    	(MOVBstore [1] dst (MOVBUload [1] src mem)
    		(MOVBstore dst (MOVBUload src mem) mem))
    (Move [4] {t} dst src mem) && t.Alignment()%4 == 0 =>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 35.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/WasmOps.go

    		{name: "I64Store8", asm: "I64Store8", argLength: 3, reg: gpstore, aux: "Int64", typ: "Mem"},     // store 8-bit integer arg1 at address arg0+aux, arg2=mem, returns mem
    		{name: "I64Store16", asm: "I64Store16", argLength: 3, reg: gpstore, aux: "Int64", typ: "Mem"},   // store 16-bit integer arg1 at address arg0+aux, arg2=mem, returns mem
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewriteAMD64splitload.go

    		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 {
    		vo := auxIntToValAndOff(v.AuxInt)
    		sym := auxToSym(v.Aux)
    		ptr := v_0
    		mem := v_1
    		if !(vo.Val() != 0) {
    			break
    		}
    		v.reset(OpAMD64CMPBconst)
    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/nilcheck_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("bool1", OpIsNonNil, c.config.Types.Bool, 0, nil, "ptr1"),
    			If("bool1", "secondCheck", "exit")),
    		Bloc("exit",
    			Exit("mem")),
    		Bloc("secondCheck",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/LOONG64.rules

    		mem)
    
    // moves
    (Move [0] _ _ mem) => mem
    (Move [1] dst src mem) => (MOVBstore dst (MOVBload src mem) mem)
    (Move [2] {t} dst src mem) && t.Alignment()%2 == 0 =>
    	(MOVHstore dst (MOVHload src mem) mem)
    (Move [2] dst src mem) =>
    	(MOVBstore [1] dst (MOVBload [1] src mem)
    		(MOVBstore dst (MOVBload src mem) mem))
    (Move [4] {t} dst src mem) && t.Alignment()%4 == 0 =>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/MIPSOps.go

    		{name: "MOVWstore", argLength: 3, reg: gpstore, aux: "SymOff", asm: "MOVW", typ: "Mem", faultOnNilArg0: true, symEffect: "Write"}, // store 4 bytes of arg1 to arg0 + auxInt + aux.  arg2=mem.
    		{name: "MOVFstore", argLength: 3, reg: fpstore, aux: "SymOff", asm: "MOVF", typ: "Mem", faultOnNilArg0: true, symEffect: "Write"}, // store 4 bytes of arg1 to arg0 + auxInt + aux.  arg2=mem.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 24K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/dom_test.go

    		Bloc("entry",
    			Valu("mem", OpInitMem, types.TypeMem, 0, nil),
    			Exit("mem")))
    
    	doms := map[string]string{}
    
    	CheckFunc(fun.f)
    	verifyDominators(t, fun, dominators, doms)
    	verifyDominators(t, fun, dominatorsSimple, doms)
    
    }
    
    func TestDominatorsSimple(t *testing.T) {
    	c := testConfig(t)
    	fun := c.Fun("entry",
    		Bloc("entry",
    			Valu("mem", OpInitMem, types.TypeMem, 0, nil),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/tighten.go

    		for _, v := range b.Values {
    			var mem *Value
    			if v.Op == OpPhi {
    				if v.Type.IsMemory() {
    					mem = v
    				}
    			} else if v.Op == OpInitMem {
    				mem = v // This is actually not needed.
    			} else if a := v.MemoryArg(); a != nil && a.Block != b {
    				// The only incoming memory value doesn't belong to this block.
    				mem = a
    			}
    			if mem != nil {
    				if old := startMem[b.ID]; old != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 01:01:38 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/deadcode_test.go

    	"fmt"
    	"strconv"
    	"testing"
    )
    
    func TestDeadLoop(t *testing.T) {
    	c := testConfig(t)
    	fun := c.Fun("entry",
    		Bloc("entry",
    			Valu("mem", OpInitMem, types.TypeMem, 0, nil),
    			Goto("exit")),
    		Bloc("exit",
    			Exit("mem")),
    		// dead loop
    		Bloc("deadblock",
    			// dead value in dead block
    			Valu("deadval", OpConstBool, c.config.Types.Bool, 1, nil),
    			If("deadval", "deadblock", "exit")))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 23:01:51 UTC 2017
    - 3.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/expand_calls.go

    			}
    			mem = x.decomposeAsNecessary(pos, b, e, mem, rc.next(et))
    		}
    		return mem
    
    	case types.TSLICE:
    		mem = x.decomposeOne(pos, b, a, mem, at.Elem().PtrTo(), OpSlicePtr, &rc)
    		pos = pos.WithNotStmt()
    		mem = x.decomposeOne(pos, b, a, mem, x.typs.Int, OpSliceLen, &rc)
    		return x.decomposeOne(pos, b, a, mem, x.typs.Int, OpSliceCap, &rc)
    
    	case types.TSTRING:
    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