llvm-project/llvm/test/Transforms/Attributor/ArgumentPromotion
Johannes Doerfert d445b6dfec [Attributor] Cleanup `::initialize` of various AAs
This commit cleans up the ::initialize method of various AAs in the
following ways:
  - If an associated function is required, give up on declarations.
    This was discovered as a real problem when lots of llvm.dbg.XXX
    call sites were assumed `noreturn` until proven otherwise. That
    does not make any sense and caused huge regressions and missed
    deductions.
  - Require more associated declarations for function interface AAs.
  - Use the IRAttribute::initialize to determine if function interface
    AAs can be used in IPO, don't replicate the checks (especially
    isFunctionIPOAmendable) all over the place. Arguably the function
    declaration check should be moved to some central place to.
2020-09-09 01:38:25 -05:00
..
X86 [Attributor] Cleanup `::initialize` of various AAs 2020-09-09 01:38:25 -05:00
2008-02-01-ReturnAttrs.ll [Attributor] Introduce module slice. 2020-08-30 10:30:44 +02:00
2008-07-02-array-indexing.ll [Attributor] Introduce module slice. 2020-08-30 10:30:44 +02:00
2008-09-07-CGUpdate.ll [Attributor][NFC] rerun update_test_checks without --scrub-attributes 2020-08-29 19:34:10 +02:00
2008-09-08-CGUpdateSelfEdge.ll [Attributor][NFC] rerun update_test_checks without --scrub-attributes 2020-08-29 19:34:10 +02:00
aggregate-promote.ll [Attributor][NFC] rerun update_test_checks without --scrub-attributes 2020-08-29 19:34:10 +02:00
alignment.ll [Attributor] Introduce module slice. 2020-08-30 10:30:44 +02:00
attrs.ll [Attributor] Introduce module slice. 2020-08-30 10:30:44 +02:00
basictest.ll [Attributor] Introduce module slice. 2020-08-30 10:30:44 +02:00
byval-2.ll [Attributor] Introduce module slice. 2020-08-30 10:30:44 +02:00
byval.ll [Attributor] Introduce module slice. 2020-08-30 10:30:44 +02:00
chained.ll [Attributor][NFC] rerun update_test_checks without --scrub-attributes 2020-08-29 19:34:10 +02:00
control-flow.ll [Attributor][NFC] rerun update_test_checks without --scrub-attributes 2020-08-29 19:34:10 +02:00
control-flow2.ll [Attributor] Introduce module slice. 2020-08-30 10:30:44 +02:00
crash.ll [Attributor][NFC] rerun update_test_checks without --scrub-attributes 2020-08-29 19:34:10 +02:00
dbg.ll [Attributor] Cleanup `::initialize` of various AAs 2020-09-09 01:38:25 -05:00
fp80.ll [Attributor] Introduce module slice. 2020-08-30 10:30:44 +02:00
inalloca.ll [Attributor] Introduce module slice. 2020-08-30 10:30:44 +02:00
invalidation.ll [Attributor][NFC] rerun update_test_checks without --scrub-attributes 2020-08-29 19:34:10 +02:00
live_called_from_dead.ll [Attributor] Introduce module slice. 2020-08-30 10:30:44 +02:00
live_called_from_dead_2.ll [Attributor] Introduce module slice. 2020-08-30 10:30:44 +02:00
musttail.ll [Attributor] Introduce module slice. 2020-08-30 10:30:44 +02:00
naked_functions.ll [Attributor][NFC] rerun update_test_checks without --scrub-attributes 2020-08-29 19:34:10 +02:00
nonzero-address-spaces.ll [Attributor][NFC] rerun update_test_checks without --scrub-attributes 2020-08-29 19:34:10 +02:00
pr27568.ll [Attributor][NFC] rerun update_test_checks without --scrub-attributes 2020-08-29 19:34:10 +02:00
pr32917.ll [Attributor][NFC] rerun update_test_checks without --scrub-attributes 2020-08-29 19:34:10 +02:00
pr33641_remove_arg_dbgvalue.ll [Attributor][NFC] rerun update_test_checks without --scrub-attributes 2020-08-29 19:34:10 +02:00
profile.ll [Attributor] Cleanup `::initialize` of various AAs 2020-09-09 01:38:25 -05:00
reserve-tbaa.ll [Attributor][NFC] rerun update_test_checks without --scrub-attributes 2020-08-29 19:34:10 +02:00
sret.ll [Attributor] Introduce module slice. 2020-08-30 10:30:44 +02:00
tail.ll [Attributor] Introduce module slice. 2020-08-30 10:30:44 +02:00
variadic.ll [Attributor] Introduce module slice. 2020-08-30 10:30:44 +02:00