llvm-project/llvm/test/Transforms/Attributor/ArgumentPromotion
Nikita Popov 5bb7562962 [Attributor] Generalize GEP construction
Make use of the getGEPIndicesForOffset() helper for creating GEPs.
This handles arrays as well, uses correct GEP index types and
reduces code duplication.

Differential Revision: https://reviews.llvm.org/D112263
2021-10-22 18:30:43 +02:00
..
X86 [Attributor][FIX] Copy all members in the assignment operator 2021-07-27 01:44:13 -05:00
2008-02-01-ReturnAttrs.ll [Attributor][FIX] Copy all members in the assignment operator 2021-07-27 01:44:13 -05:00
2008-07-02-array-indexing.ll [Attributor] Be more careful to not disturb the CG outside the SCC 2021-05-23 23:00:39 -05:00
2008-09-07-CGUpdate.ll [Attributor][NFC] Update tests after D94741 2021-03-11 23:31:39 -06:00
2008-09-08-CGUpdateSelfEdge.ll [Attributor][NFC] Update tests after D94741 2021-03-11 23:31:39 -06:00
aggregate-promote.ll [Attributor] Utilize the InstSimplify interface to simplify instructions 2021-07-27 00:56:23 -05:00
alignment.ll [Attributor][FIX] Copy all members in the assignment operator 2021-07-27 01:44:13 -05:00
array.ll [Attributor] Generalize GEP construction 2021-10-22 18:30:43 +02:00
attrs.ll [Attributor] Generalize GEP construction 2021-10-22 18:30:43 +02:00
basictest.ll [Attributor][FIX] Copy all members in the assignment operator 2021-07-27 01:44:13 -05:00
byval-2.ll [Attributor] Generalize GEP construction 2021-10-22 18:30:43 +02:00
byval.ll [Attributor] Generalize GEP construction 2021-10-22 18:30:43 +02:00
chained.ll [Attributor] Utilize the InstSimplify interface to simplify instructions 2021-07-27 00:56:23 -05:00
control-flow.ll [Attributor][NFC] Update tests after D94741 2021-03-11 23:31:39 -06:00
control-flow2.ll [Attributor][FIX] Copy all members in the assignment operator 2021-07-27 01:44:13 -05:00
crash.ll [Attributor] Simplify loads 2021-07-19 22:47:29 -05:00
dbg.ll [Attributor] Set floating point loads and stores as nofree in AANoFreeFloating 2021-06-09 16:16:37 -04:00
fp80.ll [Attributor] Generalize GEP construction 2021-10-22 18:30:43 +02:00
inalloca.ll [Attributor] Extend the AAValueSimplify compare simplification logic 2021-07-20 00:35:14 -05:00
invalidation.ll [Attributor] Utilize the InstSimplify interface to simplify instructions 2021-07-27 00:56:23 -05:00
live_called_from_dead.ll Reland [IR] Increase max alignment to 4GB 2021-10-06 13:29:23 -07:00
live_called_from_dead_2.ll Reland [IR] Increase max alignment to 4GB 2021-10-06 13:29:23 -07:00
musttail.ll [Attributor][NFC] Update tests after D94741 2021-03-11 23:31:39 -06:00
naked_functions.ll [Attributor][NFC] Update tests after D94741 2021-03-11 23:31:39 -06:00
nonzero-address-spaces.ll [Attributor][NFC] Update tests after D94741 2021-03-11 23:31:39 -06:00
pr27568.ll [Attributor][NFC] Update tests after D94741 2021-03-11 23:31:39 -06:00
pr32917.ll [Attributor] Simplify loads 2021-07-19 22:47:29 -05:00
pr33641_remove_arg_dbgvalue.ll [Attributor] Delete dead stores 2021-07-26 23:33:36 -05:00
profile.ll [Attributor][FIX] Copy all members in the assignment operator 2021-07-27 01:44:13 -05:00
reserve-tbaa.ll [Attributor] Simplify loads 2021-07-19 22:47:29 -05:00
sret.ll [Attributor] Simplify loads 2021-07-19 22:47:29 -05:00
tail.ll [Attributor] Generalize GEP construction 2021-10-22 18:30:43 +02:00
variadic.ll [Attributor][NFC] Update tests after D94741 2021-03-11 23:31:39 -06:00