1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 05:23:45 +02:00
llvm-mirror/lib/Transforms
Matthew Simpson 2384e6e79c [LV] Add helper function for predicated block probability (NFC)
The cost model has to estimate the probability of executing predicated blocks.
However, we currently always assume predicated blocks have a 50% chance of
executing (this value is hardcoded in several places throughout the code).
Since we always use the same value, this patch adds a helper function for
getting this uniform probability. The function simplifies some comments and
makes our assumptions more clear. In the future, we may want to extend this
with actual block probability information if it's available.

llvm-svn: 283354
2016-10-05 18:30:36 +00:00
..
Coroutines [Coroutines] Part15c: Fix coro-split to correctly handle definitions between coro.save and coro.suspend 2016-09-30 19:24:19 +00:00
Hello Add auto-exporting of symbols from tools so that plugins work on Windows 2016-05-26 11:16:43 +00:00
InstCombine Remove duplicated code; NFC 2016-10-02 00:09:57 +00:00
Instrumentation Revert "[asan] LLVM: Switch to using dynamic shadow offset on iOS" 2016-10-05 17:42:02 +00:00
IPO [PruneEH] Be correct in the face IPO 2016-10-03 19:35:30 +00:00
ObjCARC Use StringRef in ARCRuntimeEntryPoints APIs (NFC) 2016-10-05 01:15:04 +00:00
Scalar [LoopDistribute] Fix a typo in the pass name. 2016-10-05 00:44:52 +00:00
Utils Use StringRef in Pass/PassManager APIs (NFC) 2016-10-01 02:56:57 +00:00
Vectorize [LV] Add helper function for predicated block probability (NFC) 2016-10-05 18:30:36 +00:00
CMakeLists.txt [coroutines] Part 3 of N: Adding Boilerplate for Coroutine Passes 2016-07-28 21:04:31 +00:00
LLVMBuild.txt [coroutines] Part 3 of N: Adding Boilerplate for Coroutine Passes 2016-07-28 21:04:31 +00:00