1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/include/llvm/Transforms/Utils
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
..
AddDiscriminators.h Consistently use FunctionAnalysisManager 2016-08-09 00:28:15 +00:00
ASanStackFrameLayout.h [asan] Simplify calculation of stack frame layout extraction calculation of stack description into separate function. 2016-10-18 23:29:52 +00:00
BasicBlockUtils.h [Transforms/Utils] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-01-14 00:32:38 +00:00
BreakCriticalEdges.h [PM] Port BreakCriticalEdges to the new PM. 2016-07-22 18:04:25 +00:00
BuildLibCalls.h Rename AttributeSet to AttributeList 2017-03-21 16:57:19 +00:00
BypassSlowDivision.h
Cloning.h [JumpThreading] Re-enable JumpThreading for guards 2017-02-17 04:21:14 +00:00
CmpInstAnalysis.h move decomposeBitTestICmp() to Transforms/Utils; NFC 2016-07-20 17:18:45 +00:00
CodeExtractor.h CodeExtractor : Add ability to preserve profile data. 2016-08-02 02:15:45 +00:00
CtorUtils.h
EscapeEnumerator.h [tsan] Add support for C++ exceptions into TSan (call __tsan_func_exit during unwinding), LLVM part 2016-11-14 21:41:13 +00:00
Evaluator.h
FunctionComparator.h Rename AttributeSet to AttributeList 2017-03-21 16:57:19 +00:00
FunctionImportUtils.h FunctionImport: Use IRMover directly. 2017-02-03 16:56:27 +00:00
GlobalStatus.h Fix modules buildbots broken in r291983. 2017-01-14 01:07:05 +00:00
ImportedFunctionsInliningStatistics.h Do a sweep over move ctors and remove those that are identical to the default. 2016-10-20 12:20:28 +00:00
IntegerDivision.h
LCSSA.h Consistently use FunctionAnalysisManager 2016-08-09 00:28:15 +00:00
LibCallsShrinkWrap.h Conditionally eliminate library calls where the result value is not used 2016-10-18 21:36:27 +00:00
Local.h Split the SimplifyCFG pass into two variants. 2017-03-26 06:44:08 +00:00
LoopSimplify.h Revert @llvm.assume with operator bundles (r289755-r289757) 2016-12-19 08:22:17 +00:00
LoopUtils.h [Transforms/Utils] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-01-14 00:32:38 +00:00
LoopVersioning.h
LowerInvoke.h [PM] Port LowerInvoke to the new pass manager 2016-08-12 17:28:27 +00:00
LowerMemIntrinsics.h LowerMemIntrinsics: Fix include guard 2017-02-09 23:43:28 +00:00
Mem2Reg.h Consistently use FunctionAnalysisManager 2016-08-09 00:28:15 +00:00
MemorySSA.h Fix all these headers to properly mark the doxygen comments. 2017-03-10 20:44:39 +00:00
MemorySSAUpdater.h Move updating functions to MemorySSAUpdater. 2017-02-22 22:19:55 +00:00
ModuleUtils.h [asan] Delay creation of asan ctor. 2017-03-24 20:42:15 +00:00
NameAnonGlobals.h [Transforms/Utils] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-01-14 00:32:38 +00:00
PredicateInfo.h Fix all these headers to properly mark the doxygen comments. 2017-03-10 20:44:39 +00:00
PromoteMemToReg.h Revert @llvm.assume with operator bundles (r289755-r289757) 2016-12-19 08:22:17 +00:00
SanitizerStats.h
SimplifyIndVar.h [Transforms/Utils] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-01-14 00:32:38 +00:00
SimplifyInstructions.h Consistently use FunctionAnalysisManager 2016-08-09 00:28:15 +00:00
SimplifyLibCalls.h SimplifyLibCalls: Replace more unary libcalls with intrinsics 2017-01-23 23:55:08 +00:00
SplitModule.h Move instances of std::function. 2016-06-12 16:13:55 +00:00
SSAUpdater.h [Target, Transforms] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-01-18 00:57:48 +00:00
SSAUpdaterImpl.h Retire llvm::alignOf in favor of C++11 alignof. 2016-10-20 15:02:18 +00:00
SymbolRewriter.h [Transforms/Utils] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-01-14 00:32:38 +00:00
UnifyFunctionExitNodes.h [Transforms/Utils] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-01-14 00:32:38 +00:00
UnrollLoop.h [LoopUnrolling] Re-prioritize Peeling and Partial unrolling 2017-03-03 18:19:10 +00:00
ValueMapper.h [Transforms/Utils] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-01-14 00:32:38 +00:00
VNCoercion.h Templatize parts of VNCoercion, and add constant-only versions of the functions to be used in NewGVN. 2017-03-20 16:08:29 +00:00