1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/tools/llvm-reduce/deltas
Roman Lebedev bcf1e6754c [llvm-reduce] Refactor global variable delta pass
The limitation of the current pass that it skips initializer-less GV's
seems arbitrary, in all the reduced cases i (personally) looked at,
the globals weren't needed, yet they were kept.

So let's do two things:
1. allow reducing initializer-less globals
2. before reducing globals, reduce their initializers, much like we do function bodies
2021-01-03 01:45:47 +03:00
..
Delta.cpp
Delta.h
ReduceAliases.cpp
ReduceAliases.h
ReduceArguments.cpp
ReduceArguments.h
ReduceAttributes.cpp
ReduceAttributes.h
ReduceBasicBlocks.cpp
ReduceBasicBlocks.h
ReduceFunctionBodies.cpp
ReduceFunctionBodies.h
ReduceFunctions.cpp [llvm-reduce] Fix removal of unused llvm intrinsics declarations 2021-01-03 01:45:47 +03:00
ReduceFunctions.h
ReduceGlobalVarInitializers.cpp [llvm-reduce] Refactor global variable delta pass 2021-01-03 01:45:47 +03:00
ReduceGlobalVarInitializers.h [llvm-reduce] Refactor global variable delta pass 2021-01-03 01:45:47 +03:00
ReduceGlobalVars.cpp [llvm-reduce] Refactor global variable delta pass 2021-01-03 01:45:47 +03:00
ReduceGlobalVars.h [llvm-reduce] Refactor global variable delta pass 2021-01-03 01:45:47 +03:00
ReduceInstructions.cpp
ReduceInstructions.h
ReduceMetadata.cpp
ReduceMetadata.h
ReduceOperandBundles.cpp
ReduceOperandBundles.h
ReduceSpecialGlobals.cpp [llvm-reduce] Add reduction for special globals like llvm.used. 2020-11-11 11:25:05 +00:00
ReduceSpecialGlobals.h [llvm-reduce] Add reduction for special globals like llvm.used. 2020-11-11 11:25:05 +00:00