Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for IMake (0.05 sec)

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

          len
          (Store {t.Elem().PtrTo()} dst ptr mem)))
    
    // interface ops
    (ITab (IMake itab _)) => itab
    (IData (IMake _ data)) => data
    
    (Load <t> ptr mem) && t.IsInterface() =>
      (IMake
        (Load <typ.Uintptr> ptr mem)
        (Load <typ.BytePtr>
          (OffPtr <typ.BytePtrPtr> [config.PtrSize] ptr)
          mem))
    (Store dst (IMake itab data) mem) =>
      (Store {typ.BytePtr}
        (OffPtr <typ.BytePtrPtr> [config.PtrSize] dst)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:48:31 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewritedec.go

    		v1.AddArg(ptr)
    		v0.AddArg2(v1, mem)
    		return true
    	}
    	return false
    }
    func rewriteValuedec_OpIMake(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	// match: (IMake _typ (StructMake1 val))
    	// result: (IMake _typ val)
    	for {
    		_typ := v_0
    		if v_1.Op != OpStructMake1 {
    			break
    		}
    		val := v_1.Args[0]
    		v.reset(OpIMake)
    		v.AddArg2(_typ, val)
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:48:31 UTC 2023
    - 24.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/generic.rules

            f1
            (Store {t.FieldType(0)}
              (OffPtr <t.FieldType(0).PtrTo()> [0] dst)
                f0 mem))))
    
    // Putting struct{*byte} and similar into direct interfaces.
    (IMake _typ (StructMake1 val)) => (IMake _typ val)
    (StructSelect [0] (IData x)) => (IData x)
    
    // un-SSAable values use mem->mem copies
    (Store {t} dst (Load src mem) mem) && !CanSSA(t) =>
    	(Move {t} [t.Size()] dst src mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "StringPtr", argLength: 1, typ: "BytePtr"}, // ptr(arg0)
    	{name: "StringLen", argLength: 1, typ: "Int"},     // len(arg0)
    
    	// Interfaces
    	{name: "IMake", argLength: 2},                // arg0=itab, arg1=data
    	{name: "ITab", argLength: 1, typ: "Uintptr"}, // arg0=interface, returns itable field
    	{name: "IData", argLength: 1},                // arg0=interface, returns data field
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewritegeneric.go

    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	// match: (IMake _typ (StructMake1 val))
    	// result: (IMake _typ val)
    	for {
    		_typ := v_0
    		if v_1.Op != OpStructMake1 {
    			break
    		}
    		val := v_1.Args[0]
    		v.reset(OpIMake)
    		v.AddArg2(_typ, val)
    		return true
    	}
    	// match: (IMake _typ (ArrayMake1 val))
    	// result: (IMake _typ val)
    	for {
    		_typ := v_0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/opGen.go

    	},
    	{
    		name:    "StringPtr",
    		argLen:  1,
    		generic: true,
    	},
    	{
    		name:    "StringLen",
    		argLen:  1,
    		generic: true,
    	},
    	{
    		name:    "IMake",
    		argLen:  2,
    		generic: true,
    	},
    	{
    		name:    "ITab",
    		argLen:  1,
    		generic: true,
    	},
    	{
    		name:    "IData",
    		argLen:  1,
    		generic: true,
    	},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
Back to top