Home
last modified time | relevance | path

Searched refs:PersonalityFn (Results 1 – 25 of 39) 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.cpp96 Function *PersonalityFn = nullptr; member in __anone900293d0111::WinEHStatePass
161 PersonalityFn = dyn_cast<Function>(F.getPersonalityFn()->stripPointerCasts()); in runOnFunction()
162 if (!PersonalityFn) in runOnFunction()
164 Personality = classifyEHPersonality(PersonalityFn); in runOnFunction()
199 PersonalityFn = nullptr; in runOnFunction()
307 StringRef PersonalityName = PersonalityFn->getName(); in emitExceptionRegistrationRecord()
349 linkExceptionRegistration(Builder, PersonalityFn); in emitExceptionRegistrationRecord()
411 CallInst *Call = Builder.CreateCall(TargetFuncTy, PersonalityFn, Args); in generateLSDAInEAXThunk()
H A DX86ISelLowering.h1573 getExceptionPointerRegister(const Constant *PersonalityFn) const override;
1578 getExceptionSelectorRegister(const Constant *PersonalityFn) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreFrameLowering.cpp160 const Constant *PersonalityFn, in GetEHSpillList() argument
166 TL->getExceptionPointerRegister(PersonalityFn))); in GetEHSpillList()
169 TL->getExceptionSelectorRegister(PersonalityFn))); in GetEHSpillList()
324 const Constant *PersonalityFn = in emitPrologue() local
327 GetEHSpillList(SpillList, MFI, XFI, PersonalityFn, in emitPrologue()
359 const Constant *PersonalityFn = in emitEpilogue() local
362 GetEHSpillList(SpillList, MFI, XFI, PersonalityFn, in emitEpilogue()
H A DXCoreISelLowering.h64 getExceptionPointerRegister(const Constant *PersonalityFn) const override { in getExceptionPointerRegister() argument
71 getExceptionSelectorRegister(const Constant *PersonalityFn) const override { in getExceptionSelectorRegister() argument
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYISelLowering.h60 getExceptionPointerRegister(const Constant *PersonalityFn) const override;
65 getExceptionSelectorRegister(const Constant *PersonalityFn) const override;
H A DCSKYISelLowering.cpp1227 const Constant *PersonalityFn) const { in getExceptionPointerRegister()
1232 const Constant *PersonalityFn) const { in getExceptionSelectorRegister()
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcISelLowering.h67 getExceptionPointerRegister(const Constant *PersonalityFn) const override { in getExceptionPointerRegister() argument
74 getExceptionSelectorRegister(const Constant *PersonalityFn) const override { in getExceptionSelectorRegister() argument
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kISelLowering.h110 getExceptionPointerRegister(const Constant *PersonalityFn) const override;
115 getExceptionSelectorRegister(const Constant *PersonalityFn) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelLowering.h251 getExceptionPointerRegister(const Constant *PersonalityFn) const override;
254 getExceptionSelectorRegister(const Constant *PersonalityFn) const override;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSjLjEHPrepare.cpp234 Value *PersonalityFn = F.getPersonalityFn(); in setupFunctionContext() local
237 Builder.CreateStore(PersonalityFn, PersonalityFieldPtr, /*isVolatile=*/true); in setupFunctionContext()
H A DMachineLICM.cpp628 const Constant *PersonalityFn = MF.getFunction().getPersonalityFn(); in HoistRegionPostRA() local
630 if (MCRegister Reg = TLI.getExceptionPointerRegister(PersonalityFn)) in HoistRegionPostRA()
633 if (MCRegister Reg = TLI.getExceptionSelectorRegister(PersonalityFn)) in HoistRegionPostRA()
H A DMachineBasicBlock.cpp1790 auto PersonalityFn = MF.getFunction().getPersonalityFn(); in liveout_begin() local
1791 ExceptionPointer = TLI.getExceptionPointerRegister(PersonalityFn); in liveout_begin()
1792 ExceptionSelector = TLI.getExceptionSelectorRegister(PersonalityFn); in liveout_begin()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMustExecute.cpp107 if (Constant *PersonalityFn = Fn->getPersonalityFn()) in computeBlockColors() local
108 if (isScopedEHPersonality(classifyEHPersonality(PersonalityFn))) in computeBlockColors()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.h586 getExceptionPointerRegister(const Constant *PersonalityFn) const override;
591 getExceptionSelectorRegister(const Constant *PersonalityFn) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsISelLowering.h359 getExceptionPointerRegister(const Constant *PersonalityFn) const override { in getExceptionPointerRegister() argument
366 getExceptionSelectorRegister(const Constant *PersonalityFn) const override { in getExceptionSelectorRegister() argument
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.h267 getExceptionPointerRegister(const Constant *PersonalityFn) const override;
272 getExceptionSelectorRegister(const Constant *PersonalityFn) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.h661 getExceptionPointerRegister(const Constant *PersonalityFn) const override;
666 getExceptionSelectorRegister(const Constant *PersonalityFn) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.h280 getExceptionPointerRegister(const Constant *PersonalityFn) const override { in getExceptionPointerRegister() argument
287 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.h661 const char *PersonalityFn;
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.h348 getExceptionPointerRegister(const Constant *PersonalityFn) const override;
353 getExceptionSelectorRegister(const Constant *PersonalityFn) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.h1149 getExceptionPointerRegister(const Constant *PersonalityFn) const override;
1154 getExceptionSelectorRegister(const Constant *PersonalityFn) const override;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGISel.cpp1403 const Constant *PersonalityFn = FuncInfo->Fn->getPersonalityFn(); in PrepareEHLandingPad() local
1408 auto Pers = classifyEHPersonality(PersonalityFn); in PrepareEHLandingPad()
1417 MCRegister EHPhysReg = TLI->getExceptionPointerRegister(PersonalityFn); in PrepareEHLandingPad()
1450 if (MCRegister Reg = TLI->getExceptionPointerRegister(PersonalityFn)) in PrepareEHLandingPad()
1453 if (MCRegister Reg = TLI->getExceptionSelectorRegister(PersonalityFn)) in PrepareEHLandingPad()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp3025 const Constant *PersonalityFn = MF->getFunction().getPersonalityFn(); in translateLandingPad() local
3026 if (TLI->getExceptionPointerRegister(PersonalityFn) == 0 && in translateLandingPad()
3027 TLI->getExceptionSelectorRegister(PersonalityFn) == 0) in translateLandingPad()
3058 Register ExceptionReg = TLI->getExceptionPointerRegister(PersonalityFn); in translateLandingPad()
3066 Register SelectorReg = TLI->getExceptionSelectorRegister(PersonalityFn); in translateLandingPad()

12