docc 0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
sdfg::analysis::EscapePolicy Concept Reference

Concept for policies that handle pointer usages. More...

#include <sdfg/analysis/pointer_analyzers.h>

Concept definition

template<typename P>
concept sdfg::analysis::EscapePolicy = requires(P& p, const std::string& container, const ControlFlowNode* node, const Element* user) {
p.on_escape(container, node, user);
}
Definition element.h:159
Base class for all structured control flow nodes in a StructuredSDFG.
Definition control_flow_node.h:44
Concept for policies that handle pointer usages.
Definition pointer_analyzers.h:20

Detailed Description

Concept for policies that handle pointer usages.

This is somewhat named inaccurately, as it is more of a "pointer direct usage"

An EscapePolicy receives notifications when a pointer-typed container is used for anything other than indirect writes. This includes using this pointer in some pointer-math symbolic expressions or passing it to any code node.