llvm-project/llvm/lib/Transforms/Scalar
Evgeny Stupachenko 3e2f389a7e The patch set unroll disable pragma when unroll
with user specified count has been applied.

Summary:
Previously SetLoopAlreadyUnrolled() set the disable pragma only if
there was some loop metadata.
Now it set the pragma in all cases. This helps to prevent multiple
unroll when -unroll-count=N is given.

Reviewers: mzolotukhin

Differential Revision: http://reviews.llvm.org/D20765

From: Evgeny Stupachenko <evstupac@gmail.com>
llvm-svn: 272195
2016-06-08 20:21:24 +00:00
..
ADCE.cpp [PM] ADCE: Fix caching of analyses. 2016-05-31 17:39:39 +00:00
AlignmentFromAssumptions.cpp Add opt-bisect support to additional passes that can be skipped 2016-05-03 22:32:30 +00:00
BDCE.cpp [PM] BDCE: Fix caching of analyses. 2016-05-31 17:53:22 +00:00
CMakeLists.txt New pass: guard widening 2016-05-18 22:55:34 +00:00
ConstantHoisting.cpp Re-commit optimization bisect support (r267022) without new pass manager support. 2016-04-22 22:06:11 +00:00
ConstantProp.cpp Add opt-bisect support to additional passes that can be skipped 2016-05-03 22:32:30 +00:00
CorrelatedValuePropagation.cpp [PM] CorrelatedValuePropagation: pass state to function. NFCI. 2016-05-25 17:39:54 +00:00
DCE.cpp Move helper classes into anonymous namespaces. NFC. 2016-05-15 15:18:11 +00:00
DeadStoreElimination.cpp [PM] Port DSE to the new pass manager 2016-05-17 21:38:13 +00:00
EarlyCSE.cpp [EarlyCSE] Change key type of AvailableCalls to Instruction*. NFCI. 2016-05-13 17:54:58 +00:00
FlattenCFGPass.cpp Scalar: Remove some implicit ilist iterator conversions, NFC 2015-10-13 18:26:00 +00:00
Float2Int.cpp Avoid copies of std::strings and APInt/APFloats where we only read from it 2016-06-08 10:01:20 +00:00
GVN.cpp [PM] Preserve the correct set of analyses for GVN. 2016-06-06 20:01:50 +00:00
GuardWidening.cpp Avoid copies of std::strings and APInt/APFloats where we only read from it 2016-06-08 10:01:20 +00:00
IndVarSimplify.cpp [PM] Port IndVarSimplify to the new pass manager 2016-06-05 18:01:19 +00:00
InductiveRangeCheckElimination.cpp [IRCE] Use C++11 style initializers; NFC 2016-05-26 01:50:18 +00:00
JumpThreading.cpp [ValueTracking] Improve isImpliedCondition when the dominating cond is false. 2016-04-25 17:23:36 +00:00
LICM.cpp LICM: Don't sink stores out of loops that may throw. 2016-06-05 22:13:52 +00:00
LLVMBuild.txt Update libdeps in LLVMipo and LLVMScalarOpts, corresponding to r245940. 2015-08-25 17:11:17 +00:00
LoadCombine.cpp [PM] LoadCombine preserves GlobalsAA, doesn't depend on it. 2016-06-02 22:05:59 +00:00
LoopDataPrefetch.cpp [LoopDataPrefetch] Add optimization remark 2016-05-05 00:08:15 +00:00
LoopDeletion.cpp Use all_of instead of a raw loop; NFC 2016-05-03 17:50:06 +00:00
LoopDistribute.cpp [PM] Refector LoopAccessInfo analysis code 2016-06-08 20:15:37 +00:00
LoopIdiomRecognize.cpp [LIR] Set attributes on memset_pattern16. 2016-04-27 19:04:50 +00:00
LoopInstSimplify.cpp Re-commit optimization bisect support (r267022) without new pass manager support. 2016-04-22 22:06:11 +00:00
LoopInterchange.cpp Apply most suggestions of clang-tidy's performance-unnecessary-value-param 2016-06-08 19:09:22 +00:00
LoopLoadElimination.cpp [PM] Refector LoopAccessInfo analysis code 2016-06-08 20:15:37 +00:00
LoopRerollPass.cpp Enable loopreroll for sext of loop control only IV 2016-05-10 21:16:49 +00:00
LoopRotation.cpp Update Debug Intrinsics in RewriteUsesOfClonedInstructions in LoopRotation 2016-05-10 09:45:44 +00:00
LoopSimplifyCFG.cpp [PM] Port of the DepndenceAnalysis to the new PM. 2016-05-12 22:19:39 +00:00
LoopStrengthReduce.cpp Reapply [LSR] Create fewer redundant instructions. 2016-06-06 19:10:46 +00:00
LoopUnrollPass.cpp The patch set unroll disable pragma when unroll 2016-06-08 20:21:24 +00:00
LoopUnswitch.cpp [LoopUnroll] Unroll loops which have exit blocks to EH pads 2016-05-03 03:57:40 +00:00
LoopVersioningLICM.cpp [PM] Refector LoopAccessInfo analysis code 2016-06-08 20:15:37 +00:00
LowerAtomic.cpp [PM] Port LowerAtomic to the new pass manager. 2016-05-13 22:52:35 +00:00
LowerExpectIntrinsic.cpp [LowerExpectIntrinsic] make default likely/unlikely ratio bigger 2016-04-26 22:23:38 +00:00
LowerGuardIntrinsic.cpp [LowerGuards] Rename variable; NFC 2016-05-18 23:16:27 +00:00
MemCpyOptimizer.cpp [MemCpyOpt] Do not exchange llvm.lifetime.start and llvm.memcpy 2016-06-08 19:42:32 +00:00
MergedLoadStoreMotion.cpp [MergedLoadStoreMotion] Don't transform across may-throw calls 2016-05-26 07:11:09 +00:00
NaryReassociate.cpp Re-commit optimization bisect support (r267022) without new pass manager support. 2016-04-22 22:06:11 +00:00
PartiallyInlineLibCalls.cpp [PM] Port PartiallyInlineLibCalls to the new pass manager. 2016-05-25 23:38:53 +00:00
PlaceSafepoints.cpp [PlaceSafepoints] Use DEBUG() instead of TraceLSP 2016-01-28 23:49:27 +00:00
Reassociate.cpp Avoid copies of std::strings and APInt/APFloats where we only read from it 2016-06-08 10:01:20 +00:00
Reg2Mem.cpp Add opt-bisect support to additional passes that can be skipped 2016-05-03 22:32:30 +00:00
RewriteStatepointsForGC.cpp [RewriteStatepointsForGC] All constant should have null base pointer 2016-05-27 13:13:59 +00:00
SCCP.cpp [PM] SCCP should preserve GlobalsAA even if the IR is mutated. 2016-05-29 00:31:15 +00:00
SROA.cpp [PM] Preserve GlobalsAA for SROA. 2016-06-07 13:21:17 +00:00
Scalar.cpp [IndVarSimplify] Extract the logic of `-indvars` out into a class; NFC 2016-05-29 21:42:00 +00:00
ScalarReplAggregates.cpp isSafeToLoadUnconditionally support queries without a context 2016-04-27 11:00:48 +00:00
Scalarizer.cpp Add opt-bisect support to additional passes that can be skipped 2016-05-03 22:32:30 +00:00
SeparateConstOffsetFromGEP.cpp Re-commit optimization bisect support (r267022) without new pass manager support. 2016-04-22 22:06:11 +00:00
SimplifyCFGPass.cpp [PM/SimplifyCFG] Preserve GlobalsAA even if the IR is mutated. 2016-06-08 13:32:23 +00:00
Sink.cpp PM: Port SinkingPass to the new pass manager 2016-04-22 19:54:10 +00:00
SpeculativeExecution.cpp Mark that SpeculativeExecution preserves Globals Alias Analysis. 2016-05-03 08:33:26 +00:00
StraightLineStrengthReduce.cpp SLSR: Use UnknownAddressSpace instead of 0 for pure arithmetic. 2016-04-27 00:32:09 +00:00
StructurizeCFG.cpp [StructurizeCFG] Annotate branches that were treated as uniform 2016-04-14 17:42:35 +00:00
TailRecursionElimination.cpp [TailRecursionElimination] Refactor/cleanup. 2016-06-02 23:02:44 +00:00