1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 04:22:57 +02:00
llvm-mirror/test/Transforms/CodeExtractor
Sergey Dmitriev eea7082b7d [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
cost_meta.ll
cost.ll
ExtractedFnEntryCount.ll
inline_eh_1.ll [CodeExtractor] Allow extracting blocks with exception handling 2018-05-11 22:49:49 +00:00
inline_eh.ll [CodeExtractor] Allow extracting blocks with exception handling 2018-05-11 22:49:49 +00:00
live_shrink_gep.ll
live_shrink_hoist.ll
live_shrink_multiple.ll
live_shrink_unsafe.ll
live_shrink.ll
MultipleExitBranchProb.ll
PartialInlineAlloca2.ll
PartialInlineAlloca4.ll
PartialInlineAlloca5.ll
PartialInlineAlloca.ll
PartialInlineAnd.ll
PartialInlineAndOr.ll
PartialInlineAttributes.ll [CodeExtractor] Use subset of function attributes for extracted function. 2018-01-07 11:22:25 +00:00
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
PartialInlineOptRemark.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
PartialInlineOr.ll
PartialInlineOrAnd.ll
PartialInlineORECrash.ll [PartialInlining] Fix Crash from holding a reference to a destructed ORE. 2018-04-20 19:56:26 +00:00
PartialInlinePGOMultiRegion.ll - Removed unused lamba (IsReturnBlock) causing build bots to fail for r319398 2017-11-30 03:36:57 +00:00
PartialInlinePGORegion.ll - Removed unused lamba (IsReturnBlock) causing build bots to fail for r319398 2017-11-30 03:36:57 +00:00
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
unreachable-block.ll