Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for Addrtaken (0.13 sec)

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

    // analysis.
    func IsMergeCandidate(n *ir.Name) bool {
    	if base.Debug.MergeLocals == 0 ||
    		base.Flag.N != 0 ||
    		n.Class != ir.PAUTO ||
    		n.Type().Size() <= int64(3*types.PtrSize) ||
    		n.Addrtaken() ||
    		n.NonMergeable() ||
    		n.OpenDeferSlot() {
    		return false
    	}
    	return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/staticinit/sched.go

    	}
    	if len(as2body.Lhs) != 1 || as2body.Lhs[0] != dcl.X {
    		return false
    	}
    
    	// Can't remove the parameter variables if an address is taken.
    	for _, v := range as2init.Lhs {
    		if v.(*ir.Name).Addrtaken() {
    			return false
    		}
    	}
    	// Can't move the computation of the args if they have side effects.
    	for _, r := range as2init.Rhs {
    		if AnySideEffects(r) {
    			return false
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssagen/ssa.go

    			// the user took its address, we may have generated
    			// runtime calls that did (#43701). Since we don't
    			// convert Addrtaken variables to SSA anyway, no point
    			// in promoting them either.
    			if n.Byval() && !n.Addrtaken() && ssa.CanSSA(n.Type()) {
    				n.Class = ir.PAUTO
    				fn.Dcl = append(fn.Dcl, n)
    				s.assign(n, s.load(n.Type(), ptr), false, 0)
    				continue
    			}
    
    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