1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/lib
Cong Hou 33d543ef55 Update the branch weight metadata in JumpThreading pass.
Currently in JumpThreading pass, the branch weight metadata is not updated after CFG modification. Consider the jump threading on PredBB, BB, and SuccBB. After jump threading, the weight on BB->SuccBB should be adjusted as some of it is contributed by the edge PredBB->BB, which doesn't exist anymore. This patch tries to update the edge weight in metadata on BB->SuccBB by scaling it by 1 - Freq(PredBB->BB) / Freq(BB->SuccBB).

Differential revision: http://reviews.llvm.org/D10979

llvm-svn: 250204
2015-10-13 18:43:10 +00:00
..
Analysis Update the branch weight metadata in JumpThreading pass. 2015-10-13 18:43:10 +00:00
AsmParser HHVM calling conventions. 2015-09-29 22:09:16 +00:00
Bitcode BitcodeReader: Remove ilist iterator implicit conversions, NFC 2015-10-13 16:48:55 +00:00
CodeGen [WinEH] Iterate state changes instead of invokes 2015-10-13 16:44:30 +00:00
DebugInfo [llvm-symbolizer] Make --relative-address work with DWARF contexts 2015-10-09 00:15:01 +00:00
ExecutionEngine ExecutionEngine: Remove implicit ilist iterator conversions, NFC 2015-10-13 18:11:02 +00:00
Fuzzer [libFuzzer] don't print large artifacts to stderr 2015-10-09 04:03:14 +00:00
IR Add verification for align, dereferenceable, dereferenceable_or_null load metadata 2015-10-09 17:41:29 +00:00
IRReader
LibDriver There is only one saver of strings. 2015-08-13 01:07:02 +00:00
LineEditor
Linker [opaque pointer types] Switch a few cases of getElementType over, since I had them lying around anyway 2015-09-14 20:29:26 +00:00
LTO Reapply "LTO: Disable extra verify runs in release builds" 2015-09-15 23:05:59 +00:00
MC Change isUIntN/isIntN calls with constant N to use the template version. NFC 2015-10-10 20:17:07 +00:00
Object Fixed bugs in llvm-obdump while parsing Mach-O files from malformed archives 2015-10-12 22:04:54 +00:00
Option Add an ArgList::AddAllArgs that accepts a vector of OptSpecifier. 2015-07-29 17:34:41 +00:00
Passes [PM] Port SROA to the new pass manager. 2015-09-12 09:09:14 +00:00
ProfileData Fix a couple of comments; NFC 2015-10-13 16:35:59 +00:00
Support Add - and -= operators to BlockFrequency using saturating arithmetic. 2015-10-12 18:34:00 +00:00
TableGen TableGen: Support folding casts from bits to int 2015-07-31 01:12:06 +00:00
Target function names should start with a lower case letter; NFC 2015-10-13 16:23:00 +00:00
Transforms Update the branch weight metadata in JumpThreading pass. 2015-10-13 18:43:10 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile