llvm-6502/lib/Transforms/IPO
David Majnemer cc714e2142 Move the personality function from LandingPadInst to Function
The personality routine currently lives in the LandingPadInst.

This isn't desirable because:
- All LandingPadInsts in the same function must have the same
  personality routine.  This means that each LandingPadInst beyond the
  first has an operand which produces no additional information.

- There is ongoing work to introduce EH IR constructs other than
  LandingPadInst.  Moving the personality routine off of any one
  particular Instruction and onto the parent function seems a lot better
  than have N different places a personality function can sneak onto an
  exceptional function.

Differential Revision: http://reviews.llvm.org/D10429

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239940 91177308-0d34-0410-b5e6-96231b3b80d8
2015-06-17 20:52:32 +00:00
..
ArgumentPromotion.cpp [PM/AA] Remove the Location typedef from the AliasAnalysis class now 2015-06-17 07:18:54 +00:00
BarrierNoopPass.cpp
CMakeLists.txt Revert commit r239480 as it causes https://code.google.com/p/chromium/issues/detail?id=499508#c3. 2015-06-12 03:12:00 +00:00
ConstantMerge.cpp DataLayout is mandatory, update the API to reflect it with references. 2015-03-10 02:37:25 +00:00
DeadArgumentElimination.cpp Change typeIncompatible to return an AttrBuilder instead of new-ing an AttributeSet. 2015-05-06 23:19:56 +00:00
ExtractGV.cpp
FunctionAttrs.cpp [PM/AA] Remove the UnknownSize static member from AliasAnalysis. 2015-06-17 07:21:38 +00:00
GlobalDCE.cpp Move the personality function from LandingPadInst to Function 2015-06-17 20:52:32 +00:00
GlobalOpt.cpp Recommit r236670: [opaque pointer type] Pass explicit pointer type through GEP constant folding"" 2015-05-07 17:28:58 +00:00
InlineAlways.cpp
Inliner.cpp Protection against stack-based memory corruption errors using SafeStack 2015-06-15 21:07:11 +00:00
InlineSimple.cpp
Internalize.cpp
IPConstantPropagation.cpp
IPO.cpp
LLVMBuild.txt
LoopExtractor.cpp
LowerBitSets.cpp LowerBitSets: Do not assign names to aliases of unnamed bitset element objects. 2015-06-17 18:31:02 +00:00
Makefile
MergeFunctions.cpp MergeFunctions: Don't replace a weak function use by another equivalent weak function 2015-06-09 18:19:17 +00:00
PartialInlining.cpp
PassManagerBuilder.cpp Revert commit r239480 as it causes https://code.google.com/p/chromium/issues/detail?id=499508#c3. 2015-06-12 03:12:00 +00:00
PruneEH.cpp Move the personality function from LandingPadInst to Function 2015-06-17 20:52:32 +00:00
StripDeadPrototypes.cpp
StripSymbols.cpp IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00