Home
last modified time | relevance | path

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

/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 …]
DTargetLoweringBase.cpp1671 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/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-subzero/include/llvm/IR/
DInstruction.h457 case Instruction::CleanupPad: in isEHPad()
DInstruction.def177 HANDLE_FUNCLETPAD_INST(49, CleanupPad, CleanupPadInst)
/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/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()
DLLParser.cpp5393 Value *CleanupPad = nullptr; in ParseCleanupRet() local
5398 if (ParseValue(Type::getTokenTy(Context), CleanupPad, PFS)) in ParseCleanupRet()
5415 Inst = CleanupReturnInst::Create(CleanupPad, UnwindBB); in ParseCleanupRet()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp4875 Value *CleanupPad = in parseFunctionBody() local
4877 if (!CleanupPad) in parseFunctionBody()
4886 I = CleanupReturnInst::Create(CleanupPad, UnwindDest); in parseFunctionBody()
/external/llvm/lib/Analysis/
DValueTracking.cpp3190 case Instruction::CleanupPad: in isSafeToSpeculativelyExecute()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp2480 case Instruction::CleanupPad: in writeInstruction()