Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for StructMake0 (0.36 sec)

  1. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "ITab", argLength: 1, typ: "Uintptr"}, // arg0=interface, returns itable field
    	{name: "IData", argLength: 1},                // arg0=interface, returns data field
    
    	// Structs
    	{name: "StructMake0"},                              // Returns struct with 0 fields.
    	{name: "StructMake1", argLength: 1},                // arg0=field0.  Returns struct.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/generic.rules

    (StructSelect [1] (StructMake4 _ x _ _)) => x
    (StructSelect [2] (StructMake4 _ _ x _)) => x
    (StructSelect [3] (StructMake4 _ _ _ x)) => x
    
    (Load <t> _ _) && t.IsStruct() && t.NumFields() == 0 && CanSSA(t) =>
      (StructMake0)
    (Load <t> ptr mem) && t.IsStruct() && t.NumFields() == 1 && CanSSA(t) =>
      (StructMake1
        (Load <t.FieldType(0)> (OffPtr <t.FieldType(0).PtrTo()> [0] ptr) 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)
  3. src/cmd/compile/internal/ssa/rewritegeneric.go

    			break
    		}
    		v.reset(OpConst64F)
    		v.AuxInt = float64ToAuxInt(0)
    		return true
    	}
    	// match: (Load <t> _ _)
    	// cond: t.IsStruct() && t.NumFields() == 0 && CanSSA(t)
    	// result: (StructMake0)
    	for {
    		t := v.Type
    		if !(t.IsStruct() && t.NumFields() == 0 && CanSSA(t)) {
    			break
    		}
    		v.reset(OpStructMake0)
    		return true
    	}
    	// match: (Load <t> ptr mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/opGen.go

    		generic: true,
    	},
    	{
    		name:    "ITab",
    		argLen:  1,
    		generic: true,
    	},
    	{
    		name:    "IData",
    		argLen:  1,
    		generic: true,
    	},
    	{
    		name:    "StructMake0",
    		argLen:  0,
    		generic: true,
    	},
    	{
    		name:    "StructMake1",
    		argLen:  1,
    		generic: true,
    	},
    	{
    		name:    "StructMake2",
    		argLen:  2,
    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