llvm-project/llvm/test/Transforms/Attributor
Nikita Popov 874c0327e7 [Attributor] Use ConstantFoldLoadFromConst()
When determining the initial value of the object, use the constant
folding API to load a given type at a given offset in the global
initializer. This makes it work for cases where the load doesn't
directly correspond to an aggregate member.

Differential Revision: https://reviews.llvm.org/D135435
2022-10-10 10:17:37 +02:00
..
ArgumentPromotion [Attributor] Teach AAPointerInfo to look into aggregates 2022-10-05 06:19:47 -07:00
IPConstantProp [Attributor] Teach AAPointerInfo to look into aggregates 2022-10-05 06:19:47 -07:00
reduced [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
align.ll [Attributor][NFC] Re-run update_test_checks on all Attributor tests 2022-10-05 06:19:43 -07:00
allow_list.ll [Attributor] Replace AAValueSimplify with AAPotentialValues 2022-07-19 16:24:42 -05:00
alwaysinline.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
assumes_info.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
callbacks.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
callgraph.ll
cb_liveness_disabled.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
cb_liveness_enabled.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
cb_range_disabled.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
cb_range_enabled.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
cgscc_bugs.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
chain.ll [NFC][1/n] Remove -enable-new-pm=0 flags from lit tests 2022-09-19 09:57:37 -07:00
depgraph.ll [Attributor] Replace AAValueSimplify with AAPotentialValues 2022-07-19 16:24:42 -05:00
dereferenceable-1.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
dereferenceable-2-inseltpoison.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
dereferenceable-2.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
heap_to_stack.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
heap_to_stack_gpu.ll [Attributor] AAPointerInfo can model non-escaping call uses 2022-10-05 06:29:14 -07:00
internal-noalias.ll [Attributor][NFC] Re-run update_test_checks on all Attributor tests 2022-10-05 06:19:43 -07:00
internalize.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
lit.local.cfg
liveness.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
liveness_chains.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
lowerheap.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
lvi-after-jumpthreading.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
lvi-for-ashr.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
memory_locations.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
misc.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
misc_crash.ll [NFC][1/n] Remove -enable-new-pm=0 flags from lit tests 2022-09-19 09:57:37 -07:00
new_attributes.ll
noalias.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
nocapture-1.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
nocapture-2.ll [Attributor][NFC] Re-run update_test_checks on all Attributor tests 2022-10-05 06:19:43 -07:00
nodelete.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
nofree.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
nonnull.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
norecurse.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
noreturn.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
noreturn_async.ll [Attributor] Make interprocedural value explicit in genericValueTraversal 2022-02-01 01:40:44 -06:00
noreturn_sync.ll [Attributor][FIX] Liveness handling in the isAssumedDead helpers 2022-02-01 01:18:52 -06:00
nosync.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
noundef.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
nounwind.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
openmp_parallel.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
pointer-info.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
potential.ll [Attributor][NFC] Re-run update_test_checks on all Attributor tests 2022-10-05 06:19:43 -07:00
range.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
reachability.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
read_write_returned_arguments_scc.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
readattrs.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
returned.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
undefined_behavior.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
value-simplify-assume.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
value-simplify-dbg.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
value-simplify-gpu.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
value-simplify-instances.ll [Attribute] Clean up test prefixes (NFC) 2022-09-23 11:08:11 +02:00
value-simplify-local-remote.ll [Attributor][NFC] Re-run update_test_checks on all Attributor tests 2022-10-05 06:19:43 -07:00
value-simplify-pointer-info-struct.ll [Attributor] Use ConstantFoldLoadFromConst() 2022-10-10 10:17:37 +02:00
value-simplify-pointer-info.ll [ValueTracking] Handle constant exprs in isKnownNonZero() 2022-10-04 11:58:07 +02:00
value-simplify.ll [Attributor][NFC] Re-run update_test_checks on all Attributor tests 2022-10-05 06:19:43 -07:00
willreturn.ll [Attributor][NFC] Re-run update_test_checks on all Attributor tests 2022-10-05 06:19:43 -07:00
wrapper.ll [Attributor] Dominating must-write accesses allow unknown initial values 2022-07-21 23:08:43 -05:00