1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/tools/llvm-reduce/deltas
Florian Hahn 2210d6cb66 [llvm-reduce] Add reduction for special globals like llvm.used.
This patch adds a reduction of 'special' globals that lead to further
reductions (e.g. alias or regular globals reduction) being less efficient
because there are special constraints on values referenced in those
special globals. For example, values in @llvm.used and
@llvm.compiler.used need to be named, so replacing all uses of an
alias/global with undef or a different unnamed constant results in
invalid IR.

More details:
https://llvm.org/docs/LangRef.html#intrinsic-global-variables

Reviewed By: lebedev.ri

Differential Revision: https://reviews.llvm.org/D90302
2020-11-11 11:25:05 +00:00
..
Delta.cpp [llvm-reduce] Skip chunks that lead to broken modules. 2020-08-28 09:08:35 +01:00
Delta.h [NFCI][llvm-reduce] Cleanup Delta passes to use Oracle abstraction 2020-07-08 12:26:00 +03:00
ReduceAliases.cpp [llvm-reduce] Add reduction for aliases. 2020-10-28 13:11:19 +00:00
ReduceAliases.h [llvm-reduce] Add reduction for aliases. 2020-10-28 13:11:19 +00:00
ReduceArguments.cpp [Reduce] Argument reduction: shoe-horn new function into remaining uses of old function 2020-07-27 15:39:03 +03:00
ReduceArguments.h Reapply llvm-reduce: Add pass to reduce parameters"" 2019-09-12 01:20:48 +00:00
ReduceAttributes.cpp [llvm-reduce] Reducing attributes 2020-07-09 23:10:43 +03:00
ReduceAttributes.h [llvm-reduce] Reducing attributes 2020-07-09 23:10:43 +03:00
ReduceBasicBlocks.cpp [llvm-reduce] Create returns with undef values for non-void functions. 2020-08-31 16:33:46 +01:00
ReduceBasicBlocks.h llvm-reduce: Add pass to reduce basic blocks 2019-09-18 21:45:05 +00:00
ReduceFunctionBodies.cpp [llvm-reduce] Function body reduction: don't forget to unset comdat 2020-08-30 12:17:33 +02:00
ReduceFunctionBodies.h [Reduce] Try turning function definitions into declarations first, NFCI-ish 2020-07-25 21:43:36 +03:00
ReduceFunctions.cpp llvm-reduce: Don't replace intrinsic calls with undef 2020-10-16 10:10:53 -04:00
ReduceFunctions.h Added Delta IR Reduction Tool 2019-08-08 22:16:33 +00:00
ReduceGlobalVars.cpp [NFCI][llvm-reduce] Cleanup Delta passes to use Oracle abstraction 2020-07-08 12:26:00 +03:00
ReduceGlobalVars.h [Bugpoint redesign] Added Pass to Remove Global Variables 2019-08-15 22:54:09 +00:00
ReduceInstructions.cpp llvm-reduce: Fix typo in status message 2020-10-16 09:48:00 -04:00
ReduceInstructions.h llvm-reduce: Add pass to reduce instructions 2019-09-19 00:59:27 +00:00
ReduceMetadata.cpp [NFCI][llvm-reduce] Cleanup Delta passes to use Oracle abstraction 2020-07-08 12:26:00 +03:00
ReduceMetadata.h llvm-reduce: Add pass to reduce Metadata 2019-09-10 22:09:58 +00:00
ReduceOperandBundles.cpp [NFC][llvm-reduce] Purify for_each usage in Operand Bundles into range-based for loop 2020-07-09 23:10:43 +03:00
ReduceOperandBundles.h [llvm-reduce] Reducing call operand bundles 2020-07-07 01:16:37 +03:00
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