aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2019-10-30 17:20:20 -0500
committerJohannes Doerfert <johannes@jdoerfert.de>2020-01-29 21:31:04 -0600
commit89c2e733e80ee35921ad4aff8058c3ff9d933c54 (patch)
treeb49cced420a585349a51407bb80c12cb50989bff /llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
parentf0654875fb240ed9d4b2718cfa5f5c7f9d9daef3 (diff)
downloadllvm-89c2e733e80ee35921ad4aff8058c3ff9d933c54.zip
llvm-89c2e733e80ee35921ad4aff8058c3ff9d933c54.tar.gz
llvm-89c2e733e80ee35921ad4aff8058c3ff9d933c54.tar.bz2
[Attributor] Pointer privatization attribute (argument promotion)
A pointer is privatizeable if it can be replaced by a new, private one. Privatizing pointer reduces the use count, interaction between unrelated code parts. This is a first step towards replacing argument promotion. While we can already handle recursion (unlike argument promotion!) we are restricted to stack allocations for now because we do not analyze the uses in the callee. Reviewed By: uenoku Differential Revision: https://reviews.llvm.org/D68852
Diffstat (limited to 'llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp')
0 files changed, 0 insertions, 0 deletions