ScopeFusionPassRegistrar Constructor and Destructor
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Description
Constructs/Destructs a ScopeFusionPassRegistrar object.
Prototype
1 2 | ScopeFusionPassRegistrar(const char_t *pass_name, ScopeBasePass *(*create_fn)(), bool is_general); ~ScopeFusionPassRegistrar() = default; |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
pass_name |
Input |
Fused operator name |
create_fn |
Input |
Pointer to the fused operator object |
is_general |
Input |
true: The pattern is a general fusion pattern that takes effect by default. false: The pattern is a non-general fusion pattern that does not take effect by default. |
Returns
A ScopeFusionPassRegistrar object
Exception Handling
None
Restrictions
REGISTER_SCOPE_FUSION_PASS is called internally and is not directly called by users.
Parent topic: Class ScopeFusionPassRegistrar