llvm-project/llvm/test/Transforms/Attributor
Johannes Doerfert 1698cc7eba [Utils] Allow "on-the-fly" argument changes for update_test_check scripts
Update test scripts were limited because they performed a single action
on the entire file and if that action was controlled by arguments, like
the one introduced in D68819, there was no record of it.

This patch introduces the capability of changing the arguments passed to
the script "on-the-fly" while processing a test file. In addition, an
"on/off" switch was added so that processing can be disabled for parts
of the file where the content is simply copied. The last extension is a
record of the invocation arguments in the auto generated NOTE. These
arguments are also picked up in a subsequent invocation, allowing
updates with special options enabled without user interaction.

To change the arguments the string `UTC_ARGS:` has to be present in a
line, followed by "additional command line arguments". That is
everything that follows `UTC_ARGS:` will be added to a growing list
of "command line arguments" which is reparsed after every update.

Reviewed By: arichardson

Differential Revision: https://reviews.llvm.org/D69701
2020-02-11 16:29:46 -06:00
..
ArgumentPromotion [Attributor][FIX] Remove duplicate, half-broken functionality 2020-02-11 11:02:59 -06:00
IPConstantProp [Attributor][FIX] Remove duplicate, half-broken functionality 2020-02-11 11:02:59 -06:00
align.ll [Utils] Allow "on-the-fly" argument changes for update_test_check scripts 2020-02-11 16:29:46 -06:00
callbacks.ll [Attributor] Pointer privatization attribute (argument promotion) 2020-01-29 21:31:04 -06:00
dereferenceable-1.ll [Attributor][FIX] Remove FIXME that seems outdated 2020-02-10 00:55:10 -06:00
dereferenceable-2.ll
heap_to_stack.ll [Attributor] H2S fix. 2019-12-17 20:41:09 +01:00
internal-noalias.ll [Attributor] Add an Attributor CGSCC pass and run it 2020-02-08 21:27:34 -06:00
liveness.ll [Utils] Allow "on-the-fly" argument changes for update_test_check scripts 2020-02-11 16:29:46 -06:00
lvi-after-jumpthreading.ll [Attributor] AAValueConstantRange: Value range analysis using constant range 2020-01-15 16:34:23 +09:00
lvi-for-ashr.ll [Attributor] AAValueConstantRange: Value range analysis using constant range 2020-01-15 16:34:23 +09:00
misc.ll [Attributor] Modularize AANoAliasCallSiteArgument to simplify extensions 2020-01-28 23:39:29 -06:00
new_attributes.ll
noalias.ll [Attributor] Simple casts preserve no-alias property 2020-02-10 01:11:32 -06:00
nocapture-1.ll [Attributor][FIX] Handle non-pointers when following uses 2020-01-23 18:42:45 -06:00
nocapture-2.ll [Attributor] Avoid REQUIRED dependences in favor of OPTIONAL ones 2020-01-23 18:42:46 -06:00
nofree.ll
nonnull.ll [Attributor][FIX] Remove duplicate, half-broken functionality 2020-02-11 11:02:59 -06:00
norecurse.ll [Attributor] Add an Attributor CGSCC pass and run it 2020-02-08 21:27:34 -06:00
noreturn.ll
noreturn_async.ll [Attributor][FIX] Carefully change invokes to calls (after manifest) 2020-01-08 19:32:38 -06:00
noreturn_sync.ll
nosync.ll [Attributor][FIX] Do not derive nonnull and dereferenceable w/o access 2020-01-03 10:43:40 -06:00
nounwind.ll
range.ll [Attributor][FIX] Remove duplicate, half-broken functionality 2020-02-11 11:02:59 -06:00
read_write_returned_arguments_scc.ll
readattrs.ll [Attributor][FIX] Handle non-pointers when following uses 2020-01-23 18:42:45 -06:00
returned.ll [Attributor] Return uses do not free pointers 2020-02-11 11:02:59 -06:00
undefined_behavior.ll [Attributor][FIX] Remove duplicate, half-broken functionality 2020-02-11 11:02:59 -06:00
value-simplify.ll [Attributor] Mark a non-defined `null` pointer as `noalias` 2020-01-28 23:09:37 -06:00
willreturn.ll [Attributor] Allow PHI nodes in AAValueConstantRangeFloating 2020-02-10 00:55:10 -06:00