++
Преобразование оптимальный порядок операторов
This commit is contained in:
@@ -106,9 +106,10 @@ public abstract class Sapfor extends OSDComponent {
|
||||
}
|
||||
public static PassCode[] getPreparationTransformationsCodes() {
|
||||
return new PassCode[]{
|
||||
PassCode.SPF_CorrectCodeStylePass,
|
||||
PassCode.SPF_MoveOperators,
|
||||
PassCode.SPF_RenameIncludes,
|
||||
PassCode.SPF_InsertIncludesPass,
|
||||
PassCode.SPF_CorrectCodeStylePass,
|
||||
PassCode.SPF_ConvertStructures,
|
||||
PassCode.SPF_CreateCheckpoints,
|
||||
PassCode.SPF_InitDeclsWithZero,
|
||||
@@ -162,6 +163,7 @@ public abstract class Sapfor extends OSDComponent {
|
||||
res.add(PassCode.SPF_InsertDvmhRegions);//+
|
||||
res.add(PassCode.SPF_SharedMemoryParallelization);//+
|
||||
res.add(PassCode.SPF_InsertImplicitNone);//+
|
||||
res.add(PassCode.SPF_MoveOperators);
|
||||
res.add(PassCode.CreateParallelVariants); //?
|
||||
return res;
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ import Common.Utils.Vector_;
|
||||
|
||||
import java.util.Vector;
|
||||
public class Constants {
|
||||
public static final int version = 1263;
|
||||
public static final int version = 1264;
|
||||
public static final int planner_version = 24;
|
||||
public static final int testingMaxKernels = 64;
|
||||
//--
|
||||
|
||||
4
src/_VisualDVM/Passes/All/SPF_MoveOperators.java
Normal file
4
src/_VisualDVM/Passes/All/SPF_MoveOperators.java
Normal file
@@ -0,0 +1,4 @@
|
||||
package _VisualDVM.Passes.All;
|
||||
import _VisualDVM.Passes.Sapfor.SapforTransformation;
|
||||
public class SPF_MoveOperators extends SapforTransformation {
|
||||
}
|
||||
@@ -362,11 +362,15 @@ public enum PassCode implements PassCode_ {
|
||||
TestingServerBackUp,
|
||||
CompareDVMRunTaskToEthalon,
|
||||
DropSapforConfigurationEthalon,
|
||||
RefreshSapforPackageResults;
|
||||
RefreshSapforPackageResults,
|
||||
SPF_MoveOperators
|
||||
;
|
||||
//--
|
||||
@Override
|
||||
public String getDescription() {
|
||||
switch (this) {
|
||||
case SPF_MoveOperators:
|
||||
return "Оптимальный порядок операторов";
|
||||
case SPF_InsertPrivateArrayDirectives:
|
||||
return "Анализ и вставка директив приватизации массивов";
|
||||
case CompareSapforPackageToEthalon:
|
||||
@@ -956,6 +960,9 @@ public enum PassCode implements PassCode_ {
|
||||
case SPF_RemoveDistArraysFromIO:
|
||||
name = "REMOVE_DIST_ARRAYS_FROM_IO";
|
||||
break;
|
||||
case SPF_MoveOperators:
|
||||
name = "MOVE_OPERATORS";
|
||||
break;
|
||||
}
|
||||
return p + " " + name;
|
||||
}
|
||||
|
||||
BIN
src/icons/Transformations/SPF_MoveOperators.png
Normal file
BIN
src/icons/Transformations/SPF_MoveOperators.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 843 B |
Reference in New Issue
Block a user