1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/lib/Transforms/Utils
Hans Wennborg 21ec86b5bb Re-commit r357452 (take 2): "SimplifyCFG SinkCommonCodeFromPredecessors: Also sink function calls without used results (PR41259)"
This was reverted in r360086 as it was supected of causing mysterious test
failures internally. However, it was never concluded that this patch was the
root cause.

> The code was previously checking that candidates for sinking had exactly
> one use or were a store instruction (which can't have uses). This meant
> we could sink call instructions only if they had a use.
>
> That limitation seemed a bit arbitrary, so this patch changes it to
> "instruction has zero or one use" which seems more natural and removes
> the need to special-case stores.
>
> Differential revision: https://reviews.llvm.org/D59936

llvm-svn: 361811
2019-05-28 12:19:38 +00:00
..
AddDiscriminators.cpp
ASanStackFrameLayout.cpp Use llvm::stable_sort 2019-04-23 14:51:27 +00:00
BasicBlockUtils.cpp revert r360162 as it breaks most of the buildbots 2019-05-07 20:57:11 +00:00
BreakCriticalEdges.cpp
BuildLibCalls.cpp
BypassSlowDivision.cpp
CallPromotionUtils.cpp
CanonicalizeAliases.cpp
CloneFunction.cpp
CloneModule.cpp
CMakeLists.txt [PGO] Profile guided code size optimization. 2019-04-15 16:49:00 +00:00
CodeExtractor.cpp [CodeExtractor] Add a few debug lines to understand why a region is not extracted 2019-04-16 02:12:05 +00:00
CtorUtils.cpp
DemoteRegToStack.cpp
EntryExitInstrumenter.cpp
EscapeEnumerator.cpp
Evaluator.cpp [Evaluator] Walk initial elements when handling load through bitcast 2019-04-25 17:00:01 +00:00
FlattenCFG.cpp
FunctionComparator.cpp
FunctionImportUtils.cpp Change some dyn_cast to more apropriate isa. NFC 2019-04-05 16:16:23 +00:00
GlobalStatus.cpp
GuardUtils.cpp
ImportedFunctionsInliningStatistics.cpp
InlineFunction.cpp Resubmit "[DebugInfo] Update loop metadata for inlined loops" 2019-05-20 13:02:30 +00:00
InstructionNamer.cpp
IntegerDivision.cpp
LCSSA.cpp [MemorySSA] LCSSA preserves MemorySSA. 2019-04-23 20:59:44 +00:00
LibCallsShrinkWrap.cpp
LLVMBuild.txt
Local.cpp Revert r360902 "Resubmit: [Salvage] Change salvage debug info ..." 2019-05-21 11:53:41 +00:00
LoopRotationUtils.cpp
LoopSimplify.cpp [MemorySSA] LoopSimplify preserves MemorySSA only when flag is flipped. 2019-05-14 18:07:18 +00:00
LoopUnroll.cpp [MemorySSA] Teach LoopSimplify to preserve MemorySSA. 2019-05-08 17:05:36 +00:00
LoopUnrollAndJam.cpp [SCEV] Add option to forget everything in SCEV. 2019-04-12 19:16:07 +00:00
LoopUnrollPeel.cpp [MemorySSA] Teach LoopSimplify to preserve MemorySSA. 2019-05-08 17:05:36 +00:00
LoopUnrollRuntime.cpp [LoopUnroll] Move list of params into a struct [NFCI]. 2019-04-18 23:43:49 +00:00
LoopUtils.cpp [NFC][Utils] deleteDeadLoop(): add an assert that exit block has some non-PHI instruction 2019-05-05 18:59:12 +00:00
LoopVersioning.cpp
LowerInvoke.cpp
LowerMemIntrinsics.cpp
LowerSwitch.cpp Use llvm::lower_bound. NFC 2019-04-12 02:02:06 +00:00
Mem2Reg.cpp
MetaRenamer.cpp
ModuleUtils.cpp [IR] Disallow llvm.global_ctors and llvm.global_dtors of the 2-field form in textual format 2019-05-15 02:35:32 +00:00
NameAnonGlobals.cpp
PredicateInfo.cpp [PredicateInfo] Do not process unreachable operands. 2019-05-15 19:35:38 +00:00
PromoteMemoryToRegister.cpp [Mem2Reg] Delete unused PointerAllocaValues 2019-04-14 07:28:29 +00:00
SanitizerStats.cpp
SimplifyCFG.cpp Re-commit r357452 (take 2): "SimplifyCFG SinkCommonCodeFromPredecessors: Also sink function calls without used results (PR41259)" 2019-05-28 12:19:38 +00:00
SimplifyIndVar.cpp
SimplifyLibCalls.cpp Pull out repeated CI->getCalledFunction() calls. NFCI. 2019-05-06 19:51:54 +00:00
SizeOpts.cpp [PGO] Profile guided code size optimization. 2019-04-15 16:49:00 +00:00
SplitModule.cpp
SSAUpdater.cpp
SSAUpdaterBulk.cpp
StripGCRelocates.cpp
StripNonLineTableDebugInfo.cpp
SymbolRewriter.cpp
UnifyFunctionExitNodes.cpp
Utils.cpp
ValueMapper.cpp
VNCoercion.cpp