1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00
llvm-mirror/test/Transforms/FunctionAttrs
Hideto Ueno a84eb4e2bd [Attributor] ValueSimplify Abstract Attribute
Summary:
This patch introduces initial `AAValueSimplify` which simplifies a value in a context.

example
- (for function returned) If all the return values are the same and constant, then we can replace callsite returned with the constant.
- If an internal function takes the same value(constant) as an argument in the callsite, then we can replace the argument with that constant.

Reviewers: jdoerfert, sstefan1

Reviewed By: jdoerfert

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D66967

llvm-svn: 371291
2019-09-07 07:03:05 +00:00
..
2008-09-03-Mutual.ll
2008-09-03-ReadNone.ll
2008-09-03-ReadOnly.ll
2008-09-13-VolatileRead.ll
2008-12-29-Constant.ll
2009-01-02-LocalStores.ll
2010-10-30-volatile.ll
align.ll [Attributor] ValueSimplify Abstract Attribute 2019-09-07 07:03:05 +00:00
arg_nocapture.ll [Attributor] Use the white list for attributes consistently 2019-09-04 16:26:20 +00:00
arg_returned.ll [Attributor] Deal more explicit with non-exact definitions 2019-09-04 16:16:13 +00:00
assume.ll
atomic.ll Add, and infer, a nofree function attribute 2019-07-08 15:57:56 +00:00
comdat-ipo.ll IR: print value numbers for unnamed function arguments 2019-08-03 14:28:34 +00:00
convergent.ll
dereferenceable.ll [Attributor] Use the white list for attributes consistently 2019-09-04 16:26:20 +00:00
fn_noreturn.ll [Attributor] Use existing function information for the call site 2019-08-30 15:24:52 +00:00
incompatible_fn_attrs.ll
int_sideeffect.ll
internal-noalias.ll [Attributor] Look at internal functions only on-demand 2019-09-04 16:35:20 +00:00
liveness.ll [Attributor][Fix] Make sure we do not delete live code 2019-09-04 20:34:52 +00:00
misc.ll [Attributor] Fix: Gracefully handle non-instruction users 2019-08-21 21:48:56 +00:00
naked_functions.ll IR: print value numbers for unnamed function arguments 2019-08-03 14:28:34 +00:00
new_attributes.ll [Attributor] FIX: Treat new attributes as changed ones 2019-08-23 15:24:57 +00:00
noalias_returned.ll [Attributor] Deduce "no-capture" argument attribute 2019-09-03 20:37:24 +00:00
nocapture.ll [Attributor] Deduce "no-capture" argument attribute 2019-09-03 20:37:24 +00:00
nofree-attributor.ll [Attributor] Use the white list for attributes consistently 2019-09-04 16:26:20 +00:00
nofree.ll Add, and infer, a nofree function attribute 2019-07-08 15:57:56 +00:00
nonnull-global.ll
nonnull.ll [Attributor] Use the white list for attributes consistently 2019-09-04 16:26:20 +00:00
norecurse.ll
noreturn_async.ll [Attributor][Fix] Make sure we do not delete live code 2019-09-04 20:34:52 +00:00
noreturn_sync.ll [Attributor] ValueSimplify Abstract Attribute 2019-09-07 07:03:05 +00:00
nosync.ll [Attributor] Use the white list for attributes consistently 2019-09-04 16:26:20 +00:00
nounwind.ll [Attributor] ValueSimplify Abstract Attribute 2019-09-07 07:03:05 +00:00
operand-bundles-scc.ll Add, and infer, a nofree function attribute 2019-07-08 15:57:56 +00:00
optnone-simple.ll
optnone.ll
out-of-bounds-iterator-bug.ll
read_write_returned_arguments_scc.ll [Attributor] Look at internal functions only on-demand 2019-09-04 16:35:20 +00:00
read-write-scc.ll [FunctionAttrs] Remove readonly and writeonly assertion 2019-07-15 17:31:26 +00:00
readattrs.ll
readnone.ll IR: print value numbers for unnamed function arguments 2019-08-03 14:28:34 +00:00
returned.ll
value-simplify.ll [Attributor] ValueSimplify Abstract Attribute 2019-09-07 07:03:05 +00:00
willreturn.ll [Attributor] Use the white list for attributes consistently 2019-09-04 16:26:20 +00:00