public class IPAPassRemoveUnnecessaryCheckpoints extends IPAPass
| Constructor and Description |
|---|
IPAPassRemoveUnnecessaryCheckpoints() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isApplicable(FunctionCallGraph fgraph)
Indicates if an IPA pass is applicable for the current
configuration such as global flags or the chosen execution
mode (e.g., HYBRID).
|
boolean |
rewriteProgram(DMLProgram prog,
FunctionCallGraph fgraph,
FunctionCallSizeInfo fcallSizes)
Rewrites the given program or its functions in place,
with access to the read-only function call graph.
|
static void |
rRemoveCheckpointReadWrite(Hop hop) |
public boolean isApplicable(FunctionCallGraph fgraph)
IPAPassisApplicable in class IPAPassfgraph - function call graphpublic boolean rewriteProgram(DMLProgram prog, FunctionCallGraph fgraph, FunctionCallSizeInfo fcallSizes)
IPAPassrewriteProgram in class IPAPassprog - dml programfgraph - function call graphfcallSizes - function call size infospublic static void rRemoveCheckpointReadWrite(Hop hop)
Copyright © 2021 The Apache Software Foundation. All rights reserved.