Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for arraymake (0.15 sec)

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

    	(Move {t} [t.Size()] dst src (VarDef {x} mem))
    
    // array ops
    (ArraySelect (ArrayMake1 x)) => x
    
    (Load <t> _ _) && t.IsArray() && t.NumElem() == 0 =>
      (ArrayMake0)
    
    (Load <t> ptr mem) && t.IsArray() && t.NumElem() == 1 && CanSSA(t) =>
      (ArrayMake1 (Load <t.Elem()> ptr mem))
    
    (Store _ (ArrayMake0) mem) => mem
    (Store dst (ArrayMake1 e) mem) => (Store {e.Type} dst e 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)
  2. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "StructSelect", argLength: 1, aux: "Int64"}, // arg0=struct, auxint=field index.  Returns the auxint'th field.
    
    	// Arrays
    	{name: "ArrayMake0"},                              // Returns array with 0 elements
    	{name: "ArrayMake1", argLength: 1},                // Returns array with 1 element
    	{name: "ArraySelect", argLength: 1, aux: "Int64"}, // arg0=array, auxint=index. Returns a[i].
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewritegeneric.go

    	// cond: t.IsArray() && t.NumElem() == 0
    	// result: (ArrayMake0)
    	for {
    		t := v.Type
    		if !(t.IsArray() && t.NumElem() == 0) {
    			break
    		}
    		v.reset(OpArrayMake0)
    		return true
    	}
    	// match: (Load <t> ptr mem)
    	// cond: t.IsArray() && t.NumElem() == 1 && CanSSA(t)
    	// result: (ArrayMake1 (Load <t.Elem()> ptr mem))
    	for {
    		t := v.Type
    		ptr := 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)
  4. src/cmd/compile/internal/ssa/opGen.go

    		generic: true,
    	},
    	{
    		name:    "StructSelect",
    		auxType: auxInt64,
    		argLen:  1,
    		generic: true,
    	},
    	{
    		name:    "ArrayMake0",
    		argLen:  0,
    		generic: true,
    	},
    	{
    		name:    "ArrayMake1",
    		argLen:  1,
    		generic: true,
    	},
    	{
    		name:    "ArraySelect",
    		auxType: auxInt64,
    		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