Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 89 of 89 for isptrto (0.23 sec)

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

    (Load <t> ptr mem) && (is32BitInt(t) &&  t.IsSigned()) => (MOVWload ptr mem)
    (Load <t> ptr mem) && (is32BitInt(t) && !t.IsSigned()) => (MOVWUload ptr mem)
    (Load <t> ptr mem) && (is64BitInt(t) || isPtr(t)) => (MOVDload ptr mem)
    (Load <t> ptr mem) && is32BitFloat(t) => (FMOVSload ptr mem)
    (Load <t> ptr mem) && is64BitFloat(t) => (FMOVDload ptr mem)
    
    // stores
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewrite386.go

    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	// match: (ADDL x (MOVLconst <t> [c]))
    	// cond: !t.IsPtr()
    	// result: (ADDLconst [c] x)
    	for {
    		for _i0 := 0; _i0 <= 1; _i0, v_0, v_1 = _i0+1, v_1, v_0 {
    			x := v_0
    			if v_1.Op != Op386MOVLconst {
    				continue
    			}
    			t := v_1.Type
    			c := auxIntToInt32(v_1.AuxInt)
    			if !(!t.IsPtr()) {
    				continue
    			}
    			v.reset(Op386ADDLconst)
    			v.AuxInt = int32ToAuxInt(c)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 21:05:46 UTC 2023
    - 262.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewrite.go

    }
    
    func is16BitInt(t *types.Type) bool {
    	return t.Size() == 2 && t.IsInteger()
    }
    
    func is8BitInt(t *types.Type) bool {
    	return t.Size() == 1 && t.IsInteger()
    }
    
    func isPtr(t *types.Type) bool {
    	return t.IsPtrShaped()
    }
    
    // mergeSym merges two symbolic offsets. There is no real merging of
    // offsets, we just pick the non-nil one.
    func mergeSym(x, y Sym) Sym {
    	if x == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewritePPC64.go

    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (Load <t> ptr mem)
    	// cond: (is64BitInt(t) || isPtr(t))
    	// result: (MOVDload ptr mem)
    	for {
    		t := v.Type
    		ptr := v_0
    		mem := v_1
    		if !(is64BitInt(t) || isPtr(t)) {
    			break
    		}
    		v.reset(OpPPC64MOVDload)
    		v.AddArg2(ptr, mem)
    		return true
    	}
    	// match: (Load <t> ptr mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewriteARM.go

    	v_0 := v.Args[0]
    	b := v.Block
    	// match: (ADD x (MOVWconst <t> [c]))
    	// cond: !t.IsPtr()
    	// result: (ADDconst [c] x)
    	for {
    		for _i0 := 0; _i0 <= 1; _i0, v_0, v_1 = _i0+1, v_1, v_0 {
    			x := v_0
    			if v_1.Op != OpARMMOVWconst {
    				continue
    			}
    			t := v_1.Type
    			c := auxIntToInt32(v_1.AuxInt)
    			if !(!t.IsPtr()) {
    				continue
    			}
    			v.reset(OpARMADDconst)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 486.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewriteARM64.go

    	v_0 := v.Args[0]
    	// match: (ADD x (MOVDconst <t> [c]))
    	// cond: !t.IsPtr()
    	// result: (ADDconst [c] x)
    	for {
    		for _i0 := 0; _i0 <= 1; _i0, v_0, v_1 = _i0+1, v_1, v_0 {
    			x := v_0
    			if v_1.Op != OpARM64MOVDconst {
    				continue
    			}
    			t := v_1.Type
    			c := auxIntToInt64(v_1.AuxInt)
    			if !(!t.IsPtr()) {
    				continue
    			}
    			v.reset(OpARM64ADDconst)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 608.6K bytes
    - Viewed (0)
  7. src/reflect/all_test.go

    	check("ArrayOf", ArrayOf(10, TypeOf(T{})))
    	check("ChanOf", ChanOf(BothDir, TypeOf(T{})))
    	check("FuncOf", FuncOf([]Type{TypeOf(T{})}, nil, false))
    	check("MapOf", MapOf(TypeOf(T{}), TypeOf(T{})))
    	check("PtrTo", PointerTo(TypeOf(T{})))
    	check("SliceOf", SliceOf(TypeOf(T{})))
    }
    
    type XM struct{ _ bool }
    
    func (*XM) String() string { return "" }
    
    func TestPtrToMethods(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Method.PkgPath", Field, 0},
    		{"Method.Type", Field, 0},
    		{"New", Func, 0},
    		{"NewAt", Func, 0},
    		{"Pointer", Const, 18},
    		{"PointerTo", Func, 18},
    		{"Ptr", Const, 0},
    		{"PtrTo", Func, 0},
    		{"RecvDir", Const, 0},
    		{"Select", Func, 1},
    		{"SelectCase", Type, 1},
    		{"SelectCase.Chan", Field, 1},
    		{"SelectCase.Dir", Field, 1},
    		{"SelectCase.Send", Field, 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  9. api/go1.txt

    pkg reflect, func MakeMap(Type) Value
    pkg reflect, func MakeSlice(Type, int, int) Value
    pkg reflect, func New(Type) Value
    pkg reflect, func NewAt(Type, unsafe.Pointer) Value
    pkg reflect, func PtrTo(Type) Type
    pkg reflect, func TypeOf(interface{}) Type
    pkg reflect, func ValueOf(interface{}) Value
    pkg reflect, func Zero(Type) Value
    pkg reflect, method (*ValueError) Error() string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top