Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for byteptr (0.29 sec)

  1. test/live.go

    		m33[byteptr()] == 0 { // ERROR "stack object .autotmp_[0-9]+ interface \{\}"
    		printnl()
    		return
    	}
    	printnl()
    }
    
    func f36() {
    	if m33[byteptr()] == 0 || // ERROR "stack object .autotmp_[0-9]+ interface \{\}"
    		m33[byteptr()] == 0 { // ERROR "stack object .autotmp_[0-9]+ interface \{\}"
    		printnl()
    		return
    	}
    	printnl()
    }
    
    func f37() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 18K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/dec.rules

    (StringLen (StringMake _ len)) => len
    
    (Load <t> ptr mem) && t.IsString() =>
      (StringMake
        (Load <typ.BytePtr> ptr mem)
        (Load <typ.Int>
          (OffPtr <typ.IntPtr> [config.PtrSize] ptr)
          mem))
    (Store dst (StringMake ptr len) mem) =>
      (Store {typ.Int}
        (OffPtr <typ.IntPtr> [config.PtrSize] dst)
        len
        (Store {typ.BytePtr} dst ptr mem))
    
    // slice ops
    (SlicePtr (SliceMake ptr _ _ )) => ptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:48:31 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/writebarrier_test.go

    	"testing"
    )
    
    func TestWriteBarrierStoreOrder(t *testing.T) {
    	// Make sure writebarrier phase works even StoreWB ops are not in dependency order
    	c := testConfig(t)
    	ptrType := c.config.Types.BytePtr
    	fun := c.Fun("entry",
    		Bloc("entry",
    			Valu("start", OpInitMem, types.TypeMem, 0, nil),
    			Valu("sb", OpSB, c.config.Types.Uintptr, 0, nil),
    			Valu("sp", OpSP, c.config.Types.Uintptr, 0, nil),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 24 15:51:15 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/nilcheck_test.go

    // nil checks, none of which can be eliminated.
    // Run with multiple depths to observe big-O behavior.
    func benchmarkNilCheckDeep(b *testing.B, depth int) {
    	c := testConfig(b)
    	ptrType := c.config.Types.BytePtr
    
    	var blocs []bloc
    	blocs = append(blocs,
    		Bloc("entry",
    			Valu("mem", OpInitMem, types.TypeMem, 0, nil),
    			Valu("sb", OpSB, c.config.Types.Uintptr, 0, nil),
    			Goto(blockn(0)),
    		),
    	)
    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. test/live_regabi.go

    		m33[byteptr()] == 0 { // ERROR "stack object .autotmp_[0-9]+ interface \{\}"
    		printnl()
    		return
    	}
    	printnl()
    }
    
    func f36() {
    	if m33[byteptr()] == 0 || // ERROR "stack object .autotmp_[0-9]+ interface \{\}"
    		m33[byteptr()] == 0 { // ERROR "stack object .autotmp_[0-9]+ interface \{\}"
    		printnl()
    		return
    	}
    	printnl()
    }
    
    func f37() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewritedec.go

    	// cond: t.IsInterface()
    	// result: @x.Block (Load <typ.BytePtr> (OffPtr <typ.BytePtrPtr> [config.PtrSize] ptr) mem)
    	for {
    		x := v_0
    		if x.Op != OpLoad {
    			break
    		}
    		t := x.Type
    		mem := x.Args[1]
    		ptr := x.Args[0]
    		if !(t.IsInterface()) {
    			break
    		}
    		b = x.Block
    		v0 := b.NewValue0(v.Pos, OpLoad, typ.BytePtr)
    		v.copyOf(v0)
    		v1 := b.NewValue0(v.Pos, OpOffPtr, typ.BytePtrPtr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:48:31 UTC 2023
    - 24.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/deadstore_test.go

    package ssa
    
    import (
    	"cmd/compile/internal/types"
    	"cmd/internal/src"
    	"testing"
    )
    
    func TestDeadStore(t *testing.T) {
    	c := testConfig(t)
    	ptrType := c.config.Types.BytePtr
    	t.Logf("PTRTYPE %v", ptrType)
    	fun := c.Fun("entry",
    		Bloc("entry",
    			Valu("start", OpInitMem, types.TypeMem, 0, nil),
    			Valu("sb", OpSB, c.config.Types.Uintptr, 0, nil),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 20:07:26 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/fuse_test.go

    package ssa
    
    import (
    	"cmd/compile/internal/types"
    	"fmt"
    	"strconv"
    	"testing"
    )
    
    func TestFuseEliminatesOneBranch(t *testing.T) {
    	c := testConfig(t)
    	ptrType := c.config.Types.BytePtr
    	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",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/shift_test.go

    	checkOpcodeCounts(t, fun.f, map[Op]int{OpAMD64SARQconst: 1, OpAMD64CMPQconst: 0})
    }
    
    func makeConstShiftFunc(c *Conf, amount int64, op Op, typ *types.Type) fun {
    	ptyp := c.config.Types.BytePtr
    	fun := c.Fun("entry",
    		Bloc("entry",
    			Valu("mem", OpInitMem, types.TypeMem, 0, nil),
    			Valu("SP", OpSP, c.config.Types.Uintptr, 0, nil),
    			Valu("argptr", OpOffPtr, ptyp, 8, nil, "SP"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/expand_calls.go

    		pos = pos.WithNotStmt()
    		m0 = x.rewriteWideSelectToStores(pos, b, container, m0, x.typs.Int, rc.next(x.typs.Int))
    		m0 = x.rewriteWideSelectToStores(pos, b, container, m0, x.typs.Int, rc.next(x.typs.Int))
    		return m0
    
    	case types.TSTRING:
    		m0 = x.rewriteWideSelectToStores(pos, b, container, m0, x.typs.BytePtr, rc.next(x.typs.BytePtr))
    		pos = pos.WithNotStmt()
    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