Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for copySource (0.08 sec)

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

    		values := f.NamedValues[*name]
    		for i, v := range values {
    			if v.Op == OpCopy {
    				values[i] = v.Args[0]
    			}
    		}
    	}
    }
    
    // copySource returns the (non-copy) op which is the
    // ultimate source of v.  v must be a copy op.
    func copySource(v *Value) *Value {
    	w := v.Args[0]
    
    	// This loop is just:
    	// for w.Op == OpCopy {
    	//     w = w.Args[0]
    	// }
    	// but we take some extra care to make sure we
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top