Home
last modified time | relevance | path

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

12

/external/llvm/lib/IR/
DBasicBlock.cpp176 if (isa<LandingPadInst>(InsertPt)) ++InsertPt; in getFirstInsertionPt()
365 return isa<LandingPadInst>(getFirstNonPHI()); in isLandingPad()
370 LandingPadInst *BasicBlock::getLandingPadInst() { in getLandingPadInst()
371 return dyn_cast<LandingPadInst>(getFirstNonPHI()); in getLandingPadInst()
373 const LandingPadInst *BasicBlock::getLandingPadInst() const { in getLandingPadInst()
374 return dyn_cast<LandingPadInst>(getFirstNonPHI()); in getLandingPadInst()
DInstructions.cpp180 LandingPadInst::LandingPadInst(Type *RetTy, Value *PersonalityFn, in LandingPadInst() function in LandingPadInst
187 LandingPadInst::LandingPadInst(Type *RetTy, Value *PersonalityFn, in LandingPadInst() function in LandingPadInst
194 LandingPadInst::LandingPadInst(const LandingPadInst &LP) in LandingPadInst() function in LandingPadInst
205 LandingPadInst::~LandingPadInst() { in ~LandingPadInst()
209 LandingPadInst *LandingPadInst::Create(Type *RetTy, Value *PersonalityFn, in Create()
213 return new LandingPadInst(RetTy, PersonalityFn, NumReservedClauses, NameStr, in Create()
217 LandingPadInst *LandingPadInst::Create(Type *RetTy, Value *PersonalityFn, in Create()
221 return new LandingPadInst(RetTy, PersonalityFn, NumReservedClauses, NameStr, in Create()
225 void LandingPadInst::init(Value *PersFn, unsigned NumReservedValues, in init()
237 void LandingPadInst::growOperands(unsigned Size) { in growOperands()
[all …]
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp49 LandingPadInst *CallerLPad; ///< LandingPadInst associated with the invoke.
68 CallerLPad = cast<LandingPadInst>(I); in InvokeInliningInfo()
79 LandingPadInst *getLandingPadInst() const { return CallerLPad; } in getLandingPadInst()
87 SmallPtrSet<LandingPadInst*, 16> &InlinedLPads);
146 SmallPtrSet<LandingPadInst*, 16> &InlinedLPads) { in forwardResume() argument
228 SmallPtrSet<LandingPadInst*, 16> InlinedLPads; in HandleInlinedInvoke()
235 LandingPadInst *OuterLPad = Invoke.getLandingPadInst(); in HandleInlinedInvoke()
236 for (SmallPtrSet<LandingPadInst*, 16>::iterator I = InlinedLPads.begin(), in HandleInlinedInvoke()
238 LandingPadInst *InlinedLPad = *I; in HandleInlinedInvoke()
563 const LandingPadInst *LP = BB->getLandingPadInst(); in InlineFunction()
[all …]
DDemoteRegToStack.cpp100 for (; isa<PHINode>(InsertPt) || isa<LandingPadInst>(InsertPt); ++InsertPt) in DemoteRegToStack()
140 for (; isa<PHINode>(InsertPt) || isa<LandingPadInst>(InsertPt); ++InsertPt) in DemotePHIToStack()
DBasicBlockUtils.cpp275 while (isa<PHINode>(SplitIt) || isa<LandingPadInst>(SplitIt)) in SplitBlock()
586 LandingPadInst *LPad = OrigBB->getLandingPadInst(); in SplitLandingPadPredecessors()
/external/llvm/include/llvm/IR/
DBasicBlock.h26 class LandingPadInst; variable
286 LandingPadInst *getLandingPadInst();
287 const LandingPadInst *getLandingPadInst() const;
DInstructions.h2270 class LandingPadInst : public Instruction {
2274 LandingPadInst(const LandingPadInst &LP);
2286 explicit LandingPadInst(Type *RetTy, Value *PersonalityFn,
2289 explicit LandingPadInst(Type *RetTy, Value *PersonalityFn,
2293 LandingPadInst *clone_impl() const override;
2297 static LandingPadInst *Create(Type *RetTy, Value *PersonalityFn,
2301 static LandingPadInst *Create(Type *RetTy, Value *PersonalityFn,
2304 ~LandingPadInst();
2360 struct OperandTraits<LandingPadInst> : public HungoffOperandTraits<2> {
2363 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(LandingPadInst, Value)
[all …]
DInstVisitor.h202 RetTy visitLandingPadInst(LandingPadInst &I) { DELEGATE(Instruction); } in visitLandingPadInst()
DInstruction.def175 HANDLE_OTHER_INST(59, LandingPad, LandingPadInst) // Landing pad instruction.
/external/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp74 void substituteLPadValues(LandingPadInst *LPI, Value *ExnVal, Value *SelVal);
75 Value *setupFunctionContext(Function &F, ArrayRef<LandingPadInst *> LPads);
151 void SjLjEHPrepare::substituteLPadValues(LandingPadInst *LPI, Value *ExnVal, in substituteLPadValues()
187 ArrayRef<LandingPadInst *> LPads) { in setupFunctionContext()
201 LandingPadInst *LPI = LPads[I]; in setupFunctionContext()
361 LandingPadInst *LPI = UnwindBlock->getLandingPadInst(); in lowerAcrossUnwindEdges()
387 SmallSetVector<LandingPadInst *, 16> LPads; in setupEntryBlockAndCallSites()
DShadowStackGC.cpp152 LandingPadInst *LPad = LandingPadInst::Create(ExnTy, PersFn, 1, in Next()
DGlobalMerge.cpp266 const LandingPadInst *LPInst = II->getUnwindDest()->getLandingPadInst(); in setMustKeepGlobalVariables()
/external/llvm/lib/Transforms/Scalar/
DADCE.cpp64 isa<LandingPadInst>(I.getInstructionIterator()) || in runOnFunction()
DLoopUnswitch.cpp860 if (LandingPadInst *LPad = NewExit->getLandingPadInst()) { in UnswitchNontrivialCondition()
867 LandingPadInst *LPI = BB->getLandingPadInst(); in UnswitchNontrivialCondition()
DConstantHoisting.cpp222 if (!isa<PHINode>(Inst) && !isa<LandingPadInst>(Inst)) in findMatInsertPt()
/external/llvm/include/llvm/CodeGen/
DFunctionLoweringInfo.h229 void AddLandingPadInfo(const LandingPadInst &I, MachineModuleInfo &MMI,
/external/llvm/test/Verifier/
Dinvoke.ll75 ; CHECK: Block containing LandingPadInst must be jumped to only by the unwind edge of an invoke.
/external/llvm/tools/bugpoint/
DCrashDebugger.cpp403 !isa<LandingPadInst>(Inst)) { in TestInsts()
577 if (isa<LandingPadInst>(I)) in DebugACrash()
/external/clang/lib/CodeGen/
DCGException.cpp261 llvm::LandingPadInst *LPI = dyn_cast<llvm::LandingPadInst>(U); in PersonalityHasOnlyCXXUses()
733 llvm::LandingPadInst *LPadInst = in EmitLandingPad()
1545 llvm::LandingPadInst *LPadInst = in getTerminateLandingPad()
/external/llvm/lib/Target/AArch64/
DAArch64PromoteConstant.cpp271 if (isa<const LandingPadInst>(Instr)) in shouldConvertUse()
/external/llvm/unittests/IR/
DIRBuilderTest.cpp105 LandingPadInst *LP = Builder.CreateLandingPad(Builder.getInt32Ty(), in TEST_F()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp2196 Instruction *InstCombiner::visitLandingPadInst(LandingPadInst &LI) { in visitLandingPadInst()
2466 LandingPadInst *NLI = LandingPadInst::Create(LI.getType(), in visitLandingPadInst()
2502 if (isa<PHINode>(I) || isa<LandingPadInst>(I) || I->mayHaveSideEffects() || in TryToSinkInstruction()
2670 if (isa<LandingPadInst>(Inst)) { in DoOneIteration()
DInstCombine.h221 Instruction *visitLandingPadInst(LandingPadInst &LI);
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c1627 CAMLprim value llvm_add_clause(LLVMValueRef LandingPadInst, LLVMValueRef ClauseVal) in llvm_add_clause() argument
1629 LLVMAddClause(LandingPadInst, ClauseVal); in llvm_add_clause()
1635 CAMLprim value llvm_set_cleanup(LLVMValueRef LandingPadInst, value flag) in llvm_set_cleanup() argument
1637 LLVMSetCleanup(LandingPadInst, Bool_val(flag)); in llvm_set_cleanup()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2859 LandingPadInst *LP = LandingPadInst::Create(Ty, PersFn, NumClauses); in ParseFunctionBody()
2862 LandingPadInst::ClauseType CT = in ParseFunctionBody()
2863 LandingPadInst::ClauseType(Record[Idx++]); (void)CT; in ParseFunctionBody()
2871 assert((CT != LandingPadInst::Catch || in ParseFunctionBody()
2874 assert((CT != LandingPadInst::Filter || in ParseFunctionBody()

12