/external/llvm/include/llvm/Support/ |
D | CallSite.h | 38 class InvokeInst; variable 45 typename InvokeTy = const InvokeInst, 160 : cast<InvokeInst>(II)->METHOD 167 cast<InvokeInst>(II)->METHOD 262 return cast<InvokeInst>(getInstruction())->op_end() - 3; in getCallee() 267 CallInst, InvokeInst, User::op_iterator> { 269 CallInst, InvokeInst, User::op_iterator> Base; 275 CallSite(InvokeInst *II) : Base(II) {} in CallSite() 294 ImmutableCallSite(const InvokeInst *II) : Base(II) {} in ImmutableCallSite()
|
/external/llvm/lib/VMCore/ |
D | Instruction.cpp | 204 if (const InvokeInst *CI = dyn_cast<InvokeInst>(this)) in isIdenticalToWhenDefined() 205 return CI->getCallingConv() == cast<InvokeInst>(I)->getCallingConv() && in isIdenticalToWhenDefined() 206 CI->getAttributes() == cast<InvokeInst>(I)->getAttributes(); in isIdenticalToWhenDefined() 243 if (const InvokeInst *CI = dyn_cast<InvokeInst>(this)) in isSameOperationAs() 244 return CI->getCallingConv() == cast<InvokeInst>(I)->getCallingConv() && in isSameOperationAs() 246 cast<InvokeInst>(I)->getAttributes(); in isSameOperationAs() 287 return !cast<InvokeInst>(this)->doesNotAccessMemory(); in mayReadFromMemory() 304 return !cast<InvokeInst>(this)->onlyReadsMemory(); in mayWriteToMemory()
|
D | Dominators.cpp | 90 if (const InvokeInst *II = dyn_cast<InvokeInst>(A)) in dominates()
|
D | Instructions.cpp | 36 : cast<InvokeInst>(II)->op_end() - 3; // Skip BB, BB, Callee in getCallee() 431 void InvokeInst::init(Value *Fn, BasicBlock *IfNormal, BasicBlock *IfException, in init() 456 InvokeInst::InvokeInst(const InvokeInst &II) in InvokeInst() function in InvokeInst 458 OperandTraits<InvokeInst>::op_end(this) in InvokeInst() 467 BasicBlock *InvokeInst::getSuccessorV(unsigned idx) const { in getSuccessorV() 470 unsigned InvokeInst::getNumSuccessorsV() const { in getNumSuccessorsV() 473 void InvokeInst::setSuccessorV(unsigned idx, BasicBlock *B) { in setSuccessorV() 477 bool InvokeInst::paramHasAttr(unsigned i, Attributes attr) const { in paramHasAttr() 485 void InvokeInst::addAttribute(unsigned i, Attributes attr) { in addAttribute() 491 void InvokeInst::removeAttribute(unsigned i, Attributes attr) { in removeAttribute() [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | DemoteRegToStack.cpp | 94 InvokeInst &II = cast<InvokeInst>(I); in DemoteRegToStack() 130 if (InvokeInst *II = dyn_cast<InvokeInst>(P->getIncomingValue(i))) { in DemotePHIToStack()
|
D | LowerInvoke.cpp | 96 void splitLiveRangesLiveAcrossInvokes(SmallVectorImpl<InvokeInst*>&Invokes); 97 void rewriteExpensiveInvoke(InvokeInst *II, unsigned InvokeNo, 175 if (InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator())) { in insertCheapEHSupport() 216 void LowerInvoke::rewriteExpensiveInvoke(InvokeInst *II, unsigned InvokeNo, in rewriteExpensiveInvoke() 286 splitLiveRangesLiveAcrossInvokes(SmallVectorImpl<InvokeInst*> &Invokes) { in splitLiveRangesLiveAcrossInvokes() 289 InvokeInst *II = Invokes[i]; in splitLiveRangesLiveAcrossInvokes() 367 std::set<InvokeInst*> InvokesWithStoreInserted; in splitLiveRangesLiveAcrossInvokes() 408 SmallVector<InvokeInst*,16> Invokes; in insertExpensiveEHSupport() 415 } else if (InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator())) { in insertExpensiveEHSupport()
|
D | InlineFunction.cpp | 44 bool llvm::InlineFunction(InvokeInst *II, InlineFunctionInfo &IFI) { in InlineFunction() 254 InvokeInliningInfo(InvokeInst *II) : in InvokeInliningInfo() 486 InvokeInst *II = in HandleCallsInBlockInlinedThroughInvoke() 487 InvokeInst::Create(CI->getCalledValue(), Split, in HandleCallsInBlockInlinedThroughInvoke() 516 static void HandleInlinedInvoke(InvokeInst *II, BasicBlock *FirstNewBlock, in HandleInlinedInvoke() 978 if (InlinedFunctionInfo.ContainsUnwinds && isa<InvokeInst>(TheCall)) { in InlineFunction() 1020 if (InvokeInst *II = dyn_cast<InvokeInst>(TheCall)) in InlineFunction() 1035 if (InvokeInst *II = dyn_cast<InvokeInst>(TheCall)) in InlineFunction() 1064 if (InvokeInst *II = dyn_cast<InvokeInst>(TheCall)) { in InlineFunction()
|
D | LCSSA.cpp | 205 if (InvokeInst *Inv = dyn_cast<InvokeInst>(Inst)) in ProcessInstruction()
|
/external/llvm/lib/CodeGen/ |
D | DwarfEHPrepare.cpp | 84 void FindAllURoRInvokes(SmallPtrSet<InvokeInst*, 32> &URoRInvokes); 161 FindAllURoRInvokes(SmallPtrSet<InvokeInst*, 32> &URoRInvokes) { in FindAllURoRInvokes() argument 165 if (InvokeInst *II = dyn_cast<InvokeInst>(*I)) in FindAllURoRInvokes() 216 } else if (InvokeInst *Invoke = dyn_cast<InvokeInst>(II)) { in FindSelectorAndURoR() 258 SmallPtrSet<InvokeInst*, 32> URoRInvokes; in HandleURoRInvokes() 266 for (SmallPtrSet<InvokeInst*, 32>::iterator in HandleURoRInvokes() 369 if (!isa<InvokeInst>(TI)) in NormalizeLandingPads() 390 if (!isa<InvokeInst>(PT) || LPad == PT->getSuccessor(0)) { in NormalizeLandingPads() 415 if (isa<InvokeInst>(PT) && PT->getSuccessor(1) == LPad) in NormalizeLandingPads()
|
D | SjLjEHPrepare.cpp | 72 void markInvokeCallSite(InvokeInst *II, int InvokeNo, Value *CallSite, 74 void splitLiveRangesAcrossInvokes(SmallVector<InvokeInst*,16> &Invokes); 135 void SjLjEHPass::markInvokeCallSite(InvokeInst *II, int InvokeNo, in markInvokeCallSite() 185 splitLiveRangesAcrossInvokes(SmallVector<InvokeInst*,16> &Invokes) { in splitLiveRangesAcrossInvokes() argument 188 InvokeInst *II = Invokes[i]; in splitLiveRangesAcrossInvokes() 305 SmallVector<InvokeInst*,16> Invokes; in insertSjLjEHSupport() 314 } else if (InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator())) { in insertSjLjEHSupport()
|
/external/llvm/tools/llvm-diff/ |
D | DifferenceEngine.cpp | 280 } else if (isa<InvokeInst>(L)) { in diff() 281 InvokeInst *LI = cast<InvokeInst>(L); in diff() 282 InvokeInst *RI = cast<InvokeInst>(R); in diff() 600 if (isa<BranchInst>(LTerm) && isa<InvokeInst>(RTerm)) { in runBlockDiff() 607 InvokeInst *RInvoke = cast<InvokeInst>(RTerm); in runBlockDiff() 613 } else if (isa<InvokeInst>(LTerm) && isa<BranchInst>(RTerm)) { in runBlockDiff() 620 InvokeInst *LInvoke = cast<InvokeInst>(LTerm); in runBlockDiff()
|
D | DiffConsumer.cpp | 59 } else if (isa<InvokeInst>(V)) { in printValue() 61 printValue(cast<InvokeInst>(V)->getCalledValue(), isL); in printValue()
|
/external/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 245 if (InvokeInst *II = dyn_cast<InvokeInst>(Call)) { in DeleteDeadVarargs() 246 New = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(), in DeleteDeadVarargs() 248 cast<InvokeInst>(New)->setCallingConv(CS.getCallingConv()); in DeleteDeadVarargs() 249 cast<InvokeInst>(New)->setAttributes(PAL); in DeleteDeadVarargs() 823 if (InvokeInst *II = dyn_cast<InvokeInst>(Call)) { in RemoveDeadStuffFromFunction() 824 New = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(), in RemoveDeadStuffFromFunction() 826 cast<InvokeInst>(New)->setCallingConv(CS.getCallingConv()); in RemoveDeadStuffFromFunction() 827 cast<InvokeInst>(New)->setAttributes(NewCallPAL); in RemoveDeadStuffFromFunction() 854 if (InvokeInst *II = dyn_cast<InvokeInst>(Call)) { in RemoveDeadStuffFromFunction()
|
D | PruneEH.cpp | 174 if (InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator())) in SimplifyFunction() 243 } else if (InvokeInst *II = dyn_cast<InvokeInst>(I)) in DeleteBasicBlock()
|
D | PartialInlining.cpp | 136 else if (InvokeInst *II = dyn_cast<InvokeInst>(*UI)) in unswitchFunction()
|
D | LowerSetJmp.cpp | 117 void visitInvokeInst(InvokeInst& II); 483 InvokeInst* II = in visitCallInst() 484 InvokeInst::Create(CI.getCalledValue(), NewBB, PrelimBBMap[Func], in visitCallInst() 502 void LowerSetJmp::visitInvokeInst(InvokeInst& II) in visitInvokeInst()
|
D | ArgumentPromotion.cpp | 734 if (InvokeInst *II = dyn_cast<InvokeInst>(Call)) { in DoPromotion() 735 New = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(), in DoPromotion() 737 cast<InvokeInst>(New)->setCallingConv(CS.getCallingConv()); in DoPromotion() 738 cast<InvokeInst>(New)->setAttributes(AttrListPtr::get(AttributesVec.begin(), in DoPromotion()
|
D | MergeFunctions.cpp | 317 if (const InvokeInst *CI = dyn_cast<InvokeInst>(I1)) in isEquivalentOperation() 318 return CI->getCallingConv() == cast<InvokeInst>(I2)->getCallingConv() && in isEquivalentOperation() 319 CI->getAttributes() == cast<InvokeInst>(I2)->getAttributes(); in isEquivalentOperation()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 748 Instruction *InstCombiner::visitInvokeInst(InvokeInst &II) { in visitInvokeInst() 854 cast<InvokeInst>(OldCall)->setCalledFunction( in visitCallSite() 873 if (InvokeInst *II = dyn_cast<InvokeInst>(CS.getInstruction())) { in visitCallSite() 889 int ix = FTy->getNumParams() + (isa<InvokeInst>(Callee) ? 3 : 1); in visitCallSite() 970 if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) in transformConstExprCastCall() 1118 if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) { in transformConstExprCastCall() 1122 cast<InvokeInst>(NC)->setCallingConv(II->getCallingConv()); in transformConstExprCastCall() 1123 cast<InvokeInst>(NC)->setAttributes(NewCallerPAL); in transformConstExprCastCall() 1145 if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) { in transformConstExprCastCall() 1288 if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) { in transformCallThroughTrampoline() [all …]
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | Cloning.h | 37 class InvokeInst; variable 208 bool InlineFunction(InvokeInst *II, InlineFunctionInfo &IFI);
|
/external/llvm/lib/Analysis/ |
D | InlineCost.cpp | 63 if (isa<CallInst>(II) || isa<InvokeInst>(II)) { in analyzeBasicBlock() 324 } else if (InvokeInst *II = dyn_cast<InvokeInst>(U)) { in CountBonusForConstant() 436 if (InvokeInst *II = dyn_cast<InvokeInst>(TheCall)) { in getInlineBonuses()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SimplifyCFGPass.cpp | 91 static void ChangeToCall(InvokeInst *II) { in ChangeToCall() 160 if (InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator())) in MarkAliveBlocks()
|
D | TailDuplication.cpp | 131 if (isa<CallInst>(I) || isa<InvokeInst>(I)) return false; in shouldEliminateUnconditionalBranch() 270 (isa<InvokeInst>(OpI) && OpI->getParent() == DomBlock)) { in eliminateUnconditionalBranch()
|
/external/llvm/include/llvm/ |
D | Instructions.h | 2232 class InvokeInst : public TerminatorInst { 2234 InvokeInst(const InvokeInst &BI); 2241 inline InvokeInst(Value *Func, BasicBlock *IfNormal, BasicBlock *IfException, 2248 inline InvokeInst(Value *Func, BasicBlock *IfNormal, BasicBlock *IfException, 2252 virtual InvokeInst *clone_impl() const; 2254 static InvokeInst *Create(Value *Func, 2259 return new(Values) InvokeInst(Func, IfNormal, IfException, Args, 2262 static InvokeInst *Create(Value *Func, 2267 return new(Values) InvokeInst(Func, IfNormal, IfException, Args, 2409 static inline bool classof(const InvokeInst *) { return true; } [all …]
|
/external/llvm/include/llvm/Analysis/ |
D | AliasAnalysis.h | 345 case Instruction::Invoke: return getModRefInfo((const InvokeInst*)I,Loc); in getModRefInfo() 380 ModRefResult getModRefInfo(const InvokeInst *I, in getModRefInfo() 386 ModRefResult getModRefInfo(const InvokeInst *I, in getModRefInfo()
|