NEURON
loop_unroll_visitor.cpp File Reference
#include "visitors/loop_unroll_visitor.hpp"
#include "ast/all.hpp"
#include "parser/c11_driver.hpp"
#include "utils/logger.hpp"
#include "visitors/index_remover.hpp"
#include "visitors/visitor_utils.hpp"

Go to the source code of this file.

Namespaces

 nmodl
 encapsulates code generation backend implementations
 
 nmodl::visitor
 Implementation of different AST visitors.
 

Functions

static std::shared_ptr< ast::Expression > nmodl::visitor::unwrap (const std::shared_ptr< ast::Expression > &expr)
 return underlying expression wrapped by WrappedExpression More...
 
static std::shared_ptr< ast::ExpressionStatement > nmodl::visitor::unroll_for_loop (const std::shared_ptr< ast::FromStatement > &node)
 Unroll given for loop. More...