P4C
The P4 Compiler
|
This class implements a policy suitable for the SynthesizeActions pass. More...
#include <backend.h>
Public Member Functions | |
SkipControls (const std::set< cstring > *skip) | |
bool | convert (const Visitor::Context *, const IR::P4Control *control) override |
Public Member Functions inherited from P4::ActionSynthesisPolicy | |
virtual bool | can_combine (const Visitor::Context *, const IR::BlockStatement *, const IR::StatOrDecl *) |
This class implements a policy suitable for the SynthesizeActions pass.
are in the specified set. For example, we expect that the code in the deparser will not use any tables or actions.
|
inlineoverridevirtual |
If the policy returns true the control block is processed, otherwise it is left unchanged.
Implements P4::ActionSynthesisPolicy.