llvm-project/llvm/test/Transforms
Arthur Eubanks b77436047a [PGO] Make -disable-preinline work with NPM
Fixes cspgo_profile_summary.ll under NPM.

Reviewed By: xur

Differential Revision: https://reviews.llvm.org/D91826
2020-11-19 22:58:55 -08:00
..
ADCE
AddDiscriminators
AggressiveInstCombine Revert "[AggressiveInstCombine] Generalize foldGuardedRotateToFunnelShift to generic funnel shifts" 2020-11-04 08:39:32 +02:00
AlignmentFromAssumptions
ArgumentPromotion [test] Simplify pr33641_remove_arg_dbgvalue.ll 2020-10-23 15:36:05 -07:00
AtomicExpand [AtomicExpand] Avoid creating an unnamed libcall 2020-11-02 17:52:37 +00:00
Attributor [LazyCallGraph] Build SCCs of the reference graph in order 2020-11-02 13:22:42 -08:00
BDCE
BlockExtractor [BlockExtract][NewPM] Port -extract-blocks to NPM 2020-10-21 12:51:11 -07:00
BranchFolding
CallSiteSplitting
CalledValuePropagation
CanonicalizeAliases [NPM] Move more O0 pass building into PassBuilder 2020-11-19 11:22:23 -08:00
CanonicalizeFreezeInLoops
CodeExtractor Revert "[IR] add fn attr for no_stack_protector; prevent inlining on mismatch" 2020-11-17 17:27:14 -08:00
CodeGenPrepare [CodeGenPrepare] Remove unused check-prefixes 2020-11-09 13:12:39 +00:00
ConstantHoisting [test] Fix const-addr-no-neg-offset.ll under NPM 2020-11-13 23:29:58 -08:00
ConstantMerge
ConstraintElimination [ConstraintElimination] Decompose GEP with arbitrary offsets. 2020-11-19 22:49:21 +00:00
Coroutines [coro] Async coroutines: Make sure we can handle control flow in suspend point dispatch function 2020-11-16 11:59:02 -08:00
CorrelatedValuePropagation Revert "Use uint64_t for branch weights instead of uint32_t" 2020-10-31 00:25:32 -07:00
CrossDSOCFI
DCE [DCE] Always get TargetLibraryInfo 2020-11-17 20:41:05 -08:00
DeadArgElim [IR] Make nosync, nofree and willreturn default for intrinsics. 2020-10-20 11:57:19 +02:00
DeadStoreElimination [DeadStoreElimination] Remove unused check-prefixes 2020-11-09 17:21:28 +00:00
DivRemPairs
EarlyCSE [EarlyCSE] delete abs/nabs handling 2020-11-10 21:10:58 -05:00
EliminateAvailableExternally
EntryExitInstrumenter
ExpandMemCmp
FixIrreducible [FixIrreducible][NewPM] Port -fix-irreducible to NPM 2020-10-09 09:22:09 -07:00
Float2Int
ForcedFunctionAttrs
FunctionAttrs
FunctionImport [CGProfile] allows bitcast in metadata node storing function pointers 2020-11-13 09:28:21 -08:00
GCOVProfiling [gcov] Add spanning tree optimization 2020-09-13 00:07:31 -07:00
GVN [test] Fix remaining GVN tests under NPM 2020-11-18 12:35:32 -08:00
GVNHoist
GVNSink [GVNSink][NewPM] Add GVNSinkPass to PassRegistry.def 2020-09-22 08:24:09 -07:00
GlobalDCE
GlobalMerge
GlobalOpt [globalopt] Teach to look through `addrspacecast`. 2020-10-16 08:43:09 -04:00
GlobalSplit
GuardWidening
HardwareLoops [ARM] Add a RegAllocHint for hinting t2DoLoopStart towards LR 2020-11-10 16:28:57 +00:00
HelloNew Reland [docs][NewPM] Add docs for writing NPM passes 2020-09-14 16:06:19 -07:00
HotColdSplit [test] HotColdSplit: cover use of opaque pointer type 2020-10-22 12:25:50 -07:00
IRCE [IRCE] Use the same min runtime iteration threshold for BPI and BFI checks 2020-11-16 09:21:50 +07:00
IndVarSimplify [IndVarSimplify] Notify top most loop to drop cached exit counts 2020-11-19 15:37:54 +08:00
IndirectBrExpand
InferAddressSpaces [InferAddrSpace] Teach to handle assumed address space. 2020-11-16 17:06:33 -05:00
InferFunctionAttrs Make inferLibFuncAttributes() add SExt attribute on second arg to ldexp. 2020-11-10 18:32:15 +01:00
Inline [Inline] Fix incorrectly dropped noalias metadata 2020-11-18 21:22:50 +01:00
InstCombine [InstCombine] Fold `and(shl(zext(x), width(SIGNMASK) - width(%x)), SIGNMASK)` to `and(sext(%x), SIGNMASK)` 2020-11-20 00:31:27 +03:00
InstMerge
InstNamer Port -instnamer to NPM 2020-10-22 12:08:36 -07:00
InstSimplify [SVE] Take constant fold fast path for splatted vscale vectors 2020-11-17 12:45:31 -08:00
InterleavedAccess [InterleavedAccess] Remove unused check-prefixes 2020-11-09 13:12:40 +00:00
Internalize
JumpThreading [JumpThreading] Fix branch probabilities in DuplicateCondBranchOnPHIIntoPred() 2020-11-17 14:40:50 +07:00
LCSSA
LICM Revert "Revert "Revert "Expand existing loopsink testing to also test loopsinking using new pass manager and fix LICM bug.""" 2020-11-18 16:07:16 -05:00
LoadStoreVectorizer Revert "Revert "[AMDGPU] Reorganize GCN subtarget features for unaligned access"" 2020-11-11 14:40:14 +00:00
LoopDataPrefetch
LoopDeletion Revert "[LoopDeletion] Allows deletion of possibly infinite side-effect free loops" 2020-11-07 00:32:12 -05:00
LoopDistribute [LoopVersioning] Form dedicated exits for versioned loop to preserve simplify form 2020-10-24 21:40:46 +08:00
LoopFlatten [LoopFlatten] Disable IV widening 2020-11-16 22:30:52 +00:00
LoopFusion [SCEV] Fix nsw flags for GEP expressions 2020-11-13 18:19:32 +01:00
LoopIdiom [NFC][LoopIdiom] Left-shift-until-bittest: revisit test coverage 2020-11-18 21:22:27 +03:00
LoopInstSimplify
LoopInterchange [LoopInterchange] Skip non SCEV-able operands in cost function. 2020-11-08 11:41:19 +00:00
LoopLoadElim [Test] Add Check statement 2020-11-12 10:47:34 +07:00
LoopPredication
LoopReroll [SCEV] Strength nowrap flags after constant folding 2020-10-25 18:00:22 +01:00
LoopRotate [LoopRotate][NPM] Disable header duplication under -Oz 2020-10-22 08:39:12 -07:00
LoopSimplify [test] Fix tests using -analyze that fail under NPM 2020-10-21 21:54:30 -07:00
LoopSimplifyCFG [LoopSimplifyCFG][NewPM] Rename simplify-cfg -> loop-simplifycfg 2020-09-21 08:27:19 -07:00
LoopStrengthReduce [SCEV] SCEVPtrToIntExpr simplifications 2020-10-30 11:13:35 +03:00
LoopTransformWarning
LoopUnroll Temporarily Revert "[CostModel] remove cost-kind predicate for intrinsics in basic TTI implementation" 2020-11-19 22:10:23 -08:00
LoopUnrollAndJam [LoopUnrollAndJam] Allow unroll and jam loops forced by user. 2020-09-17 19:40:14 +00:00
LoopUnswitch
LoopVectorize Temporarily Revert "[CostModel] remove cost-kind predicate for intrinsics in basic TTI implementation" 2020-11-19 22:10:23 -08:00
LoopVersioning [LoopVersioning] Form dedicated exits for versioned loop to preserve simplify form 2020-10-24 21:40:46 +08:00
LoopVersioningLICM [NPM] Port -loop-versioning-licm to NPM 2020-10-24 21:51:18 +08:00
LowerAtomic
LowerConstantIntrinsics
LowerExpectIntrinsic Revert "clang-misexpect: Profile Guided Validation of Performance Annotations in LLVM" 2020-11-14 13:12:38 +03:00
LowerGuardIntrinsic
LowerInvoke
LowerMatrixIntrinsics [test] Fix multiply-minimal.ll 2020-11-19 18:16:35 -08:00
LowerSwitch [LowerSwitch][NewPM] Port lowerswitch to NPM 2020-09-15 18:18:31 -07:00
LowerTypeTests [AArch64] Add BTI to CFI jumptables. 2020-09-29 13:50:23 +02:00
LowerWidenableCondition
MakeGuardsExplicit
Mem2Reg
MemCpyOpt [MemCpyOpt] Remove unused check-prefixes 2020-11-09 12:18:20 +00:00
MergeFunc [MergeFunctions] fix function attribute comparison in FunctionComparator 2020-11-09 09:19:11 +00:00
MergeICmps
MetaRenamer [MetaRenamer][NewPM] Port metarenamer to NPM 2020-10-02 15:42:25 -07:00
NameAnonGlobals [NPM] Move more O0 pass building into PassBuilder 2020-11-19 11:22:23 -08:00
NaryReassociate
NewGVN [test] Fix eliminate-callsite-inline.ll under NPM 2020-11-18 12:39:39 -08:00
ObjCARC [ObjC][ARC] Clear the lists of basic blocks and instructions before 2020-11-12 22:20:02 -08:00
OpenMP [OpenMP] Add Location Fields to Libomptarget Runtime for Debugging 2020-11-19 12:01:53 -05:00
PGOProfile [PGO] Make -disable-preinline work with NPM 2020-11-19 22:58:55 -08:00
PartialInlining [PartialInliner]: Handle code regions in a switch stmt cases 2020-11-02 14:32:45 -05:00
PartiallyInlineLibCalls
PhaseOrdering [test] Fix globalaa-retained.ll under NPM 2020-11-19 14:24:46 -08:00
PlaceSafepoints [PlaceSafepoints] Pin tests to legacy PM 2020-10-26 20:07:37 -07:00
PreISelIntrinsicLowering
PruneEH [PruneEH] Pin tests to legacy PM 2020-10-29 18:17:55 -07:00
Reassociate [Reassociate] Don't convert add-like-or's into add's if they appear to be part of load-combining idiom 2020-11-18 17:55:02 +03:00
Reg2Mem [Reg2Mem] add support for the new pass manager 2020-11-08 11:14:05 +00:00
RewriteStatepointsForGC GC-parseable element atomic memcpy/memmove 2020-10-23 14:06:09 -07:00
SCCP Revert "[LoopDeletion] Allows deletion of possibly infinite side-effect free loops" 2020-11-07 00:32:12 -05:00
SLPVectorizer [SLP] Use the minimum alignment of the load bundle when forming a masked.gather 2020-11-18 12:53:39 +01:00
SROA Fix SROA with a PHI mergig values from a same block 2020-10-26 12:58:27 -07:00
SafeStack [SafeStack] Make sure SafeStack does not break musttail call contract 2020-11-10 20:46:05 -08:00
SampleProfile Revert "Use uint64_t for branch weights instead of uint32_t" 2020-10-31 00:25:32 -07:00
ScalarizeMaskedMemIntrin
Scalarizer [Scalarizer] Remove unused check-prefixes 2020-11-09 10:37:17 +00:00
SeparateConstOffsetFromGEP [NewPM] Port -separate-const-offset-from-gep 2020-11-09 17:42:36 -08:00
SimpleLoopUnswitch Revert "[LoopDeletion] Allows deletion of possibly infinite side-effect free loops" 2020-11-07 00:32:12 -05:00
SimplifyCFG [SimplifyCFG] Respect optforfuzzing in NPM pass 2020-11-16 09:56:37 -08:00
Sink Sink: Handle instruction sink when a user is dead 2020-10-09 16:20:26 -07:00
SpeculateAroundPHIs
SpeculativeExecution SpeculativeExecution: Allow speculating more instruction types 2020-11-18 17:00:19 +01:00
StraightLineStrengthReduce [NPM] Add remaining test of -slsr 2020-11-17 14:41:01 +08:00
StripDeadPrototypes
StripSymbols [NewPM] Port strip* passes to NPM 2020-09-15 18:25:12 -07:00
StructurizeCFG [StructurizeCFG][NewPM] Port -structurizecfg to NPM 2020-10-23 15:54:03 -07:00
SyntheticCountsPropagation
TailCallElim
ThinLTOBitcodeWriter [test] Fix split-vfunc.ll under NPM 2020-11-19 14:59:05 -08:00
TypePromotion/ARM
UnifyFunctionExitNodes [NPM] Port -mergereturn to NPM 2020-10-20 10:33:58 -07:00
UnifyLoopExits [NPM] port -unify-loop-exits to NPM 2020-10-20 10:46:57 -07:00
UniqueInternalLinkageNames [NewPM] Add unique-internal-linkage-names to PassRegistry.def 2020-11-09 12:54:13 -08:00
Util Add pass to add !annotate metadata from @llvm.global.annotations. 2020-11-16 14:57:11 +00:00
VectorCombine [VectorCombine][X86] Removed unused check prefixes 2020-11-06 17:27:12 +00:00
WholeProgramDevirt [WholeProgramDevirt][NewPM] Add NPM testing path to match legacy pass 2020-09-30 17:27:37 -07:00