14 #ifndef LLVM_CODEGEN_ASMPRINTER_DWARFEXCEPTION_H
15 #define LLVM_CODEGEN_ASMPRINTER_DWARFEXCEPTION_H
23 template <
typename T>
class SmallVectorImpl;
24 struct LandingPadInfo;
25 class MachineModuleInfo;
27 class MachineFunction;
32 class ARMTargetStreamer;
148 bool shouldEmitPersonality;
156 bool shouldEmitMoves;
180 void EmitTypeInfos(
unsigned TTypeEncoding);
205 bool shouldEmitPersonality;
213 bool shouldEmitMoves;
MachineModuleInfo * MMI
MMI - Collected machine module information.
virtual void EndFunction()
EndFunction - Gather and emit post-function exception information.
Win64Exception(AsmPrinter *A)
ActionEntry - Structure describing an entry in the actions table.
static unsigned SharedTypeIds(const LandingPadInfo *L, const LandingPadInfo *R)
SharedTypeIds - How many leading type ids two landing pads have in common.
DwarfCFIException(AsmPrinter *A)
bool CallToNoUnwindFunction(const MachineInstr *MI)
CallSiteEntry - Structure describing an entry in the call-site table.
AsmPrinter * Asm
Asm - Target of Dwarf emission.
DenseMap< MCSymbol *, PadRange > RangeMapType
virtual void BeginFunction(const MachineFunction *MF)
void ComputeCallSiteTable(SmallVectorImpl< CallSiteEntry > &CallSites, const RangeMapType &PadMap, const SmallVectorImpl< const LandingPadInfo * > &LPs, const SmallVectorImpl< unsigned > &FirstActions)
virtual void BeginFunction(const MachineFunction *MF)
PadRange - Structure holding a try-range and the associated landing pad.
virtual void EndFunction()
EndFunction - Gather and emit post-function exception information.
virtual void EndFunction()
EndFunction - Gather and emit post-function exception information.
virtual ~Win64Exception()
virtual ~DwarfCFIException()
virtual void EmitTypeInfos(unsigned TTypeEncoding)
virtual ~DwarfException()
virtual void BeginFunction(const MachineFunction *MF)
unsigned ComputeActionsTable(const SmallVectorImpl< const LandingPadInfo * > &LPs, SmallVectorImpl< ActionEntry > &Actions, SmallVectorImpl< unsigned > &FirstActions)
virtual void EndFunction()
EndFunction - Gather and emit post-function exception information.
static bool PadLT(const LandingPadInfo *L, const LandingPadInfo *R)
PadLT - Order landing pads lexicographically by type id.
void EmitExceptionTable()
virtual void BeginFunction(const MachineFunction *MF)
DwarfException(AsmPrinter *A)
ARMException(AsmPrinter *A)