проход переименования заголовков. v++

This commit is contained in:
2024-06-05 15:06:16 +03:00
parent 2983d5c579
commit ba6257cd36
7 changed files with 80 additions and 58 deletions

View File

@@ -107,6 +107,8 @@ public enum PassCode_2021 {
SPF_ResolveCommonBlockConflicts,
SPF_SharedMemoryParallelization,
SPF_RemoveOmpDirectives,
SPF_RenameIncludes,
//
RestoreSavedArrays,
MassSelectArrays,
DropSavedArrays,
@@ -344,6 +346,8 @@ public enum PassCode_2021 {
switch (this) {
case Undefined:
return "?";
case SPF_RenameIncludes:
return "Переименование заголовочных файлов";
case ShowSapforCompilationOut:
return "Отобразить поток вывода сборки SAPFOR";
case ShowSapforCompilationErr:
@@ -919,80 +923,92 @@ public enum PassCode_2021 {
String p = "-passN";
String name = "?";
switch (this) {
case SPF_CorrectCodeStylePass:
case SPF_CorrectCodeStylePass: //+
name = "CORRECT_CODE_STYLE";
break;
//--
case SPF_RemoveDvmDirectives:
case SPF_RemoveDvmDirectives: //+
name = "REMOVE_DVM_DIRS";
break;
case SPF_RemoveDvmDirectivesToComments:
case SPF_RemoveDvmDirectivesToComments: //+
name = "REMOVE_DVM_DIRS_TO_COMMENTS";
break;
case SPF_CreateCheckpoints:
case SPF_CreateCheckpoints: //+
name = "CREATE_CHEKPOINTS";
break;
case SPF_CreateIntervalsTree:
case SPF_CreateIntervalsTree: //+
name = "INSERT_INTER_TREE";
break;
case SPF_RemoveDvmIntervals:
case SPF_RemoveDvmIntervals: //+
name = "REMOVE_DVM_INTERVALS";
break;
case SPF_LoopEndDoConverterPass:
case SPF_LoopEndDoConverterPass: //+
name = "CONVERT_TO_ENDDO";
break;
case SPF_LoopUnion:
case SPF_LoopUnion: //+
name = "LOOPS_COMBINER";
break;
case SPF_LoopFission:
case SPF_LoopFission: //+
name = "LOOPS_SPLITTER";
break;
//--
case SPF_PrivateShrinking:
case SPF_PrivateShrinking: //+
name = "PRIVATE_ARRAYS_SHRINKING";
break;
case SPF_PrivateExpansion:
case SPF_PrivateExpansion://+
name = "PRIVATE_ARRAYS_EXPANSION";
break;
case SPF_PrivateRemoving:
case SPF_PrivateRemoving://+
name = "PRIVATE_REMOVING";
break;
//-
case SPF_ResolveParallelRegionConflicts:
case SPF_ResolveParallelRegionConflicts://+
name = "RESOLVE_PAR_REGIONS";
break;
case SPF_RemoveUnusedFunctions:
case SPF_RemoveUnusedFunctions://+
name = "REMOVE_UNUSED_FUNCTIONS";
break;
case SPF_DuplicateFunctionChains:
case SPF_DuplicateFunctionChains://+
name = "DUPLICATE_FUNCTIONS";
break;
//--
case SPF_InitDeclsWithZero:
case SPF_InitDeclsWithZero://+
name = "SET_TO_ALL_DECL_INIT_ZERO";
break;
case SPF_ConvertStructures:
case SPF_ConvertStructures://+
name = "CONVERT_STRUCTURES_TO_SIMPLE";
break;
//--
case SPF_SharedMemoryParallelization:
case SPF_SharedMemoryParallelization://+
name = "INSERT_PARALLEL_DIRS_NODIST";
break;
case SPF_InsertDvmhRegions:
case SPF_InsertDvmhRegions://+
name = "INSERT_REGIONS";
break;
case SPF_ExpressionSubstitution:
case SPF_ExpressionSubstitution://+
name = "SUBST_EXPR_RD_AND_UNPARSE";
break;
case SPF_ResolveCommonBlockConflicts:
case SPF_ResolveCommonBlockConflicts://+
name = "FIX_COMMON_BLOCKS";
break;
case SPF_GetMaxMinBlockDistribution:
case SPF_GetMaxMinBlockDistribution: //?
name = "GET_MIN_MAX_BLOCK_DIST";
break;
case SPF_InsertIncludesPass:
case SPF_InsertIncludesPass://+
name = "INSERT_INCLUDES -includeAll";
break;
case SPF_InsertImplicitNone://+
name = "SET_IMPLICIT_NONE";
break;
case SPF_RemoveOmpDirectives:
name= "REMOVE_OMP_DIRS_TRANSFORM";
break;
case SPF_RemoveComments:
name="REMOVE_COMMENTS";
break;
case SPF_RemoveDeadCode:
name= "REMOVE_DEAD_CODE_AND_UNPARSE";
break;
}
return p + " " + name;
}