public class IPAPassRewriteFederatedPlan extends IPAPass
| Constructor and Description |
|---|
IPAPassRewriteFederatedPlan() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isApplicable(FunctionCallGraph fgraph)
Indicates if an IPA pass is applicable for the current configuration.
|
boolean |
rewriteProgram(DMLProgram prog,
FunctionCallGraph fgraph,
FunctionCallSizeInfo fcallSizes)
Estimates cost and selects a federated execution plan
by setting the federated output value of each hop in the program.
|
ArrayList<StatementBlock> |
rewriteStatementBlock(StatementBlock sb)
Estimates cost and selects a federated execution plan
by setting the federated output value of each hop in the statement blocks.
|
ArrayList<StatementBlock> |
rewriteStatementBlocks(List<StatementBlock> sbs)
Estimates cost and selects a federated execution plan
by setting the federated output value of each hop in the statement blocks.
|
public boolean isApplicable(FunctionCallGraph fgraph)
isApplicable in class IPAPassfgraph - function call graphpublic boolean rewriteProgram(DMLProgram prog, FunctionCallGraph fgraph, FunctionCallSizeInfo fcallSizes)
rewriteProgram in class IPAPassprog - dml programfgraph - function call graphfcallSizes - function call size infospublic ArrayList<StatementBlock> rewriteStatementBlocks(List<StatementBlock> sbs)
sbs - list of statement blockspublic ArrayList<StatementBlock> rewriteStatementBlock(StatementBlock sb)
sb - statement blockCopyright © 2021 The Apache Software Foundation. All rights reserved.