Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNilError ¶
Types ¶
type Description ¶
type Description struct {
// The function is known to be pure
Pure bool
// The function is known to never return (panics notwithstanding)
Infinite bool
// Variable ranges
Ranges vrp.Ranges
Loops []Loop
// Function returns an error as its last argument, but it is
// always nil
NilError bool
ConcreteReturnTypes []*types.Tuple
}
type Descriptions ¶
func NewDescriptions ¶
func NewDescriptions(prog *ssa.Program) *Descriptions
func (*Descriptions) Get ¶
func (d *Descriptions) Get(fn *ssa.Function) Description
type Loop ¶
type Loop map[*ssa.BasicBlock]bool
Click to show internal directories.
Click to hide internal directories.