Home
last modified time | relevance | path

Searched refs:LandingPadInst (Results 1 – 25 of 46) sorted by relevance

12

/external/llvm/lib/IR/
DBasicBlock.cpp338 if (isa<LandingPadInst>(FirstNonPHI)) in canSplitPredecessors()
424 return isa<LandingPadInst>(getFirstNonPHI()); in isLandingPad()
428 LandingPadInst *BasicBlock::getLandingPadInst() { in getLandingPadInst()
429 return dyn_cast<LandingPadInst>(getFirstNonPHI()); in getLandingPadInst()
431 const LandingPadInst *BasicBlock::getLandingPadInst() const { in getLandingPadInst()
432 return dyn_cast<LandingPadInst>(getFirstNonPHI()); in getLandingPadInst()
DInstructions.cpp161 LandingPadInst::LandingPadInst(Type *RetTy, unsigned NumReservedValues, in LandingPadInst() function in LandingPadInst
167 LandingPadInst::LandingPadInst(Type *RetTy, unsigned NumReservedValues, in LandingPadInst() function in LandingPadInst
173 LandingPadInst::LandingPadInst(const LandingPadInst &LP) in LandingPadInst() function in LandingPadInst
186 LandingPadInst *LandingPadInst::Create(Type *RetTy, unsigned NumReservedClauses, in Create()
189 return new LandingPadInst(RetTy, NumReservedClauses, NameStr, InsertBefore); in Create()
192 LandingPadInst *LandingPadInst::Create(Type *RetTy, unsigned NumReservedClauses, in Create()
195 return new LandingPadInst(RetTy, NumReservedClauses, NameStr, InsertAtEnd); in Create()
198 void LandingPadInst::init(unsigned NumReservedValues, const Twine &NameStr) { in init()
208 void LandingPadInst::growOperands(unsigned Size) { in growOperands()
215 void LandingPadInst::addClause(Constant *Val) { in addClause()
[all …]
DVerifier.cpp402 void visitLandingPadInst(LandingPadInst &LPI);
2903 if (auto *LPI = dyn_cast<LandingPadInst>(&I)) { in visitEHPadPredecessors()
2936 void Verifier::visitLandingPadInst(LandingPadInst &LPI) { in visitLandingPadInst()
3073 Assert(I->isEHPad() && !isa<LandingPadInst>(I), in visitCatchSwitchInst()
3094 Assert(I->isEHPad() && !isa<LandingPadInst>(I), in visitCleanupReturnInst()
3657 Assert(isa<LandingPadInst>(ExtractValue->getAggregateOperand()), in visitIntrinsicCallSite()
/external/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp76 void substituteLPadValues(LandingPadInst *LPI, Value *ExnVal, Value *SelVal);
77 Value *setupFunctionContext(Function &F, ArrayRef<LandingPadInst *> LPads);
157 void SjLjEHPrepare::substituteLPadValues(LandingPadInst *LPI, Value *ExnVal, in substituteLPadValues()
193 ArrayRef<LandingPadInst *> LPads) { in setupFunctionContext()
206 LandingPadInst *LPI = LPads[I]; in setupFunctionContext()
350 LandingPadInst *LPI = UnwindBlock->getLandingPadInst(); in lowerAcrossUnwindEdges()
374 SmallSetVector<LandingPadInst *, 16> LPads; in setupEntryBlockAndCallSites()
DDwarfEHPrepare.cpp50 SmallVectorImpl<LandingPadInst *> &CleanupLPads);
141 SmallVectorImpl<LandingPadInst *> &CleanupLPads) { in pruneUnreachableResumes()
183 SmallVector<LandingPadInst*, 16> CleanupLPads; in InsertUnwindResumeCalls()
DShadowStackGCLowering.cpp153 LandingPadInst *LPad = in Next()
154 LandingPadInst::Create(ExnTy, 1, "cleanup.lpad", CleanupBB); in Next()
DGlobalMerge.cpp500 const LandingPadInst *LPInst = II->getUnwindDest()->getLandingPadInst(); in setMustKeepGlobalVariables()
/external/llvm/include/llvm/IR/
DBasicBlock.h27 class LandingPadInst; variable
315 LandingPadInst *getLandingPadInst();
316 const LandingPadInst *getLandingPadInst() const;
DInstructions.h2644 class LandingPadInst : public Instruction {
2648 LandingPadInst(const LandingPadInst &LP);
2662 explicit LandingPadInst(Type *RetTy, unsigned NumReservedValues,
2664 explicit LandingPadInst(Type *RetTy, unsigned NumReservedValues,
2670 LandingPadInst *cloneImpl() const;
2675 static LandingPadInst *Create(Type *RetTy, unsigned NumReservedClauses,
2678 static LandingPadInst *Create(Type *RetTy, unsigned NumReservedClauses,
2731 struct OperandTraits<LandingPadInst> : public HungoffOperandTraits<1> {
2734 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(LandingPadInst, Value)
3710 LandingPadInst *getLandingPadInst() const;
DStatepoint.h399 LandingPadInst *LandingPad = in getRelocates()
DInstVisitor.h205 RetTy visitLandingPadInst(LandingPadInst &I) { DELEGATE(Instruction); } in visitLandingPadInst()
DInstruction.def196 HANDLE_OTHER_INST(64, LandingPad, LandingPadInst) // Landing pad instruction.
/external/llvm/include/llvm/CodeGen/
DFunctionLoweringInfo.h242 void addSEHHandlersForLPads(ArrayRef<const LandingPadInst *> LPads);
257 void AddLandingPadInfo(const LandingPadInst &I, MachineModuleInfo &MMI,
DWinEHFuncInfo.h31 class LandingPadInst; variable
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp72 LandingPadInst *CallerLPad; ///< LandingPadInst associated with the invoke.
91 CallerLPad = cast<LandingPadInst>(I); in LandingPadInliningInfo()
102 LandingPadInst *getLandingPadInst() const { return CallerLPad; } in getLandingPadInst()
110 SmallPtrSetImpl<LandingPadInst*> &InlinedLPads);
168 ResumeInst *RI, SmallPtrSetImpl<LandingPadInst *> &InlinedLPads) { in forwardResume()
253 SmallPtrSet<LandingPadInst*, 16> InlinedLPads; in HandleInlinedLandingPad()
261 LandingPadInst *OuterLPad = Invoke.getLandingPadInst(); in HandleInlinedLandingPad()
262 for (LandingPadInst *InlinedLPad : InlinedLPads) { in HandleInlinedLandingPad()
1480 if (isa<LandingPadInst>(FirstNonPHI)) { in InlineFunction()
DSimplifyCFG.cpp3244 LandingPadInst *LPInst = dyn_cast<LandingPadInst>(BB->getFirstNonPHI()); in SimplifyResume()
3464 !isa<LandingPadInst>(BBI)) { in SimplifyUnreachable()
4814 static bool TryToMergeLandingPad(LandingPadInst *LPad, BranchInst *BI, in TryToMergeLandingPad()
4827 LandingPadInst *LPad2 = dyn_cast<LandingPadInst>(I); in TryToMergeLandingPad()
4895 if (LandingPadInst *LPad = dyn_cast<LandingPadInst>(I)) { in SimplifyUncondBranch()
/external/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp224 if (!isa<LandingPadInst>(I)) { in set()
275 SmallVector<const LandingPadInst *, 4> LPads; in set()
280 if (const auto *LPI = dyn_cast<LandingPadInst>(FNP)) in set()
551 void llvm::AddLandingPadInfo(const LandingPadInst &I, MachineModuleInfo &MMI, in AddLandingPadInfo()
/external/llvm/test/Verifier/
Dinvoke.ll75 ; CHECK: Block containing LandingPadInst must be jumped to only by the unwind edge of an invoke.
/external/llvm/lib/Target/AArch64/
DAArch64PromoteConstant.cpp271 if (isa<const LandingPadInst>(Instr)) in shouldConvertUse()
/external/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp1062 if (LandingPadInst *LPad = NewExit->getLandingPadInst()) { in UnswitchNontrivialCondition()
1069 LandingPadInst *LPI = BB->getLandingPadInst(); in UnswitchNontrivialCondition()
/external/clang/lib/CodeGen/
DCGException.cpp237 static bool LandingPadHasOnlyCXXUses(llvm::LandingPadInst *LPI) { in LandingPadHasOnlyCXXUses()
755 llvm::LandingPadInst *LPadInst = Builder.CreateLandingPad( in EmitLandingPad()
1300 llvm::LandingPadInst *LPadInst = Builder.CreateLandingPad( in getTerminateLandingPad()
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c1764 CAMLprim value llvm_add_clause(LLVMValueRef LandingPadInst, LLVMValueRef ClauseVal) in llvm_add_clause() argument
1766 LLVMAddClause(LandingPadInst, ClauseVal); in llvm_add_clause()
1772 CAMLprim value llvm_set_cleanup(LLVMValueRef LandingPadInst, value flag) in llvm_set_cleanup() argument
1774 LLVMSetCleanup(LandingPadInst, Bool_val(flag)); in llvm_set_cleanup()
/external/llvm/lib/Analysis/
DLoopInfo.cpp243 if (FirstNonPHI->isEHPad() && !isa<LandingPadInst>(FirstNonPHI)) in isSafeToClone()
/external/llvm/unittests/IR/
DIRBuilderTest.cpp107 LandingPadInst *LP = Builder.CreateLandingPad(Builder.getInt32Ty(), 0, "LP"); in TEST_F()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineInternal.h329 Instruction *visitLandingPadInst(LandingPadInst &LI);

12