Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Analysis/
DEHPersonalities.h22 enum class EHPersonality { enum
37 EHPersonality classifyEHPersonality(const Value *Pers);
41 inline bool isAsynchronousEHPersonality(EHPersonality Pers) { in isAsynchronousEHPersonality()
45 case EHPersonality::MSVC_X86SEH: in isAsynchronousEHPersonality()
46 case EHPersonality::MSVC_Win64SEH: in isAsynchronousEHPersonality()
56 inline bool isFuncletEHPersonality(EHPersonality Pers) { in isFuncletEHPersonality()
58 case EHPersonality::MSVC_CXX: in isFuncletEHPersonality()
59 case EHPersonality::MSVC_X86SEH: in isFuncletEHPersonality()
60 case EHPersonality::MSVC_Win64SEH: in isFuncletEHPersonality()
61 case EHPersonality::CoreCLR: in isFuncletEHPersonality()
[all …]
/external/llvm/lib/Analysis/
DEHPersonalities.cpp22 EHPersonality llvm::classifyEHPersonality(const Value *Pers) { in classifyEHPersonality()
26 return EHPersonality::Unknown; in classifyEHPersonality()
27 return StringSwitch<EHPersonality>(F->getName()) in classifyEHPersonality()
28 .Case("__gnat_eh_personality", EHPersonality::GNU_Ada) in classifyEHPersonality()
29 .Case("__gxx_personality_v0", EHPersonality::GNU_CXX) in classifyEHPersonality()
30 .Case("__gcc_personality_v0", EHPersonality::GNU_C) in classifyEHPersonality()
31 .Case("__objc_personality_v0", EHPersonality::GNU_ObjC) in classifyEHPersonality()
32 .Case("_except_handler3", EHPersonality::MSVC_X86SEH) in classifyEHPersonality()
33 .Case("_except_handler4", EHPersonality::MSVC_X86SEH) in classifyEHPersonality()
34 .Case("__C_specific_handler", EHPersonality::MSVC_Win64SEH) in classifyEHPersonality()
[all …]
/external/clang/lib/CodeGen/
DCGException.cpp84 const EHPersonality EHPersonality::GNU_C = { "__gcc_personality_v0", nullptr };
85 const EHPersonality
86 EHPersonality::GNU_C_SJLJ = { "__gcc_personality_sj0", nullptr };
87 const EHPersonality
88 EHPersonality::GNU_C_SEH = { "__gcc_personality_seh0", nullptr };
89 const EHPersonality
90 EHPersonality::NeXT_ObjC = { "__objc_personality_v0", nullptr };
91 const EHPersonality
92 EHPersonality::GNU_CPlusPlus = { "__gxx_personality_v0", nullptr };
93 const EHPersonality
[all …]
DCGCleanup.h603 struct EHPersonality { struct
611 static const EHPersonality &get(CodeGenModule &CGM, const FunctionDecl *FD); argument
612 static const EHPersonality &get(CodeGenFunction &CGF);
614 static const EHPersonality GNU_C; argument
615 static const EHPersonality GNU_C_SJLJ; argument
616 static const EHPersonality GNU_C_SEH; argument
617 static const EHPersonality GNU_ObjC; argument
618 static const EHPersonality GNUstep_ObjC; argument
619 static const EHPersonality GNU_ObjCXX; argument
620 static const EHPersonality NeXT_ObjC; argument
[all …]
DCGCleanup.cpp908 if (!EHPersonality::get(*this).usesFuncletPads()) { in PopCleanupBlock()
DCGCall.cpp3503 EHPersonality::get(*this).isMSVCXXPersonality()) { in EmitCall()
/external/llvm/lib/CodeGen/AsmPrinter/
DWinException.cpp109 EHPersonality Per = EHPersonality::Unknown; in endFunction()
122 if (Per == EHPersonality::MSVC_Win64SEH && MMI->hasEHFunclets()) in endFunction()
136 if (Per == EHPersonality::MSVC_Win64SEH) in endFunction()
138 else if (Per == EHPersonality::MSVC_X86SEH) in endFunction()
140 else if (Per == EHPersonality::MSVC_CXX) in endFunction()
142 else if (Per == EHPersonality::CoreCLR) in endFunction()
211 EHPersonality Per = EHPersonality::Unknown; in beginFunclet()
216 if (Per != EHPersonality::MSVC_CXX || in beginFunclet()
229 EHPersonality Per = EHPersonality::Unknown; in endFunclet()
240 if (Per == EHPersonality::MSVC_CXX && shouldEmitPersonality && in endFunclet()
[all …]
/external/llvm/lib/Target/X86/
DX86WinEHState.cpp92 EHPersonality Personality = EHPersonality::Unknown;
184 Personality = EHPersonality::Unknown; in runOnFunction()
256 assert(Personality == EHPersonality::MSVC_CXX || in emitExceptionRegistrationRecord()
257 Personality == EHPersonality::MSVC_X86SEH); in emitExceptionRegistrationRecord()
262 if (Personality == EHPersonality::MSVC_CXX) { in emitExceptionRegistrationRecord()
276 } else if (Personality == EHPersonality::MSVC_X86SEH) { in emitExceptionRegistrationRecord()
DX86FrameLowering.cpp915 EHPersonality Personality = EHPersonality::Unknown; in emitPrologue()
919 MMI.hasEHFunclets() && Personality == EHPersonality::CoreCLR; in emitPrologue()
1269 assert(Personality == EHPersonality::MSVC_CXX); in emitPrologue()
1436 EHPersonality Personality = in getWinEHFuncletFrameSize()
1438 if (Personality == EHPersonality::CoreCLR) { in getWinEHFuncletFrameSize()
2688 classifyEHPersonality(Fn->getPersonalityFn()) != EHPersonality::MSVC_CXX) in processFunctionBeforeFrameFinalized()
DX86ISelLowering.cpp2961 EHPersonality Personality = classifyEHPersonality(Fn->getPersonalityFn()); in LowerFormalArguments()
2962 if (Personality == EHPersonality::CoreCLR) { in LowerFormalArguments()
3503 EHPersonality Pers = in LowerCall()
3506 : EHPersonality::Unknown; in LowerCall()
16223 case EHPersonality::MSVC_X86SEH: return 24; in getSEHRegistrationNodeSize()
16224 case EHPersonality::MSVC_CXX: return 16; in getSEHRegistrationNodeSize()
17469 if (classifyEHPersonality(PersonalityFn) == EHPersonality::CoreCLR) in getExceptionPointerRegister()
/external/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp287 EHPersonality Personality = classifyEHPersonality(Fn->getPersonalityFn()); in set()
293 if (Personality == EHPersonality::MSVC_CXX) in set()
297 else if (Personality == EHPersonality::CoreCLR) in set()
DSelectionDAGBuilder.cpp1178 bool IsMSVCCXX = Pers == EHPersonality::MSVC_CXX; in visitCatchPad()
1179 bool IsCoreCLR = Pers == EHPersonality::CoreCLR; in visitCatchPad()
1241 EHPersonality Personality = in findUnwindDestinations()
1243 bool IsMSVCCXX = Personality == EHPersonality::MSVC_CXX; in findUnwindDestinations()
1244 bool IsCoreCLR = Personality == EHPersonality::CoreCLR; in findUnwindDestinations()
/external/llvm/lib/CodeGen/
DMachineModuleInfo.cpp214 PersonalityTypeCache = EHPersonality::Unknown; in doInitialization()
244 PersonalityTypeCache = EHPersonality::Unknown; in EndFunction()
DDwarfEHPrepare.cpp196 EHPersonality Pers = classifyEHPersonality(Fn.getPersonalityFn()); in InsertUnwindResumeCalls()
DWinEHPrepare.cpp82 EHPersonality Personality = EHPersonality::Unknown;
830 if (Personality == EHPersonality::MSVC_CXX && CleanupPad) { in removeImplausibleInstructions()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp2348 static bool isCatchAll(EHPersonality Personality, Constant *TypeInfo) { in isCatchAll()
2350 case EHPersonality::GNU_C: in isCatchAll()
2354 case EHPersonality::Unknown: in isCatchAll()
2356 case EHPersonality::GNU_Ada: in isCatchAll()
2360 case EHPersonality::GNU_CXX: in isCatchAll()
2361 case EHPersonality::GNU_ObjC: in isCatchAll()
2362 case EHPersonality::MSVC_X86SEH: in isCatchAll()
2363 case EHPersonality::MSVC_Win64SEH: in isCatchAll()
2364 case EHPersonality::MSVC_CXX: in isCatchAll()
2365 case EHPersonality::CoreCLR: in isCatchAll()
[all …]
/external/llvm/include/llvm/CodeGen/
DMachineModuleInfo.h186 EHPersonality PersonalityTypeCache;
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp1097 EHPersonality Personality = classifyEHPersonality(CallerPersonality); in InlineFunction()
1107 if (Personality == EHPersonality::MSVC_CXX) { in InlineFunction()