/external/llvm/lib/IR/ |
D | IRBuilder.cpp | 69 BasicBlock *UnwindDest, in createInvokeHelper() argument 74 InvokeInst::Create(Invokee, NormalDest, UnwindDest, Ops, Name); in createInvokeHelper() 326 Value *ActualInvokee, BasicBlock *NormalDest, BasicBlock *UnwindDest, in CreateGCStatepointInvokeCommon() argument 342 return createInvokeHelper(FnStatepoint, NormalDest, UnwindDest, Args, Builder, in CreateGCStatepointInvokeCommon() 348 BasicBlock *NormalDest, BasicBlock *UnwindDest, in CreateGCStatepointInvoke() argument 352 this, ID, NumPatchBytes, ActualInvokee, NormalDest, UnwindDest, in CreateGCStatepointInvoke() 359 BasicBlock *NormalDest, BasicBlock *UnwindDest, uint32_t Flags, in CreateGCStatepointInvoke() argument 363 this, ID, NumPatchBytes, ActualInvokee, NormalDest, UnwindDest, Flags, in CreateGCStatepointInvoke() 369 BasicBlock *NormalDest, BasicBlock *UnwindDest, ArrayRef<Use> InvokeArgs, in CreateGCStatepointInvoke() argument 372 this, ID, NumPatchBytes, ActualInvokee, NormalDest, UnwindDest, in CreateGCStatepointInvoke()
|
D | Instructions.cpp | 869 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, in CatchSwitchInst() argument 875 if (UnwindDest) in CatchSwitchInst() 877 init(ParentPad, UnwindDest, NumReservedValues + 1); in CatchSwitchInst() 881 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, in CatchSwitchInst() argument 886 if (UnwindDest) in CatchSwitchInst() 888 init(ParentPad, UnwindDest, NumReservedValues + 1); in CatchSwitchInst() 903 void CatchSwitchInst::init(Value *ParentPad, BasicBlock *UnwindDest, in init() argument 908 setNumHungOffUseOperands(UnwindDest ? 2 : 1); in init() 912 if (UnwindDest) { in init() 914 setUnwindDest(UnwindDest); in init()
|
D | Verifier.cpp | 3029 BasicBlock *UnwindDest; in visitCleanupPadInst() local 3031 UnwindDest = CRI->getUnwindDest(); in visitCleanupPadInst() 3042 FirstUnwindDest = UnwindDest; in visitCleanupPadInst() 3045 UnwindDest == FirstUnwindDest, in visitCleanupPadInst() 3071 if (BasicBlock *UnwindDest = CatchSwitch.getUnwindDest()) { in visitCatchSwitchInst() local 3072 Instruction *I = UnwindDest->getFirstNonPHI(); in visitCatchSwitchInst() 3092 if (BasicBlock *UnwindDest = CRI.getUnwindDest()) { in visitCleanupReturnInst() local 3093 Instruction *I = UnwindDest->getFirstNonPHI(); in visitCleanupReturnInst()
|
D | AsmWriter.cpp | 2898 if (const BasicBlock *UnwindDest = CatchSwitch->getUnwindDest()) in printInstruction() local 2899 writeOperand(UnwindDest, /*PrintType=*/true); in printInstruction()
|
/external/llvm/lib/Transforms/Utils/ |
D | InlineFunction.cpp | 300 BasicBlock *UnwindDest = II->getUnwindDest(); in HandleInlinedEHPad() local 303 assert(UnwindDest->getFirstNonPHI()->isEHPad() && "unexpected BasicBlock!"); in HandleInlinedEHPad() 310 for (Instruction &I : *UnwindDest) { in HandleInlinedEHPad() 321 BasicBlock::iterator I = UnwindDest->begin(); in HandleInlinedEHPad() 335 CleanupReturnInst::Create(CRI->getCleanupPad(), UnwindDest, CRI); in HandleInlinedEHPad() 349 CatchSwitch->getParentPad(), UnwindDest, in HandleInlinedEHPad() 373 HandleCallsInBlockInlinedThroughInvoke(&*BB, UnwindDest)) in HandleInlinedEHPad() 382 UnwindDest->removePredecessor(InvokeBB); in HandleInlinedEHPad() 1478 BasicBlock *UnwindDest = II->getUnwindDest(); in InlineFunction() local 1479 Instruction *FirstNonPHI = UnwindDest->getFirstNonPHI(); in InlineFunction()
|
D | Local.cpp | 1343 BasicBlock *UnwindDest; in removeUnwindEdge() local 1347 UnwindDest = CRI->getUnwindDest(); in removeUnwindEdge() 1356 UnwindDest = CatchSwitch->getUnwindDest(); in removeUnwindEdge() 1363 UnwindDest->removePredecessor(BB); in removeUnwindEdge()
|
D | SimplifyCFG.cpp | 3290 BasicBlock *UnwindDest = RI->getUnwindDest(); in SimplifyCleanupReturn() local 3291 Instruction *DestEHPad = UnwindDest ? UnwindDest->getFirstNonPHI() : nullptr; in SimplifyCleanupReturn() 3298 if (UnwindDest) { in SimplifyCleanupReturn() 3301 for (BasicBlock::iterator I = UnwindDest->begin(), in SimplifyCleanupReturn() 3362 for (auto *pred : predecessors(UnwindDest)) in SimplifyCleanupReturn() 3372 if (UnwindDest == nullptr) { in SimplifyCleanupReturn() 3376 TI->replaceUsesOfWith(BB, UnwindDest); in SimplifyCleanupReturn()
|
/external/llvm/include/llvm/IR/ |
D | IRBuilder.h | 472 BasicBlock *UnwindDest, ArrayRef<Value *> InvokeArgs, 480 BasicBlock *NormalDest, BasicBlock *UnwindDest, uint32_t Flags, 491 BasicBlock *UnwindDest, ArrayRef<Use> InvokeArgs, 669 BasicBlock *UnwindDest, const Twine &Name = "") { 670 return Insert(InvokeInst::Create(Callee, NormalDest, UnwindDest, None), 674 BasicBlock *UnwindDest, Value *Arg1, 676 return Insert(InvokeInst::Create(Callee, NormalDest, UnwindDest, Arg1), 680 BasicBlock *UnwindDest, Value *Arg1, 684 return Insert(InvokeInst::Create(Callee, NormalDest, UnwindDest, Args), 689 BasicBlock *UnwindDest, ArrayRef<Value *> Args, [all …]
|
D | Instructions.h | 3840 void init(Value *ParentPad, BasicBlock *UnwindDest, unsigned NumReserved); 3848 CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, 3856 CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, 3866 static CatchSwitchInst *Create(Value *ParentPad, BasicBlock *UnwindDest, 3870 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr, 3873 static CatchSwitchInst *Create(Value *ParentPad, BasicBlock *UnwindDest, 3876 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr, 3895 void setUnwindDest(BasicBlock *UnwindDest) { 3896 assert(UnwindDest); 3898 setOperand(1, UnwindDest);
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 4441 BasicBlock *UnwindDest = nullptr; in parseFunctionBody() local 4443 UnwindDest = getBasicBlock(Record[Idx++]); in parseFunctionBody() 4444 if (!UnwindDest) in parseFunctionBody() 4448 I = CleanupReturnInst::Create(CleanupPad, UnwindDest); in parseFunctionBody() 4488 BasicBlock *UnwindDest = nullptr; in parseFunctionBody() local 4490 UnwindDest = getBasicBlock(Record[Idx++]); in parseFunctionBody() 4491 if (!UnwindDest) in parseFunctionBody() 4499 CatchSwitchInst::Create(ParentPad, UnwindDest, NumHandlers); in parseFunctionBody()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 1282 auto UnwindDest = I.getUnwindDest(); in visitCleanupRet() local 1285 (BPI && UnwindDest) in visitCleanupRet() 1286 ? BPI->getEdgeProbability(FuncInfo.MBB->getBasicBlock(), UnwindDest) in visitCleanupRet() 1288 findUnwindDestinations(FuncInfo, UnwindDest, UnwindDestProb, UnwindDests); in visitCleanupRet() 1289 for (auto &UnwindDest : UnwindDests) { in visitCleanupRet() local 1290 UnwindDest.first->setIsEHPad(); in visitCleanupRet() 1291 addSuccessorWithProb(FuncInfo.MBB, UnwindDest.first, UnwindDest.second); in visitCleanupRet() 2146 for (auto &UnwindDest : UnwindDests) { in visitInvoke() local 2147 UnwindDest.first->setIsEHPad(); in visitInvoke() 2148 addSuccessorWithProb(InvokeMBB, UnwindDest.first, UnwindDest.second); in visitInvoke()
|
/external/llvm/lib/Transforms/Scalar/ |
D | RewriteStatepointsForGC.cpp | 2010 BasicBlock *UnwindDest = Invoke->getUnwindDest(); in splitVectorValues() local 2011 assert(!isa<PHINode>(UnwindDest->begin())); in splitVectorValues() 2015 IP = &*(UnwindDest->getFirstInsertionPt()); in splitVectorValues()
|