/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | WinEHPrepare.cpp | 166 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 …]
|
D | TargetLoweringBase.cpp | 1445 case CleanupPad: return 0; in InstructionOpcodeToISD()
|
/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/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | InlineFunction.cpp | 292 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/ |
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)
|
D | IRBuilder.h | 721 CleanupReturnInst *CreateCleanupRet(CleanupPadInst *CleanupPad, 723 return Insert(CleanupReturnInst::Create(CleanupPad, UnwindBB));
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | Instructions.h | 4367 : 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 …]
|
D | Instruction.h | 556 case Instruction::CleanupPad:
|
D | Instruction.def | 181 HANDLE_FUNCLETPAD_INST(49, CleanupPad, CleanupPadInst)
|
D | IRBuilder.h | 899 CleanupReturnInst *CreateCleanupRet(CleanupPadInst *CleanupPad, 901 return Insert(CleanupReturnInst::Create(CleanupPad, UnwindBB));
|
/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/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-7.0/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Coroutines/ |
D | CoroFrame.cpp | 443 auto *CleanupPad = in splitBeforeCatchSwitch() local 446 CleanupReturnInst::Create(CleanupPad, NewBlock, CurrentBlock); in splitBeforeCatchSwitch()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Instructions.cpp | 732 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()
|
D | Instruction.cpp | 365 case CleanupPad: return "cleanuppad"; in getOpcodeName()
|
/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/lib/AsmParser/ |
D | LLLexer.cpp | 784 INSTKEYWORD(cleanuppad, CleanupPad); in LexIdentifier()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/AsmParser/ |
D | LLLexer.cpp | 875 INSTKEYWORD(cleanuppad, CleanupPad); in LexIdentifier()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 3887 Value *CleanupPad = in parseFunctionBody() local 3889 if (!CleanupPad) in parseFunctionBody() 3898 I = CleanupReturnInst::Create(CleanupPad, UnwindDest); in parseFunctionBody()
|