llvm-project/llvm/include/llvm-c
Joerg Sonnenberger fa7367428a 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 Reorganize the C API headers to improve build times. 2015-12-18 01:46:52 +00:00
BitReader.h Deprecate a few C APIs. 2015-12-18 23:46:42 +00:00
BitWriter.h Reorganize the C API headers to improve build times. 2015-12-18 01:46:52 +00:00
Core.h Kill deprecated attribute API 2016-11-06 07:48:46 +00:00
Disassembler.h Fix Clang-tidy modernize-deprecated-headers warnings in some files; other minor fixes. 2016-03-28 17:40:08 +00:00
ErrorHandling.h Make some headers self-contained, remove unused includes that violate layering. 2016-01-27 16:05:37 +00:00
ExecutionEngine.h Delete APIs that have been deprecated since 2010. 2015-12-19 21:42:07 +00:00
IRReader.h Reorganize the C API headers to improve build times. 2015-12-18 01:46:52 +00:00
Initialization.h Reorganize the C API headers to improve build times. 2015-12-18 01:46:52 +00:00
LinkTimeOptimizer.h
Linker.h Delete the deprecated LLVMLinkModules. 2016-02-12 15:28:45 +00:00
Object.h Reorganize the C API headers to improve build times. 2015-12-18 01:46:52 +00:00
OrcBindings.h [ORC] clang-format code that was touched in r267457. NFC. 2016-04-25 21:21:20 +00:00
Support.h Reorganize the C API headers to improve build times. 2015-12-18 01:46:52 +00:00
Target.h Move LLVMCreateTargetData and LLVMDisposeTargetData together. NFC 2016-02-17 22:41:09 +00:00
TargetMachine.h Restore the capability to manipulate datalayout from the C API 2016-02-16 05:11:24 +00:00
Types.h Make sure we have a Add/Remove/Has function for various thing that can have attribute. 2016-06-12 06:17:24 +00:00
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