Documentation
¶
Overview ¶
Package graph defines an abstraction of the SSA graph that facilitates rendering.
Index ¶
Constants ¶
View Source
const ( // Referrer represents a node that is referred to as per ssa.Value.Referrers Referrer relationship = iota // Operand represents a node that is an operand of an instruction as per ssa.Instr.Operands Operand )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FuncGraph ¶
type FuncGraph struct {
// F is the function whose graph this is
F *ssa.Function
// Children is a mapping from each node to its children (referrers + operands)
Children map[ssa.Node][]Node
// contains filtered or unexported fields
}
FuncGraph represents the SSA graph for an ssa.Function.
Click to show internal directories.
Click to hide internal directories.