llvm-project/llvm/lib/Transforms/Scalar
Fangrui Song 6b852ffa99 [Sink] Process basic blocks with a single successor
This condition seems unnecessary.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D93511
2022-11-18 01:23:12 +00:00
..
ADCE.cpp [Assignment Tracking][19/*] Account for assignment tracking in ADCE 2022-11-15 13:13:38 +00:00
AlignmentFromAssumptions.cpp
AnnotationRemarks.cpp
BDCE.cpp
CMakeLists.txt Revert "Remove PlaceSafepoints pass" 2022-10-13 07:17:25 -07:00
CallSiteSplitting.cpp [Transform] Use range-based for loops (NFC) 2022-08-27 23:54:32 -07:00
ConstantHoisting.cpp Remove redundant initialization of Optional (NFC) 2022-08-20 21:18:28 -07:00
ConstraintElimination.cpp [ConstraintElimination] Use SmallVectorImpl (NFC) 2022-11-14 11:01:15 +01:00
CorrelatedValuePropagation.cpp [CVP] Simplify comparisons without constant operand 2022-11-03 15:35:27 +01:00
DCE.cpp
DFAJumpThreading.cpp [llvm] Use llvm::find (NFC) 2022-10-16 16:21:00 -07:00
DeadStoreElimination.cpp [Assignment Tracking][20/*] Account for assignment tracking in DSE 2022-11-15 13:42:56 +00:00
DivRemPairs.cpp
EarlyCSE.cpp [Coroutines] Don't merge readnone calls in presplit coroutines 2022-10-17 10:22:43 +08:00
FlattenCFGPass.cpp
Float2Int.cpp
GVN.cpp [GVN] Patch for invalid GVN replacement 2022-11-04 14:28:17 +01:00
GVNHoist.cpp [Scalar] Qualify auto in range-based for loops (NFC) 2022-08-20 21:18:25 -07:00
GVNSink.cpp Use llvm::all_equal (NFC) 2022-08-27 09:53:10 -07:00
GuardWidening.cpp GuardWidening: Pass through AssumptionCache (NFC) 2022-09-26 14:53:00 -04:00
IVUsersPrinter.cpp
IndVarSimplify.cpp [IndVars] Forget the SCEV when the instruction has been sunk. 2022-11-06 22:46:49 +08:00
InductiveRangeCheckElimination.cpp [IRCE] Bail out if AddRec in icmp is for another loop (PR58912) 2022-11-14 15:06:13 +07:00
InferAddressSpaces.cpp [DebugInfo][InferAddressSpaces] Propagate DebugLoc when cloning an instruction in InferAddressSpaces 2022-09-29 08:43:37 +00:00
InstSimplifyPass.cpp
JumpThreading.cpp Revert "[JT] Preserve exisiting BPI/BFI during JumpThreading" 2022-11-17 17:11:47 +07:00
LICM.cpp [Assignment Tracking][18/*] Account for assignment tracking in LICM 2022-11-15 12:24:16 +00:00
LoopAccessAnalysisPrinter.cpp [LAA] Change to function analysis for new PM. 2022-10-01 15:44:27 +01:00
LoopBoundSplit.cpp
LoopDataPrefetch.cpp Allow data prefetch into non-default address space 2022-07-27 10:01:26 -07:00
LoopDeletion.cpp [Loop] Move block and loop dispo invalidation to makeLoopInvariant. 2022-10-14 21:58:14 +01:00
LoopDistribute.cpp [LAA] Pass LoopAccessInfoManager instead of GetLAA function. 2022-10-04 11:51:25 +01:00
LoopFlatten.cpp [LoopFlatten] Forget all block and loop dispositions after flatten 2022-11-14 10:19:11 +08:00
LoopFuse.cpp [LoopFuse] Ensure inner loops are in loop simplified form under new PM 2022-11-11 15:55:59 -05:00
LoopIdiomRecognize.cpp [AA] Make ModRefInfo a bitmask enum (NFC) 2022-08-03 10:05:55 +02:00
LoopInstSimplify.cpp
LoopInterchange.cpp [LoopInterchange] Refactor and rewrite validDepInterchange() 2022-11-17 13:41:02 -05:00
LoopLoadElimination.cpp [LoopVersioning,LLE] Clear LoopAccessInfoManager after making changes. 2022-10-04 21:35:42 +01:00
LoopPassManager.cpp [LoopPassManager] Ensure to construct loop nests with the outermost loop 2022-09-21 23:59:26 -04:00
LoopPredication.cpp [LoopPredication][NFCI] Perform 'visited' check before pushing to worklist 2022-11-02 18:04:23 +07:00
LoopRerollPass.cpp [AST] Use BatchAA in aliasesUnknownInst() (NFCI) 2022-09-09 15:54:48 +02:00
LoopRotation.cpp [llvm] Don't use Optional::hasValue (NFC) 2022-06-26 18:31:51 -07:00
LoopSimplifyCFG.cpp [LoopSimplifyCFG] Forget loop and block dispos after merging blocks. 2022-10-20 11:23:29 +01:00
LoopSink.cpp Recommit "[SCEV] Support clearing Block/LoopDispositions for a single value." 2022-10-07 20:15:44 +01:00
LoopStrengthReduce.cpp [LSR] Check if terminating value is safe to expand before transformation 2022-11-15 14:56:47 -08:00
LoopUnrollAndJamPass.cpp LoopUnroll: Pass through AssumptionCache (NFC) 2022-09-26 14:52:59 -04:00
LoopUnrollPass.cpp LoopUnroll: Pass through AssumptionCache (NFC) 2022-09-26 14:52:59 -04:00
LoopVersioningLICM.cpp [LoopVersioningLICM] Clarify scope of AST (NFC) 2022-11-14 15:28:59 +01:00
LowerAtomicPass.cpp
LowerConstantIntrinsics.cpp [llvm] Don't use Optional::hasValue (NFC) 2022-06-26 18:31:51 -07:00
LowerExpectIntrinsic.cpp [iwyu] Move <cmath> out of llvm/Support/MathExtras.h 2022-09-28 20:49:01 +02:00
LowerGuardIntrinsic.cpp
LowerMatrixIntrinsics.cpp [iwyu] Move <cmath> out of llvm/Support/MathExtras.h 2022-09-28 20:49:01 +02:00
LowerWidenableCondition.cpp
MakeGuardsExplicit.cpp
MemCpyOptimizer.cpp [Assignment Tracking][17/*] Account for assignment tracking in memcpyopt 2022-11-15 11:51:10 +00:00
MergeICmps.cpp [MergeICmps][NFC] Fix a couple of typos in a comment 2022-11-15 14:46:23 +00:00
MergedLoadStoreMotion.cpp [Assignment Tracking][16/*] Account for assignment tracking in mldst-motion 2022-11-15 11:28:20 +00:00
NaryReassociate.cpp Reland "[llvm][NFC] Use c++17 style variable type traits" 2022-11-08 14:15:15 +00:00
NewGVN.cpp [Coroutines] Don't merge readnone calls in presplit coroutines 2022-10-17 10:22:43 +08:00
PartiallyInlineLibCalls.cpp [IR] Switch everything to use memory attribute 2022-11-04 10:21:38 +01:00
PlaceSafepoints.cpp Revert "Remove PlaceSafepoints pass" 2022-10-13 07:17:25 -07:00
Reassociate.cpp [Reassociate] prevent partial undef negation replacement 2022-09-12 12:28:34 -04:00
Reg2Mem.cpp [reg2mem] Skip non-sized Instructions (PR58890) 2022-11-14 12:47:39 +01:00
RewriteStatepointsForGC.cpp [IR] Switch everything to use memory attribute 2022-11-04 10:21:38 +01:00
SCCP.cpp [IR] Switch everything to use memory attribute 2022-11-04 10:21:38 +01:00
SROA.cpp [SROA] Don't speculate phis with different load user types 2022-10-18 08:44:13 -07:00
Scalar.cpp Revert "Remove PlaceSafepoints pass" 2022-10-13 07:17:25 -07:00
ScalarizeMaskedMemIntrin.cpp
Scalarizer.cpp [NFC] Fixed several misspellings of "Splitter" in Scalarizer 2022-10-22 15:13:56 +02:00
SeparateConstOffsetFromGEP.cpp
SimpleLoopUnswitch.cpp [SimpleLoopUnswitch] Forget SCEVs for replaced phis. 2022-11-13 17:38:39 +00:00
SimplifyCFGPass.cpp Revert "reland e5581df60a [SimplifyCFG] accumulate bonus insts cost" 2022-10-25 12:15:39 -04:00
Sink.cpp [Sink] Process basic blocks with a single successor 2022-11-18 01:23:12 +00:00
SpeculativeExecution.cpp [CostModel] Replace getUserCost with getInstructionCost 2022-08-18 11:55:23 +01:00
StraightLineStrengthReduce.cpp
StructurizeCFG.cpp [StructurizeCFG][DebugInfo] Avoid use-after-free 2022-11-04 13:39:49 +00:00
TLSVariableHoist.cpp
TailRecursionElimination.cpp KCFI sanitizer 2022-08-24 22:41:38 +00:00
WarnMissedTransforms.cpp