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)
IPAPass
isApplicable
in class IPAPass
fgraph
- function call graphpublic boolean rewriteProgram(DMLProgram prog, FunctionCallGraph fgraph, FunctionCallSizeInfo fcallSizes)
IPAPass
rewriteProgram
in class IPAPass
prog
- dml programfgraph
- function call graphfcallSizes
- function call size infospublic static void rRemoveCheckpointReadWrite(Hop hop)
Copyright © 2020 The Apache Software Foundation. All rights reserved.