Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for add_args (0.48 sec)

  1. src/cmd/compile/internal/ssa/rewritePPC64.go

    		v2.AuxInt = int64ToAuxInt(-1)
    		v2.AddArg(x)
    		v1.AddArg2(v2, x)
    		v0.AddArg(v1)
    		v.AddArg(v0)
    		return true
    	}
    	// match: (Ctz32 x)
    	// result: (CNTTZW (MOVWZreg x))
    	for {
    		x := v_0
    		v.reset(OpPPC64CNTTZW)
    		v0 := b.NewValue0(v.Pos, OpPPC64MOVWZreg, typ.Int64)
    		v0.AddArg(x)
    		v.AddArg(v0)
    		return true
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewriteS390X.go

    		v3 := b.NewValue0(v.Pos, OpS390XANDW, t)
    		v4 := b.NewValue0(v.Pos, OpS390XSUBWconst, t)
    		v4.AuxInt = int32ToAuxInt(1)
    		v4.AddArg(x)
    		v5 := b.NewValue0(v.Pos, OpS390XNOTW, t)
    		v5.AddArg(x)
    		v3.AddArg2(v4, v5)
    		v2.AddArg(v3)
    		v1.AddArg(v2)
    		v.AddArg2(v0, v1)
    		return true
    	}
    }
    func rewriteValueS390X_OpCtz64(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 395.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewriteARM.go

    		v0.AuxInt = int32ToAuxInt(c)
    		v0.AddArg2(x, y)
    		v.AddArg(v0)
    		return true
    	}
    	// match: (CMP x (SRLconst [c] y))
    	// result: (CMPshiftRL x y [c])
    	for {
    		x := v_0
    		if v_1.Op != OpARMSRLconst {
    			break
    		}
    		c := auxIntToInt32(v_1.AuxInt)
    		y := v_1.Args[0]
    		v.reset(OpARMCMPshiftRL)
    		v.AuxInt = int32ToAuxInt(c)
    		v.AddArg2(x, y)
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 486.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewrite386.go

    		v0 := b.NewValue0(v.Pos, Op386LEAL4, v.Type)
    		v0.AddArg2(x, x)
    		v.AddArg2(x, v0)
    		return true
    	}
    	// match: (MULLconst [13] x)
    	// result: (LEAL4 x (LEAL2 <v.Type> x x))
    	for {
    		if auxIntToInt32(v.AuxInt) != 13 {
    			break
    		}
    		x := v_0
    		v.reset(Op386LEAL4)
    		v0 := b.NewValue0(v.Pos, Op386LEAL2, v.Type)
    		v0.AddArg2(x, x)
    		v.AddArg2(x, v0)
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 21:05:46 UTC 2023
    - 262.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssagen/ssa.go

    			// Make new structure.
    			new := s.newValue0(ssa.StructMakeOp(t.NumFields()), t)
    
    			// Add fields as args.
    			for i := 0; i < nf; i++ {
    				if i == idx {
    					new.AddArg(right)
    				} else {
    					new.AddArg(s.newValue1I(ssa.OpStructSelect, t.FieldType(i), int64(i), old))
    				}
    			}
    
    			// Recursively assign the new value we've made to the base of the dot op.
    			s.assign(left.X, new, false, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top