Jlm
Loading...
Searching...
No Matches
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

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

Functions

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