public class OptimizerOptions extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
compareOptimizerStep(RopMethod nonOptRmeth,
int paramSize,
boolean isStatic,
CfOptions args,
TranslationAdvice advice,
RopMethod rmeth)
Compares the output of the optimizer run normally with a run skipping
some optional steps.
|
static void |
loadOptimizeLists(String optimizeListFile,
String dontOptimizeListFile)
Loads the optimize/don't optimize lists from files.
|
static boolean |
shouldOptimize(String canonicalMethodName)
Checks whether the specified method should be optimized
|
public static void loadOptimizeLists(String optimizeListFile, String dontOptimizeListFile)
optimizeListFile - PathnamedontOptimizeListFile - Pathnamepublic static void compareOptimizerStep(RopMethod nonOptRmeth, int paramSize, boolean isStatic, CfOptions args, TranslationAdvice advice, RopMethod rmeth)
nonOptRmeth - non-null; origional rop methodparamSize - >= 0; parameter size of methodisStatic - true if this method has no 'this' pointer argument.args - non-null; translator argumentsadvice - non-null; translation advicermeth - non-null; method with all optimization steps run.public static boolean shouldOptimize(String canonicalMethodName)
canonicalMethodName - name of method being consideredCopyright © 2016. All Rights Reserved.