[llvm] [llvm-reduce]: print short form, actionable names in the log (PR #132813)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 26 20:22:16 PDT 2025
https://github.com/YLChenZ updated https://github.com/llvm/llvm-project/pull/132813
>From 054f69dc6d30d162b94539265cc8436c300b163a Mon Sep 17 00:00:00 2001
From: YLChen <chentongyongcz at gmail.com>
Date: Tue, 25 Mar 2025 02:47:03 +0800
Subject: [PATCH] [llvm-reduce]: print short form, actionable names in the log
---
llvm/tools/llvm-reduce/deltas/ReduceAliases.cpp | 4 ++--
llvm/tools/llvm-reduce/deltas/ReduceArguments.cpp | 2 +-
llvm/tools/llvm-reduce/deltas/ReduceAttributes.cpp | 2 +-
llvm/tools/llvm-reduce/deltas/ReduceBasicBlocks.cpp | 4 ++--
llvm/tools/llvm-reduce/deltas/ReduceDIMetadata.cpp | 2 +-
llvm/tools/llvm-reduce/deltas/ReduceDbgRecords.cpp | 2 +-
llvm/tools/llvm-reduce/deltas/ReduceDistinctMetadata.cpp | 2 +-
llvm/tools/llvm-reduce/deltas/ReduceFunctionBodies.cpp | 4 ++--
llvm/tools/llvm-reduce/deltas/ReduceFunctions.cpp | 2 +-
llvm/tools/llvm-reduce/deltas/ReduceGlobalObjects.cpp | 2 +-
llvm/tools/llvm-reduce/deltas/ReduceGlobalValues.cpp | 2 +-
.../llvm-reduce/deltas/ReduceGlobalVarInitializers.cpp | 2 +-
llvm/tools/llvm-reduce/deltas/ReduceGlobalVars.cpp | 2 +-
llvm/tools/llvm-reduce/deltas/ReduceIRReferences.cpp | 6 +++---
llvm/tools/llvm-reduce/deltas/ReduceInstructionFlags.cpp | 2 +-
llvm/tools/llvm-reduce/deltas/ReduceInstructionFlagsMIR.cpp | 2 +-
llvm/tools/llvm-reduce/deltas/ReduceInstructions.cpp | 2 +-
llvm/tools/llvm-reduce/deltas/ReduceInstructionsMIR.cpp | 2 +-
llvm/tools/llvm-reduce/deltas/ReduceInvokes.cpp | 2 +-
llvm/tools/llvm-reduce/deltas/ReduceMemoryOperations.cpp | 6 +++---
llvm/tools/llvm-reduce/deltas/ReduceMetadata.cpp | 4 ++--
llvm/tools/llvm-reduce/deltas/ReduceModuleData.cpp | 2 +-
llvm/tools/llvm-reduce/deltas/ReduceOpcodes.cpp | 2 +-
llvm/tools/llvm-reduce/deltas/ReduceOperandBundles.cpp | 2 +-
llvm/tools/llvm-reduce/deltas/ReduceOperands.cpp | 6 +++---
llvm/tools/llvm-reduce/deltas/ReduceOperandsSkip.cpp | 2 +-
llvm/tools/llvm-reduce/deltas/ReduceOperandsToArgs.cpp | 2 +-
llvm/tools/llvm-reduce/deltas/ReduceRegisterDefs.cpp | 2 +-
llvm/tools/llvm-reduce/deltas/ReduceRegisterMasks.cpp | 2 +-
llvm/tools/llvm-reduce/deltas/ReduceRegisterUses.cpp | 2 +-
llvm/tools/llvm-reduce/deltas/ReduceSpecialGlobals.cpp | 2 +-
llvm/tools/llvm-reduce/deltas/ReduceUsingSimplifyCFG.cpp | 6 +++---
llvm/tools/llvm-reduce/deltas/ReduceVirtualRegisters.cpp | 2 +-
llvm/tools/llvm-reduce/deltas/RunIRPasses.cpp | 2 +-
llvm/tools/llvm-reduce/deltas/SimplifyInstructions.cpp | 2 +-
llvm/tools/llvm-reduce/deltas/StripDebugInfo.cpp | 2 +-
36 files changed, 48 insertions(+), 48 deletions(-)
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceAliases.cpp b/llvm/tools/llvm-reduce/deltas/ReduceAliases.cpp
index 2f2df549b6728..785e2910d47f7 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceAliases.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceAliases.cpp
@@ -45,9 +45,9 @@ static void extractIFuncsFromModule(Oracle &O, ReducerWorkItem &WorkItem) {
}
void llvm::reduceAliasesDeltaPass(TestRunner &Test) {
- runDeltaPass(Test, extractAliasesFromModule, "Reducing Aliases");
+ runDeltaPass(Test, extractAliasesFromModule, "Reducing Aliases (aliases)");
}
void llvm::reduceIFuncsDeltaPass(TestRunner &Test) {
- runDeltaPass(Test, extractIFuncsFromModule, "Reducing Ifuncs");
+ runDeltaPass(Test, extractIFuncsFromModule, "Reducing Ifuncs (ifuncs)");
}
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceArguments.cpp b/llvm/tools/llvm-reduce/deltas/ReduceArguments.cpp
index 5b1363d3293a6..d96c8d67da128 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceArguments.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceArguments.cpp
@@ -120,5 +120,5 @@ static void extractArgumentsFromModule(Oracle &O, ReducerWorkItem &WorkItem) {
}
void llvm::reduceArgumentsDeltaPass(TestRunner &Test) {
- runDeltaPass(Test, extractArgumentsFromModule, "Reducing Arguments");
+ runDeltaPass(Test, extractArgumentsFromModule, "Reducing Arguments (arguments)");
}
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceAttributes.cpp b/llvm/tools/llvm-reduce/deltas/ReduceAttributes.cpp
index e643fe2a51967..72f0377cbbeb8 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceAttributes.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceAttributes.cpp
@@ -149,5 +149,5 @@ static void extractAttributesFromModule(Oracle &O, ReducerWorkItem &WorkItem) {
}
void llvm::reduceAttributesDeltaPass(TestRunner &Test) {
- runDeltaPass(Test, extractAttributesFromModule, "Reducing Attributes");
+ runDeltaPass(Test, extractAttributesFromModule, "Reducing Attributes (attributes)");
}
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceBasicBlocks.cpp b/llvm/tools/llvm-reduce/deltas/ReduceBasicBlocks.cpp
index da363df77d0c0..f418e056ed666 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceBasicBlocks.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceBasicBlocks.cpp
@@ -189,7 +189,7 @@ static void extractBasicBlocksFromModule(Oracle &O, ReducerWorkItem &WorkItem) {
}
void llvm::reduceBasicBlocksDeltaPass(TestRunner &Test) {
- runDeltaPass(Test, extractBasicBlocksFromModule, "Reducing Basic Blocks");
+ runDeltaPass(Test, extractBasicBlocksFromModule, "Reducing Basic Blocks (basic-blocks)");
}
static void removeUnreachableBasicBlocksFromModule(Oracle &O,
@@ -222,5 +222,5 @@ static void removeUnreachableBasicBlocksFromModule(Oracle &O,
void llvm::reduceUnreachableBasicBlocksDeltaPass(TestRunner &Test) {
runDeltaPass(Test, removeUnreachableBasicBlocksFromModule,
- "Removing Unreachable Basic Blocks");
+ "Removing Unreachable Basic Blocks (unreachable-basic-blocks)");
}
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceDIMetadata.cpp b/llvm/tools/llvm-reduce/deltas/ReduceDIMetadata.cpp
index 38352d6342d4f..50d0840f0adf7 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceDIMetadata.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceDIMetadata.cpp
@@ -98,5 +98,5 @@ static void extractDIMetadataFromModule(Oracle &O, ReducerWorkItem &WorkItem) {
}
void llvm::reduceDIMetadataDeltaPass(TestRunner &Test) {
- runDeltaPass(Test, extractDIMetadataFromModule, "Reducing DIMetadata");
+ runDeltaPass(Test, extractDIMetadataFromModule, "Reducing DIMetadata (di-metadata)");
}
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceDbgRecords.cpp b/llvm/tools/llvm-reduce/deltas/ReduceDbgRecords.cpp
index 25de659109c9f..0d64ee93e5e98 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceDbgRecords.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceDbgRecords.cpp
@@ -35,5 +35,5 @@ static void extractDbgRecordsFromModule(Oracle &O, ReducerWorkItem &WorkItem) {
}
void llvm::reduceDbgRecordDeltaPass(TestRunner &Test) {
- runDeltaPass(Test, extractDbgRecordsFromModule, "Reducing DbgRecords");
+ runDeltaPass(Test, extractDbgRecordsFromModule, "Reducing DbgRecords (dbg-records)");
}
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceDistinctMetadata.cpp b/llvm/tools/llvm-reduce/deltas/ReduceDistinctMetadata.cpp
index 0f46409977a33..f553010e67d6c 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceDistinctMetadata.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceDistinctMetadata.cpp
@@ -138,5 +138,5 @@ static void extractDistinctMetadataFromModule(Oracle &O,
void llvm::reduceDistinctMetadataDeltaPass(TestRunner &Test) {
runDeltaPass(Test, extractDistinctMetadataFromModule,
- "Reducing Distinct Metadata");
+ "Reducing Distinct Metadata (distinct-metadata)");
}
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceFunctionBodies.cpp b/llvm/tools/llvm-reduce/deltas/ReduceFunctionBodies.cpp
index 21875ba00cf8b..fa523618d9962 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceFunctionBodies.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceFunctionBodies.cpp
@@ -34,7 +34,7 @@ static void extractFunctionBodiesFromModule(Oracle &O,
void llvm::reduceFunctionBodiesDeltaPass(TestRunner &Test) {
runDeltaPass(Test, extractFunctionBodiesFromModule,
- "Reducing Function Bodies");
+ "Reducing Function Bodies (function-bodies)");
}
static void reduceFunctionData(Oracle &O, ReducerWorkItem &WorkItem) {
@@ -58,5 +58,5 @@ static void reduceFunctionData(Oracle &O, ReducerWorkItem &WorkItem) {
}
void llvm::reduceFunctionDataDeltaPass(TestRunner &Test) {
- runDeltaPass(Test, reduceFunctionData, "Reducing Function Data");
+ runDeltaPass(Test, reduceFunctionData, "Reducing Function Data (function-data)");
}
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceFunctions.cpp b/llvm/tools/llvm-reduce/deltas/ReduceFunctions.cpp
index 619811c89202e..4f3a001129e88 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceFunctions.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceFunctions.cpp
@@ -56,5 +56,5 @@ static void extractFunctionsFromModule(Oracle &O, ReducerWorkItem &WorkItem) {
}
void llvm::reduceFunctionsDeltaPass(TestRunner &Test) {
- runDeltaPass(Test, extractFunctionsFromModule, "Reducing Functions");
+ runDeltaPass(Test, extractFunctionsFromModule, "Reducing Functions (functions)");
}
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceGlobalObjects.cpp b/llvm/tools/llvm-reduce/deltas/ReduceGlobalObjects.cpp
index 1d1463a055bd8..c4b9fae85b68f 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceGlobalObjects.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceGlobalObjects.cpp
@@ -31,5 +31,5 @@ static void reduceGOs(Oracle &O, ReducerWorkItem &Program) {
}
void llvm::reduceGlobalObjectsDeltaPass(TestRunner &Test) {
- runDeltaPass(Test, reduceGOs, "Reducing GlobalObjects");
+ runDeltaPass(Test, reduceGOs, "Reducing GlobalObjects (global-objects)");
}
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceGlobalValues.cpp b/llvm/tools/llvm-reduce/deltas/ReduceGlobalValues.cpp
index 6e8c21008502f..b0b0a247118cf 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceGlobalValues.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceGlobalValues.cpp
@@ -68,5 +68,5 @@ static void reduceGVs(Oracle &O, ReducerWorkItem &Program) {
}
void llvm::reduceGlobalValuesDeltaPass(TestRunner &Test) {
- runDeltaPass(Test, reduceGVs, "Reducing GlobalValues");
+ runDeltaPass(Test, reduceGVs, "Reducing GlobalValues (global-values)");
}
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceGlobalVarInitializers.cpp b/llvm/tools/llvm-reduce/deltas/ReduceGlobalVarInitializers.cpp
index 4c7125217f252..59fd58848585e 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceGlobalVarInitializers.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceGlobalVarInitializers.cpp
@@ -29,5 +29,5 @@ static void extractGVsFromModule(Oracle &O, ReducerWorkItem &WorkItem) {
}
void llvm::reduceGlobalsInitializersDeltaPass(TestRunner &Test) {
- runDeltaPass(Test, extractGVsFromModule, "Reducing GV Initializers");
+ runDeltaPass(Test, extractGVsFromModule, "Reducing GV Initializers (global-initializers)");
}
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceGlobalVars.cpp b/llvm/tools/llvm-reduce/deltas/ReduceGlobalVars.cpp
index b448081ee1a27..f8d9a88a93641 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceGlobalVars.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceGlobalVars.cpp
@@ -55,5 +55,5 @@ static void extractGVsFromModule(Oracle &O, ReducerWorkItem &WorkItem) {
}
void llvm::reduceGlobalsDeltaPass(TestRunner &Test) {
- runDeltaPass(Test, extractGVsFromModule, "Reducing GlobalVariables");
+ runDeltaPass(Test, extractGVsFromModule, "Reducing GlobalVariables (global-variables)");
}
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceIRReferences.cpp b/llvm/tools/llvm-reduce/deltas/ReduceIRReferences.cpp
index 4bb1eb7db1d09..41dcb69444bb3 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceIRReferences.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceIRReferences.cpp
@@ -70,14 +70,14 @@ static void stripIRFromFunctions(Oracle &O, ReducerWorkItem &WorkItem) {
void llvm::reduceIRInstructionReferencesDeltaPass(TestRunner &Test) {
runDeltaPass(Test, stripIRFromInstructions,
- "Reducing IR references from instructions");
+ "Reducing IR references from instructions (ir-instruction-references)");
}
void llvm::reduceIRBlockReferencesDeltaPass(TestRunner &Test) {
- runDeltaPass(Test, stripIRFromBlocks, "Reducing IR references from blocks");
+ runDeltaPass(Test, stripIRFromBlocks, "Reducing IR references from blocks (ir-block-references)");
}
void llvm::reduceIRFunctionReferencesDeltaPass(TestRunner &Test) {
runDeltaPass(Test, stripIRFromFunctions,
- "Reducing IR references from functions");
+ "Reducing IR references from functions (ir-function-references)");
}
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceInstructionFlags.cpp b/llvm/tools/llvm-reduce/deltas/ReduceInstructionFlags.cpp
index e157747004782..459efb75878c7 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceInstructionFlags.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceInstructionFlags.cpp
@@ -85,5 +85,5 @@ static void reduceFlagsInModule(Oracle &O, ReducerWorkItem &WorkItem) {
}
void llvm::reduceInstructionFlagsDeltaPass(TestRunner &Test) {
- runDeltaPass(Test, reduceFlagsInModule, "Reducing Instruction Flags");
+ runDeltaPass(Test, reduceFlagsInModule, "Reducing Instruction Flags (instruction-flags)");
}
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceInstructionFlagsMIR.cpp b/llvm/tools/llvm-reduce/deltas/ReduceInstructionFlagsMIR.cpp
index f2895b31947ec..1988283eb92bd 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceInstructionFlagsMIR.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceInstructionFlagsMIR.cpp
@@ -31,5 +31,5 @@ static void removeFlagsFromModule(Oracle &O, ReducerWorkItem &WorkItem) {
}
void llvm::reduceInstructionFlagsMIRDeltaPass(TestRunner &Test) {
- runDeltaPass(Test, removeFlagsFromModule, "Reducing Instruction Flags");
+ runDeltaPass(Test, removeFlagsFromModule, "Reducing Instruction Flags (instruction-flags)");
}
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceInstructions.cpp b/llvm/tools/llvm-reduce/deltas/ReduceInstructions.cpp
index 9917fed000b7a..230a1252f6581 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceInstructions.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceInstructions.cpp
@@ -64,5 +64,5 @@ static void extractInstrFromModule(Oracle &O, ReducerWorkItem &WorkItem) {
}
void llvm::reduceInstructionsDeltaPass(TestRunner &Test) {
- runDeltaPass(Test, extractInstrFromModule, "Reducing Instructions");
+ runDeltaPass(Test, extractInstrFromModule, "Reducing Instructions (instructions)");
}
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceInstructionsMIR.cpp b/llvm/tools/llvm-reduce/deltas/ReduceInstructionsMIR.cpp
index 40bc6b180fb88..89ef249539c3f 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceInstructionsMIR.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceInstructionsMIR.cpp
@@ -159,5 +159,5 @@ static void extractInstrFromModule(Oracle &O, ReducerWorkItem &WorkItem) {
}
void llvm::reduceInstructionsMIRDeltaPass(TestRunner &Test) {
- runDeltaPass(Test, extractInstrFromModule, "Reducing Instructions");
+ runDeltaPass(Test, extractInstrFromModule, "Reducing Instructions (instructions)");
}
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceInvokes.cpp b/llvm/tools/llvm-reduce/deltas/ReduceInvokes.cpp
index c6425a753df54..98e9097c916a7 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceInvokes.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceInvokes.cpp
@@ -37,5 +37,5 @@ static void reduceInvokesInModule(Oracle &O, ReducerWorkItem &WorkItem) {
}
void llvm::reduceInvokesDeltaPass(TestRunner &Test) {
- runDeltaPass(Test, reduceInvokesInModule, "Reducing Invokes");
+ runDeltaPass(Test, reduceInvokesInModule, "Reducing Invokes (invokes)");
}
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceMemoryOperations.cpp b/llvm/tools/llvm-reduce/deltas/ReduceMemoryOperations.cpp
index 8e73ea076034c..53a6e3cb1a558 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceMemoryOperations.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceMemoryOperations.cpp
@@ -42,7 +42,7 @@ static void removeVolatileInModule(Oracle &O, ReducerWorkItem &WorkItem) {
}
void llvm::reduceVolatileInstructionsDeltaPass(TestRunner &Test) {
- runDeltaPass(Test, removeVolatileInModule, "Reducing Volatile Instructions");
+ runDeltaPass(Test, removeVolatileInModule, "Reducing Volatile Instructions (volatile)");
}
static void reduceAtomicSyncScopesInFunction(Oracle &O, Function &F) {
@@ -74,7 +74,7 @@ static void reduceAtomicSyncScopesInModule(Oracle &O,
void llvm::reduceAtomicSyncScopesDeltaPass(TestRunner &Test) {
runDeltaPass(Test, reduceAtomicSyncScopesInModule,
- "Reducing Atomic Sync Scopes");
+ "Reducing Atomic Sync Scopes (syncscopes)");
}
// TODO: Might be helpful to incrementally relax orders
@@ -106,5 +106,5 @@ static void reduceAtomicOrderingInModule(Oracle &O, ReducerWorkItem &WorkItem) {
}
void llvm::reduceAtomicOrderingDeltaPass(TestRunner &Test) {
- runDeltaPass(Test, reduceAtomicOrderingInModule, "Reducing Atomic Ordering");
+ runDeltaPass(Test, reduceAtomicOrderingInModule, "Reducing Atomic Ordering (atomic-ordering)");
}
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceMetadata.cpp b/llvm/tools/llvm-reduce/deltas/ReduceMetadata.cpp
index 316c74876025a..5cf69a548964c 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceMetadata.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceMetadata.cpp
@@ -124,9 +124,9 @@ static void extractMetadataFromModule(Oracle &O, ReducerWorkItem &WorkItem) {
}
void llvm::reduceMetadataDeltaPass(TestRunner &Test) {
- runDeltaPass(Test, extractMetadataFromModule, "Reducing Metadata");
+ runDeltaPass(Test, extractMetadataFromModule, "Reducing Metadata (metadata)");
}
void llvm::reduceNamedMetadataDeltaPass(TestRunner &Test) {
- runDeltaPass(Test, reduceNamedMetadataOperands, "Reducing Named Metadata");
+ runDeltaPass(Test, reduceNamedMetadataOperands, "Reducing Named Metadata (named-metadata)");
}
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceModuleData.cpp b/llvm/tools/llvm-reduce/deltas/ReduceModuleData.cpp
index 17930abe6dbfe..4ac042d8b8cc2 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceModuleData.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceModuleData.cpp
@@ -27,5 +27,5 @@ static void clearModuleData(Oracle &O, ReducerWorkItem &WorkItem) {
}
void llvm::reduceModuleDataDeltaPass(TestRunner &Test) {
- runDeltaPass(Test, clearModuleData, "Reducing Module Data");
+ runDeltaPass(Test, clearModuleData, "Reducing Module Data (module-data)");
}
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceOpcodes.cpp b/llvm/tools/llvm-reduce/deltas/ReduceOpcodes.cpp
index 9fb4fd61c74e7..3f710e03ea8d2 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceOpcodes.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceOpcodes.cpp
@@ -263,5 +263,5 @@ static void replaceOpcodesInModule(Oracle &O, ReducerWorkItem &WorkItem) {
}
void llvm::reduceOpcodesDeltaPass(TestRunner &Test) {
- runDeltaPass(Test, replaceOpcodesInModule, "Reducing Opcodes");
+ runDeltaPass(Test, replaceOpcodesInModule, "Reducing Opcodes (opcodes)");
}
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceOperandBundles.cpp b/llvm/tools/llvm-reduce/deltas/ReduceOperandBundles.cpp
index d2274877f126b..3c81cd1d3f391 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceOperandBundles.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceOperandBundles.cpp
@@ -107,5 +107,5 @@ static void extractOperandBundesFromModule(Oracle &O,
void llvm::reduceOperandBundesDeltaPass(TestRunner &Test) {
runDeltaPass(Test, extractOperandBundesFromModule,
- "Reducing Operand Bundles");
+ "Reducing Operand Bundles (operand-bundles)");
}
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceOperands.cpp b/llvm/tools/llvm-reduce/deltas/ReduceOperands.cpp
index 6bf84f2985dc2..f23a29112eb8d 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceOperands.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceOperands.cpp
@@ -123,7 +123,7 @@ void llvm::reduceOperandsOneDeltaPass(TestRunner &Test) {
[ReduceValue](Oracle &O, ReducerWorkItem &WorkItem) {
extractOperandsFromModule(O, WorkItem, ReduceValue);
},
- "Reducing Operands to one");
+ "Reducing Operands to one (operands-one)");
}
void llvm::reduceOperandsZeroDeltaPass(TestRunner &Test) {
@@ -142,7 +142,7 @@ void llvm::reduceOperandsZeroDeltaPass(TestRunner &Test) {
[ReduceValue](Oracle &O, ReducerWorkItem &Program) {
extractOperandsFromModule(O, Program, ReduceValue);
},
- "Reducing Operands to zero");
+ "Reducing Operands to zero (operands-zero)");
}
void llvm::reduceOperandsNaNDeltaPass(TestRunner &Test) {
@@ -170,5 +170,5 @@ void llvm::reduceOperandsNaNDeltaPass(TestRunner &Test) {
[ReduceValue](Oracle &O, ReducerWorkItem &Program) {
extractOperandsFromModule(O, Program, ReduceValue);
},
- "Reducing Operands to NaN");
+ "Reducing Operands to NaN (operands-nan)");
}
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceOperandsSkip.cpp b/llvm/tools/llvm-reduce/deltas/ReduceOperandsSkip.cpp
index 1763feedcdbc3..565c639532ad1 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceOperandsSkip.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceOperandsSkip.cpp
@@ -232,5 +232,5 @@ static void extractOperandsFromModule(Oracle &O, ReducerWorkItem &WorkItem) {
void llvm::reduceOperandsSkipDeltaPass(TestRunner &Test) {
runDeltaPass(Test, extractOperandsFromModule,
- "Reducing operands by skipping over instructions");
+ "Reducing operands by skipping over instructions (operands-skip)");
}
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceOperandsToArgs.cpp b/llvm/tools/llvm-reduce/deltas/ReduceOperandsToArgs.cpp
index 66d4bd3048171..e85fd9340021d 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceOperandsToArgs.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceOperandsToArgs.cpp
@@ -216,5 +216,5 @@ static void reduceOperandsToArgs(Oracle &O, ReducerWorkItem &WorkItem) {
void llvm::reduceOperandsToArgsDeltaPass(TestRunner &Test) {
runDeltaPass(Test, reduceOperandsToArgs,
- "Converting operands to function arguments");
+ "Converting operands to function arguments (operands-to-args)");
}
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceRegisterDefs.cpp b/llvm/tools/llvm-reduce/deltas/ReduceRegisterDefs.cpp
index 97259649ab858..6fdd1f42c90f4 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceRegisterDefs.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceRegisterDefs.cpp
@@ -118,5 +118,5 @@ static void removeDefsFromModule(Oracle &O, ReducerWorkItem &WorkItem) {
}
void llvm::reduceRegisterDefsMIRDeltaPass(TestRunner &Test) {
- runDeltaPass(Test, removeDefsFromModule, "Reducing register defs");
+ runDeltaPass(Test, removeDefsFromModule, "Reducing register defs (register-defs)");
}
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceRegisterMasks.cpp b/llvm/tools/llvm-reduce/deltas/ReduceRegisterMasks.cpp
index f900d5cf8017c..5a37773bcf4f0 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceRegisterMasks.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceRegisterMasks.cpp
@@ -69,5 +69,5 @@ static void reduceMasksInModule(Oracle &O, ReducerWorkItem &WorkItem) {
}
void llvm::reduceRegisterMasksMIRDeltaPass(TestRunner &Test) {
- runDeltaPass(Test, reduceMasksInModule, "Reducing register masks");
+ runDeltaPass(Test, reduceMasksInModule, "Reducing register masks (register-masks)");
}
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceRegisterUses.cpp b/llvm/tools/llvm-reduce/deltas/ReduceRegisterUses.cpp
index a608935736d1a..5249ccd05b3ea 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceRegisterUses.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceRegisterUses.cpp
@@ -63,5 +63,5 @@ static void removeUsesFromModule(Oracle &O, ReducerWorkItem &WorkItem) {
}
void llvm::reduceRegisterUsesMIRDeltaPass(TestRunner &Test) {
- runDeltaPass(Test, removeUsesFromModule, "Reducing register uses");
+ runDeltaPass(Test, removeUsesFromModule, "Reducing register uses (register-uses)");
}
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceSpecialGlobals.cpp b/llvm/tools/llvm-reduce/deltas/ReduceSpecialGlobals.cpp
index aadd038033d5c..57715cd635657 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceSpecialGlobals.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceSpecialGlobals.cpp
@@ -43,5 +43,5 @@ static void extractSpecialGlobalsFromModule(Oracle &O,
void llvm::reduceSpecialGlobalsDeltaPass(TestRunner &Test) {
runDeltaPass(Test, extractSpecialGlobalsFromModule,
- "Reducing Special Globals");
+ "Reducing Special Globals (special-globals)");
}
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceUsingSimplifyCFG.cpp b/llvm/tools/llvm-reduce/deltas/ReduceUsingSimplifyCFG.cpp
index c49fcb9855d41..d19fc0bd74e08 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceUsingSimplifyCFG.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceUsingSimplifyCFG.cpp
@@ -32,7 +32,7 @@ static void reduceUsingSimplifyCFG(Oracle &O, ReducerWorkItem &WorkItem) {
}
void llvm::reduceUsingSimplifyCFGDeltaPass(TestRunner &Test) {
- runDeltaPass(Test, reduceUsingSimplifyCFG, "Reducing using SimplifyCFG");
+ runDeltaPass(Test, reduceUsingSimplifyCFG, "Reducing using SimplifyCFG (simplify-cfg)");
}
static void reduceConditionals(Oracle &O, ReducerWorkItem &WorkItem,
bool Direction) {
@@ -65,7 +65,7 @@ void llvm::reduceConditionalsTrueDeltaPass(TestRunner &Test) {
[](Oracle &O, ReducerWorkItem &WorkItem) {
reduceConditionals(O, WorkItem, true);
},
- "Reducing conditional branches to true");
+ "Reducing conditional branches to true (simplify-conditionals-true)");
}
void llvm::reduceConditionalsFalseDeltaPass(TestRunner &Test) {
@@ -74,5 +74,5 @@ void llvm::reduceConditionalsFalseDeltaPass(TestRunner &Test) {
[](Oracle &O, ReducerWorkItem &WorkItem) {
reduceConditionals(O, WorkItem, false);
},
- "Reducing conditional branches to false");
+ "Reducing conditional branches to false (simplify-conditionals-false)");
}
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceVirtualRegisters.cpp b/llvm/tools/llvm-reduce/deltas/ReduceVirtualRegisters.cpp
index 3ec9555c0f2f5..ad78640d3bc3a 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceVirtualRegisters.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceVirtualRegisters.cpp
@@ -43,5 +43,5 @@ static void dropRegisterHintsFromFunctions(Oracle &O,
void llvm::reduceVirtualRegisterHintsDeltaPass(TestRunner &Test) {
runDeltaPass(Test, dropRegisterHintsFromFunctions,
- "Reducing virtual register hints from functions");
+ "Reducing virtual register hints from functions (register-hints)");
}
diff --git a/llvm/tools/llvm-reduce/deltas/RunIRPasses.cpp b/llvm/tools/llvm-reduce/deltas/RunIRPasses.cpp
index e3af05616fe04..3a2fee5693b95 100644
--- a/llvm/tools/llvm-reduce/deltas/RunIRPasses.cpp
+++ b/llvm/tools/llvm-reduce/deltas/RunIRPasses.cpp
@@ -51,5 +51,5 @@ static void runPasses(Oracle &O, ReducerWorkItem &WorkItem) {
}
void llvm::runIRPassesDeltaPass(TestRunner &Test) {
- runDeltaPass(Test, runPasses, "Running passes");
+ runDeltaPass(Test, runPasses, "Running passes (ir-passes)");
}
diff --git a/llvm/tools/llvm-reduce/deltas/SimplifyInstructions.cpp b/llvm/tools/llvm-reduce/deltas/SimplifyInstructions.cpp
index fc21593c5415c..2d8af6ae2b8d9 100644
--- a/llvm/tools/llvm-reduce/deltas/SimplifyInstructions.cpp
+++ b/llvm/tools/llvm-reduce/deltas/SimplifyInstructions.cpp
@@ -46,5 +46,5 @@ static void extractInstrFromModule(Oracle &O, ReducerWorkItem &WorkItem) {
}
void llvm::simplifyInstructionsDeltaPass(TestRunner &Test) {
- runDeltaPass(Test, extractInstrFromModule, "Simplifying Instructions");
+ runDeltaPass(Test, extractInstrFromModule, "Simplifying Instructions (simplify-instructions)");
}
diff --git a/llvm/tools/llvm-reduce/deltas/StripDebugInfo.cpp b/llvm/tools/llvm-reduce/deltas/StripDebugInfo.cpp
index c9e1261c366a7..22545e07332e1 100644
--- a/llvm/tools/llvm-reduce/deltas/StripDebugInfo.cpp
+++ b/llvm/tools/llvm-reduce/deltas/StripDebugInfo.cpp
@@ -25,5 +25,5 @@ static void stripDebugInfoImpl(Oracle &O, ReducerWorkItem &WorkItem) {
}
void llvm::stripDebugInfoDeltaPass(TestRunner &Test) {
- runDeltaPass(Test, stripDebugInfoImpl, "Stripping Debug Info");
+ runDeltaPass(Test, stripDebugInfoImpl, "Stripping Debug Info (strip-debug-info)");
}
More information about the llvm-commits
mailing list