Home
last modified time | relevance | path

Searched refs:CleanupPad (Results 1 – 25 of 33) 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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DWinEHPrepare.cpp166 static BasicBlock *getCleanupRetUnwindDest(const CleanupPadInst *CleanupPad) { in getCleanupRetUnwindDest() argument
167 for (const User *U : CleanupPad->users()) in getCleanupRetUnwindDest()
194 else if (auto *CleanupPad = dyn_cast<CleanupPadInst>(FuncletPad)) in calculateStateNumbersForInvokes() local
195 FuncletUnwindDest = getCleanupRetUnwindDest(CleanupPad); in calculateStateNumbersForInvokes()
230 auto *CleanupPad = cast<CleanupReturnInst>(TI)->getCleanupPad(); in getEHPadFromPredecessor() local
231 if (CleanupPad->getParentPad() != ParentPad) in getEHPadFromPredecessor()
233 return CleanupPad->getParent(); in getEHPadFromPredecessor()
289 auto *CleanupPad = cast<CleanupPadInst>(FirstNonPHI); in calculateCXXStateNumbers() local
293 if (FuncInfo.EHPadStateMap.count(CleanupPad)) in calculateCXXStateNumbers()
297 FuncInfo.EHPadStateMap[CleanupPad] = CleanupState; in calculateCXXStateNumbers()
[all …]
DTargetLoweringBase.cpp1445 case CleanupPad: return 0; in InstructionOpcodeToISD()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DInlineFunction.cpp292 auto *CleanupPad = cast<CleanupPadInst>(CurrentPad); in getUnwindDestTokenHelper() local
293 for (User *U : CleanupPad->users()) { in getUnwindDestTokenHelper()
298 UnwindDestToken = ConstantTokenNone::get(CleanupPad->getContext()); in getUnwindDestTokenHelper()
325 getParentPad(ChildUnwindDestToken) == CleanupPad) in getUnwindDestTokenHelper()
683 auto *CleanupPad = CRI->getCleanupPad(); in HandleInlinedEHPad() local
684 CleanupReturnInst::Create(CleanupPad, UnwindDest, CRI); in HandleInlinedEHPad()
691 assert(!FuncletUnwindMap.count(CleanupPad) || in HandleInlinedEHPad()
692 isa<ConstantTokenNone>(FuncletUnwindMap[CleanupPad])); in HandleInlinedEHPad()
693 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)
DIRBuilder.h721 CleanupReturnInst *CreateCleanupRet(CleanupPadInst *CleanupPad,
723 return Insert(CleanupReturnInst::Create(CleanupPad, UnwindBB));
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DInstructions.h4367 : FuncletPadInst(Instruction::CleanupPad, ParentPad, Args, Values,
4372 : FuncletPadInst(Instruction::CleanupPad, ParentPad, Args, Values,
4393 return I->getOpcode() == Instruction::CleanupPad;
4540 CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, unsigned Values,
4542 CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, unsigned Values,
4545 void init(Value *CleanupPad, BasicBlock *UnwindBB);
4554 static CleanupReturnInst *Create(Value *CleanupPad,
4557 assert(CleanupPad);
4562 CleanupReturnInst(CleanupPad, UnwindBB, Values, InsertBefore);
4565 static CleanupReturnInst *Create(Value *CleanupPad, BasicBlock *UnwindBB,
[all …]
DInstruction.h556 case Instruction::CleanupPad:
DInstruction.def181 HANDLE_FUNCLETPAD_INST(49, CleanupPad, CleanupPadInst)
DIRBuilder.h899 CleanupReturnInst *CreateCleanupRet(CleanupPadInst *CleanupPad,
901 return Insert(CleanupReturnInst::Create(CleanupPad, UnwindBB));
/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/swiftshader/third_party/llvm-7.0/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-7.0/llvm/lib/Transforms/Coroutines/
DCoroFrame.cpp443 auto *CleanupPad = in splitBeforeCatchSwitch() local
446 CleanupReturnInst::Create(CleanupPad, NewBlock, CurrentBlock); in splitBeforeCatchSwitch()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DInstructions.cpp732 void CleanupReturnInst::init(Value *CleanupPad, BasicBlock *UnwindBB) { in init() argument
736 Op<0>() = CleanupPad; in init()
741 CleanupReturnInst::CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, in CleanupReturnInst() argument
743 : TerminatorInst(Type::getVoidTy(CleanupPad->getContext()), in CleanupReturnInst()
747 init(CleanupPad, UnwindBB); in CleanupReturnInst()
750 CleanupReturnInst::CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, in CleanupReturnInst() argument
752 : TerminatorInst(Type::getVoidTy(CleanupPad->getContext()), in CleanupReturnInst()
756 init(CleanupPad, UnwindBB); in CleanupReturnInst()
DInstruction.cpp365 case CleanupPad: return "cleanuppad"; in getOpcodeName()
/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/lib/AsmParser/
DLLLexer.cpp784 INSTKEYWORD(cleanuppad, CleanupPad); in LexIdentifier()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/AsmParser/
DLLLexer.cpp875 INSTKEYWORD(cleanuppad, CleanupPad); in LexIdentifier()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp3887 Value *CleanupPad = in parseFunctionBody() local
3889 if (!CleanupPad) in parseFunctionBody()
3898 I = CleanupReturnInst::Create(CleanupPad, UnwindDest); in parseFunctionBody()

12