1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/Transforms
Kirill Naumov 6bb8eae995 [InlineCost] InlineCostAnnotationWriterPass introduced
This class allows to see the inliner's decisions for better
optimization verifications and tests. To use, use flag
"-passes="print<inline-cost>"".

This is the second attempt to integrate the patch.
The problem from the first try has been discussed and
fixed in D82205.

Reviewers: apilipenko, mtrofin, davidxl, fedor.sergeev

Reviewed By: mtrofin

Differential revision: https://reviews.llvm.org/D81743
2020-06-24 21:27:07 +00:00
..
ADCE
AddDiscriminators
AggressiveInstCombine
AlignmentFromAssumptions
ArgumentPromotion AllocaInst should store Align instead of MaybeAlign. 2020-05-16 14:53:16 -07:00
AtomicExpand
Attributor Reland [X86] Codegen for preallocated 2020-05-20 11:25:44 -07:00
BDCE
BlockExtractor
BranchFolding
CalledValuePropagation
CallSiteSplitting BreakCriticalEdges for callbr indirect dests 2020-06-17 11:45:06 -07:00
CanonicalizeAliases
CanonicalizeFreezeInLoops [TargetPassConfig] Add CanonicalizeFreezeInLoops before LSR 2020-05-28 05:21:12 +09:00
CodeExtractor
CodeGenPrepare BypassSlowDivision: Fix dropping debug info 2020-06-18 17:27:19 -04:00
ConstantHoisting
ConstantMerge
ConstProp
Coroutines CoroSplit: Fix coroutine splitting for retcon and retcon.once 2020-06-03 12:10:58 -07:00
CorrelatedValuePropagation [CVP] Add another non null test (NFC) 2020-06-20 13:05:42 +02:00
CrossDSOCFI
DCE Infer alignment of unmarked loads in IR/bitcode parsing. 2020-05-14 13:03:50 -07:00
DeadArgElim Preserve DbgLoc when DeadArgumentElimination rewrites a 'ret'. 2020-05-29 10:00:33 -07:00
DeadStoreElimination [DSE,MSSA] Add missing -enable-dse-memoryssa flag to test. 2020-06-24 14:07:30 +01:00
DivRemPairs [ValueTracking] Fix crash in isGuaranteedNotToBeUndefOrPoison when V is in an unreachable block 2020-05-13 10:16:47 +09:00
EarlyCSE [Tests] Migrate a number of tests to gc-live bundle representation 2020-06-05 16:44:04 -07:00
EliminateAvailableExternally
EntryExitInstrumenter
ExpandMemCmp
FixIrreducible
Float2Int
ForcedFunctionAttrs
FunctionAttrs Reland [X86] Codegen for preallocated 2020-05-20 11:25:44 -07:00
FunctionImport
GCOVProfiling [gcov][test] Add mkdir -p %t && cd %t 2020-06-09 11:09:50 -07:00
GlobalDCE
GlobalMerge
GlobalOpt [GlobalOpt] Remove preallocated calls when possible 2020-06-18 09:56:13 -07:00
GlobalSplit
GuardWidening
GVN [MemDep] Also remove load instructions from NonLocalDesCache. 2020-06-17 09:36:53 +01:00
GVNHoist
GVNSink
HardwareLoops [HardwareLoops] llvm.loop.decrement.reg definition 2020-05-21 10:48:16 +01:00
HotColdSplit
IndirectBrExpand
IndVarSimplify [IndVarSimplify] Don't replace IV user with unsafe loop-invariant (PR45360) 2020-06-23 13:53:15 +03:00
InferAddressSpaces AMDGPU: Handle rewriting ptrmask for more address spaces 2020-05-28 14:35:15 -04:00
InferFunctionAttrs
Inline [InlineCost] InlineCostAnnotationWriterPass introduced 2020-06-24 21:27:07 +00:00
InstCombine [InstCombine] Replace selects with Phis 2020-06-23 12:12:59 +07:00
InstMerge
InstNamer [InstNamer] use 'i' for Instructions, not 'tmp' 2020-06-01 11:11:14 -04:00
InstSimplify [IR] Prefer scalar type for struct indexes in GEP constant expressions. 2020-06-23 16:14:36 -07:00
InterleavedAccess [Alignment] Fix misaligned interleaved loads 2020-05-27 12:12:22 +00:00
Internalize
IPConstantProp [IR] Convert null-pointer-is-valid into an enum attribute 2020-05-15 19:41:07 +02:00
IRCE [NPM] Bail out when -foo and --passes=foo are both specified 2020-06-22 08:27:13 -07:00
JumpThreading [JumpThreading] Make test more robust (NFC) 2020-06-20 13:05:42 +02:00
LCSSA
LICM [AssumeBundles] add cannonicalisation to the assume builder 2020-06-19 10:32:26 +02:00
LoadStoreVectorizer [NPM] Bail out when -foo and --passes=foo are both specified 2020-06-22 08:27:13 -07:00
LoopDataPrefetch
LoopDeletion
LoopDistribute
LoopFusion [LoopFusion] Update second loop guard non loop successor phis incoming 2020-06-09 21:14:51 +00:00
LoopIdiom StoreInst should store Align, not MaybeAlign 2020-05-15 12:26:58 -07:00
LoopInstSimplify
LoopInterchange
LoopLoadElim
LoopPredication
LoopReroll [LoopReroll] Fix rerolling loop with use outside the loop 2020-05-13 13:03:03 +09:00
LoopRotate
LoopSimplify [LoopSimplify] don't separate nested loops with convergent calls 2020-05-19 09:22:39 +05:30
LoopSimplifyCFG
LoopStrengthReduce [NFC] Move test vscale-factor-out-constant.ll to AArch64 sub-directory. 2020-06-04 12:55:28 -07:00
LoopTransformWarning
LoopUnroll Revert "[Peeling] Extend the scope of peeling a bit" 2020-06-22 17:48:29 +07:00
LoopUnrollAndJam [UnJ] Update LI for inner nested loops 2020-05-27 14:36:38 +01:00
LoopUnswitch
LoopVectorize Recommit "[LV] Emit @llvm.get.active.lane.mask for tail-folded loops" 2020-06-17 13:12:15 +01:00
LoopVersioning [IR] Convert null-pointer-is-valid into an enum attribute 2020-05-15 19:41:07 +02:00
LoopVersioningLICM
LowerAtomic
LowerConstantIntrinsics
LowerExpectIntrinsic Add support of __builtin_expect_with_probability 2020-06-22 10:21:28 -07:00
LowerGuardIntrinsic
LowerInvoke
LowerMatrixIntrinsics [Matrix] Use alignment info when lowering loads/stores. 2020-06-18 13:19:31 +01:00
LowerSwitch
LowerTypeTests
LowerWidenableCondition
MakeGuardsExplicit
Mem2Reg
MemCpyOpt Infer alignment of unmarked loads in IR/bitcode parsing. 2020-05-14 13:03:50 -07:00
MergeFunc Infer alignment of unmarked loads in IR/bitcode parsing. 2020-05-14 13:03:50 -07:00
MergeICmps
MetaRenamer
NameAnonGlobals
NaryReassociate
NewGVN [AssumeBundles] add cannonicalisation to the assume builder 2020-06-19 10:32:26 +02:00
ObjCARC
OpenMP [OpenMPOpt] ICV macro definitions 2020-06-24 13:43:35 +02:00
PartiallyInlineLibCalls
PGOProfile Revert "[IR] Clean up dead instructions after simplifying a conditional branch" 2020-06-16 10:32:15 +01:00
PhaseOrdering [PhaseOrdering] add test for missed vectorization; NFC (PR43745) 2020-06-23 11:57:32 -04:00
PlaceSafepoints
PreISelIntrinsicLowering
PruneEH
Reassociate [Reassociate] Teach ConvertShiftToMul to preserve nsw flag if the shift amount is not bitwidth - 1. 2020-06-04 14:51:34 -07:00
Reg2Mem
RewriteStatepointsForGC [NPM] Bail out when -foo and --passes=foo are both specified 2020-06-22 08:27:13 -07:00
SafeStack [Instruction] Set metadata uses to undef on deletion 2020-05-21 15:58:12 -07:00
SampleProfile [Remarks] Add callsite locations to inline remarks 2020-06-20 23:32:10 -07:00
ScalarizeMaskedMemIntrin/X86
Scalarizer
SCCP [SCCP] Turn sext into zext for non-negative ranges. 2020-06-19 10:17:55 +01:00
SeparateConstOffsetFromGEP Infer alignment of unmarked loads in IR/bitcode parsing. 2020-05-14 13:03:50 -07:00
SimpleLoopUnswitch [SimpleLoopUnswitch] Drop uses of instructions before block deletion 2020-05-27 18:25:18 +07:00
SimplifyCFG [SimplifyCFG] Drop debug loc in SpeculativelyExecuteBB 2020-06-23 18:25:52 -07:00
Sink
SLPVectorizer [SLP] Limit GEP lists based on width of index computation. 2020-06-24 19:56:53 +01:00
SpeculateAroundPHIs
SpeculativeExecution
SROA [SROA] Teach SROA to perform no-op pointer conversion. 2020-06-23 01:49:27 -04:00
StraightLineStrengthReduce
StripDeadPrototypes
StripSymbols
StructurizeCFG [StructurizeCFG] Fix region nodes ordering 2020-06-01 12:50:35 +03:00
SyntheticCountsPropagation
TailCallElim [TRE] Allow accumulator elimination when base case returns non-constant 2020-06-04 10:34:42 -07:00
ThinLTOBitcodeWriter
TypePromotion/ARM
UnifyLoopExits
UniqueInternalLinkageNames
Util [AssumeBundles] add cannonicalisation to the assume builder 2020-06-19 10:32:26 +02:00
VectorCombine/X86 [VectorCombine] add tests for extract + cmp + binop; NFC 2020-06-24 11:10:36 -04:00
WholeProgramDevirt