Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Attributor][FIX] Carefully change invokes to calls (after manifest) | Johannes Doerfert | 2020-01-08 | 1 | -2/+0 |
| | | | | | | Before we manually inserted unreachable early but that could lead to broken PHI nodes. Now we use the existing late modification functionality. | ||||
* | [Attributor] Function signature rewrite infrastructure | Johannes Doerfert | 2019-12-31 | 1 | -3/+2 |
| | | | | | | | | | | | | | | | As part of the Attributor manifest we want to change the signature of functions. This patch introduces a fairly generic interface to do so. As a first, very simple, use case, we remove unused arguments. A second use case, pointer privatization, will be committed with this patch as well. A lot of the code and ideas are taken from argument promotion and we run all argument promotion tests through this framework as well. Reviewed By: uenoku Differential Revision: https://reviews.llvm.org/D68765 | ||||
* | [Attributor] Annotate the memory behavior of call site arguments | Johannes Doerfert | 2019-12-31 | 1 | -1/+1 |
| | | | | | | | | | Especially for callbacks, annotating the call site arguments is important. Doing so exposed a too strong dependence of AAMemoryBehavior on AANoCapture since we handle the case of potentially captured pointers explicitly. The changes to the tests are all mechanical. | ||||
* | [Attributor][Tests] Copy & use the ArgumentPromotion tests | Johannes Doerfert | 2019-12-14 | 1 | -0/+38 |