1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 13:02:52 +02:00
llvm-mirror/include/llvm-c
Joerg Sonnenberger a1971791a7 Split the SimplifyCFG pass into two variants.
The first variant contains all current transformations except
transforming switches into lookup tables. The second variant
contains all current transformations.

The switch-to-lookup-table conversion results in code that is more
difficult to analyze and optimize by other passes. Most importantly,
it can inhibit Dead Code Elimination. As such it is often beneficial to
only apply this transformation very late. A common example is inlining,
which can often result in range restrictions for the switch expression.

Changes in execution time according to LNT:
SingleSource/Benchmarks/Misc/fp-convert +3.03%
MultiSource/Benchmarks/ASC_Sequoia/CrystalMk/CrystalMk -11.20%
MultiSource/Benchmarks/Olden/perimeter/perimeter -10.43%
and a couple of smaller changes. For perimeter it also results 2.6%
a smaller binary.

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

llvm-svn: 298799
2017-03-26 06:44:08 +00:00
..
Transforms Split the SimplifyCFG pass into two variants. 2017-03-26 06:44:08 +00:00
Analysis.h
BitReader.h
BitWriter.h
Core.h Kill deprecated attribute API 2016-11-06 07:48:46 +00:00
Disassembler.h
ErrorHandling.h
ExecutionEngine.h
Initialization.h
IRReader.h
Linker.h
LinkTimeOptimizer.h
lto.h [ThinLTO] Add an API to trigger file-based API for returning objects to the linker 2016-12-14 04:56:42 +00:00
module.modulemap
Object.h
OrcBindings.h
Support.h
Target.h
TargetMachine.h
Types.h