public class RewriteSplitDagUnknownCSVRead extends StatementBlockRewriteRule
Constructor and Description |
---|
RewriteSplitDagUnknownCSVRead() |
Modifier and Type | Method and Description |
---|---|
boolean |
createsSplitDag()
Indicates if the rewrite potentially splits dags, which is used
for phase ordering of rewrites.
|
List<StatementBlock> |
rewriteStatementBlock(StatementBlock sb,
ProgramRewriteStatus state)
Handle an arbitrary statement block.
|
List<StatementBlock> |
rewriteStatementBlocks(List<StatementBlock> sbs,
ProgramRewriteStatus sate)
Handle a list of statement blocks.
|
createCutVarName
public boolean createsSplitDag()
StatementBlockRewriteRule
createsSplitDag
in class StatementBlockRewriteRule
public List<StatementBlock> rewriteStatementBlock(StatementBlock sb, ProgramRewriteStatus state)
StatementBlockRewriteRule
rewriteStatementBlock
in class StatementBlockRewriteRule
sb
- statement blockstate
- program rewrite statuspublic List<StatementBlock> rewriteStatementBlocks(List<StatementBlock> sbs, ProgramRewriteStatus sate)
StatementBlockRewriteRule
rewriteStatementBlocks
in class StatementBlockRewriteRule
sbs
- list of statement blockssate
- program rewrite statusCopyright © 2020 The Apache Software Foundation. All rights reserved.