Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DSjLjEHPrepare.cpp56 Value *PersonalityFn; member in __anona36112900111::SjLjEHPass
132 PersonalityFn = 0; in doInitialization()
452 if (!PersonalityFn) PersonalityFn = LPI->getPersonalityFn(); in insertSjLjEHSupport()
461 if (!PersonalityFn) PersonalityFn = CI->getArgOperand(1); in insertSjLjEHSupport()
473 if (!PersonalityFn) PersonalityFn = LPI->getPersonalityFn(); in insertSjLjEHSupport()
480 if (!PersonalityFn) return false; in insertSjLjEHSupport()
608 new StoreInst(PersonalityFn, PersonalityFieldPtr, true, in insertSjLjEHSupport()
774 if (!PersonalityFn) in setupFunctionContext()
775 PersonalityFn = LPads[0]->getPersonalityFn(); in setupFunctionContext()
779 new StoreInst(PersonalityFn, PersonalityFieldPtr, true, in setupFunctionContext()
/external/llvm/lib/Target/X86/
DX86WinEHState.cpp99 Function *PersonalityFn = nullptr; member in __anoncf30f85e0111::WinEHStatePass
155 PersonalityFn = in runOnFunction()
157 if (!PersonalityFn) in runOnFunction()
159 Personality = classifyEHPersonality(PersonalityFn); in runOnFunction()
198 PersonalityFn = nullptr; in runOnFunction()
310 StringRef PersonalityName = PersonalityFn->getName(); in emitExceptionRegistrationRecord()
352 linkExceptionRegistration(Builder, PersonalityFn); in emitExceptionRegistrationRecord()
408 Builder.CreateBitCast(PersonalityFn, TargetFuncTy->getPointerTo()); in generateLSDAInEAXThunk()
DX86ISelLowering.h960 getExceptionPointerRegister(const Constant *PersonalityFn) const override;
965 getExceptionSelectorRegister(const Constant *PersonalityFn) const override;
/external/llvm/lib/Target/XCore/
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()
DXCoreISelLowering.h131 getExceptionPointerRegister(const Constant *PersonalityFn) const override { in getExceptionPointerRegister() argument
138 getExceptionSelectorRegister(const Constant *PersonalityFn) const override { in getExceptionSelectorRegister() argument
/external/llvm/lib/Target/Sparc/
DSparcISelLowering.h111 getExceptionPointerRegister(const Constant *PersonalityFn) const override { in getExceptionPointerRegister() argument
118 getExceptionSelectorRegister(const Constant *PersonalityFn) const override { in getExceptionSelectorRegister() argument
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.h184 getExceptionPointerRegister(const Constant *PersonalityFn) const override { in getExceptionPointerRegister() argument
191 getExceptionSelectorRegister(const Constant *PersonalityFn) const override { in getExceptionSelectorRegister() argument
/external/swiftshader/third_party/LLVM/lib/VMCore/
DVerifier.cpp143 const Value *PersonalityFn; member
148 MessagesStr(Messages), PersonalityFn(0) { in Verifier()
153 Context(0), DT(0), MessagesStr(Messages), PersonalityFn(0) { in Verifier()
178 PersonalityFn = 0; in runOnFunction()
1447 if (PersonalityFn) in visitLandingPadInst()
1448 Assert1(LPI.getPersonalityFn() == PersonalityFn, in visitLandingPadInst()
1450 PersonalityFn = LPI.getPersonalityFn(); in visitLandingPadInst()
1453 Assert1(isa<Constant>(PersonalityFn), "Personality function is not constant!", in visitLandingPadInst()
DInstructions.cpp173 LandingPadInst::LandingPadInst(Type *RetTy, Value *PersonalityFn, in LandingPadInst() argument
177 init(PersonalityFn, 1 + NumReservedValues, NameStr); in LandingPadInst()
180 LandingPadInst::LandingPadInst(Type *RetTy, Value *PersonalityFn, in LandingPadInst() argument
184 init(PersonalityFn, 1 + NumReservedValues, NameStr); in LandingPadInst()
202 LandingPadInst *LandingPadInst::Create(Type *RetTy, Value *PersonalityFn, in Create() argument
206 return new LandingPadInst(RetTy, PersonalityFn, NumReservedClauses, NameStr, in Create()
210 LandingPadInst *LandingPadInst::Create(Type *RetTy, Value *PersonalityFn, in Create() argument
214 return new LandingPadInst(RetTy, PersonalityFn, NumReservedClauses, NameStr, in Create()
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.h437 getExceptionPointerRegister(const Constant *PersonalityFn) const override { in getExceptionPointerRegister() argument
444 getExceptionSelectorRegister(const Constant *PersonalityFn) const override { in getExceptionSelectorRegister() argument
/external/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp204 Value *PersonalityFn = F.getPersonalityFn(); in setupFunctionContext() local
208 Builder.CreateBitCast(PersonalityFn, Builder.getInt8PtrTy()), in setupFunctionContext()
/external/llvm/lib/Target/Mips/
DMipsISelLowering.h280 getExceptionPointerRegister(const Constant *PersonalityFn) const override { in getExceptionPointerRegister() argument
287 getExceptionSelectorRegister(const Constant *PersonalityFn) const override { in getExceptionSelectorRegister() argument
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.h376 getExceptionPointerRegister(const Constant *PersonalityFn) const override { in getExceptionPointerRegister() argument
384 getExceptionSelectorRegister(const Constant *PersonalityFn) const override { in getExceptionSelectorRegister() argument
/external/llvm/lib/Target/ARM/
DARMISelLowering.h432 getExceptionPointerRegister(const Constant *PersonalityFn) const override;
437 getExceptionSelectorRegister(const Constant *PersonalityFn) const override;
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.h735 getExceptionPointerRegister(const Constant *PersonalityFn) const override;
740 getExceptionSelectorRegister(const Constant *PersonalityFn) const override;
/external/clang/lib/CodeGen/
DCGException.cpp226 Personality.PersonalityFn); in getPersonalityFn()
312 assert(std::strcmp(ObjCXX.PersonalityFn, CXX.PersonalityFn) != 0 && in SimplifyPersonality()
315 llvm::Function *Fn = getModule().getFunction(ObjCXX.PersonalityFn); in SimplifyPersonality()
DCGCleanup.h606 const char *PersonalityFn; member
/external/llvm/lib/Transforms/Scalar/
DLICM.cpp432 if (Constant *PersonalityFn = Fn->getPersonalityFn()) in computeLoopSafetyInfo() local
433 if (isFuncletEHPersonality(classifyEHPersonality(PersonalityFn))) in computeLoopSafetyInfo()
/external/swiftshader/third_party/LLVM/include/llvm/
DInstructions.h2146 explicit LandingPadInst(Type *RetTy, Value *PersonalityFn,
2149 explicit LandingPadInst(Type *RetTy, Value *PersonalityFn,
2157 static LandingPadInst *Create(Type *RetTy, Value *PersonalityFn,
2161 static LandingPadInst *Create(Type *RetTy, Value *PersonalityFn,
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGISel.cpp979 const Constant *PersonalityFn = FuncInfo->Fn->getPersonalityFn(); in PrepareEHLandingPad() local
990 MCPhysReg EHPhysReg = TLI->getExceptionPointerRegister(PersonalityFn); in PrepareEHLandingPad()
1016 if (unsigned Reg = TLI->getExceptionPointerRegister(PersonalityFn)) in PrepareEHLandingPad()
1020 if (unsigned Reg = TLI->getExceptionSelectorRegister(PersonalityFn)) in PrepareEHLandingPad()
DSelectionDAGBuilder.cpp2339 const Constant *PersonalityFn = FuncInfo.Fn->getPersonalityFn(); in visitLandingPad() local
2340 if (TLI.getExceptionPointerRegister(PersonalityFn) == 0 && in visitLandingPad()
2341 TLI.getExceptionSelectorRegister(PersonalityFn) == 0) in visitLandingPad()
/external/llvm/include/llvm/Target/
DTargetLowering.h1023 getExceptionPointerRegister(const Constant *PersonalityFn) const { in getExceptionPointerRegister() argument
1031 getExceptionSelectorRegister(const Constant *PersonalityFn) const { in getExceptionSelectorRegister() argument
/external/llvm/include/llvm-c/
DCore.h1965 void LLVMSetPersonalityFn(LLVMValueRef Fn, LLVMValueRef PersonalityFn);
/external/llvm/lib/IR/
DCore.cpp1799 void LLVMSetPersonalityFn(LLVMValueRef Fn, LLVMValueRef PersonalityFn) { in LLVMSetPersonalityFn() argument
1800 unwrap<Function>(Fn)->setPersonalityFn(unwrap<Constant>(PersonalityFn)); in LLVMSetPersonalityFn()
/external/llvm/lib/AsmParser/
DLLParser.cpp4627 Constant *PersonalityFn = nullptr; in ParseFunctionHeader() local
4645 ParseGlobalTypeAndValue(PersonalityFn))) in ParseFunctionHeader()
4742 Fn->setPersonalityFn(PersonalityFn); in ParseFunctionHeader()

12