1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/tools/llvm-reduce/deltas
Guillaume Chatelet a29bc1a45f [llvm] Add enum iteration to Sequence
This patch allows iterating typed enum via the ADT/Sequence utility.

It also changes the original design to better separate concerns:
 - `StrongInt` only deals with safe `intmax_t` operations,
 - `SafeIntIterator` presents the iterator and reverse iterator
 interface but only deals with safe `StrongInt` internally.
 - `iota_range` only deals with `SafeIntIterator` internally.

 This design ensures that operations are always valid. In particular,
 "Out of bounds" assertions fire when:
  - the `value_type` is not representable as an `intmax_t`
  - iterator operations make internal computation underflow/overflow
  - the internal representation cannot be converted back to `value_type`

Differential Revision: https://reviews.llvm.org/D106279
2021-07-21 12:48:53 +00:00
..
Delta.cpp [llvm-reduce] Don't unset dso_local on implicitly dso_local GVs 2021-04-30 11:57:22 -07:00
Delta.h [llvm-reduce] Add header guards and fix clang-tidy warnings 2021-04-01 20:38:49 -07:00
ReduceAliases.cpp [llvm-reduce] Add reduction for aliases. 2020-10-28 13:11:19 +00:00
ReduceAliases.h [llvm-reduce] Add header guards and fix clang-tidy warnings 2021-04-01 20:38:49 -07:00
ReduceArguments.cpp [llvm-reduce] Don't delete arguments of intrinsics 2021-06-21 12:43:58 -07:00
ReduceArguments.h [llvm-reduce] Add header guards and fix clang-tidy warnings 2021-04-01 20:38:49 -07:00
ReduceAttributes.cpp [llvm] Add enum iteration to Sequence 2021-07-21 12:48:53 +00:00
ReduceAttributes.h [llvm-reduce] Add header guards and fix clang-tidy warnings 2021-04-01 20:38:49 -07:00
ReduceBasicBlocks.cpp [llvm-reduce] Add header guards and fix clang-tidy warnings 2021-04-01 20:38:49 -07:00
ReduceBasicBlocks.h [llvm-reduce] Add header guards and fix clang-tidy warnings 2021-04-01 20:38:49 -07:00
ReduceFunctionBodies.cpp [llvm-reduce] Function body reduction: don't forget to unset comdat 2020-08-30 12:17:33 +02:00
ReduceFunctionBodies.h [llvm-reduce] Add header guards and fix clang-tidy warnings 2021-04-01 20:38:49 -07:00
ReduceFunctions.cpp [llvm-reduce] Fix removal of unused llvm intrinsics declarations 2021-01-03 01:45:47 +03:00
ReduceFunctions.h [llvm-reduce] Add header guards and fix clang-tidy warnings 2021-04-01 20:38:49 -07:00
ReduceGlobalValues.cpp [llvm-reduce] Don't unset dso_local on implicitly dso_local GVs 2021-04-30 11:57:22 -07:00
ReduceGlobalValues.h [llvm-reduce] Remove dso_local when possible 2021-03-29 12:00:10 -07:00
ReduceGlobalVarInitializers.cpp [llvm-reduce] ReduceGlobalVarInitializers delta pass: fix handling of globals w/ comdat/non-external linkage 2021-01-07 18:05:03 +03:00
ReduceGlobalVarInitializers.h [llvm-reduce] Add header guards and fix clang-tidy warnings 2021-04-01 20:38:49 -07:00
ReduceGlobalVars.cpp [llvm-reduce] Add header guards and fix clang-tidy warnings 2021-04-01 20:38:49 -07:00
ReduceGlobalVars.h [llvm-reduce] Add header guards and fix clang-tidy warnings 2021-04-01 20:38:49 -07:00
ReduceInstructions.cpp llvm-reduce: Fix typo in status message 2020-10-16 09:48:00 -04:00
ReduceInstructions.h [llvm-reduce] Add header guards and fix clang-tidy warnings 2021-04-01 20:38:49 -07:00
ReduceMetadata.cpp
ReduceMetadata.h [llvm-reduce] Add header guards and fix clang-tidy warnings 2021-04-01 20:38:49 -07:00
ReduceModuleInlineAsm.cpp [llvm-reduce] Remove unwanted module inline asm 2021-04-06 09:35:37 -07:00
ReduceModuleInlineAsm.h [llvm-reduce] Remove unwanted module inline asm 2021-04-06 09:35:37 -07:00
ReduceOperandBundles.cpp
ReduceOperandBundles.h [llvm-reduce] Add header guards and fix clang-tidy warnings 2021-04-01 20:38:49 -07: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 header guards and fix clang-tidy warnings 2021-04-01 20:38:49 -07:00