public abstract class IPAPass extends Object
| Constructor and Description | 
|---|
| IPAPass() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract 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). | 
| abstract 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. | 
public abstract boolean isApplicable(FunctionCallGraph fgraph)
fgraph - function call graphpublic abstract boolean rewriteProgram(DMLProgram prog, FunctionCallGraph fgraph, FunctionCallSizeInfo fcallSizes)
prog - dml programfgraph - function call graphfcallSizes - function call size infosCopyright © 2021 The Apache Software Foundation. All rights reserved.