1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 12:33:33 +02:00
llvm-mirror/lib/Transforms
Diego Novillo 52c1392c42 Sample Profiles - Adjust integer types. Mostly NFC.
This adjusts all integers in the reader/writer to reflect the types
stored on profile files. They should all be unsigned 32-bit or 64-bit
values. Changed all associated internal types to be uint32_t or
uint64_t.

The only place that needed some adjustments is in the sample profile
transformation. Altough the weight read from the profile are 64-bit
values, the internal API for branch weights only accepts 32-bit values.
The pass now saturates weights that overflow uint32_t.

llvm-svn: 250427
2015-10-15 16:36:21 +00:00
..
Hello Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
InstCombine InstCombine: Remove ilist iterator implicit conversions, NFC 2015-10-13 16:59:33 +00:00
Instrumentation [msan] Fix crash on multiplication by a non-integer constant. 2015-10-14 00:21:13 +00:00
IPO Sample Profiles - Adjust integer types. Mostly NFC. 2015-10-15 16:36:21 +00:00
ObjCARC [PM/AA] Rebuild LLVM's alias analysis infrastructure in a way compatible 2015-09-09 17:55:00 +00:00
Scalar [ScalarOpts] Remove dead code. 2015-10-15 15:08:58 +00:00
Utils [SimplifyCFG] Speculatively flatten CFG based on profiling metadata 2015-10-14 22:46:19 +00:00
Vectorize [LoopVectorize] Shrink integer operations into the smallest type possible 2015-10-12 12:34:45 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile