llvm-6502/lib/Transforms/Utils
John McCall a3de16bc8f Fix the inliner to maintain the current de facto invoke semantics:
- the selector for the landing pad must provide all available information
    about the handlers, filters, and cleanups within that landing pad
  - calls to _Unwind_Resume must be converted to branches to the enclosing
    lpad so as to avoid re-entering the unwinder when the lpad claimed it
    was going to handle the exception in some way
This is quite specific to libUnwind-based unwinding.  In an effort to not
interfere too badly with other unwinders, and with existing hacks in frontends,
this only triggers on _Unwind_Resume (not _Unwind_Resume_or_Rethrow) and does
nothing with selectors if it cannot find a selector call for either lpad.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132200 91177308-0d34-0410-b5e6-96231b3b80d8
2011-05-27 18:34:38 +00:00
..
AddrModeMatcher.cpp
BasicBlockUtils.cpp Scanning entire basic block may be too expensive in terms of compile time. Instead, just use whatever location info first non-phi instruction has. 2011-05-02 21:57:00 +00:00
BasicInliner.cpp
BreakCriticalEdges.cpp Preserve line number information. 2011-05-17 19:43:06 +00:00
BuildLibCalls.cpp One more debug line number miss in instcombine (although the code in question isn't actually in instcombine). 2011-05-27 01:00:36 +00:00
CloneFunction.cpp
CloneLoop.cpp
CloneModule.cpp
CMakeLists.txt
CodeExtractor.cpp Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
DemoteRegToStack.cpp
InlineFunction.cpp Fix the inliner to maintain the current de facto invoke semantics: 2011-05-27 18:34:38 +00:00
InstructionNamer.cpp
LCSSA.cpp There is no need to force DebugLoc on a PHI at this point. 2011-05-16 22:05:03 +00:00
Local.cpp Make LoadAndStorePromoter preserve debug info and create llvm.dbg.values when 2011-05-24 03:10:43 +00:00
LoopSimplify.cpp Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
LoopUnroll.cpp
LowerInvoke.cpp
LowerSwitch.cpp Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
Makefile
Mem2Reg.cpp
PromoteMemoryToRegister.cpp Make LoadAndStorePromoter preserve debug info and create llvm.dbg.values when 2011-05-24 03:10:43 +00:00
SimplifyCFG.cpp Add a parameter to ConstantFoldTerminator() that callers can use to ask it to also clean up the condition of any conditional terminator it folds to be unconditional, if that turns the condition into dead code. This just means it calls RecursivelyDeleteTriviallyDeadInstructions() in strategic spots. It defaults to the old behavior. 2011-05-22 16:24:18 +00:00
SimplifyInstructions.cpp
SSAUpdater.cpp Clean up the lazy initialization of DIBuilder a bit. 2011-05-24 06:00:08 +00:00
UnifyFunctionExitNodes.cpp
Utils.cpp
ValueMapper.cpp PR9214: Convert Metadata API to use ArrayRef. 2011-04-21 19:59:31 +00:00