P4C
The P4 Compiler
Loading...
Searching...
No Matches
BFN::FrontEndPolicy Struct Reference
Inheritance diagram for BFN::FrontEndPolicy:
[legend]

Public Member Functions

 FrontEndPolicy (P4::ParseAnnotations *parseAnnotations)
 
 FrontEndPolicy (P4::ParseAnnotations *parseAnnotations, bool skip_side_effect_ordering)
 
P4::ParseAnnotationsgetParseAnnotations () const override
 
bool skipSideEffectOrdering () const override
 
- Public Member Functions inherited from P4::FrontEndPolicy
virtual bool enableSubConstToAddTransform () const
 
virtual ConstantFoldingPolicygetConstantFoldingPolicy () const
 
virtual std::vector< DebugHookgetDebugHooks () const
 
virtual bool optimize (const CompilerOptions &options) const
 
- Public Member Functions inherited from P4::RemoveUnusedPolicy
virtual RemoveUnusedDeclarationsgetRemoveUnusedDeclarationsPass (const UsedDeclSet &used, bool warn=false) const
 

Member Function Documentation

◆ getParseAnnotations()

P4::ParseAnnotations * BFN::FrontEndPolicy::getParseAnnotations ( ) const
inlineoverridevirtual

A specialized instance of annotations parser for the target, or nullptr to use the default configuration.

Returns
Defaults to nullptr.

Reimplemented from P4::FrontEndPolicy.

◆ skipSideEffectOrdering()

bool BFN::FrontEndPolicy::skipSideEffectOrdering ( ) const
inlineoverridevirtual

Indicates whether the side-effect-ordering pass should be skipped.

Returns
Defaults to false.

Reimplemented from P4::FrontEndPolicy.