github.com/shogo82148/std@v1.22.1-0.20240327122250-4e474527810c/cmd/compile/internal/ssa/expand_calls.go (about) 1 // Copyright 2020 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package ssa 6 7 import ( 8 "github.com/shogo82148/std/cmd/compile/internal/abi" 9 "github.com/shogo82148/std/cmd/compile/internal/ir" 10 ) 11 12 type Abi1RO uint8 13 14 // ArgOpAndRegisterFor converts an abi register index into an ssa Op and corresponding 15 // arg register index. 16 func ArgOpAndRegisterFor(r abi.RegIndex, abiConfig *abi.ABIConfig) (Op, int64) 17 18 // ParamAssignmentForArgName returns the ABIParamAssignment for f's arg with matching name. 19 func ParamAssignmentForArgName(f *Func, name *ir.Name) *abi.ABIParamAssignment