Home
last modified time | relevance | path

Searched refs:InvokeInst (Results 1 – 25 of 81) sorted by relevance

1234

/external/llvm/include/llvm/Support/
DCallSite.h37 class InvokeInst; variable
44 typename InvokeTy = const InvokeInst,
159 : cast<InvokeInst>(II)->METHOD
166 cast<InvokeInst>(II)->METHOD
291 return cast<InvokeInst>(getInstruction())->op_end() - 3; in getCallee()
296 CallInst, InvokeInst, User::op_iterator> {
298 CallInst, InvokeInst, User::op_iterator> Base;
304 CallSite(InvokeInst *II) : Base(II) {} in CallSite()
323 ImmutableCallSite(const InvokeInst *II) : Base(II) {} in ImmutableCallSite()
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp38 bool llvm::InlineFunction(InvokeInst *II, InlineFunctionInfo &IFI, in InlineFunction()
53 InvokeInliningInfo(InvokeInst *II) in InvokeInliningInfo()
209 InvokeInst *II = InvokeInst::Create(CI->getCalledValue(), Split, in HandleCallsInBlockInlinedThroughInvoke()
237 static void HandleInlinedInvoke(InvokeInst *II, BasicBlock *FirstNewBlock, in HandleInlinedInvoke()
251 if (InvokeInst *II = dyn_cast<InvokeInst>(I->getTerminator())) in HandleInlinedInvoke()
540 if (const InvokeInst *II = dyn_cast<InvokeInst>(I->getTerminator())) { in InlineFunction()
553 if (const InvokeInst *II = dyn_cast<InvokeInst>(I->getTerminator())) { in InlineFunction()
746 if (InvokeInst *II = dyn_cast<InvokeInst>(TheCall)) in InlineFunction()
761 if (InvokeInst *II = dyn_cast<InvokeInst>(TheCall)) { in InlineFunction()
793 if (InvokeInst *II = dyn_cast<InvokeInst>(TheCall)) { in InlineFunction()
DDemoteRegToStack.cpp83 InvokeInst &II = cast<InvokeInst>(I); in DemoteRegToStack()
129 if (InvokeInst *II = dyn_cast<InvokeInst>(P->getIncomingValue(i))) { in DemotePHIToStack()
DLowerInvoke.cpp94 void splitLiveRangesLiveAcrossInvokes(SmallVectorImpl<InvokeInst*>&Invokes);
95 void rewriteExpensiveInvoke(InvokeInst *II, unsigned InvokeNo,
171 if (InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator())) { in insertCheapEHSupport()
198 void LowerInvoke::rewriteExpensiveInvoke(InvokeInst *II, unsigned InvokeNo, in rewriteExpensiveInvoke()
268 splitLiveRangesLiveAcrossInvokes(SmallVectorImpl<InvokeInst*> &Invokes) { in splitLiveRangesLiveAcrossInvokes()
271 InvokeInst *II = Invokes[i]; in splitLiveRangesLiveAcrossInvokes()
349 std::set<InvokeInst*> InvokesWithStoreInserted; in splitLiveRangesLiveAcrossInvokes()
389 SmallVector<InvokeInst*,16> Invokes; in insertExpensiveEHSupport()
397 } else if (InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator())) { in insertExpensiveEHSupport()
DLCSSA.cpp215 if (InvokeInst *Inv = dyn_cast<InvokeInst>(Inst)) in ProcessInstruction()
/external/llvm/lib/Analysis/
DCodeMetrics.cpp32 if (isa<CallInst>(II) || isa<InvokeInst>(II)) { in analyzeBasicBlock()
71 if (const InvokeInst *InvI = dyn_cast<InvokeInst>(II)) in analyzeBasicBlock()
/external/llvm/lib/IR/
DDominators.cpp120 if (isa<InvokeInst>(Def) || isa<PHINode>(User)) in dominates()
151 const InvokeInst *II = dyn_cast<InvokeInst>(Def); in dominates()
264 if (const InvokeInst *II = dyn_cast<InvokeInst>(Def)) { in dominates()
DInstruction.cpp300 if (const InvokeInst *CI = dyn_cast<InvokeInst>(this)) in isIdenticalToWhenDefined()
301 return CI->getCallingConv() == cast<InvokeInst>(I)->getCallingConv() && in isIdenticalToWhenDefined()
302 CI->getAttributes() == cast<InvokeInst>(I)->getAttributes(); in isIdenticalToWhenDefined()
373 if (const InvokeInst *CI = dyn_cast<InvokeInst>(this)) in isSameOperationAs()
374 return CI->getCallingConv() == cast<InvokeInst>(I)->getCallingConv() && in isSameOperationAs()
376 cast<InvokeInst>(I)->getAttributes(); in isSameOperationAs()
432 return !cast<InvokeInst>(this)->doesNotAccessMemory(); in mayReadFromMemory()
452 return !cast<InvokeInst>(this)->onlyReadsMemory(); in mayWriteToMemory()
DInstructions.cpp37 : cast<InvokeInst>(II)->op_end() - 3; // Skip BB, BB, Callee in getCallee()
531 void InvokeInst::init(Value *Fn, BasicBlock *IfNormal, BasicBlock *IfException, in init()
556 InvokeInst::InvokeInst(const InvokeInst &II) in InvokeInst() function in InvokeInst
558 OperandTraits<InvokeInst>::op_end(this) in InvokeInst()
567 BasicBlock *InvokeInst::getSuccessorV(unsigned idx) const { in getSuccessorV()
570 unsigned InvokeInst::getNumSuccessorsV() const { in getNumSuccessorsV()
573 void InvokeInst::setSuccessorV(unsigned idx, BasicBlock *B) { in setSuccessorV()
577 bool InvokeInst::hasFnAttrImpl(Attribute::AttrKind A) const { in hasFnAttrImpl()
585 bool InvokeInst::paramHasAttr(unsigned i, Attribute::AttrKind A) const { in paramHasAttr()
593 void InvokeInst::addAttribute(unsigned i, Attribute::AttrKind attr) { in addAttribute()
[all …]
/external/llvm/lib/Transforms/IPO/
DLoopExtractor.cpp220 InvokeInst *II = dyn_cast<InvokeInst>(I); in SplitLandingPadPreds()
232 isa<InvokeInst>(Parent->getTerminator())) { in SplitLandingPadPreds()
297 if (const InvokeInst *II = in runOnModule()
298 dyn_cast<InvokeInst>(BlocksToExtract[i]->getTerminator())) in runOnModule()
DPruneEH.cpp176 if (InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator())) in SimplifyFunction()
245 } else if (InvokeInst *II = dyn_cast<InvokeInst>(I)) in DeleteBasicBlock()
DDeadArgumentElimination.cpp290 if (InvokeInst *II = dyn_cast<InvokeInst>(Call)) { in DeleteDeadVarargs()
291 New = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(), in DeleteDeadVarargs()
293 cast<InvokeInst>(New)->setCallingConv(CS.getCallingConv()); in DeleteDeadVarargs()
294 cast<InvokeInst>(New)->setAttributes(PAL); in DeleteDeadVarargs()
943 if (InvokeInst *II = dyn_cast<InvokeInst>(Call)) { in RemoveDeadStuffFromFunction()
944 New = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(), in RemoveDeadStuffFromFunction()
946 cast<InvokeInst>(New)->setCallingConv(CS.getCallingConv()); in RemoveDeadStuffFromFunction()
947 cast<InvokeInst>(New)->setAttributes(NewCallPAL); in RemoveDeadStuffFromFunction()
974 if (InvokeInst *II = dyn_cast<InvokeInst>(Call)) { in RemoveDeadStuffFromFunction()
DPartialInlining.cpp137 else if (InvokeInst *II = dyn_cast<InvokeInst>(*UI)) in unswitchFunction()
DArgumentPromotion.cpp727 if (InvokeInst *II = dyn_cast<InvokeInst>(Call)) { in DoPromotion()
728 New = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(), in DoPromotion()
730 cast<InvokeInst>(New)->setCallingConv(CS.getCallingConv()); in DoPromotion()
731 cast<InvokeInst>(New)->setAttributes(AttributeSet::get(II->getContext(), in DoPromotion()
DMergeFunctions.cpp329 if (const InvokeInst *CI = dyn_cast<InvokeInst>(I1)) in isEquivalentOperation()
330 return CI->getCallingConv() == cast<InvokeInst>(I2)->getCallingConv() && in isEquivalentOperation()
331 CI->getAttributes() == cast<InvokeInst>(I2)->getAttributes(); in isEquivalentOperation()
/external/llvm/tools/llvm-diff/
DDifferenceEngine.cpp278 } else if (isa<InvokeInst>(L)) { in diff()
279 InvokeInst *LI = cast<InvokeInst>(L); in diff()
280 InvokeInst *RI = cast<InvokeInst>(R); in diff()
602 if (isa<BranchInst>(LTerm) && isa<InvokeInst>(RTerm)) { in runBlockDiff()
609 InvokeInst *RInvoke = cast<InvokeInst>(RTerm); in runBlockDiff()
615 } else if (isa<InvokeInst>(LTerm) && isa<BranchInst>(RTerm)) { in runBlockDiff()
622 InvokeInst *LInvoke = cast<InvokeInst>(LTerm); in runBlockDiff()
DDiffConsumer.cpp60 } else if (isa<InvokeInst>(V)) { in printValue()
62 printValue(cast<InvokeInst>(V)->getCalledValue(), isL); in printValue()
/external/llvm/include/llvm/Transforms/Utils/
DCloning.h37 class InvokeInst; variable
195 bool InlineFunction(InvokeInst *II, InlineFunctionInfo &IFI, bool InsertLifetime = true);
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp757 Instruction *InstCombiner::visitInvokeInst(InvokeInst &II) { in visitInvokeInst()
913 cast<InvokeInst>(OldCall)->setCalledFunction( in visitCallSite()
925 if (isa<InvokeInst>(CS.getInstruction())) { in visitCallSite()
1031 if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) in transformConstExprCastCall()
1202 if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) { in transformConstExprCastCall()
1206 cast<InvokeInst>(NC)->setCallingConv(II->getCallingConv()); in transformConstExprCastCall()
1207 cast<InvokeInst>(NC)->setAttributes(NewCallerPAL); in transformConstExprCastCall()
1227 if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) { in transformConstExprCastCall()
1379 if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) { in transformCallThroughTrampoline()
1380 NewCaller = InvokeInst::Create(NewCallee, in transformCallThroughTrampoline()
[all …]
/external/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp77 void lowerAcrossUnwindEdges(Function &F, ArrayRef<InvokeInst*> Invokes);
287 ArrayRef<InvokeInst*> Invokes) { in lowerAcrossUnwindEdges()
386 SmallVector<InvokeInst*, 16> Invokes; in setupEntryBlockAndCallSites()
391 if (InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator())) { in setupEntryBlockAndCallSites()
/external/llvm/lib/Transforms/Scalar/
DSimplifyCFGPass.cpp98 static void changeToCall(InvokeInst *II) { in changeToCall()
164 if (InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator())) { in markAliveBlocks()
DGlobalMerge.cpp218 const InvokeInst *II = dyn_cast<InvokeInst>(IBB->getTerminator()); in setMustKeepGlobalVariables()
/external/llvm/lib/Transforms/ObjCARC/
DObjCARC.h212 return isa<InvokeInst>(V) ? IC_CallOrUser : IC_User; in GetBasicInstructionClass()
366 if (isa<CallInst>(V) || isa<InvokeInst>(V) || in IsObjCIdentifiedObject()
/external/llvm/include/llvm/IR/
DInstructions.h2963 class InvokeInst : public TerminatorInst {
2965 InvokeInst(const InvokeInst &BI);
2972 inline InvokeInst(Value *Func, BasicBlock *IfNormal, BasicBlock *IfException,
2979 inline InvokeInst(Value *Func, BasicBlock *IfNormal, BasicBlock *IfException,
2983 virtual InvokeInst *clone_impl() const;
2985 static InvokeInst *Create(Value *Func,
2990 return new(Values) InvokeInst(Func, IfNormal, IfException, Args,
2993 static InvokeInst *Create(Value *Func,
2998 return new(Values) InvokeInst(Func, IfNormal, IfException, Args,
3177 struct OperandTraits<InvokeInst> : public VariadicOperandTraits<InvokeInst, 3> {
[all …]
/external/llvm/include/llvm/Analysis/
DAliasAnalysis.h365 case Instruction::Invoke: return getModRefInfo((const InvokeInst*)I,Loc); in getModRefInfo()
400 ModRefResult getModRefInfo(const InvokeInst *I, in getModRefInfo()
406 ModRefResult getModRefInfo(const InvokeInst *I, in getModRefInfo()

1234