package
1.22.2
Repository: https://github.com/go-asm/go.git
Documentation: pkg.go.dev

# Functions

AddImplicitDots finds missing fields in obj.field that will give the shortest unique addressing and modifies the tree with missing field names.
No description provided by the author
No description provided by the author
No description provided by the author
AutoLabel generates a new Name node for use with an automatically generated label.
No description provided by the author
CalcMethods calculates all the methods (including embedding) of a non-interface type t.
No description provided by the author
No description provided by the author
No description provided by the author
ClosureType returns the struct type used to hold all the information needed in the closure for clo (clo must be a OCLOSURE node).
No description provided by the author
ConvertVal converts v into a representation appropriate for t.
ConvNop converts node n to type t using the OCONVNOP op and typechecks the result with ctxExpr.
DeclFunc declares the parameters for fn and adds it to Target.Funcs.
No description provided by the author
DotField returns a field selector expression that selects the index'th field of the given expression, which must be of struct or pointer-to-struct type.
No description provided by the author
No description provided by the author
FinishFuncBody restores ir.CurFunc to its state before the last call to DeclFunc.
FixMethodCall rewrites a method call t.M(...) into a function call T.M(t, ...).
FixVariadicCall rewrites calls to variadic functions to use an explicit ..
Implements reports whether t implements the interface iface.
ImplementsExplain reports whether t implements the interface iface.
IndexConst checks if Node n contains a constant expression representable as a non-negative int and returns its value.
InitCoverage loads the definitions for routines called by code coverage instrumentation (similar to InitRuntime above).
InitRuntime loads the definitions for the low-level runtime functions, so that the compiler can generate calls to them, but does not make them visible to user code.
InitUniverse initializes the universe block.
LinksymAddr returns a new expression that evaluates to the address of lsym.
Lookdot looks up field or method n.Sel in the type t and returns the matching field.
Lookdot1 looks up the specified method s in the list fs of methods, returning the matching field or nil.
No description provided by the author
LookupCoverage looks up the Go function 'name' in package runtime/coverage.
LookupNum returns types.LocalPkg.LookupNum(prefix, n).
LookupRuntime returns a function or variable declared in _builtin/runtime.go.
LookupRuntimeABI looks up a name in package runtime using the given ABI.
LookupRuntimeFunc looks up Go function name in package runtime.
LookupRuntimeVar looks up a variable (or assembly function) name in package runtime.
MakeDotArgs package all the arguments that match a ..
MethodValueType returns the struct type used to hold all the information needed in the closure for a OMETHVALUE node.
Given funarg struct list, return list of fn args.
NewMethodExpr returns an OMETHEXPR node representing method expression "recv.sym".
f is method type, with receiver.
NodAddr returns a node representing &n at base.Pos.
NodAddrAt returns a node representing &n at position pos.
No description provided by the author
No description provided by the author
RewriteMultiValueCall rewrites multi-valued f() to use temporaries, so the backend wouldn't need to worry about tuple-valued expressions.
RewriteNonNameCall replaces non-Name call expressions with temps, rewriting f()(...) to t0 := f(); t0(...).
No description provided by the author
No description provided by the author
No description provided by the author
make a new Node off the books.
TparamName returns the real name of a type parameter, after stripping its qualifying prefix and reverting blank-name encoding.
XDotMethod returns an expression representing the field selection x.sym.
XDotMethod returns an expression representing the method value x.sym (i.e., x is a value, not a type).

# Constants

The name used for dictionary parameters or local variables.

# Variables

HaveInlineBody reports whether we have fn's inline body available for inlining.
Target is the package being compiled.