Home
last modified time | relevance | path

Searched refs:CleanupPad (Results 1 – 25 of 50) sorted by relevance

12

/external/llvm/lib/CodeGen/
DWinEHPrepare.cpp157 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/
DWinEHPrepare.cpp168 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/
DWinEHPrepare.cpp167 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/
DInlineFunction.cpp253 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/
DInlineFunction.cpp295 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/
DInlineFunction.cpp288 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/
DInstructions.h4123 : 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 …]
DInstruction.h415 case Instruction::CleanupPad:
DInstruction.def177 HANDLE_FUNCLETPAD_INST(49, CleanupPad, CleanupPadInst)
/external/llvm-project/llvm/lib/Transforms/Coroutines/
DCoroFrame.cpp1048 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/
DInstructions.h4394 : 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 …]
DInstruction.def200 HANDLE_FUNCLETPAD_INST(51, CleanupPad, CleanupPadInst)
DInstruction.h641 case Instruction::CleanupPad:
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DInstructions.h4400 : 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 …]
DInstruction.h597 case Instruction::CleanupPad:
DInstruction.def200 HANDLE_FUNCLETPAD_INST(51, CleanupPad, CleanupPadInst)
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DInstruction.h457 case Instruction::CleanupPad: in isEHPad()
DInstruction.def177 HANDLE_FUNCLETPAD_INST(49, CleanupPad, CleanupPadInst)
/external/llvm-project/llvm/test/Verifier/
Dinvalid-eh.ll51 ;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/
Dinvalid-eh.ll49 ;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/
DInstructions.cpp930 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/
DInstructions.cpp901 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()
DInstruction.cpp332 case CleanupPad: return "cleanuppad"; in getOpcodeName()
/external/llvm-project/llvm/lib/IR/
DInstructions.cpp1010 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/
DCoroFrame.cpp557 auto *CleanupPad = in splitBeforeCatchSwitch() local
560 CleanupReturnInst::Create(CleanupPad, NewBlock, CurrentBlock); in splitBeforeCatchSwitch()

12