Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for OpArg (0.05 sec)

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

    		return k
    	}
    	panic("Haven't implemented this case yet, do I need to?")
    }
    
    // prAssignForArg returns the ABIParamAssignment for v, assumed to be an OpArg.
    func (x *expandState) prAssignForArg(v *Value) *abi.ABIParamAssignment {
    	if v.Op != OpArg {
    		panic(fmt.Errorf("Wanted OpArg, instead saw %s", v.LongString()))
    	}
    	return ParamAssignmentForArgName(x.f, v.Aux.(*ir.Name))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 05:13:40 UTC 2023
    - 31.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/stackalloc.go

    					if f.pass.debug > stackDebug {
    						fmt.Printf("stackalloc register arg %s skipping name %s\n", v, name)
    					}
    					continue
    				}
    			} else if name.N.Class == ir.PPARAM && v.Op != OpArg {
    				// PPARAM's only bind to OpArg
    				if f.pass.debug > stackDebug {
    					fmt.Printf("stackalloc PPARAM name %s skipping non-Arg %s\n", name, v)
    				}
    				continue
    			}
    
    			if names[v.ID] == empty {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 21:29:41 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/schedule.go

    				// In particular, they need to come before regular OpArg operations because
    				// of how regalloc places spill code (see regalloc.go:placeSpills:mustBeFirst).
    				if b != f.Entry {
    					f.Fatalf("%s appeared outside of entry block, b=%s", v.Op, b.String())
    				}
    				score[v.ID] = ScorePhi
    			case v.Op == OpArg || v.Op == OpSP || v.Op == OpSB:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 15:53:17 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/deadstore.go

    		}
    
    		// The code below assumes that we have handled all the ops
    		// with sym effects already. Sanity check that here.
    		// Ignore Args since they can't be autos.
    		if v.Op.SymEffect() != SymNone && v.Op != OpArg {
    			panic("unhandled op with sym effect")
    		}
    
    		if v.Uses == 0 && v.Op != OpNilCheck && !v.Op.IsCall() && !v.Op.HasSideEffects() || len(args) == 0 {
    			// We need to keep nil checks even if they have no use.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 20:07:26 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top