Home
last modified time | relevance | path

Searched refs:PersonalityFn (Results 1 – 25 of 33) sorted by relevance

12

/llvm-project-15.0.7/compiler-rt/lib/hwasan/
H A Dhwasan_exceptions.cpp22 typedef _Unwind_Reason_Code PersonalityFn(int version, _Unwind_Action actions, typedef
40 PersonalityFn* real_personality, GetGRFn* get_gr, in __hwasan_personality_wrapper()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86WinEHState.cpp93 Function *PersonalityFn = nullptr; member in __anon2d75d06d0111::WinEHStatePass
155 PersonalityFn = in runOnFunction()
157 if (!PersonalityFn) in runOnFunction()
159 Personality = classifyEHPersonality(PersonalityFn); in runOnFunction()
193 PersonalityFn = nullptr; in runOnFunction()
305 StringRef PersonalityName = PersonalityFn->getName(); in emitExceptionRegistrationRecord()
350 linkExceptionRegistration(Builder, PersonalityFn); in emitExceptionRegistrationRecord()
408 Builder.CreateBitCast(PersonalityFn, TargetFuncTy->getPointerTo()); in generateLSDAInEAXThunk()
H A DX86ISelLowering.h1405 getExceptionPointerRegister(const Constant *PersonalityFn) const override;
1410 getExceptionSelectorRegister(const Constant *PersonalityFn) const override;
/llvm-project-15.0.7/llvm/lib/Target/XCore/
H A DXCoreFrameLowering.cpp162 const Constant *PersonalityFn, in GetEHSpillList() argument
168 TL->getExceptionPointerRegister(PersonalityFn))); in GetEHSpillList()
171 TL->getExceptionSelectorRegister(PersonalityFn))); in GetEHSpillList()
327 const Constant *PersonalityFn = in emitPrologue() local
330 GetEHSpillList(SpillList, MFI, XFI, PersonalityFn, in emitPrologue()
362 const Constant *PersonalityFn = in emitEpilogue() local
365 GetEHSpillList(SpillList, MFI, XFI, PersonalityFn, in emitEpilogue()
H A DXCoreISelLowering.h130 getExceptionPointerRegister(const Constant *PersonalityFn) const override { in getExceptionPointerRegister() argument
137 getExceptionSelectorRegister(const Constant *PersonalityFn) const override { in getExceptionSelectorRegister() argument
/llvm-project-15.0.7/llvm/lib/Target/CSKY/
H A DCSKYISelLowering.h79 getExceptionPointerRegister(const Constant *PersonalityFn) const override;
84 getExceptionSelectorRegister(const Constant *PersonalityFn) const override;
H A DCSKYISelLowering.cpp1222 const Constant *PersonalityFn) const { in getExceptionPointerRegister()
1227 const Constant *PersonalityFn) const { in getExceptionSelectorRegister()
/llvm-project-15.0.7/llvm/lib/Target/Sparc/
H A DSparcISelLowering.h104 getExceptionPointerRegister(const Constant *PersonalityFn) const override { in getExceptionPointerRegister() argument
111 getExceptionSelectorRegister(const Constant *PersonalityFn) const override { in getExceptionSelectorRegister() argument
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DSjLjEHPrepare.cpp218 Value *PersonalityFn = F.getPersonalityFn(); in setupFunctionContext() local
222 Builder.CreateBitCast(PersonalityFn, Builder.getInt8PtrTy()), in setupFunctionContext()
H A DMachineBasicBlock.cpp1616 auto PersonalityFn = MF.getFunction().getPersonalityFn(); in liveout_begin() local
1617 ExceptionPointer = TLI.getExceptionPointerRegister(PersonalityFn); in liveout_begin()
1618 ExceptionSelector = TLI.getExceptionSelectorRegister(PersonalityFn); in liveout_begin()
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.h489 getExceptionPointerRegister(const Constant *PersonalityFn) const override;
494 getExceptionSelectorRegister(const Constant *PersonalityFn) const override;
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.h530 getExceptionPointerRegister(const Constant *PersonalityFn) const override { in getExceptionPointerRegister() argument
537 getExceptionSelectorRegister(const Constant *PersonalityFn) const override { in getExceptionSelectorRegister() argument
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMipsISelLowering.h355 getExceptionPointerRegister(const Constant *PersonalityFn) const override { in getExceptionPointerRegister() argument
362 getExceptionSelectorRegister(const Constant *PersonalityFn) const override { in getExceptionSelectorRegister() argument
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DMustExecute.cpp108 if (Constant *PersonalityFn = Fn->getPersonalityFn()) in computeBlockColors() local
109 if (isScopedEHPersonality(classifyEHPersonality(PersonalityFn))) in computeBlockColors()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.h243 getExceptionPointerRegister(const Constant *PersonalityFn) const override { in getExceptionPointerRegister() argument
250 getExceptionSelectorRegister(const Constant *PersonalityFn) const override { in getExceptionSelectorRegister() argument
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMISelLowering.h635 getExceptionPointerRegister(const Constant *PersonalityFn) const override;
640 getExceptionSelectorRegister(const Constant *PersonalityFn) const override;
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGException.cpp259 Personality.PersonalityFn, in getPersonalityFn()
349 assert(std::strcmp(ObjCXX.PersonalityFn, CXX.PersonalityFn) != 0 && in SimplifyPersonality()
352 llvm::Function *Fn = getModule().getFunction(ObjCXX.PersonalityFn); in SimplifyPersonality()
H A DCGCleanup.h589 const char *PersonalityFn; member
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.h1120 getExceptionPointerRegister(const Constant *PersonalityFn) const override;
1125 getExceptionSelectorRegister(const Constant *PersonalityFn) const override;
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.h723 getExceptionPointerRegister(const Constant *PersonalityFn) const override { in getExceptionPointerRegister() argument
731 getExceptionSelectorRegister(const Constant *PersonalityFn) const override { in getExceptionSelectorRegister() argument
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGISel.cpp1213 const Constant *PersonalityFn = FuncInfo->Fn->getPersonalityFn(); in PrepareEHLandingPad() local
1218 auto Pers = classifyEHPersonality(PersonalityFn); in PrepareEHLandingPad()
1227 MCPhysReg EHPhysReg = TLI->getExceptionPointerRegister(PersonalityFn); in PrepareEHLandingPad()
1260 if (unsigned Reg = TLI->getExceptionPointerRegister(PersonalityFn)) in PrepareEHLandingPad()
1263 if (unsigned Reg = TLI->getExceptionSelectorRegister(PersonalityFn)) in PrepareEHLandingPad()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp2640 const Constant *PersonalityFn = MF->getFunction().getPersonalityFn(); in translateLandingPad() local
2641 if (TLI.getExceptionPointerRegister(PersonalityFn) == 0 && in translateLandingPad()
2642 TLI.getExceptionSelectorRegister(PersonalityFn) == 0) in translateLandingPad()
2673 Register ExceptionReg = TLI.getExceptionPointerRegister(PersonalityFn); in translateLandingPad()
2681 Register SelectorReg = TLI.getExceptionSelectorRegister(PersonalityFn); in translateLandingPad()
/llvm-project-15.0.7/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp605 unsigned PersonalityFn; member
2793 if (Info.PersonalityFn) { in resolveGlobalAndIndirectSymbolInits()
2794 unsigned ValID = Info.PersonalityFn - 1; in resolveGlobalAndIndirectSymbolInits()
2800 Info.PersonalityFn = 0; in resolveGlobalAndIndirectSymbolInits()
2823 if (Info.PersonalityFn || Info.Prefix || Info.Prologue) in resolveGlobalAndIndirectSymbolInits()
3938 OperandInfo.PersonalityFn = Record[14]; in parseFunctionRecord()
3956 if (OperandInfo.PersonalityFn || OperandInfo.Prefix || OperandInfo.Prologue) in parseFunctionRecord()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DTargetLowering.h1798 getExceptionPointerRegister(const Constant *PersonalityFn) const { in getExceptionPointerRegister() argument
1805 getExceptionSelectorRegister(const Constant *PersonalityFn) const { in getExceptionSelectorRegister() argument
/llvm-project-15.0.7/llvm/include/llvm-c/
H A DCore.h2518 void LLVMSetPersonalityFn(LLVMValueRef Fn, LLVMValueRef PersonalityFn);

12