Home
last modified time | relevance | path

Searched refs:CleanupPadInst (Results 1 – 25 of 40) sorted by relevance

12

/external/llvm/lib/CodeGen/
DWinEHPrepare.cpp157 static BasicBlock *getCleanupRetUnwindDest(const CleanupPadInst *CleanupPad) { in getCleanupRetUnwindDest()
185 else if (auto *CleanupPad = dyn_cast<CleanupPadInst>(FuncletPad)) in calculateStateNumbersForInvokes()
262 if (auto *InnerCleanupPad = dyn_cast<CleanupPadInst>(UserI)) { in calculateCXXStateNumbers()
279 auto *CleanupPad = cast<CleanupPadInst>(FirstNonPHI); in calculateCXXStateNumbers()
371 if (auto *InnerCleanupPad = dyn_cast<CleanupPadInst>(UserI)) { in calculateSEHStateNumbers()
381 auto *CleanupPad = cast<CleanupPadInst>(FirstNonPHI); in calculateSEHStateNumbers()
410 if (auto *CleanupPad = dyn_cast<CleanupPadInst>(EHPad)) in isTopLevelPadForMSVC()
501 if (const auto *CPI = dyn_cast<CleanupPadInst>(FirstNonPHI)) in calculateClrEHStateNumbers()
522 if (const auto *Cleanup = dyn_cast<CleanupPadInst>(Pad)) { in calculateClrEHStateNumbers()
590 const auto *Cleanup = cast<CleanupPadInst>(Pad); in calculateClrEHStateNumbers()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DWinEHPrepare.cpp166 static BasicBlock *getCleanupRetUnwindDest(const CleanupPadInst *CleanupPad) { in getCleanupRetUnwindDest()
194 else if (auto *CleanupPad = dyn_cast<CleanupPadInst>(FuncletPad)) in calculateStateNumbersForInvokes()
271 if (auto *InnerCleanupPad = dyn_cast<CleanupPadInst>(UserI)) { in calculateCXXStateNumbers()
289 auto *CleanupPad = cast<CleanupPadInst>(FirstNonPHI); in calculateCXXStateNumbers()
381 if (auto *InnerCleanupPad = dyn_cast<CleanupPadInst>(UserI)) { in calculateSEHStateNumbers()
391 auto *CleanupPad = cast<CleanupPadInst>(FirstNonPHI); in calculateSEHStateNumbers()
420 if (auto *CleanupPad = dyn_cast<CleanupPadInst>(EHPad)) in isTopLevelPadForMSVC()
511 if (const auto *CPI = dyn_cast<CleanupPadInst>(FirstNonPHI)) in calculateClrEHStateNumbers()
532 if (const auto *Cleanup = dyn_cast<CleanupPadInst>(Pad)) { in calculateClrEHStateNumbers()
600 const auto *Cleanup = cast<CleanupPadInst>(Pad); in calculateClrEHStateNumbers()
[all …]
DWasmEHPrepare.cpp189 else if (isa<CleanupPadInst>(Pad)) in runOnFunction()
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp225 if (!isa<CleanupPadInst>(Child) && !isa<CatchSwitchInst>(Child)) in getUnwindDestTokenHelper()
253 auto *CleanupPad = cast<CleanupPadInst>(CurrentPad); in getUnwindDestTokenHelper()
265 } else if (isa<CleanupPadInst>(U) || isa<CatchSwitchInst>(U)) { in getUnwindDestTokenHelper()
399 if (isa<CatchSwitchInst>(U) || isa<CleanupPadInst>(U)) in getUnwindDestToken()
402 assert(isa<CleanupPadInst>(UselessPad)); in getUnwindDestToken()
404 if (isa<CatchSwitchInst>(U) || isa<CleanupPadInst>(U)) in getUnwindDestToken()
1439 if (isa<CleanupPadInst>(CallSiteEHPad)) { in InlineFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DInlineFunction.cpp264 if (!isa<CleanupPadInst>(Child) && !isa<CatchSwitchInst>(Child)) in getUnwindDestTokenHelper()
292 auto *CleanupPad = cast<CleanupPadInst>(CurrentPad); in getUnwindDestTokenHelper()
304 } else if (isa<CleanupPadInst>(U) || isa<CatchSwitchInst>(U)) { in getUnwindDestTokenHelper()
500 if (isa<CatchSwitchInst>(U) || isa<CleanupPadInst>(U)) in getUnwindDestToken()
505 assert(isa<CleanupPadInst>(UselessPad)); in getUnwindDestToken()
513 if (isa<CatchSwitchInst>(U) || isa<CleanupPadInst>(U)) in getUnwindDestToken()
1584 if (isa<CleanupPadInst>(CallSiteEHPad)) { in InlineFunction()
DCodeExtractor.cpp156 if (const auto *CPI = dyn_cast<CleanupPadInst>(I)) { in isBlockValidForExtraction()
/external/llvm/lib/Target/X86/
DX86WinEHState.cpp734 if (isa<CleanupPadInst>(FuncletEntryBB->getFirstNonPHI())) in addStateStores()
776 bool InCleanup = isa<CleanupPadInst>(FuncletEntryBB->getFirstNonPHI()); in addStateStores()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86WinEHState.cpp742 if (isa<CleanupPadInst>(FuncletEntryBB->getFirstNonPHI())) in addStateStores()
784 bool InCleanup = isa<CleanupPadInst>(FuncletEntryBB->getFirstNonPHI()); in addStateStores()
/external/llvm/include/llvm/IR/
DInstructions.h4118 class CleanupPadInst : public FuncletPadInst {
4120 explicit CleanupPadInst(Value *ParentPad, ArrayRef<Value *> Args,
4125 explicit CleanupPadInst(Value *ParentPad, ArrayRef<Value *> Args,
4132 static CleanupPadInst *Create(Value *ParentPad, ArrayRef<Value *> Args = None,
4137 CleanupPadInst(ParentPad, Args, Values, NameStr, InsertBefore);
4139 static CleanupPadInst *Create(Value *ParentPad, ArrayRef<Value *> Args,
4143 CleanupPadInst(ParentPad, Args, Values, NameStr, InsertAtEnd);
4324 CleanupPadInst *getCleanupPad() const {
4325 return cast<CleanupPadInst>(Op<0>());
4327 void setCleanupPad(CleanupPadInst *CleanupPad) {
DInstVisitor.h207 RetTy visitCleanupPadInst(CleanupPadInst &I) { DELEGATE(FuncletPadInst); } in visitCleanupPadInst()
DInstruction.def177 HANDLE_FUNCLETPAD_INST(49, CleanupPad, CleanupPadInst)
DIRBuilder.h721 CleanupReturnInst *CreateCleanupRet(CleanupPadInst *CleanupPad,
738 CleanupPadInst *CreateCleanupPad(Value *ParentPad,
741 return Insert(CleanupPadInst::Create(ParentPad, Args), Name);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DInstructions.h4362 class CleanupPadInst : public FuncletPadInst {
4364 explicit CleanupPadInst(Value *ParentPad, ArrayRef<Value *> Args,
4369 explicit CleanupPadInst(Value *ParentPad, ArrayRef<Value *> Args,
4376 static CleanupPadInst *Create(Value *ParentPad, ArrayRef<Value *> Args = None,
4381 CleanupPadInst(ParentPad, Args, Values, NameStr, InsertBefore);
4384 static CleanupPadInst *Create(Value *ParentPad, ArrayRef<Value *> Args,
4388 CleanupPadInst(ParentPad, Args, Values, NameStr, InsertAtEnd);
4582 CleanupPadInst *getCleanupPad() const {
4583 return cast<CleanupPadInst>(Op<0>());
4585 void setCleanupPad(CleanupPadInst *CleanupPad) {
DInstVisitor.h210 RetTy visitCleanupPadInst(CleanupPadInst &I) { DELEGATE(FuncletPadInst); } in visitCleanupPadInst()
DInstruction.def181 HANDLE_FUNCLETPAD_INST(49, CleanupPad, CleanupPadInst)
DIRBuilder.h899 CleanupReturnInst *CreateCleanupRet(CleanupPadInst *CleanupPad,
916 CleanupPadInst *CreateCleanupPad(Value *ParentPad,
919 return Insert(CleanupPadInst::Create(ParentPad, Args), Name);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h53 class CleanupPadInst; variable
827 void visitCleanupPad(const CleanupPadInst &CPI);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Coroutines/
DCoroFrame.cpp444 CleanupPadInst::Create(CatchSwitch->getParentPad(), {}, "", CurrentBlock); in splitBeforeCatchSwitch()
669 auto *NewCleanupPad = CleanupPadInst::Create(ParentPad, {}, "", NewBB); in ehAwareSplitEdge()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DInstruction.def177 HANDLE_FUNCLETPAD_INST(49, CleanupPad, CleanupPadInst)
/external/llvm/lib/IR/
DVerifier.cpp433 void visitCleanupPadInst(CleanupPadInst &CPI);
3319 void Verifier::visitCleanupPadInst(CleanupPadInst &CPI) { in visitCleanupPadInst()
3370 } else if (auto *CPI = dyn_cast<CleanupPadInst>(U)) { in visitFuncletPadInst()
3435 if (isa<CleanupPadInst>(&FPI) && !isa<ConstantTokenNone>(UnwindPad) && in visitFuncletPadInst()
3542 Assert(isa<CleanupPadInst>(CRI.getOperand(0)), in visitCleanupReturnInst()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h797 void visitCleanupPad(const CleanupPadInst &CPI);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DVerifier.cpp483 void visitCleanupPadInst(CleanupPadInst &CPI);
3552 void Verifier::visitCleanupPadInst(CleanupPadInst &CPI) { in visitCleanupPadInst()
3603 } else if (auto *CPI = dyn_cast<CleanupPadInst>(U)) { in visitFuncletPadInst()
3668 if (isa<CleanupPadInst>(&FPI) && !isa<ConstantTokenNone>(UnwindPad) && in visitFuncletPadInst()
3775 Assert(isa<CleanupPadInst>(CRI.getOperand(0)), in visitCleanupReturnInst()
/external/clang/lib/CodeGen/
DCGCleanup.cpp936 llvm::CleanupPadInst *CPI = nullptr; in PopCleanupBlock()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Verifier/
Dinvalid-eh.ll76 ;T5: ; CHECK5: CleanupPadInst has an invalid parent
/external/llvm/test/Verifier/
Dinvalid-eh.ll74 ;T5: ; CHECK5: CleanupPadInst has an invalid parent

12