public class IPAPassRemoveUnusedFunctions extends IPAPass
| Constructor and Description | 
|---|
| IPAPassRemoveUnusedFunctions() | 
| 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. | 
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 infosCopyright © 2021 The Apache Software Foundation. All rights reserved.