hanchenye-llvm-project/llvm/test/Transforms/CodeExtractor
Sergey Dmitriev 69c9cd277d [CodeExtractor] Allow extracting blocks with exception handling
This is a CodeExtractor improvement which adds support for extracting blocks
which have exception handling constructs if that is legal to do. CodeExtractor
performs validation checks to ensure that extraction is legal when it finds
invoke instructions or EH pads (landingpad, catchswitch, or cleanuppad) in
blocks to be extracted.

I have also added an option to allow extraction of blocks with alloca
instructions, but no validation is done for allocas. CodeExtractor caller has
to validate it himself before allowing alloca instructions to be extracted.
By default allocas are still not allowed in extraction blocks.

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

llvm-svn: 332151
2018-05-11 22:49:49 +00: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
MultipleExitBranchProb.ll
PartialInlineAlloca.ll
PartialInlineAlloca2.ll
PartialInlineAlloca4.ll
PartialInlineAlloca5.ll
PartialInlineAnd.ll
PartialInlineAndOr.ll
PartialInlineAttributes.ll
PartialInlineCallRef.ll
PartialInlineDebug.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
PartialInlineEntryUpdate.ll
PartialInlineHighCost.ll
PartialInlineLiveAcross.ll
PartialInlineNoInline.ll
PartialInlineNoLiveOut.ll
PartialInlineNotViable.ll [PartialInlining] Use isInlineViable to detect constructs preventing inlining. 2018-03-10 14:53:44 +00:00
PartialInlineORECrash.ll [PartialInlining] Fix Crash from holding a reference to a destructed ORE. 2018-04-20 19:56:26 +00:00
PartialInlineOptRemark.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
PartialInlineOr.ll
PartialInlineOrAnd.ll
PartialInlinePGOMultiRegion.ll
PartialInlinePGORegion.ll
PartialInlineVarArg.ll [PartialInliner] Update test (NFC). 2018-02-04 18:40:24 +00:00
PartialInlineVarArgsDebug.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
SingleCondition.ll
cost.ll
cost_meta.ll
inline_eh.ll [CodeExtractor] Allow extracting blocks with exception handling 2018-05-11 22:49:49 +00:00
inline_eh_1.ll [CodeExtractor] Allow extracting blocks with exception handling 2018-05-11 22:49:49 +00:00
live_shrink.ll
live_shrink_gep.ll
live_shrink_hoist.ll
live_shrink_multiple.ll
live_shrink_unsafe.ll
unreachable-block.ll