![]() |
User Guide
|
Visitor to return Def-Use chain for a given variable in the block/node More...
Visitor to return Def-Use chain for a given variable in the block/node
Definition in file defuse_analyze_visitor.hpp.
#include <map>
#include <stack>
#include "printer/json_printer.hpp"
#include "symtab/decl.hpp"
#include "visitors/ast_visitor.hpp"
#include "visitors/visitor_utils.hpp"
Go to the source code of this file.
Classes | |
class | nmodl::visitor::DUInstance |
Represent use of a variable in the statement. More... | |
class | nmodl::visitor::DUChain |
Def-Use chain for an AST node. More... | |
class | nmodl::visitor::DefUseAnalyzeVisitor |
Visitor to return Def-Use chain for a given variable in the block/node More... | |
Namespaces | |
nmodl | |
encapsulates code generation backend implementations | |
nmodl::visitor | |
Implementation of different AST visitors. | |
Enumerations | |
enum | nmodl::visitor::DUState { nmodl::visitor::DUState::U, nmodl::visitor::DUState::D, nmodl::visitor::DUState::CD, nmodl::visitor::DUState::LU, nmodl::visitor::DUState::LD, nmodl::visitor::DUState::UNKNOWN, nmodl::visitor::DUState::CONDITIONAL_BLOCK, nmodl::visitor::DUState::IF, nmodl::visitor::DUState::ELSEIF, nmodl::visitor::DUState::ELSE, nmodl::visitor::DUState::NONE } |
Represent a state in Def-Use chain. More... | |
enum | nmodl::visitor::DUVariableType { nmodl::visitor::DUVariableType::Local, nmodl::visitor::DUVariableType::Global } |
Variable type processed by DefUseAnalyzeVisitor. More... | |
Functions | |
std::ostream & | nmodl::visitor::operator<< (std::ostream &os, DUState state) |