llvm-project/llvm/test/Transforms/Attributor
Shinji Okumura 434cf2ded3 [Attributor] Check nonnull attribute violation in AAUndefinedBehavior
This patch makes it possible to handle nonnull attribute violation at callsites in AAUndefinedBehavior.
If null pointer is passed to callee at a callsite and the corresponding argument of callee has nonnull attribute, the behavior of the callee is undefined.
In this patch, violations of argument nonnull attributes is only handled.
But violations of returned nonnull attributes can be handled and I will implement that in a follow-up patch.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D84733
2020-08-03 17:12:50 +09:00
..
ArgumentPromotion [NewPM][Attributor] Pin tests with -attributor to legacy PM 2020-07-29 09:02:30 -07:00
IPConstantProp [NewPM][Attributor] Pin tests with -attributor to legacy PM 2020-07-29 09:02:30 -07:00
reduced [NewPM][Attributor] Pin tests with -attributor to legacy PM 2020-07-29 09:02:30 -07:00
align.ll [NewPM][Attributor] Pin tests with -attributor to legacy PM 2020-07-29 09:02:30 -07:00
allow_list.ll [Attributor][NFC] applying update_test_checks with --check-attributes 2020-07-20 08:17:34 +02:00
alwaysinline.ll [NewPM][Attributor] Pin tests with -attributor to legacy PM 2020-07-29 09:02:30 -07:00
callbacks.ll [NewPM][Attributor] Pin tests with -attributor to legacy PM 2020-07-29 09:02:30 -07:00
depgraph.ll [Attributor] Track AA dependency using dependency graph 2020-07-28 18:02:49 +08:00
dereferenceable-1.ll [NewPM][Attributor] Pin tests with -attributor to legacy PM 2020-07-29 09:02:30 -07:00
dereferenceable-2.ll [NewPM][Attributor] Pin tests with -attributor to legacy PM 2020-07-29 09:02:30 -07:00
heap_to_stack.ll [NewPM][Attributor] Pin tests with -attributor to legacy PM 2020-07-29 09:02:30 -07:00
internal-noalias.ll [NewPM][Attributor] Pin tests with -attributor to legacy PM 2020-07-29 09:02:30 -07:00
liveness.ll [NewPM][Attributor] Pin tests with -attributor to legacy PM 2020-07-29 09:02:30 -07:00
liveness_chains.ll [NewPM][Attributor] Pin tests with -attributor to legacy PM 2020-07-29 09:02:30 -07:00
lvi-after-jumpthreading.ll [NewPM][Attributor] Pin tests with -attributor to legacy PM 2020-07-29 09:02:30 -07:00
lvi-for-ashr.ll [NewPM][Attributor] Pin tests with -attributor to legacy PM 2020-07-29 09:02:30 -07:00
memory_locations.ll [NewPM][Attributor] Pin tests with -attributor to legacy PM 2020-07-29 09:02:30 -07:00
misc.ll [NewPM][Attributor] Pin tests with -attributor to legacy PM 2020-07-29 09:02:30 -07:00
misc_crash.ll [NewPM][Attributor] Pin tests with -attributor to legacy PM 2020-07-29 09:02:30 -07:00
new_attributes.ll [Attributor][NFC] applying update_test_checks with --check-attributes 2020-07-20 08:17:34 +02:00
noalias.ll [NewPM][Attributor] Pin tests with -attributor to legacy PM 2020-07-29 09:02:30 -07:00
nocapture-1.ll [NewPM][Attributor] Pin tests with -attributor to legacy PM 2020-07-29 09:02:30 -07:00
nocapture-2.ll [NewPM][Attributor] Pin tests with -attributor to legacy PM 2020-07-29 09:02:30 -07:00
nofree.ll [NewPM][Attributor] Pin tests with -attributor to legacy PM 2020-07-29 09:02:30 -07:00
nonnull.ll [NewPM][Attributor] Pin tests with -attributor to legacy PM 2020-07-29 09:02:30 -07:00
norecurse.ll [NewPM][Attributor] Pin tests with -attributor to legacy PM 2020-07-29 09:02:30 -07:00
noreturn.ll [NewPM][Attributor] Pin tests with -attributor to legacy PM 2020-07-29 09:02:30 -07:00
noreturn_async.ll [Attributor][NFC] applying update_test_checks with --check-attributes 2020-07-20 08:17:34 +02:00
noreturn_sync.ll [Attributor][NFC] applying update_test_checks with --check-attributes 2020-07-20 08:17:34 +02:00
nosync.ll [NewPM][Attributor] Pin tests with -attributor to legacy PM 2020-07-29 09:02:30 -07:00
nounwind.ll [NewPM][Attributor] Pin tests with -attributor to legacy PM 2020-07-29 09:02:30 -07:00
range.ll [NewPM][Attributor] Pin tests with -attributor to legacy PM 2020-07-29 09:02:30 -07:00
read_write_returned_arguments_scc.ll [NewPM][Attributor] Pin tests with -attributor to legacy PM 2020-07-29 09:02:30 -07:00
readattrs.ll [NewPM][Attributor] Pin tests with -attributor to legacy PM 2020-07-29 09:02:30 -07:00
returned.ll [NewPM][Attributor] Pin tests with -attributor to legacy PM 2020-07-29 09:02:30 -07:00
undefined_behavior.ll [Attributor] Check nonnull attribute violation in AAUndefinedBehavior 2020-08-03 17:12:50 +09:00
value-simplify.ll [NewPM][Attributor] Pin tests with -attributor to legacy PM 2020-07-29 09:02:30 -07:00
willreturn.ll [NewPM][Attributor] Pin tests with -attributor to legacy PM 2020-07-29 09:02:30 -07:00
wrapper.ll [Attributor][NFC] Remove obsolete option from tests 2020-04-21 15:22:10 -05:00