llvm-project/llvm/lib/Transforms/Scalar
Sjoerd Meijer 33b2c88fa8 [LoopFlatten] Widen IV, support ZExt.
I disabled the widening in fa5cb4b because it run in an assert, which was
related to replacing values with different types. I forgot that an extend could
also be a zero-extend, which I have added now. This means that the approach now
is to create and insert a trunc value of the outerloop for each user, and use
that to replace IV values.

Differential Revision: https://reviews.llvm.org/D91690
2020-11-23 08:57:19 +00:00
..
ADCE.cpp [ADCE] Use succ_empty (NFC) 2020-11-15 19:52:59 -08:00
AlignmentFromAssumptions.cpp Reland [AssumeBundles] Use operand bundles to encode alignment assumptions 2020-09-12 15:36:06 +02:00
AnnotationRemarks.cpp Add !annotation metadata and remarks pass. 2020-11-13 13:24:10 +00:00
BDCE.cpp [BDCE] SExt -> ZExt when no sign bits is used and instruction has multiple uses 2020-07-10 08:34:53 +01:00
CMakeLists.txt Add !annotation metadata and remarks pass. 2020-11-13 13:24:10 +00:00
CallSiteSplitting.cpp [CallSite removal][CallSiteSplitting] Use CallBase instead of CallSite. NFC 2020-04-15 15:38:02 -07:00
ConstantHoisting.cpp [Scalar] ConstantHoistingPass - iterate with const references. NFCI. 2020-09-24 18:40:50 +01:00
ConstraintElimination.cpp [ConstraintElimination] Decompose GEP with arbitrary offsets. 2020-11-19 22:49:21 +00:00
CorrelatedValuePropagation.cpp [CVP] Allow two transforms in one invocation 2020-09-28 15:11:42 -07:00
DCE.cpp [DCE] Always get TargetLibraryInfo 2020-11-17 20:41:05 -08:00
DeadStoreElimination.cpp [MemLoc] Require LocationSize argument (NFC) 2020-11-19 21:45:52 +01:00
DivRemPairs.cpp [ValueTracking] Use assume's noundef operand bundle 2020-10-14 20:16:33 +09:00
EarlyCSE.cpp [EarlyCSE] delete abs/nabs handling 2020-11-10 21:10:58 -05:00
FlattenCFGPass.cpp
Float2Int.cpp [Float2Int] Stop passing around a reference to the class member Roots. NFC 2020-04-16 15:24:13 +02:00
GVN.cpp [Transforms] Use llvm::is_contained (NFC) 2020-11-18 20:42:22 -08:00
GVNHoist.cpp [Transforms] Use llvm::is_contained (NFC) 2020-11-18 20:42:22 -08:00
GVNSink.cpp Use llvm::is_contained where appropriate (NFC) 2020-07-27 10:20:44 -07:00
GuardWidening.cpp
IVUsersPrinter.cpp
IndVarSimplify.cpp [IndVarSimplify] Notify top most loop to drop cached exit counts 2020-11-19 15:37:54 +08:00
InductiveRangeCheckElimination.cpp [IRCE] Use the same min runtime iteration threshold for BPI and BFI checks 2020-11-16 09:21:50 +07:00
InferAddressSpaces.cpp [InferAddrSpace] Teach to handle assumed address space. 2020-11-16 17:06:33 -05:00
InstSimplifyPass.cpp [Bindings] Move LLVMAddInstructionSimplifyPass to Scalar.cpp 2020-09-02 10:35:39 -07:00
JumpThreading.cpp [CSSPGO] IR intrinsic for pseudo-probe block instrumentation 2020-11-20 10:39:24 -08:00
LICM.cpp Reland: Expand existing loopsink testing to also test loopsinking using new pass manager and fix LICM bug. 2020-11-20 10:26:33 -05:00
LoopAccessAnalysisPrinter.cpp
LoopDataPrefetch.cpp [LoopInfo] empty() -> isInnermost(), add isOutermost() 2020-09-22 23:28:51 +03:00
LoopDeletion.cpp Revert "[LoopDeletion] Allows deletion of possibly infinite side-effect free loops" 2020-11-07 00:32:12 -05:00
LoopDistribute.cpp [LoopVersion] Unify SCEVChecks and alias check handling (NFC). 2020-10-15 22:02:17 +01:00
LoopFlatten.cpp [LoopFlatten] Widen IV, support ZExt. 2020-11-23 08:57:19 +00:00
LoopFuse.cpp [Loop Fusion] Use pred_empty and succ_empty (NFC) 2020-11-15 20:32:57 -08:00
LoopIdiomRecognize.cpp [SVE]Clarify TypeSize comparisons in llvm/lib/Transforms 2020-10-23 09:15:17 +01:00
LoopInstSimplify.cpp
LoopInterchange.cpp [Transforms] Use llvm::is_contained (NFC) 2020-11-18 20:42:22 -08:00
LoopLoadElimination.cpp [LoopVersion] Unify SCEVChecks and alias check handling (NFC). 2020-10-15 22:02:17 +01:00
LoopPassManager.cpp [NewPM][PassInstrumentation] Add PreservedAnalyses parameter to AfterPass* callbacks 2020-08-21 16:10:42 +07:00
LoopPredication.cpp [NFC][SCEV] Refactor monotonic predicate checks to return enums instead of bools 2020-10-29 16:01:25 +07:00
LoopRerollPass.cpp [LoopReroll][NewPM] Port -loop-reroll to NPM 2020-09-25 12:09:06 -07:00
LoopRotation.cpp [LoopRotation] Allow loop header duplication if vectorization is forced. 2020-10-27 09:28:01 +00:00
LoopSimplifyCFG.cpp [LoopInfo] empty() -> isInnermost(), add isOutermost() 2020-09-22 23:28:51 +03:00
LoopSink.cpp Reland: Expand existing loopsink testing to also test loopsinking using new pass manager and fix LICM bug. 2020-11-20 10:26:33 -05:00
LoopStrengthReduce.cpp [LSR] fix typo in comments and rename for a new added hook. 2020-10-26 22:29:22 -04:00
LoopUnrollAndJamPass.cpp [LoopUnrollAndJam] Allow unroll and jam loops forced by user. 2020-09-17 19:40:14 +00:00
LoopUnrollPass.cpp [NFC] fix some typos in LoopUnrollPass 2020-10-17 14:20:55 +01:00
LoopUnswitch.cpp [BFI] Make BFI information available through loop passes inside LoopStandardAnalysisResults 2020-09-15 16:16:24 -07:00
LoopVersioningLICM.cpp [NPM] Port -loop-versioning-licm to NPM 2020-10-24 21:51:18 +08:00
LowerAtomic.cpp
LowerConstantIntrinsics.cpp [Transforms] Use pred_empty (NFC) 2020-11-16 22:09:14 -08:00
LowerExpectIntrinsic.cpp Revert "clang-misexpect: Profile Guided Validation of Performance Annotations in LLVM" 2020-11-14 13:12:38 +03:00
LowerGuardIntrinsic.cpp
LowerMatrixIntrinsics.cpp Port -lower-matrix-intrinsics-minimal to NPM 2020-11-19 17:42:48 -08:00
LowerWidenableCondition.cpp
MakeGuardsExplicit.cpp
MemCpyOptimizer.cpp [MemCpyOpt] Move GEP during call slot optimization 2020-10-22 20:40:56 +02:00
MergeICmps.cpp [Transforms] visitCmpBlock - don't dereference a dyn_cast<>. NFCI. 2020-10-08 20:18:32 +01:00
MergedLoadStoreMotion.cpp
NaryReassociate.cpp [SVE]Clarify TypeSize comparisons in llvm/lib/Transforms 2020-10-23 09:15:17 +01:00
NewGVN.cpp Revert "DomTree: Extract (mostly) read-only logic into type-erased base classes" 2020-10-27 20:33:29 +01:00
PartiallyInlineLibCalls.cpp
PlaceSafepoints.cpp [Statepoint] Replace uses of isX functions with idiomatic isa<X> 2020-05-27 18:32:28 -07:00
Reassociate.cpp [NFC][Reassociate] Delay checking isLoadCombineCandidate() until after ShouldConvertOrWithNoCommonBitsToAdd() but before haveNoCommonBitsSet() 2020-11-18 23:57:12 +03:00
Reg2Mem.cpp [Reg2Mem] add support for the new pass manager 2020-11-08 11:14:05 +00:00
RewriteStatepointsForGC.cpp GC-parseable element atomic memcpy/memmove 2020-10-23 14:06:09 -07:00
SCCP.cpp [SCCP] Handle bitcast of vector constants. 2020-11-03 12:58:39 +00:00
SROA.cpp [SROA] Pass Twine by const reference. NFCI. 2020-10-30 11:36:58 +00:00
Scalar.cpp Add !annotation metadata and remarks pass. 2020-11-13 13:24:10 +00:00
Scalarizer.cpp [Scalarizer] Avoid changing name of non-instructions 2020-09-15 14:15:50 +02:00
SeparateConstOffsetFromGEP.cpp [NewPM] Port -separate-const-offset-from-gep 2020-11-09 17:42:36 -08:00
SimpleLoopUnswitch.cpp [LoopInfo] empty() -> isInnermost(), add isOutermost() 2020-09-22 23:28:51 +03:00
SimplifyCFGPass.cpp [SimplifyCFG] Respect optforfuzzing in NPM pass 2020-11-16 09:56:37 -08:00
Sink.cpp Sink: Handle instruction sink when a user is dead 2020-10-09 16:20:26 -07:00
SpeculateAroundPHIs.cpp [NFC][CostModel] Add TargetCostKind to relevant APIs 2020-05-05 10:35:54 +01:00
SpeculativeExecution.cpp SpeculativeExecution: Allow speculating more instruction types 2020-11-18 17:00:19 +01:00
StraightLineStrengthReduce.cpp [NPM] Port -slsr to NPM 2020-10-27 09:21:40 +08:00
StructurizeCFG.cpp [StructurizeCFG][NewPM] Port -structurizecfg to NPM 2020-10-23 15:54:03 -07:00
TailRecursionElimination.cpp [CSSPGO] IR intrinsic for pseudo-probe block instrumentation 2020-11-20 10:39:24 -08:00
WarnMissedTransforms.cpp [TTI] Clean up includes (NFC). 2020-04-19 20:11:59 +01:00