docc 0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
sdfg::codegen::ArgCapturePlan Class Reference

#include <sdfg/codegen/instrumentation/arg_capture_plan.h>

Public Member Functions

 ArgCapturePlan (StructuredSDFG &sdfg, const std::unordered_map< const structured_control_flow::ControlFlowNode *, std::unordered_map< std::string, CaptureVarPlan > > &nodes)
bool is_empty () const
bool should_instrument (const structured_control_flow::ControlFlowNode &node) const
void begin_instrumentation (const structured_control_flow::ControlFlowNode &node, PrettyPrinter &stream, LanguageExtension &language_extension) const
void end_instrumentation (const structured_control_flow::ControlFlowNode &node, PrettyPrinter &stream, LanguageExtension &language_extension) const
void emit_arg_captures (PrettyPrinter &stream, LanguageExtension &language_extension, const std::unordered_map< std::string, CaptureVarPlan > &plan, bool after, std::string element_id) const

Static Public Member Functions

static std::unique_ptr< ArgCapturePlan > none (StructuredSDFG &sdfg)
static std::unique_ptr< ArgCapturePlan > root (StructuredSDFG &sdfg)
static std::unique_ptr< ArgCapturePlan > outermost_loops_plan (StructuredSDFG &sdfg)
static std::unordered_map< std::string, CaptureVarPlan > create_capture_plan (StructuredSDFG &sdfg, analysis::AnalysisManager &analysis_manager, structured_control_flow::ControlFlowNode &node)

Constructor & Destructor Documentation

◆ ArgCapturePlan()

sdfg::codegen::ArgCapturePlan::ArgCapturePlan ( StructuredSDFG & sdfg,
const std::unordered_map< const structured_control_flow::ControlFlowNode *, std::unordered_map< std::string, CaptureVarPlan > > & nodes )
inline

Member Function Documentation

◆ begin_instrumentation()

void sdfg::codegen::ArgCapturePlan::begin_instrumentation ( const structured_control_flow::ControlFlowNode & node,
PrettyPrinter & stream,
LanguageExtension & language_extension ) const

◆ create_capture_plan()

std::unordered_map< std::string, CaptureVarPlan > sdfg::codegen::ArgCapturePlan::create_capture_plan ( StructuredSDFG & sdfg,
analysis::AnalysisManager & analysis_manager,
structured_control_flow::ControlFlowNode & node )
static

◆ emit_arg_captures()

void sdfg::codegen::ArgCapturePlan::emit_arg_captures ( PrettyPrinter & stream,
LanguageExtension & language_extension,
const std::unordered_map< std::string, CaptureVarPlan > & plan,
bool after,
std::string element_id ) const

◆ end_instrumentation()

void sdfg::codegen::ArgCapturePlan::end_instrumentation ( const structured_control_flow::ControlFlowNode & node,
PrettyPrinter & stream,
LanguageExtension & language_extension ) const

◆ is_empty()

bool sdfg::codegen::ArgCapturePlan::is_empty ( ) const
inline

◆ none()

std::unique_ptr< ArgCapturePlan > sdfg::codegen::ArgCapturePlan::none ( StructuredSDFG & sdfg)
static

◆ outermost_loops_plan()

std::unique_ptr< ArgCapturePlan > sdfg::codegen::ArgCapturePlan::outermost_loops_plan ( StructuredSDFG & sdfg)
static

◆ root()

std::unique_ptr< ArgCapturePlan > sdfg::codegen::ArgCapturePlan::root ( StructuredSDFG & sdfg)
static

◆ should_instrument()

bool sdfg::codegen::ArgCapturePlan::should_instrument ( const structured_control_flow::ControlFlowNode & node) const

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