Documentation ¶
Index ¶
Constants ¶
View Source
const Unmarked, InProgress, Done, Visited = 0, 1, 2, 3
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Edge ¶
type Edge struct { Pred *ssa.BasicBlock Succ *ssa.BasicBlock }
type LoopAnalysis ¶
type LoopAnalysis struct { FN *ssa.Function VecBackedge []*Edge MapLoopHead2BodyBB map[*ssa.BasicBlock][]*ssa.BasicBlock MapBodyBb2LoopHead map[*ssa.BasicBlock][]*ssa.BasicBlock }
func NewLoopAnalysis ¶
func NewLoopAnalysis(fn *ssa.Function) *LoopAnalysis
type PostDominator ¶
func NewPostDominator ¶
func NewPostDominator(fn *ssa.Function) *PostDominator
func (*PostDominator) Dominate ¶
func (pd *PostDominator) Dominate(b1 *ssa.BasicBlock, b2 *ssa.BasicBlock) bool
func (*PostDominator) Print ¶
func (pd *PostDominator) Print()
Click to show internal directories.
Click to hide internal directories.