Thorin 1.9.0
The Higher ORder INtermediate representation
Loading...
Searching...
No Matches
thorin::DepTree Class Reference

#include <thorin/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()

thorin::DepTree::DepTree ( World world)
inline

Definition at line 38 of file deptree.h.

Member Function Documentation

◆ depends()

bool thorin::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 * thorin::DepTree::mut2node ( Def mut) const
inline

Definition at line 46 of file deptree.h.

Referenced by depends().

◆ root()

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

Definition at line 45 of file deptree.h.

◆ world()

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

Definition at line 44 of file deptree.h.


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