Skip to content

RewriteRuleCombiner

Combine several rules into one, doing the constituents in order

Synopsis

Declared in <src/midend/programTransformation/finiteDifferencing/patternRewrite.h>

Base Classes

Name

Description

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.

Member Functions

Name

Description

~RewriteRuleCombiner [destructor] [virtual]

Destructor

add

doRewrite [virtual]

getRules

Private Data Members

Name

rules

Non-Member Functions

Name

Description

rewrite

Rewrite a node and its children recursively using a rule. Iterate until no more changes can be made.

Created with MrDocs