/external/llvm/lib/CodeGen/ |
D | WinEHPrepare.cpp | 157 static BasicBlock *getCleanupRetUnwindDest(const CleanupPadInst *CleanupPad) { in getCleanupRetUnwindDest() argument 158 for (const User *U : CleanupPad->users()) in getCleanupRetUnwindDest() 185 else if (auto *CleanupPad = dyn_cast<CleanupPadInst>(FuncletPad)) in calculateStateNumbersForInvokes() local 186 FuncletUnwindDest = getCleanupRetUnwindDest(CleanupPad); in calculateStateNumbersForInvokes() 221 auto *CleanupPad = cast<CleanupReturnInst>(TI)->getCleanupPad(); in getEHPadFromPredecessor() local 222 if (CleanupPad->getParentPad() != ParentPad) in getEHPadFromPredecessor() 224 return CleanupPad->getParent(); in getEHPadFromPredecessor() 279 auto *CleanupPad = cast<CleanupPadInst>(FirstNonPHI); in calculateCXXStateNumbers() local 283 if (FuncInfo.EHPadStateMap.count(CleanupPad)) in calculateCXXStateNumbers() 287 FuncInfo.EHPadStateMap[CleanupPad] = CleanupState; in calculateCXXStateNumbers() [all …]
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | WinEHPrepare.cpp | 168 static BasicBlock *getCleanupRetUnwindDest(const CleanupPadInst *CleanupPad) { in getCleanupRetUnwindDest() argument 169 for (const User *U : CleanupPad->users()) in getCleanupRetUnwindDest() 196 else if (auto *CleanupPad = dyn_cast<CleanupPadInst>(FuncletPad)) in calculateStateNumbersForInvokes() local 197 FuncletUnwindDest = getCleanupRetUnwindDest(CleanupPad); in calculateStateNumbersForInvokes() 232 auto *CleanupPad = cast<CleanupReturnInst>(TI)->getCleanupPad(); in getEHPadFromPredecessor() local 233 if (CleanupPad->getParentPad() != ParentPad) in getEHPadFromPredecessor() 235 return CleanupPad->getParent(); in getEHPadFromPredecessor() 309 auto *CleanupPad = cast<CleanupPadInst>(FirstNonPHI); in calculateCXXStateNumbers() local 313 if (FuncInfo.EHPadStateMap.count(CleanupPad)) in calculateCXXStateNumbers() 317 FuncInfo.EHPadStateMap[CleanupPad] = CleanupState; in calculateCXXStateNumbers() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | WinEHPrepare.cpp | 167 static BasicBlock *getCleanupRetUnwindDest(const CleanupPadInst *CleanupPad) { in getCleanupRetUnwindDest() argument 168 for (const User *U : CleanupPad->users()) in getCleanupRetUnwindDest() 195 else if (auto *CleanupPad = dyn_cast<CleanupPadInst>(FuncletPad)) in calculateStateNumbersForInvokes() local 196 FuncletUnwindDest = getCleanupRetUnwindDest(CleanupPad); in calculateStateNumbersForInvokes() 231 auto *CleanupPad = cast<CleanupReturnInst>(TI)->getCleanupPad(); in getEHPadFromPredecessor() local 232 if (CleanupPad->getParentPad() != ParentPad) in getEHPadFromPredecessor() 234 return CleanupPad->getParent(); in getEHPadFromPredecessor() 290 auto *CleanupPad = cast<CleanupPadInst>(FirstNonPHI); in calculateCXXStateNumbers() local 294 if (FuncInfo.EHPadStateMap.count(CleanupPad)) in calculateCXXStateNumbers() 298 FuncInfo.EHPadStateMap[CleanupPad] = CleanupState; in calculateCXXStateNumbers() [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | InlineFunction.cpp | 253 auto *CleanupPad = cast<CleanupPadInst>(CurrentPad); in getUnwindDestTokenHelper() local 254 for (User *U : CleanupPad->users()) { in getUnwindDestTokenHelper() 259 UnwindDestToken = ConstantTokenNone::get(CleanupPad->getContext()); in getUnwindDestTokenHelper() 286 getParentPad(ChildUnwindDestToken) == CleanupPad) in getUnwindDestTokenHelper() 603 auto *CleanupPad = CRI->getCleanupPad(); in HandleInlinedEHPad() local 604 CleanupReturnInst::Create(CleanupPad, UnwindDest, CRI); in HandleInlinedEHPad() 611 assert(!FuncletUnwindMap.count(CleanupPad) || in HandleInlinedEHPad() 612 isa<ConstantTokenNone>(FuncletUnwindMap[CleanupPad])); in HandleInlinedEHPad() 613 FuncletUnwindMap[CleanupPad] = in HandleInlinedEHPad()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | InlineFunction.cpp | 295 auto *CleanupPad = cast<CleanupPadInst>(CurrentPad); in getUnwindDestTokenHelper() local 296 for (User *U : CleanupPad->users()) { in getUnwindDestTokenHelper() 301 UnwindDestToken = ConstantTokenNone::get(CleanupPad->getContext()); in getUnwindDestTokenHelper() 328 getParentPad(ChildUnwindDestToken) == CleanupPad) in getUnwindDestTokenHelper() 686 auto *CleanupPad = CRI->getCleanupPad(); in HandleInlinedEHPad() local 687 CleanupReturnInst::Create(CleanupPad, UnwindDest, CRI); in HandleInlinedEHPad() 694 assert(!FuncletUnwindMap.count(CleanupPad) || in HandleInlinedEHPad() 695 isa<ConstantTokenNone>(FuncletUnwindMap[CleanupPad])); in HandleInlinedEHPad() 696 FuncletUnwindMap[CleanupPad] = in HandleInlinedEHPad()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | InlineFunction.cpp | 288 auto *CleanupPad = cast<CleanupPadInst>(CurrentPad); in getUnwindDestTokenHelper() local 289 for (User *U : CleanupPad->users()) { in getUnwindDestTokenHelper() 294 UnwindDestToken = ConstantTokenNone::get(CleanupPad->getContext()); in getUnwindDestTokenHelper() 321 getParentPad(ChildUnwindDestToken) == CleanupPad) in getUnwindDestTokenHelper() 679 auto *CleanupPad = CRI->getCleanupPad(); in HandleInlinedEHPad() local 680 CleanupReturnInst::Create(CleanupPad, UnwindDest, CRI); in HandleInlinedEHPad() 687 assert(!FuncletUnwindMap.count(CleanupPad) || in HandleInlinedEHPad() 688 isa<ConstantTokenNone>(FuncletUnwindMap[CleanupPad])); in HandleInlinedEHPad() 689 FuncletUnwindMap[CleanupPad] = in HandleInlinedEHPad()
|
/external/llvm/include/llvm/IR/ |
D | Instructions.h | 4123 : FuncletPadInst(Instruction::CleanupPad, ParentPad, Args, Values, 4128 : FuncletPadInst(Instruction::CleanupPad, ParentPad, Args, Values, 4148 return I->getOpcode() == Instruction::CleanupPad; 4285 void init(Value *CleanupPad, BasicBlock *UnwindBB); 4286 CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, unsigned Values, 4288 CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, unsigned Values, 4297 static CleanupReturnInst *Create(Value *CleanupPad, 4300 assert(CleanupPad); 4305 CleanupReturnInst(CleanupPad, UnwindBB, Values, InsertBefore); 4307 static CleanupReturnInst *Create(Value *CleanupPad, BasicBlock *UnwindBB, [all …]
|
D | Instruction.h | 415 case Instruction::CleanupPad:
|
D | Instruction.def | 177 HANDLE_FUNCLETPAD_INST(49, CleanupPad, CleanupPadInst)
|
/external/llvm-project/llvm/lib/Transforms/Coroutines/ |
D | CoroFrame.cpp | 1048 auto *CleanupPad = in splitBeforeCatchSwitch() local 1051 CleanupReturnInst::Create(CleanupPad, NewBlock, CurrentBlock); in splitBeforeCatchSwitch() 1424 CleanupPadInst *CleanupPad) { in rewritePHIsForCleanupPad() argument 1467 CleanupPad->removeFromParent(); in rewritePHIsForCleanupPad() 1468 CleanupPad->insertAfter(SetDispatchValuePN); in rewritePHIsForCleanupPad() 1523 if (auto *CleanupPad = in rewritePHIs() local 1532 rewritePHIsForCleanupPad(&BB, CleanupPad); in rewritePHIs()
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | Instructions.h | 4394 : FuncletPadInst(Instruction::CleanupPad, ParentPad, Args, Values, 4399 : FuncletPadInst(Instruction::CleanupPad, ParentPad, Args, Values, 4420 return I->getOpcode() == Instruction::CleanupPad; 4567 CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, unsigned Values, 4569 CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, unsigned Values, 4572 void init(Value *CleanupPad, BasicBlock *UnwindBB); 4581 static CleanupReturnInst *Create(Value *CleanupPad, 4584 assert(CleanupPad); 4589 CleanupReturnInst(CleanupPad, UnwindBB, Values, InsertBefore); 4592 static CleanupReturnInst *Create(Value *CleanupPad, BasicBlock *UnwindBB, [all …]
|
D | Instruction.def | 200 HANDLE_FUNCLETPAD_INST(51, CleanupPad, CleanupPadInst)
|
D | Instruction.h | 641 case Instruction::CleanupPad:
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Instructions.h | 4400 : FuncletPadInst(Instruction::CleanupPad, ParentPad, Args, Values, 4405 : FuncletPadInst(Instruction::CleanupPad, ParentPad, Args, Values, 4426 return I->getOpcode() == Instruction::CleanupPad; 4571 CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, unsigned Values, 4573 CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, unsigned Values, 4576 void init(Value *CleanupPad, BasicBlock *UnwindBB); 4585 static CleanupReturnInst *Create(Value *CleanupPad, 4588 assert(CleanupPad); 4593 CleanupReturnInst(CleanupPad, UnwindBB, Values, InsertBefore); 4596 static CleanupReturnInst *Create(Value *CleanupPad, BasicBlock *UnwindBB, [all …]
|
D | Instruction.h | 597 case Instruction::CleanupPad:
|
D | Instruction.def | 200 HANDLE_FUNCLETPAD_INST(51, CleanupPad, CleanupPadInst)
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Instruction.h | 457 case Instruction::CleanupPad: in isEHPad()
|
D | Instruction.def | 177 HANDLE_FUNCLETPAD_INST(49, CleanupPad, CleanupPadInst)
|
/external/llvm-project/llvm/test/Verifier/ |
D | invalid-eh.ll | 51 ;T3: ; CHECK3: CleanupReturnInst needs to be provided a CleanupPad 63 ;T4: ; CHECK4: CleanupReturnInst needs to be provided a CleanupPad 455 ;T26: ; CHECK26: CleanupReturnInst needs to be provided a CleanupPad
|
/external/llvm/test/Verifier/ |
D | invalid-eh.ll | 49 ;T3: ; CHECK3: CleanupReturnInst needs to be provided a CleanupPad 61 ;T4: ; CHECK4: CleanupReturnInst needs to be provided a CleanupPad 453 ;T26: ; CHECK26: CleanupReturnInst needs to be provided a CleanupPad
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Instructions.cpp | 930 void CleanupReturnInst::init(Value *CleanupPad, BasicBlock *UnwindBB) { in init() argument 934 Op<0>() = CleanupPad; in init() 939 CleanupReturnInst::CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, in CleanupReturnInst() argument 941 : Instruction(Type::getVoidTy(CleanupPad->getContext()), in CleanupReturnInst() 945 init(CleanupPad, UnwindBB); in CleanupReturnInst() 948 CleanupReturnInst::CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, in CleanupReturnInst() argument 950 : Instruction(Type::getVoidTy(CleanupPad->getContext()), in CleanupReturnInst() 954 init(CleanupPad, UnwindBB); in CleanupReturnInst()
|
/external/llvm/lib/IR/ |
D | Instructions.cpp | 901 void CleanupReturnInst::init(Value *CleanupPad, BasicBlock *UnwindBB) { in init() argument 905 Op<0>() = CleanupPad; in init() 910 CleanupReturnInst::CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, in CleanupReturnInst() argument 912 : TerminatorInst(Type::getVoidTy(CleanupPad->getContext()), in CleanupReturnInst() 916 init(CleanupPad, UnwindBB); in CleanupReturnInst() 919 CleanupReturnInst::CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, in CleanupReturnInst() argument 921 : TerminatorInst(Type::getVoidTy(CleanupPad->getContext()), in CleanupReturnInst() 925 init(CleanupPad, UnwindBB); in CleanupReturnInst()
|
D | Instruction.cpp | 332 case CleanupPad: return "cleanuppad"; in getOpcodeName()
|
/external/llvm-project/llvm/lib/IR/ |
D | Instructions.cpp | 1010 void CleanupReturnInst::init(Value *CleanupPad, BasicBlock *UnwindBB) { in init() argument 1014 Op<0>() = CleanupPad; in init() 1019 CleanupReturnInst::CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, in CleanupReturnInst() argument 1021 : Instruction(Type::getVoidTy(CleanupPad->getContext()), in CleanupReturnInst() 1025 init(CleanupPad, UnwindBB); in CleanupReturnInst() 1028 CleanupReturnInst::CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, in CleanupReturnInst() argument 1030 : Instruction(Type::getVoidTy(CleanupPad->getContext()), in CleanupReturnInst() 1034 init(CleanupPad, UnwindBB); in CleanupReturnInst()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/ |
D | CoroFrame.cpp | 557 auto *CleanupPad = in splitBeforeCatchSwitch() local 560 CleanupReturnInst::Create(CleanupPad, NewBlock, CurrentBlock); in splitBeforeCatchSwitch()
|