1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/include/llvm/Transforms
Mircea Trofin 360e912ca6 Revert "Revert "[llvm][NFC] Cleanup uses of std::function in Inlining-related APIs""
This reverts commit 454de99a6fec705e76ed7743bf538f7a77296f59.

The problem was that one of the ctor arguments of CallAnalyzer was left
to be const std::function<>&. A function_ref was passed for it, and then
the ctor stored the value in a function_ref field. So a std::function<>
would be created as a temporary, and not survive past the ctor
invocation, while the field would.

Tested locally by following https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild

Original Differential Revision: https://reviews.llvm.org/D79917
2020-05-15 12:29:16 -07:00
..
AggressiveInstCombine
Coroutines [Coroutines][4/6] New pass manager: coro-cleanup 2020-02-19 00:30:27 -05:00
InstCombine [InstCombine] Remove ExpensiveCombines option 2020-03-22 16:56:28 +01:00
Instrumentation [sanitizer] Enable whitelist/blacklist in new PM 2020-05-10 02:34:29 +00:00
IPO Remove unused Debugging variable. 2020-05-13 14:37:26 -07:00
Scalar [Float2Int] Make iteration over Roots deterministic 2020-04-17 21:40:12 +02:00
Utils Revert "Revert "[llvm][NFC] Cleanup uses of std::function in Inlining-related APIs"" 2020-05-15 12:29:16 -07:00
Vectorize [LoopVectorize] Preserve CFG analyses if CFG wasn't modified 2020-04-24 17:22:24 +07:00
CFGuard.h Add Windows Control Flow Guard checks (/guard:cf). 2019-10-28 15:19:39 +00:00
Coroutines.h [Coroutines] Rename "legacy" passes (NFC) 2020-01-01 21:41:16 -05:00
Instrumentation.h [gcov] Default coverage version to '408*' and delete CC1 option -coverage-exit-block-before-body 2020-05-12 09:14:03 -07:00
IPO.h Include SmallVector.h in IPO.h to fix modules build [NFC] 2020-04-30 16:33:55 +02:00
ObjCARC.h
Scalar.h Scalar.h - remove unused forward declarations. NFC. 2020-04-17 12:17:58 +01:00
Utils.h [NFC][DwarfDebug] Add test for variables with a single location which 2020-05-11 11:49:11 +02:00
Vectorize.h [VectorCombine] new IR transform pass for partial vector ops 2020-02-09 10:04:41 -05:00