RewriteRule
Definition of a rewrite rule on a given SgNode. The rule modifies the node and/or its children in‐place, and then returns true for success or false for failure.
Synopsis
Declared in <src/midend/programTransformation/finiteDifferencing/patternRewrite.h>
class RewriteRule;
Member Functions
Name |
Description |
|
Destructor |
|
Non-Member Functions
Name |
Description |
A standard set of algebraic rules for simple optimizations |
|
A standard set of algebraic and finite‐differencing rules |
|
Rewrite a node and its children recursively using a rule. Iterate until no more changes can be made. |
Derived Classes
Name |
Description |
A rule which changes one pattern of code to another |
|
Combine several rules into one, doing the constituents in order |
Created with MrDocs