
Public Member Functions | |
| FindSpecializations (SpecializationMap *specMap) | |
| const IR::Node * | findInsertionPoint () const |
| Visitor::profile_t | init_apply (const IR::Node *node) override |
| bool | isSimpleConstant (const IR::Expression *expression) const |
| bool | noParameters (const IR::IContainer *container) |
| void | postorder (const IR::ConstructorCallExpression *expression) override |
| void | postorder (const IR::Declaration_Instance *decl) override |
| bool | preorder (const IR::P4Control *control) override |
| bool | preorder (const IR::P4Parser *parser) override |
| bool | preorder (const IR::Parameter *) override |
Builds a SpecializationMap of instantiations with constant values for type and constructor arguments.
| bool P4::FindSpecializations::noParameters | ( | const IR::IContainer * | container | ) |
True if this container does not have constructor or type parameters i.e., we can look inside for invocations to specialize.