public class SamePathOptimization
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
(package private) static DynamicRegion |
dynRegion |
static za.ac.sun.cs.green.expr.Expression |
earlyReturnPredicate |
(package private) static za.ac.sun.cs.green.expr.Expression |
elsePredicate |
static boolean |
optimizedRegionPath |
static boolean |
optimizedReturnPath |
(package private) static za.ac.sun.cs.green.expr.Expression |
regionPredicate |
(package private) static za.ac.sun.cs.green.expr.Expression |
thenPredicate |
| Constructor and Description |
|---|
SamePathOptimization() |
| Modifier and Type | Method and Description |
|---|---|
private static void |
collectPredicates(gov.nasa.jpf.vm.ThreadInfo ti) |
static boolean |
optimizedChoices(gov.nasa.jpf.vm.ThreadInfo ti,
gov.nasa.jpf.vm.Instruction instructionToExecute,
StaticBranchChoiceGenerator cg) |
static void |
runOnSamePath(gov.nasa.jpf.vm.ThreadInfo ti,
gov.nasa.jpf.vm.Instruction instructionToExecute,
DynamicRegion dynRegion) |
static void |
runReturnSamePath(gov.nasa.jpf.vm.ThreadInfo ti,
gov.nasa.jpf.vm.Instruction instructionToExecute,
DynamicRegion dynRegion) |
public static boolean optimizedRegionPath
public static boolean optimizedReturnPath
static DynamicRegion dynRegion
static za.ac.sun.cs.green.expr.Expression regionPredicate
static za.ac.sun.cs.green.expr.Expression thenPredicate
static za.ac.sun.cs.green.expr.Expression elsePredicate
public static za.ac.sun.cs.green.expr.Expression earlyReturnPredicate
public static boolean optimizedChoices(gov.nasa.jpf.vm.ThreadInfo ti,
gov.nasa.jpf.vm.Instruction instructionToExecute,
StaticBranchChoiceGenerator cg)
throws StaticRegionException
StaticRegionExceptionprivate static void collectPredicates(gov.nasa.jpf.vm.ThreadInfo ti)
throws StaticRegionException
StaticRegionExceptionpublic static void runOnSamePath(gov.nasa.jpf.vm.ThreadInfo ti,
gov.nasa.jpf.vm.Instruction instructionToExecute,
DynamicRegion dynRegion)
throws StaticRegionException
StaticRegionExceptionpublic static void runReturnSamePath(gov.nasa.jpf.vm.ThreadInfo ti,
gov.nasa.jpf.vm.Instruction instructionToExecute,
DynamicRegion dynRegion)
throws StaticRegionException
StaticRegionException