Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86WinEHState.cpp93 Function *PersonalityFn = nullptr; member in __anone900293d0111::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()
349 linkExceptionRegistration(Builder, PersonalityFn); in emitExceptionRegistrationRecord()
377 /// PersonalityFn, forwarding the parameters passed to PEXCEPTION_ROUTINE: in emitEHLSDA()
407 CallInst *Call = Builder.CreateCall(TargetFuncTy, PersonalityFn, Args); in generateLSDAInEAXThunk()
H A DX86ISelLowering.h1486 getExceptionPointerRegister(const Constant *PersonalityFn) const override;
1491 getExceptionSelectorRegister(const Constant *PersonalityFn) const override;
/freebsd/contrib/llvm-project/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()
326 const Constant *PersonalityFn = in emitPrologue() local
329 GetEHSpillList(SpillList, MFI, XFI, PersonalityFn, in emitPrologue()
361 const Constant *PersonalityFn = in emitEpilogue() local
364 GetEHSpillList(SpillList, MFI, XFI, PersonalityFn, in emitEpilogue()
H A DXCoreISelLowering.h127 getExceptionPointerRegister(const Constant *PersonalityFn) const override { in getExceptionPointerRegister() argument
134 getExceptionSelectorRegister(const Constant *PersonalityFn) const override { in getExceptionSelectorRegister() argument
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYISelLowering.h79 getExceptionPointerRegister(const Constant *PersonalityFn) const override;
84 getExceptionSelectorRegister(const Constant *PersonalityFn) const override;
H A DCSKYISelLowering.cpp1256 const Constant *PersonalityFn) const { in getExceptionPointerRegister()
1261 const Constant *PersonalityFn) const { in getExceptionSelectorRegister()
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcISelLowering.h110 getExceptionPointerRegister(const Constant *PersonalityFn) const override {
117 getExceptionSelectorRegister(const Constant *PersonalityFn) const override {
111 getExceptionPointerRegister(const Constant * PersonalityFn) getExceptionPointerRegister() argument
118 getExceptionSelectorRegister(const Constant * PersonalityFn) getExceptionSelectorRegister() argument
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kISelLowering.h183 getExceptionPointerRegister(const Constant *PersonalityFn) const override;
188 getExceptionSelectorRegister(const Constant *PersonalityFn) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelLowering.h214 getExceptionPointerRegister(const Constant *PersonalityFn) const override;
217 getExceptionSelectorRegister(const Constant *PersonalityFn) const override;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSjLjEHPrepare.cpp235 Value *PersonalityFn = F.getPersonalityFn(); in setupFunctionContext() local
238 Builder.CreateStore(PersonalityFn, PersonalityFieldPtr, /*isVolatile=*/true); in setupFunctionContext()
H A DMachineBasicBlock.cpp1767 auto PersonalityFn = MF.getFunction().getPersonalityFn(); in liveout_begin() local
1768 ExceptionPointer = TLI.getExceptionPointerRegister(PersonalityFn); in liveout_begin()
1769 ExceptionSelector = TLI.getExceptionSelectorRegister(PersonalityFn); in liveout_begin()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMustExecute.cpp109 if (Constant *PersonalityFn = Fn->getPersonalityFn()) in computeBlockColors() local
110 if (isScopedEHPersonality(classifyEHPersonality(PersonalityFn))) in computeBlockColors()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.h565 getExceptionPointerRegister(const Constant *PersonalityFn) const override;
570 getExceptionSelectorRegister(const Constant *PersonalityFn) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsISelLowering.h357 getExceptionPointerRegister(const Constant *PersonalityFn) const override { in getExceptionPointerRegister() argument
364 getExceptionSelectorRegister(const Constant *PersonalityFn) const override { in getExceptionSelectorRegister() argument
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.h640 getExceptionPointerRegister(const Constant *PersonalityFn) const override;
645 getExceptionSelectorRegister(const Constant *PersonalityFn) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.h269 getExceptionPointerRegister(const Constant *PersonalityFn) const override { in getExceptionPointerRegister() argument
276 getExceptionSelectorRegister(const Constant *PersonalityFn) const override { in getExceptionSelectorRegister() argument
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGException.cpp266 Personality.PersonalityFn, in getPersonalityFn()
351 assert(std::strcmp(ObjCXX.PersonalityFn, CXX.PersonalityFn) != 0 && in SimplifyPersonality()
354 llvm::Function *Fn = getModule().getFunction(ObjCXX.PersonalityFn); in SimplifyPersonality()
H A DCGCleanup.h653 const char *PersonalityFn;
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.h715 getExceptionPointerRegister(const Constant *PersonalityFn) const override;
720 getExceptionSelectorRegister(const Constant *PersonalityFn) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.h1132 getExceptionPointerRegister(const Constant *PersonalityFn) const override;
1137 getExceptionSelectorRegister(const Constant *PersonalityFn) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.h827 getExceptionPointerRegister(const Constant *PersonalityFn) const override { in getExceptionPointerRegister() argument
835 getExceptionSelectorRegister(const Constant *PersonalityFn) const override { in getExceptionSelectorRegister() argument
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGISel.cpp1387 const Constant *PersonalityFn = FuncInfo->Fn->getPersonalityFn(); in PrepareEHLandingPad() local
1392 auto Pers = classifyEHPersonality(PersonalityFn); in PrepareEHLandingPad()
1401 MCPhysReg EHPhysReg = TLI->getExceptionPointerRegister(PersonalityFn); in PrepareEHLandingPad()
1434 if (unsigned Reg = TLI->getExceptionPointerRegister(PersonalityFn)) in PrepareEHLandingPad()
1437 if (unsigned Reg = TLI->getExceptionSelectorRegister(PersonalityFn)) in PrepareEHLandingPad()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp2978 const Constant *PersonalityFn = MF->getFunction().getPersonalityFn(); in translateLandingPad() local
2979 if (TLI->getExceptionPointerRegister(PersonalityFn) == 0 && in translateLandingPad()
2980 TLI->getExceptionSelectorRegister(PersonalityFn) == 0) in translateLandingPad()
3011 Register ExceptionReg = TLI->getExceptionPointerRegister(PersonalityFn); in translateLandingPad()
3019 Register SelectorReg = TLI->getExceptionSelectorRegister(PersonalityFn); in translateLandingPad()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp628 unsigned PersonalityFn; member
3074 if (Info.PersonalityFn) { in resolveGlobalAndIndirectSymbolInits()
3075 unsigned ValID = Info.PersonalityFn - 1; in resolveGlobalAndIndirectSymbolInits()
3081 Info.PersonalityFn = 0; in resolveGlobalAndIndirectSymbolInits()
3104 if (Info.PersonalityFn || Info.Prefix || Info.Prologue) in resolveGlobalAndIndirectSymbolInits()
4273 OperandInfo.PersonalityFn = Record[14]; in parseFunctionRecord()
4291 if (OperandInfo.PersonalityFn || OperandInfo.Prefix || OperandInfo.Prologue) in parseFunctionRecord()

12