1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/lib/Transforms
Joseph Huber 4f1fd1c209 [Attributor] Change function internalization to not replace uses in internalized callers
The current implementation of function internalization creats a copy of each
function and replaces every use. This has the downside that the external
versions of the functions will call into the internalized versions of the
functions. This prevents them from being fully independent of eachother. This
patch replaces the current internalization scheme with a method that creates
all the copies of the functions intended to be internalized first and then
replaces the uses as long as their caller is not already internalized.

Reviewed By: jdoerfert

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

(cherry picked from commit adbaa39dfce7a8361d89b6a3b382fd8f50b94727)
2021-08-04 16:35:01 -07:00
..
AggressiveInstCombine [NewPM] Don't mark AA analyses as preserved 2021-05-18 13:49:03 -07:00
CFGuard llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
Coroutines [Coroutine] Record the elided coroutines 2021-07-27 13:14:09 +08:00
Hello
InstCombine Enabling the copy-constant-to-alloca optimization in more instances 2021-07-27 10:11:43 -07:00
Instrumentation [ASAN] NFC: Remove redundant variable 2021-07-27 12:02:37 -07:00
IPO [Attributor] Change function internalization to not replace uses in internalized callers 2021-08-04 16:35:01 -07:00
ObjCARC [ObjC][ARC] Prevent moving objc_retain calls past objc_release calls 2021-07-05 12:16:15 -07:00
Scalar [DivRemPairs] make sure we have a valid CFG for hoisting division 2021-08-02 13:52:37 -07:00
Utils Revert "[DebugInfo][LoopStrengthReduction] SCEV-based salvaging for LSR" 2021-07-29 00:04:50 +01:00
Vectorize [LoopVectorize] Don't interleave scalar ordered reductions for inner loops 2021-07-27 17:41:01 +01:00
CMakeLists.txt [NewPM][HelloWorld] Move HelloWorld to Utils 2021-02-03 12:59:40 -08:00