Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for StructSelect (0.18 sec)

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

    (IMake _typ (StructMake1 val)) => (IMake _typ val)
    (StructSelect [0] (IData x)) => (IData x)
    
    (StructSelect (StructMake1 x)) => x
    (StructSelect [0] (StructMake2 x _)) => x
    (StructSelect [1] (StructMake2 _ x)) => x
    (StructSelect [0] (StructMake3 x _ _)) => x
    (StructSelect [1] (StructMake3 _ x _)) => x
    (StructSelect [2] (StructMake3 _ _ x)) => x
    (StructSelect [0] (StructMake4 x _ _ _)) => x
    (StructSelect [1] (StructMake4 _ x _ _)) => x
    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

    func rewriteValuedec_OpStructSelect(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	// match: (StructSelect [0] (IData x))
    	// result: (IData x)
    	for {
    		if auxIntToInt64(v.AuxInt) != 0 || v_0.Op != OpIData {
    			break
    		}
    		x := v_0.Args[0]
    		v.reset(OpIData)
    		v.AddArg(x)
    		return true
    	}
    	// match: (StructSelect (StructMake1 x))
    	// result: x
    	for {
    		if v_0.Op != OpStructMake1 {
    			break
    		}
    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

    // struct operations
    (StructSelect (StructMake1 x)) => x
    (StructSelect [0] (StructMake2 x _)) => x
    (StructSelect [1] (StructMake2 _ x)) => x
    (StructSelect [0] (StructMake3 x _ _)) => x
    (StructSelect [1] (StructMake3 _ x _)) => x
    (StructSelect [2] (StructMake3 _ _ x)) => x
    (StructSelect [0] (StructMake4 x _ _ _)) => x
    (StructSelect [1] (StructMake4 _ x _ _)) => x
    (StructSelect [2] (StructMake4 _ _ x _)) => x
    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: "StructMake3", argLength: 3},                // arg0..2=field0..2.  Returns struct.
    	{name: "StructMake4", argLength: 4},                // arg0..3=field0..3.  Returns struct.
    	{name: "StructSelect", argLength: 1, aux: "Int64"}, // arg0=struct, auxint=field index.  Returns the auxint'th field.
    
    	// Arrays
    	{name: "ArrayMake0"},                              // Returns array with 0 elements
    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

    }
    func rewriteValuegeneric_OpStructSelect(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	// match: (StructSelect (StructMake1 x))
    	// result: x
    	for {
    		if v_0.Op != OpStructMake1 {
    			break
    		}
    		x := v_0.Args[0]
    		v.copyOf(x)
    		return true
    	}
    	// match: (StructSelect [0] (StructMake2 x _))
    	// result: x
    	for {
    		if auxIntToInt64(v.AuxInt) != 0 || v_0.Op != OpStructMake2 {
    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:    "StructMake3",
    		argLen:  3,
    		generic: true,
    	},
    	{
    		name:    "StructMake4",
    		argLen:  4,
    		generic: true,
    	},
    	{
    		name:    "StructSelect",
    		auxType: auxInt64,
    		argLen:  1,
    		generic: true,
    	},
    	{
    		name:    "ArrayMake0",
    		argLen:  0,
    		generic: true,
    	},
    	{
    		name:    "ArrayMake1",
    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