Jlm
Namespaces | Functions
domtree.cpp File Reference
#include <jlm/llvm/ir/cfg-structure.hpp>
#include <jlm/llvm/ir/cfg.hpp>
#include <jlm/llvm/ir/domtree.hpp>
#include <functional>
#include <unordered_map>
Include dependency graph for domtree.cpp:

Go to the source code of this file.

Namespaces

 jlm
 
 jlm::llvm
 Global memory state passed between functions.
 

Functions

static std::unique_ptr< DominatorTreeNode > jlm::llvm::build_domtree (std::unordered_map< ControlFlowGraphNode *, ControlFlowGraphNode * > &doms, ControlFlowGraphNode *root)
 
static ControlFlowGraphNode * jlm::llvm::intersect (ControlFlowGraphNode *b1, ControlFlowGraphNode *b2, const std::unordered_map< ControlFlowGraphNode *, size_t > &indices, const std::unordered_map< ControlFlowGraphNode *, ControlFlowGraphNode * > &doms)
 
std::unique_ptr< DominatorTreeNode > jlm::llvm::domtree (ControlFlowGraph &cfg)