llvm-project/llvm/test/Transforms/CodeExtractor
Aditya Kumar 1ab4db0f84 [HotColdSplit] Reflect full cost of parameters in split penalty
Make the penalty for splitting a region more accurately reflect the cost
of materializing all of the inputs/outputs to/from the region.

This almost entirely eliminates code growth within functions which
undergo splitting in key internal frameworks, and reduces the size of
those frameworks between 2.6% to 3%.

rdar://49167240

Patch by: Vedant Kumar(@vsk)
Reviewers: hiraditya,rjf,t.p.northover
Reviewed By: hiraditya,rjf

Differential Revision: https://reviews.llvm.org/D59715
2020-12-18 17:06:17 -08:00
..
X86
2004-03-13-LoopExtractorCrash.ll
2004-03-14-DominanceProblem.ll
2004-03-14-NoSwitchSupport.ll
2004-03-17-MissedLiveIns.ll
2004-03-17-UpdatePHIsOutsideRegion.ll
2004-03-18-InvokeHandling.ll
2004-08-12-BlockExtractPHI.ll
2004-11-12-InvokeExtract.ll
BlockAddressReference.ll
BlockAddressSelfReference.ll
ExtractedFnEntryCount.ll
LoopExtractor.ll
LoopExtractor_alloca.ll
LoopExtractor_crash.ll
LoopExtractor_infinite.ll [test][NewPM] Pin -mergereturn tests to legacy PM 2020-10-13 22:56:59 -07:00
LoopExtractor_min_wrapper.ll
MultipleExitBranchProb.ll Revert "Use uint64_t for branch weights instead of uint32_t" 2020-10-31 00:25:32 -07:00
PartialInlineAlloca.ll
PartialInlineAlloca2.ll
PartialInlineAlloca4.ll
PartialInlineAlloca5.ll
PartialInlineAnd.ll
PartialInlineAndOr.ll
PartialInlineAttributes.ll [Inline] prevent inlining on stack protector mismatch 2020-12-02 11:00:16 -08:00
PartialInlineCallRef.ll
PartialInlineDebug.ll
PartialInlineEntryPHICost.ll
PartialInlineEntryUpdate.ll
PartialInlineHighCost.ll
PartialInlineInvokeProducesOutVal.ll Revert "[CodeExtractor] Don't create bitcasts when inserting lifetime markers (NFCI)" 2020-10-22 12:25:50 -07:00
PartialInlineLiveAcross.ll
PartialInlineNoInline.ll
PartialInlineNoLiveOut.ll
PartialInlineNotViable.ll
PartialInlineORECrash.ll
PartialInlineOptRemark.ll
PartialInlineOr.ll
PartialInlineOrAnd.ll
PartialInlinePGOMultiRegion.ll
PartialInlinePGORegion.ll
PartialInlineVarArg.ll
PartialInlineVarArgsDebug.ll
SingleCondition.ll
cost.ll
cost_meta.ll
extract-assume.ll [HotColdSplit] Reflect full cost of parameters in split penalty 2020-12-18 17:06:17 -08:00
inline_eh.ll
inline_eh_1.ll
live_shrink.ll
live_shrink_gep.ll
live_shrink_hoist.ll
live_shrink_multiple.ll
live_shrink_unsafe.ll
unreachable-block.ll