/external/llvm/lib/CodeGen/ |
D | WinEHPrepare.cpp | 157 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/ |
D | WinEHPrepare.cpp | 166 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 …]
|
D | WasmEHPrepare.cpp | 189 else if (isa<CleanupPadInst>(Pad)) in runOnFunction()
|
/external/llvm/lib/Transforms/Utils/ |
D | InlineFunction.cpp | 225 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/ |
D | InlineFunction.cpp | 264 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()
|
D | CodeExtractor.cpp | 156 if (const auto *CPI = dyn_cast<CleanupPadInst>(I)) { in isBlockValidForExtraction()
|
/external/llvm/lib/Target/X86/ |
D | X86WinEHState.cpp | 734 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/ |
D | X86WinEHState.cpp | 742 if (isa<CleanupPadInst>(FuncletEntryBB->getFirstNonPHI())) in addStateStores() 784 bool InCleanup = isa<CleanupPadInst>(FuncletEntryBB->getFirstNonPHI()); in addStateStores()
|
/external/llvm/include/llvm/IR/ |
D | Instructions.h | 4118 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) {
|
D | InstVisitor.h | 207 RetTy visitCleanupPadInst(CleanupPadInst &I) { DELEGATE(FuncletPadInst); } in visitCleanupPadInst()
|
D | Instruction.def | 177 HANDLE_FUNCLETPAD_INST(49, CleanupPad, CleanupPadInst)
|
D | IRBuilder.h | 721 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/ |
D | Instructions.h | 4362 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) {
|
D | InstVisitor.h | 210 RetTy visitCleanupPadInst(CleanupPadInst &I) { DELEGATE(FuncletPadInst); } in visitCleanupPadInst()
|
D | Instruction.def | 181 HANDLE_FUNCLETPAD_INST(49, CleanupPad, CleanupPadInst)
|
D | IRBuilder.h | 899 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/ |
D | SelectionDAGBuilder.h | 53 class CleanupPadInst; variable 827 void visitCleanupPad(const CleanupPadInst &CPI);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Coroutines/ |
D | CoroFrame.cpp | 444 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/ |
D | Instruction.def | 177 HANDLE_FUNCLETPAD_INST(49, CleanupPad, CleanupPadInst)
|
/external/llvm/lib/IR/ |
D | Verifier.cpp | 433 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/ |
D | SelectionDAGBuilder.h | 797 void visitCleanupPad(const CleanupPadInst &CPI);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Verifier.cpp | 483 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/ |
D | CGCleanup.cpp | 936 llvm::CleanupPadInst *CPI = nullptr; in PopCleanupBlock()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Verifier/ |
D | invalid-eh.ll | 76 ;T5: ; CHECK5: CleanupPadInst has an invalid parent
|
/external/llvm/test/Verifier/ |
D | invalid-eh.ll | 74 ;T5: ; CHECK5: CleanupPadInst has an invalid parent
|