Home
last modified time | relevance | path

Searched refs:EHPersonality (Results 1 – 10 of 10) sorted by relevance

/external/llvm/lib/Analysis/
DLibCallSemantics.cpp67 EHPersonality llvm::classifyEHPersonality(const Value *Pers) { in classifyEHPersonality()
70 return EHPersonality::Unknown; in classifyEHPersonality()
71 return StringSwitch<EHPersonality>(F->getName()) in classifyEHPersonality()
72 .Case("__gnat_eh_personality", EHPersonality::GNU_Ada) in classifyEHPersonality()
73 .Case("__gxx_personality_v0", EHPersonality::GNU_CXX) in classifyEHPersonality()
74 .Case("__gcc_personality_v0", EHPersonality::GNU_C) in classifyEHPersonality()
75 .Case("__objc_personality_v0", EHPersonality::GNU_ObjC) in classifyEHPersonality()
76 .Case("__except_handler3", EHPersonality::MSVC_X86SEH) in classifyEHPersonality()
77 .Case("__except_handler4", EHPersonality::MSVC_X86SEH) in classifyEHPersonality()
78 .Case("__C_specific_handler", EHPersonality::MSVC_Win64SEH) in classifyEHPersonality()
[all …]
/external/llvm/include/llvm/Analysis/
DLibCallSemantics.h166 enum class EHPersonality { enum
180 EHPersonality classifyEHPersonality(const Value *Pers);
184 inline bool isAsynchronousEHPersonality(EHPersonality Pers) { in isAsynchronousEHPersonality()
188 case EHPersonality::MSVC_X86SEH: in isAsynchronousEHPersonality()
189 case EHPersonality::MSVC_Win64SEH: in isAsynchronousEHPersonality()
197 inline bool isMSVCEHPersonality(EHPersonality Pers) { in isMSVCEHPersonality()
201 case EHPersonality::MSVC_CXX: in isMSVCEHPersonality()
202 case EHPersonality::MSVC_X86SEH: in isMSVCEHPersonality()
203 case EHPersonality::MSVC_Win64SEH: in isMSVCEHPersonality()
/external/clang/lib/CodeGen/
DCGException.cpp82 struct EHPersonality { struct
90 static const EHPersonality &get(CodeGenModule &CGM,
92 static const EHPersonality &get(CodeGenFunction &CGF) { in get() argument
96 static const EHPersonality GNU_C; argument
97 static const EHPersonality GNU_C_SJLJ; argument
98 static const EHPersonality GNU_C_SEH; argument
99 static const EHPersonality GNU_ObjC; argument
100 static const EHPersonality GNUstep_ObjC; argument
101 static const EHPersonality GNU_ObjCXX; argument
102 static const EHPersonality NeXT_ObjC; argument
[all …]
/external/llvm/lib/CodeGen/AsmPrinter/
DWin64Exception.cpp111 EHPersonality Per = MMI->getPersonalityType(); in endFunction()
127 if (Per == EHPersonality::MSVC_Win64SEH) in endFunction()
129 else if (Per == EHPersonality::MSVC_CXX) in endFunction()
/external/llvm/include/llvm/CodeGen/
DMachineModuleInfo.h179 EHPersonality PersonalityTypeCache;
437 EHPersonality getPersonalityType();
/external/llvm/lib/CodeGen/
DMachineModuleInfo.cpp281 PersonalityTypeCache = EHPersonality::Unknown; in doInitialization()
572 EHPersonality MachineModuleInfo::getPersonalityType() { in getPersonalityType()
573 if (PersonalityTypeCache == EHPersonality::Unknown) { in getPersonalityType()
DDwarfEHPrepare.cpp195 EHPersonality Pers = classifyEHPersonality(LP->getPersonalityFn()); in InsertUnwindResumeCalls()
DWinEHPrepare.cpp108 EHPersonality Personality;
1367 if (Personality == EHPersonality::MSVC_CXX) in mapLandingPadBlocks()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp2289 static bool isCatchAll(EHPersonality Personality, Constant *TypeInfo) { in isCatchAll()
2291 case EHPersonality::GNU_C: in isCatchAll()
2295 case EHPersonality::Unknown: in isCatchAll()
2297 case EHPersonality::GNU_Ada: in isCatchAll()
2301 case EHPersonality::GNU_CXX: in isCatchAll()
2302 case EHPersonality::GNU_ObjC: in isCatchAll()
2303 case EHPersonality::MSVC_X86SEH: in isCatchAll()
2304 case EHPersonality::MSVC_Win64SEH: in isCatchAll()
2305 case EHPersonality::MSVC_CXX: in isCatchAll()
2322 EHPersonality Personality = classifyEHPersonality(LI.getPersonalityFn()); in visitLandingPadInst()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGISel.cpp936 EHPersonality Personality = MF->getMMI().getPersonalityType(); in PrepareEHLandingPad()
1016 if (Personality == EHPersonality::MSVC_CXX) { in PrepareEHLandingPad()