MimIR 0.1
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
mim::DepTree Class Reference

#include <mim/analyses/deptree.h>

Public Member Functions

 DepTree (World &world)
 
Worldworld () const
 
const DepNoderoot () const
 
const DepNodemut2node (Def *mut) const
 
bool depends (Def *a, Def *b) const
 Does a depend on b?
 

Detailed Description

Definition at line 36 of file deptree.h.

Constructor & Destructor Documentation

◆ DepTree()

mim::DepTree::DepTree ( World & world)
inline

Definition at line 38 of file deptree.h.

Member Function Documentation

◆ depends()

bool mim::DepTree::depends ( Def * a,
Def * b ) const

Does a depend on b?

Definition at line 74 of file deptree.cpp.

References mut2node().

◆ mut2node()

const DepNode * mim::DepTree::mut2node ( Def * mut) const
inline

Definition at line 46 of file deptree.h.

Referenced by depends().

◆ root()

const DepNode * mim::DepTree::root ( ) const
inline

Definition at line 45 of file deptree.h.

◆ world()

World & mim::DepTree::world ( ) const
inline

Definition at line 44 of file deptree.h.


The documentation for this class was generated from the following files: