/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | EHPersonalities.cpp | 22 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("__gxx_personality_seh0", EHPersonality::GNU_CXX) in classifyEHPersonality() 31 .Case("__gxx_personality_sj0", EHPersonality::GNU_CXX_SjLj) in classifyEHPersonality() 32 .Case("__gcc_personality_v0", EHPersonality::GNU_C) in classifyEHPersonality() 33 .Case("__gcc_personality_seh0", EHPersonality::GNU_C) in classifyEHPersonality() 34 .Case("__gcc_personality_sj0", EHPersonality::GNU_C_SjLj) in classifyEHPersonality() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | EHPersonalities.h | 23 enum class EHPersonality { enum 42 EHPersonality classifyEHPersonality(const Value *Pers); 44 StringRef getEHPersonalityName(EHPersonality Pers); 46 EHPersonality getDefaultEHPersonality(const Triple &T); 50 inline bool isAsynchronousEHPersonality(EHPersonality Pers) { in isAsynchronousEHPersonality() 54 case EHPersonality::MSVC_X86SEH: in isAsynchronousEHPersonality() 55 case EHPersonality::MSVC_Win64SEH: in isAsynchronousEHPersonality() 65 inline bool isFuncletEHPersonality(EHPersonality Pers) { in isFuncletEHPersonality() 67 case EHPersonality::MSVC_CXX: in isFuncletEHPersonality() 68 case EHPersonality::MSVC_X86SEH: in isFuncletEHPersonality() [all …]
|
/external/llvm/lib/Analysis/ |
D | EHPersonalities.cpp | 22 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("__gxx_personality_sj0", EHPersonality::GNU_CXX_SjLj) in classifyEHPersonality() 31 .Case("__gcc_personality_v0", EHPersonality::GNU_C) in classifyEHPersonality() 32 .Case("__gcc_personality_sj0", EHPersonality::GNU_C_SjLj) in classifyEHPersonality() 33 .Case("__objc_personality_v0", EHPersonality::GNU_ObjC) in classifyEHPersonality() 34 .Case("_except_handler3", EHPersonality::MSVC_X86SEH) in classifyEHPersonality() [all …]
|
/external/llvm/include/llvm/Analysis/ |
D | EHPersonalities.h | 22 enum class EHPersonality { enum 40 EHPersonality classifyEHPersonality(const Value *Pers); 44 inline bool isAsynchronousEHPersonality(EHPersonality Pers) { in isAsynchronousEHPersonality() 48 case EHPersonality::MSVC_X86SEH: in isAsynchronousEHPersonality() 49 case EHPersonality::MSVC_Win64SEH: in isAsynchronousEHPersonality() 59 inline bool isFuncletEHPersonality(EHPersonality Pers) { in isFuncletEHPersonality() 61 case EHPersonality::MSVC_CXX: in isFuncletEHPersonality() 62 case EHPersonality::MSVC_X86SEH: in isFuncletEHPersonality() 63 case EHPersonality::MSVC_Win64SEH: in isFuncletEHPersonality() 64 case EHPersonality::CoreCLR: in isFuncletEHPersonality() [all …]
|
/external/clang/lib/CodeGen/ |
D | CGException.cpp | 84 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 …]
|
D | CGCleanup.h | 605 struct EHPersonality { struct 613 static const EHPersonality &get(CodeGenModule &CGM, const FunctionDecl *FD); argument 614 static const EHPersonality &get(CodeGenFunction &CGF); 616 static const EHPersonality GNU_C; argument 617 static const EHPersonality GNU_C_SJLJ; argument 618 static const EHPersonality GNU_C_SEH; argument 619 static const EHPersonality GNU_ObjC; argument 620 static const EHPersonality GNUstep_ObjC; argument 621 static const EHPersonality GNU_ObjCXX; argument 622 static const EHPersonality NeXT_ObjC; argument [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86WinEHState.cpp | 76 bool isStateStoreNeeded(EHPersonality Personality, CallSite CS); 98 EHPersonality Personality = EHPersonality::Unknown; 199 Personality = EHPersonality::Unknown; in runOnFunction() 275 assert(Personality == EHPersonality::MSVC_CXX || in emitExceptionRegistrationRecord() 276 Personality == EHPersonality::MSVC_X86SEH); in emitExceptionRegistrationRecord() 286 if (Personality == EHPersonality::MSVC_CXX) { in emitExceptionRegistrationRecord() 307 } else if (Personality == EHPersonality::MSVC_X86SEH) { in emitExceptionRegistrationRecord() 470 if (Personality == EHPersonality::MSVC_CXX) { in rewriteSetJmpCallSite() 474 } else if (Personality == EHPersonality::MSVC_X86SEH) { in rewriteSetJmpCallSite() 620 bool WinEHStatePass::isStateStoreNeeded(EHPersonality Personality, in isStateStoreNeeded()
|
D | X86FrameLowering.cpp | 919 EHPersonality Personality = EHPersonality::Unknown; in emitPrologue() 923 MMI.hasEHFunclets() && Personality == EHPersonality::CoreCLR; in emitPrologue() 1273 assert(Personality == EHPersonality::MSVC_CXX); in emitPrologue() 1451 EHPersonality Personality = in getWinEHFuncletFrameSize() 1453 if (Personality == EHPersonality::CoreCLR) { in getWinEHFuncletFrameSize() 2942 classifyEHPersonality(Fn->getPersonalityFn()) != EHPersonality::MSVC_CXX) in processFunctionBeforeFrameFinalized()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86WinEHState.cpp | 76 bool isStateStoreNeeded(EHPersonality Personality, CallSite CS); 98 EHPersonality Personality = EHPersonality::Unknown; 205 Personality = EHPersonality::Unknown; in runOnFunction() 281 assert(Personality == EHPersonality::MSVC_CXX || in emitExceptionRegistrationRecord() 282 Personality == EHPersonality::MSVC_X86SEH); in emitExceptionRegistrationRecord() 292 if (Personality == EHPersonality::MSVC_CXX) { in emitExceptionRegistrationRecord() 313 } else if (Personality == EHPersonality::MSVC_X86SEH) { in emitExceptionRegistrationRecord() 478 if (Personality == EHPersonality::MSVC_CXX) { in rewriteSetJmpCallSite() 482 } else if (Personality == EHPersonality::MSVC_X86SEH) { in rewriteSetJmpCallSite() 628 bool WinEHStatePass::isStateStoreNeeded(EHPersonality Personality, in isStateStoreNeeded()
|
D | X86FrameLowering.cpp | 971 EHPersonality Personality = EHPersonality::Unknown; in emitPrologue() 975 MF.hasEHFunclets() && Personality == EHPersonality::CoreCLR; in emitPrologue() 1363 assert(Personality == EHPersonality::MSVC_CXX); in emitPrologue() 1545 EHPersonality Personality = in getWinEHFuncletFrameSize() 1547 if (Personality == EHPersonality::CoreCLR) { in getWinEHFuncletFrameSize() 3111 classifyEHPersonality(F.getPersonalityFn()) != EHPersonality::MSVC_CXX) in processFunctionBeforeFrameFinalized()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/ |
D | WinException.cpp | 73 EHPersonality Per = EHPersonality::Unknown; in beginFunction() 95 if (Per == EHPersonality::MSVC_X86SEH && !hasEHFunclets) { in beginFunction() 119 EHPersonality Per = EHPersonality::Unknown; in endFunction() 134 if (Per == EHPersonality::MSVC_Win64SEH && MF->hasEHFunclets()) in endFunction() 147 if (Per == EHPersonality::MSVC_Win64SEH) in endFunction() 149 else if (Per == EHPersonality::MSVC_X86SEH) in endFunction() 151 else if (Per == EHPersonality::MSVC_CXX) in endFunction() 153 else if (Per == EHPersonality::CoreCLR) in endFunction() 241 EHPersonality Per = EHPersonality::Unknown; in endFunclet() 248 if (Per == EHPersonality::MSVC_CXX && shouldEmitPersonality && in endFunclet() [all …]
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | WinException.cpp | 109 EHPersonality Per = EHPersonality::Unknown; in endFunction() 122 if (Per == EHPersonality::MSVC_Win64SEH && MMI->hasEHFunclets()) in endFunction() 135 if (Per == EHPersonality::MSVC_Win64SEH) in endFunction() 137 else if (Per == EHPersonality::MSVC_X86SEH) in endFunction() 139 else if (Per == EHPersonality::MSVC_CXX) in endFunction() 141 else if (Per == EHPersonality::CoreCLR) in endFunction() 210 EHPersonality Per = EHPersonality::Unknown; in beginFunclet() 215 if (Per != EHPersonality::MSVC_CXX || in beginFunclet() 228 EHPersonality Per = EHPersonality::Unknown; in endFunclet() 239 if (Per == EHPersonality::MSVC_CXX && shouldEmitPersonality && in endFunclet() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | FunctionLoweringInfo.cpp | 101 EHPersonality Personality = classifyEHPersonality( in set() 106 if (Personality == EHPersonality::MSVC_CXX) in set() 110 else if (Personality == EHPersonality::CoreCLR) in set() 124 if (Personality == EHPersonality::Wasm_CXX) { in set() 315 else if (Personality == EHPersonality::Wasm_CXX) { in set()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 2377 static bool isCatchAll(EHPersonality Personality, Constant *TypeInfo) { in isCatchAll() 2379 case EHPersonality::GNU_C: in isCatchAll() 2380 case EHPersonality::GNU_C_SjLj: in isCatchAll() 2381 case EHPersonality::Rust: in isCatchAll() 2385 case EHPersonality::Unknown: in isCatchAll() 2387 case EHPersonality::GNU_Ada: in isCatchAll() 2391 case EHPersonality::GNU_CXX: in isCatchAll() 2392 case EHPersonality::GNU_CXX_SjLj: in isCatchAll() 2393 case EHPersonality::GNU_ObjC: in isCatchAll() 2394 case EHPersonality::MSVC_X86SEH: in isCatchAll() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 2552 static bool isCatchAll(EHPersonality Personality, Constant *TypeInfo) { in isCatchAll() 2554 case EHPersonality::GNU_C: in isCatchAll() 2555 case EHPersonality::GNU_C_SjLj: in isCatchAll() 2556 case EHPersonality::Rust: in isCatchAll() 2560 case EHPersonality::Unknown: in isCatchAll() 2562 case EHPersonality::GNU_Ada: in isCatchAll() 2566 case EHPersonality::GNU_CXX: in isCatchAll() 2567 case EHPersonality::GNU_CXX_SjLj: in isCatchAll() 2568 case EHPersonality::GNU_ObjC: in isCatchAll() 2569 case EHPersonality::MSVC_X86SEH: in isCatchAll() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | EscapeEnumerator.cpp | 25 EHPersonality Pers = getDefaultEHPersonality(T); in getDefaultPersonalityFn()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FunctionLoweringInfo.cpp | 102 EHPersonality Personality = classifyEHPersonality( in set() 107 if (Personality == EHPersonality::MSVC_CXX) in set() 111 else if (Personality == EHPersonality::CoreCLR) in set()
|
/external/llvm/lib/CodeGen/ |
D | MachineModuleInfo.cpp | 214 PersonalityTypeCache = EHPersonality::Unknown; in doInitialization() 244 PersonalityTypeCache = EHPersonality::Unknown; in EndFunction()
|
D | DwarfEHPrepare.cpp | 196 EHPersonality Pers = classifyEHPersonality(Fn.getPersonalityFn()); in InsertUnwindResumeCalls()
|
D | WinEHPrepare.cpp | 87 EHPersonality Personality = EHPersonality::Unknown; 991 if (Personality == EHPersonality::MSVC_CXX && CleanupPad) { in removeImplausibleInstructions()
|
D | StackProtector.cpp | 107 EHPersonality Personality = classifyEHPersonality(Fn.getPersonalityFn()); in runOnFunction()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | MachineFunction.h | 339 EHPersonality PersonalityTypeCache = EHPersonality::Unknown;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | DwarfEHPrepare.cpp | 199 EHPersonality Pers = classifyEHPersonality(Fn.getPersonalityFn()); in InsertUnwindResumeCalls()
|
D | WinEHPrepare.cpp | 94 EHPersonality Personality = EHPersonality::Unknown; 995 if (Personality == EHPersonality::MSVC_CXX && CleanupPad) { in removeImplausibleInstructions()
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineModuleInfo.h | 187 EHPersonality PersonalityTypeCache;
|