public class OptimizerOptions
extends java.lang.Object
| Constructor and Description |
|---|
OptimizerOptions() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
void |
loadOptimizeLists(java.lang.String optimizeListFile,
java.lang.String dontOptimizeListFile)
Loads the optimize/don't optimize lists from files.
|
boolean |
shouldOptimize(java.lang.String canonicalMethodName)
Checks whether the specified method should be optimized
|
public void loadOptimizeLists(java.lang.String optimizeListFile,
java.lang.String dontOptimizeListFile)
optimizeListFile - PathnamedontOptimizeListFile - Pathnamepublic 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 boolean shouldOptimize(java.lang.String canonicalMethodName)
canonicalMethodName - name of method being consideredCopyright © 2020. All Rights Reserved.