ddc-core-llvm-0.4.3.1: Disciplined Disciple Compiler LLVM code generator.
DDC.Llvm.Analysis.Parents
Synopsis
data Parents Source #
The parents of a node are the other nodes that might branch to this one.
Constructors
annotParentsOfGraph :: Graph a -> Graph (a, Parents) Source #
Annotate a graph with the parents of each node.
lineageOfVar :: Graph Parents -> Var -> Label -> Maybe [Label] Source #
Get a list of parents tracing back to the node that defines the given variable, or Nothing if the definition site can not be found.
Nothing