Home
last modified time | relevance | path

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

12

/external/llvm/lib/IR/
DBasicBlock.cpp172 if (isa<LandingPadInst>(InsertPt)) ++InsertPt; in getFirstInsertionPt()
361 return isa<LandingPadInst>(getFirstNonPHI()); in isLandingPad()
366 LandingPadInst *BasicBlock::getLandingPadInst() { in getLandingPadInst()
367 return dyn_cast<LandingPadInst>(getFirstNonPHI()); in getLandingPadInst()
369 const LandingPadInst *BasicBlock::getLandingPadInst() const { in getLandingPadInst()
370 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.cpp48 LandingPadInst *CallerLPad; ///< LandingPadInst associated with the invoke.
67 CallerLPad = cast<LandingPadInst>(I); in InvokeInliningInfo()
78 LandingPadInst *getLandingPadInst() const { return CallerLPad; } in getLandingPadInst()
86 SmallPtrSet<LandingPadInst*, 16> &InlinedLPads);
145 SmallPtrSet<LandingPadInst*, 16> &InlinedLPads) { in forwardResume() argument
147 LandingPadInst *OuterLPad = getLandingPadInst(); in forwardResume()
161 for (SmallPtrSet<LandingPadInst*, 16>::iterator I = InlinedLPads.begin(), in forwardResume()
163 LandingPadInst *InlinedLPad = *I; in forwardResume()
179 LandingPadInst *LPI = Invoke.getLandingPadInst(); in HandleCallsInBlockInlinedThroughInvoke()
184 if (LandingPadInst *L = dyn_cast<LandingPadInst>(I)) { in HandleCallsInBlockInlinedThroughInvoke()
[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.cpp274 while (isa<PHINode>(SplitIt) || isa<LandingPadInst>(SplitIt)) in SplitBlock()
562 LandingPadInst *LPad = OrigBB->getLandingPadInst(); in SplitLandingPadPredecessors()
/external/llvm/include/llvm/IR/
DBasicBlock.h26 class LandingPadInst; variable
281 LandingPadInst *getLandingPadInst();
282 const LandingPadInst *getLandingPadInst() const;
DInstructions.h2186 class LandingPadInst : public Instruction {
2190 LandingPadInst(const LandingPadInst &LP);
2202 explicit LandingPadInst(Type *RetTy, Value *PersonalityFn,
2205 explicit LandingPadInst(Type *RetTy, Value *PersonalityFn,
2209 virtual LandingPadInst *clone_impl() const;
2213 static LandingPadInst *Create(Type *RetTy, Value *PersonalityFn,
2217 static LandingPadInst *Create(Type *RetTy, Value *PersonalityFn,
2220 ~LandingPadInst();
2274 struct OperandTraits<LandingPadInst> : public HungoffOperandTraits<2> {
2277 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(LandingPadInst, Value)
[all …]
DInstruction.def174 HANDLE_OTHER_INST(58, LandingPad, LandingPadInst) // Landing pad instruction.
/external/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp73 void substituteLPadValues(LandingPadInst *LPI, Value *ExnVal,
75 Value *setupFunctionContext(Function &F, ArrayRef<LandingPadInst*> LPads);
154 void SjLjEHPrepare::substituteLPadValues(LandingPadInst *LPI, Value *ExnVal, in substituteLPadValues()
187 setupFunctionContext(Function &F, ArrayRef<LandingPadInst*> LPads) { in setupFunctionContext()
201 LandingPadInst *LPI = LPads[I]; in setupFunctionContext()
362 LandingPadInst *LPI = UnwindBlock->getLandingPadInst(); in lowerAcrossUnwindEdges()
387 SmallSetVector<LandingPadInst*, 16> LPads; in setupEntryBlockAndCallSites()
DShadowStackGC.cpp151 LandingPadInst *LPad = LandingPadInst::Create(ExnTy, PersFn, 1, in Next()
/external/llvm/lib/Transforms/Scalar/
DADCE.cpp60 isa<LandingPadInst>(I.getInstructionIterator()) || in runOnFunction()
DGlobalMerge.cpp221 const LandingPadInst *LPInst = II->getUnwindDest()->getLandingPadInst(); in setMustKeepGlobalVariables()
DLoopUnswitch.cpp866 if (LandingPadInst *LPad = NewExit->getLandingPadInst()) { in UnswitchNontrivialCondition()
873 LandingPadInst *LPI = BB->getLandingPadInst(); in UnswitchNontrivialCondition()
/external/llvm/include/llvm/CodeGen/
DFunctionLoweringInfo.h228 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/unittests/IR/
DIRBuilderTest.cpp104 LandingPadInst *LP = Builder.CreateLandingPad(Builder.getInt32Ty(), in TEST_F()
/external/llvm/tools/bugpoint/
DCrashDebugger.cpp403 !isa<LandingPadInst>(Inst)) { in TestInsts()
576 if (isa<LandingPadInst>(I)) in DebugACrash()
/external/clang/lib/CodeGen/
DCGException.cpp279 llvm::LandingPadInst *LPI = dyn_cast<llvm::LandingPadInst>(User); in PersonalityHasOnlyCXXUses()
781 llvm::LandingPadInst *LPadInst = in EmitLandingPad()
1590 llvm::LandingPadInst *LPadInst = in getTerminateLandingPad()
/external/llvm/include/llvm/
DInstVisitor.h201 RetTy visitLandingPadInst(LandingPadInst &I) { DELEGATE(Instruction); } in visitLandingPadInst()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1848 Instruction *InstCombiner::visitLandingPadInst(LandingPadInst &LI) { in visitLandingPadInst()
2118 LandingPadInst *NLI = LandingPadInst::Create(LI.getType(), in visitLandingPadInst()
2154 if (isa<PHINode>(I) || isa<LandingPadInst>(I) || I->mayHaveSideEffects() || in TryToSinkInstruction()
2322 if (isa<LandingPadInst>(Inst)) { in DoOneIteration()
DInstCombine.h206 Instruction *visitLandingPadInst(LandingPadInst &LI);
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2694 LandingPadInst *LP = LandingPadInst::Create(Ty, PersFn, NumClauses); in ParseFunctionBody()
2697 LandingPadInst::ClauseType CT = in ParseFunctionBody()
2698 LandingPadInst::ClauseType(Record[Idx++]); (void)CT; in ParseFunctionBody()
2706 assert((CT != LandingPadInst::Catch || in ParseFunctionBody()
2709 assert((CT != LandingPadInst::Filter || in ParseFunctionBody()
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c1464 CAMLprim value llvm_add_clause(LLVMValueRef LandingPadInst, LLVMValueRef ClauseVal) in llvm_add_clause() argument
1466 LLVMAddClause(LandingPadInst, ClauseVal); in llvm_add_clause()
1472 CAMLprim value llvm_set_cleanup(LLVMValueRef LandingPadInst, value flag) in llvm_set_cleanup() argument
1474 LLVMSetCleanup(LandingPadInst, Bool_val(flag)); in llvm_set_cleanup()
/external/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp462 void llvm::AddLandingPadInfo(const LandingPadInst &I, MachineModuleInfo &MMI, in AddLandingPadInfo()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp1436 const LandingPadInst &LP = cast<LandingPadInst>(I); in WriteInstruction()
1444 Vals.push_back(LandingPadInst::Catch); in WriteInstruction()
1446 Vals.push_back(LandingPadInst::Filter); in WriteInstruction()

12