llvm-project/llvm/test/Transforms/Attributor
Nikita Popov f8aaec19e6 [OpaquePtr] Support forward references in textual IR
Currently, LLParser will create a Function/GlobalVariable forward
reference based on the desired pointer type and then modify it when
it is declared. With opaque pointers, we generally do not know the
correct type to use until we see the declaration.

Solve this by creating the forward reference with a dummy type, and
then performing a RAUW with the correct Function/GlobalVariable when
it is declared. The approach is adopted from
b5b55963f6.

This results in a change to the use list order, which is why we see
test changes on some module passes that are not stable under use list
reordering.

Differential Revision: https://reviews.llvm.org/D104950
2021-06-29 20:10:31 +02:00
..
ArgumentPromotion [Attributor] Set floating point loads and stores as nofree in AANoFreeFloating 2021-06-09 16:16:37 -04:00
IPConstantProp [OpaquePtr] Support forward references in textual IR 2021-06-29 20:10:31 +02:00
reduced Revert "[NFC] remove explicit default value for strboolattr attribute in tests" 2021-05-24 19:43:40 +02:00
align.ll
allow_list.ll
alwaysinline.ll
callbacks.ll [Attributor] Set floating point loads and stores as nofree in AANoFreeFloating 2021-06-09 16:16:37 -04:00
callgraph.ll [Attributor] Don't print the call-graph in a hard-coded file. 2021-06-18 09:38:07 +02:00
cb_liveness_disabled.ll [Attributor] Call site specific AAValueSimplification and AAIsDead. 2021-05-15 21:39:07 +00:00
cb_liveness_enabled.ll [Attributor] Call site specific AAValueSimplification and AAIsDead. 2021-05-15 21:39:07 +00:00
cb_range_disabled.ll
cb_range_enabled.ll
cgscc_bugs.ll [Attributor][NFC] Add test from PR49606 2021-06-18 01:07:52 -05:00
chain.ll
depgraph.ll [Attributor] Make sure Heap2Stack works properly on a GPU target 2021-06-18 01:07:52 -05:00
dereferenceable-1.ll [IR] Mark assume/annotation as InaccessibleMemOnly 2021-03-22 22:01:03 +01:00
dereferenceable-2-inseltpoison.ll
dereferenceable-2.ll
heap_to_stack.ll [Attributor] Set floating point loads and stores as nofree in AANoFreeFloating 2021-06-09 16:16:37 -04:00
heap_to_stack_gpu.ll [Attributor] Make sure Heap2Stack works properly on a GPU target 2021-06-18 01:07:52 -05:00
internal-noalias.ll
internalize.ll [Attributor] Use a centralized value simplification interface 2021-06-18 01:07:53 -05:00
lit.local.cfg
liveness.ll
liveness_chains.ll
lowerheap.ll [IR] Memory intrinsics are not unconditionally `nosync` 2021-05-21 03:40:59 +02:00
lvi-after-jumpthreading.ll [IR] Mark assume/annotation as InaccessibleMemOnly 2021-03-22 22:01:03 +01:00
lvi-for-ashr.ll
memory_locations.ll [Attributor] Set floating point loads and stores as nofree in AANoFreeFloating 2021-06-09 16:16:37 -04:00
misc.ll [OpaquePtr] Support forward references in textual IR 2021-06-29 20:10:31 +02:00
misc_crash.ll [Attributor] Introduce a helper do deal with constant type mismatches 2021-05-23 23:00:40 -05:00
new_attributes.ll
noalias.ll
nocapture-1.ll [Attributor] Set floating point loads and stores as nofree in AANoFreeFloating 2021-06-09 16:16:37 -04:00
nocapture-2.ll
nodelete.ll [Attributor] Be more careful to not disturb the CG outside the SCC 2021-05-23 23:00:39 -05:00
nofree.ll [Attributor] Set floating point loads and stores as nofree in AANoFreeFloating 2021-06-09 16:16:37 -04:00
nonnull.ll [Attributor] Set floating point loads and stores as nofree in AANoFreeFloating 2021-06-09 16:16:37 -04:00
norecurse.ll [Attributor] Set floating point loads and stores as nofree in AANoFreeFloating 2021-06-09 16:16:37 -04:00
noreturn.ll
noreturn_async.ll [Attributor] Introduce a helper do deal with constant type mismatches 2021-05-23 23:00:40 -05:00
noreturn_sync.ll [Attributor] Introduce a helper do deal with constant type mismatches 2021-05-23 23:00:40 -05:00
nosync.ll [IR] Memory intrinsics are not unconditionally `nosync` 2021-05-21 03:40:59 +02:00
noundef.ll
nounwind.ll
potential.ll [Attributor] Be more careful to not disturb the CG outside the SCC 2021-05-23 23:00:39 -05:00
range.ll [Attributor] Set floating point loads and stores as nofree in AANoFreeFloating 2021-06-09 16:16:37 -04:00
read_write_returned_arguments_scc.ll
readattrs.ll [Attributor] Set floating point loads and stores as nofree in AANoFreeFloating 2021-06-09 16:16:37 -04:00
returned.ll
undefined_behavior.ll [Attributor] Teach AAIsDead about undef values 2021-05-23 23:00:40 -05:00
value-simplify-pointer-info.ll [Attributor][NFC] Precommit a set of test cases for load simplification 2021-06-18 01:07:51 -05:00
value-simplify.ll [Attributor] Teach AAPotentialValues about constant select conditions 2021-06-29 09:38:18 -05:00
willreturn.ll [Attributor] Set floating point loads and stores as nofree in AANoFreeFloating 2021-06-09 16:16:37 -04:00
wrapper.ll