llvm-project/llvm/test/Transforms/CodeExtractor
Teresa Johnson c8dba682bb [hot-cold-split] Name split functions with ".cold" suffix
Summary:
The current default of appending "_"+entry block label to the new
extracted cold function breaks demangling. Change the deliminator from
"_" to "." to enable demangling. Because the header block label will
be empty for release compile code, use "extracted" after the "." when
the label is empty.

Additionally, add a mechanism for the client to pass in an alternate
suffix applied after the ".", and have the hot cold split pass use
"cold."+Count, where the Count is currently 1 but can be used to
uniquely number multiple cold functions split out from the same function
with D53588.

Reviewers: sebpop, hiraditya

Subscribers: llvm-commits, erik.pilkington

Differential Revision: https://reviews.llvm.org/D53534

llvm-svn: 345178
2018-10-24 18:53:47 +00:00
..
X86 [hot-cold-split] Name split functions with ".cold" suffix 2018-10-24 18:53:47 +00:00
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 [hot-cold-split] Name split functions with ".cold" suffix 2018-10-24 18:53:47 +00:00
MultipleExitBranchProb.ll
PartialInlineAlloca.ll
PartialInlineAlloca2.ll
PartialInlineAlloca4.ll
PartialInlineAlloca5.ll
PartialInlineAnd.ll [hot-cold-split] Name split functions with ".cold" suffix 2018-10-24 18:53:47 +00:00
PartialInlineAndOr.ll [hot-cold-split] Name split functions with ".cold" suffix 2018-10-24 18:53:47 +00:00
PartialInlineAttributes.ll [hot-cold-split] Name split functions with ".cold" suffix 2018-10-24 18:53:47 +00:00
PartialInlineCallRef.ll
PartialInlineDebug.ll [hot-cold-split] Name split functions with ".cold" suffix 2018-10-24 18:53:47 +00:00
PartialInlineEntryUpdate.ll [hot-cold-split] Name split functions with ".cold" suffix 2018-10-24 18:53:47 +00:00
PartialInlineHighCost.ll
PartialInlineInvokeProducesOutVal.ll [hot-cold-split] Name split functions with ".cold" suffix 2018-10-24 18:53:47 +00:00
PartialInlineLiveAcross.ll [hot-cold-split] Name split functions with ".cold" suffix 2018-10-24 18:53:47 +00:00
PartialInlineNoInline.ll
PartialInlineNoLiveOut.ll [hot-cold-split] Name split functions with ".cold" suffix 2018-10-24 18:53:47 +00:00
PartialInlineNotViable.ll
PartialInlineORECrash.ll
PartialInlineOptRemark.ll
PartialInlineOr.ll [hot-cold-split] Name split functions with ".cold" suffix 2018-10-24 18:53:47 +00:00
PartialInlineOrAnd.ll [hot-cold-split] Name split functions with ".cold" suffix 2018-10-24 18:53:47 +00:00
PartialInlinePGOMultiRegion.ll [hot-cold-split] Name split functions with ".cold" suffix 2018-10-24 18:53:47 +00:00
PartialInlinePGORegion.ll [hot-cold-split] Name split functions with ".cold" suffix 2018-10-24 18:53:47 +00:00
PartialInlineVarArg.ll [hot-cold-split] Name split functions with ".cold" suffix 2018-10-24 18:53:47 +00:00
PartialInlineVarArgsDebug.ll [hot-cold-split] Name split functions with ".cold" suffix 2018-10-24 18:53:47 +00:00
SingleCondition.ll [hot-cold-split] Name split functions with ".cold" suffix 2018-10-24 18:53:47 +00:00
cost.ll [hot-cold-split] Name split functions with ".cold" suffix 2018-10-24 18:53:47 +00:00
cost_meta.ll [hot-cold-split] Name split functions with ".cold" suffix 2018-10-24 18:53:47 +00:00
inline_eh.ll [hot-cold-split] Name split functions with ".cold" suffix 2018-10-24 18:53:47 +00:00
inline_eh_1.ll [hot-cold-split] Name split functions with ".cold" suffix 2018-10-24 18:53:47 +00:00
live_shrink.ll [hot-cold-split] Name split functions with ".cold" suffix 2018-10-24 18:53:47 +00:00
live_shrink_gep.ll [hot-cold-split] Name split functions with ".cold" suffix 2018-10-24 18:53:47 +00:00
live_shrink_hoist.ll [hot-cold-split] Name split functions with ".cold" suffix 2018-10-24 18:53:47 +00:00
live_shrink_multiple.ll [hot-cold-split] Name split functions with ".cold" suffix 2018-10-24 18:53:47 +00:00
live_shrink_unsafe.ll
unreachable-block.ll [hot-cold-split] Name split functions with ".cold" suffix 2018-10-24 18:53:47 +00:00