Home
last modified time | relevance | path

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

12345

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DDemoteRegToStack.cpp46 if (InvokeInst *II = dyn_cast<InvokeInst>(&I)) { in DemoteRegToStack()
99 InvokeInst &II = cast<InvokeInst>(I); in DemoteRegToStack()
132 if (InvokeInst *II = dyn_cast<InvokeInst>(P->getIncomingValue(i))) { in DemotePHIToStack()
H A DCallPromotionUtils.cpp50 static void fixupPHINodeForNormalDest(InvokeInst *Invoke, BasicBlock *OrigBlock, in fixupPHINodeForNormalDest()
81 static void fixupPHINodeForUnwindDest(InvokeInst *Invoke, BasicBlock *OrigBlock, in fixupPHINodeForUnwindDest()
171 if (auto *Invoke = dyn_cast<InvokeInst>(&CB)) in createRetBitCast()
354 if (auto *OrigInvoke = dyn_cast<InvokeInst>(OrigInst)) { in versionCallSite()
355 auto *NewInvoke = cast<InvokeInst>(NewInst); in versionCallSite()
H A DLowerInvoke.cpp50 if (InvokeInst *II = dyn_cast<InvokeInst>(BB.getTerminator())) { in runImpl()
H A DInlineFunction.cpp128 LandingPadInliningInfo(InvokeInst *II) in LandingPadInliningInfo()
314 if (auto *Invoke = dyn_cast<InvokeInst>(U)) { in getUnwindDestTokenHelper()
507 (!isa<InvokeInst>(U) || in getUnwindDestToken()
509 cast<InvokeInst>(U)->getUnwindDest()->getFirstNonPHI()) == in getUnwindDestToken()
520 assert((!isa<InvokeInst>(U) || in getUnwindDestToken()
522 cast<InvokeInst>(U)->getUnwindDest()->getFirstNonPHI()) == in getUnwindDestToken()
607 static void HandleInlinedLandingPad(InvokeInst *II, BasicBlock *FirstNewBlock, in HandleInlinedLandingPad()
622 if (InvokeInst *II = dyn_cast<InvokeInst>(I->getTerminator())) in HandleInlinedLandingPad()
664 static void HandleInlinedEHPad(InvokeInst *II, BasicBlock *FirstNewBlock, in HandleInlinedEHPad()
2271 if (auto *II = dyn_cast<InvokeInst>(&CB)) { in InlineFunction()
[all …]
H A DEvaluator.cpp475 } else if (isa<CallInst>(CurInst) || isa<InvokeInst>(CurInst)) { in EvaluateBlock()
675 if (InvokeInst *II = dyn_cast<InvokeInst>(CurInst)) { in EvaluateBlock()
H A DAddDiscriminators.cpp239 if (!isa<InvokeInst>(I) && (!isa<CallInst>(I) || isa<IntrinsicInst>(I))) in addDiscriminators()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DBlockExtractor.cpp154 if (!isa<InvokeInst>(&I)) in splitLandingPadPreds()
156 InvokeInst *II = cast<InvokeInst>(&I); in splitLandingPadPreds()
165 isa<InvokeInst>(Parent->getTerminator())) { in splitLandingPadPreds()
220 if (const InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator())) in runOnModule()
H A DDeadArgumentElimination.cpp200 if (InvokeInst *II = dyn_cast<InvokeInst>(CB)) { in DeleteDeadVarargs()
201 NewCB = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(), in DeleteDeadVarargs()
942 if (InvokeInst *II = dyn_cast<InvokeInst>(&CB)) { in RemoveDeadStuffFromFunction()
943 NewCB = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(), in RemoveDeadStuffFromFunction()
971 if (InvokeInst *II = dyn_cast<InvokeInst>(&CB)) { in RemoveDeadStuffFromFunction()
H A DPruneEH.cpp187 if (InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator())) in SimplifyFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-diff/
H A DDifferenceEngine.cpp275 } else if (isa<InvokeInst>(L)) { in diff()
276 InvokeInst &LI = cast<InvokeInst>(*L); in diff()
277 InvokeInst &RI = cast<InvokeInst>(*R); in diff()
633 if (isa<BranchInst>(LTerm) && isa<InvokeInst>(RTerm)) { in runBlockDiff()
640 InvokeInst *RInvoke = cast<InvokeInst>(RTerm); in runBlockDiff()
647 } else if (isa<InvokeInst>(LTerm) && isa<BranchInst>(RTerm)) { in runBlockDiff()
654 InvokeInst *LInvoke = cast<InvokeInst>(LTerm); in runBlockDiff()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DWinEHFuncInfo.h31 class InvokeInst; variable
93 DenseMap<const InvokeInst *, int> InvokeStateMap;
104 void addIPToStateRange(const InvokeInst *II, MCSymbol *InvokeBegin,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DSjLjEHPrepare.cpp74 void lowerAcrossUnwindEdges(Function &F, ArrayRef<InvokeInst *> Invokes);
270 ArrayRef<InvokeInst *> Invokes) { in lowerAcrossUnwindEdges()
318 for (InvokeInst *Invoke : Invokes) { in lowerAcrossUnwindEdges()
340 for (InvokeInst *Invoke : Invokes) { in lowerAcrossUnwindEdges()
365 SmallVector<InvokeInst *, 16> Invokes; in setupEntryBlockAndCallSites()
370 if (auto *II = dyn_cast<InvokeInst>(BB.getTerminator())) { in setupEntryBlockAndCallSites()
H A DWinEHPrepare.cpp180 auto *II = dyn_cast<InvokeInst>(BB.getTerminator()); in calculateStateNumbersForInvokes()
224 if (isa<InvokeInst>(TI)) in getEHPadFromPredecessor()
635 if (auto *Invoke = dyn_cast<InvokeInst>(U)) { in calculateClrEHStateNumbers()
980 if (isa<InvokeInst>(CB)) { in removeImplausibleInstructions()
1011 } else if (isa<InvokeInst>(TI)) { in removeImplausibleInstructions()
1254 void WinEHFuncInfo::addIPToStateRange(const InvokeInst *II, in addIPToStateRange()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp79 assert((isa<CallInst>(Call) || isa<InvokeInst>(Call)) && in getProfileCount()
126 if (isa<CallInst>(I) || isa<InvokeInst>(I)) in isFunctionHotInCallGraph()
155 if (isa<CallInst>(I) || isa<InvokeInst>(I)) in isFunctionColdInCallGraph()
189 if (isa<CallInst>(I) || isa<InvokeInst>(I)) in isFunctionHotOrColdInCallGraphNthPercentile()
H A DCodeMetrics.cpp182 if (const InvokeInst *InvI = dyn_cast<InvokeInst>(&I)) in analyzeBasicBlock()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DDominators.cpp156 if (isa<InvokeInst>(Def) || isa<CallBrInst>(Def) || isa<PHINode>(User)) in dominates()
184 if (const auto *II = dyn_cast<InvokeInst>(Def)) { in dominates()
301 if (const InvokeInst *II = dyn_cast<InvokeInst>(Def)) { in dominates()
H A DInstruction.cpp433 if (const InvokeInst *CI = dyn_cast<InvokeInst>(I1)) in haveSameSpecialState()
434 return CI->getCallingConv() == cast<InvokeInst>(I2)->getCallingConv() && in haveSameSpecialState()
435 CI->getAttributes() == cast<InvokeInst>(I2)->getAttributes() && in haveSameSpecialState()
436 CI->hasIdenticalOperandBundleSchema(*cast<InvokeInst>(I2)); in haveSameSpecialState()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
H A DLocal.h52 class InvokeInst; variable
234 CallInst *createCallMatchingInvoke(InvokeInst *II);
237 void changeToCall(InvokeInst *II, DomTreeUpdater *DTU = nullptr);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DGVNSink.cpp103 (isa<InvokeInst>(I) && !cast<InvokeInst>(I)->doesNotAccessMemory()) || in isMemoryInst()
552 InvokeInst *II = dyn_cast<InvokeInst>(&*I); in getMemoryUseOrder()
740 if ((isa<CallInst>(I0) || isa<InvokeInst>(I0)) && OpNum == E - 1 && in analyzeInstructionForSinking()
H A DRewriteStatepointsForGC.cpp484 if (isa<CallInst>(I) || isa<InvokeInst>(I)) in findBaseDefiningValueOfVector()
570 if (isa<CallInst>(I) || isa<InvokeInst>(I)) in findBaseDefiningValue()
1727 auto *II = cast<InvokeInst>(Call); in makeStatepointExplicitImpl()
1732 InvokeInst *SPInvoke = Builder.CreateGCStatepointInvoke( in makeStatepointExplicitImpl()
1966 if (isa<InvokeInst>(Statepoint)) { in relocationViaAlloca()
2003 if (auto II = dyn_cast<InvokeInst>(Statepoint)) { in relocationViaAlloca()
2062 if (InvokeInst *Invoke = dyn_cast<InvokeInst>(Inst)) { in relocationViaAlloca()
2122 auto *II = cast<InvokeInst>(Call); in insertUseHolderAfter()
2289 if (isa<InvokeInst>(Call)) { in rematerializeLiveValues()
2364 auto *Invoke = cast<InvokeInst>(Call); in rematerializeLiveValues()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DInstructions.h3702 class InvokeInst : public CallBase {
3713 InvokeInst(const InvokeInst &BI);
3718 inline InvokeInst(FunctionType *Ty, Value *Func, BasicBlock *IfNormal,
3723 inline InvokeInst(FunctionType *Ty, Value *Func, BasicBlock *IfNormal,
3743 InvokeInst *cloneImpl() const;
3746 static InvokeInst *Create(FunctionType *Ty, Value *Func, BasicBlock *IfNormal,
3752 InvokeInst(Ty, Func, IfNormal, IfException, Args, None, NumOperands,
3756 static InvokeInst *Create(FunctionType *Ty, Value *Func, BasicBlock *IfNormal,
3766 InvokeInst(Ty, Func, IfNormal, IfException, Args, Bundles, NumOperands,
3770 static InvokeInst *Create(FunctionType *Ty, Value *Func, BasicBlock *IfNormal,
[all …]
H A DInstVisitor.h220 RetTy visitInvokeInst(InvokeInst &I) { DELEGATE(CallBase); } in visitInvokeInst()
267 if (isa<InvokeInst>(I) || isa<CallBrInst>(I)) in visitCallBase()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DObjCARCInstKind.h113 return isa<InvokeInst>(V) ? ARCInstKind::CallOrUser : ARCInstKind::User; in GetBasicARCInstKind()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp1997 Instruction *InstCombinerImpl::visitInvokeInst(InvokeInst &II) { in visitInvokeInst()
2517 if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) in transformConstExprCastCall()
2686 if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) { in transformConstExprCastCall()
2714 if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) { in transformConstExprCastCall()
2862 if (InvokeInst *II = dyn_cast<InvokeInst>(&Call)) { in transformCallThroughTrampoline()
2863 NewCaller = InvokeInst::Create(NewFTy, NewCallee, in transformCallThroughTrampoline()
2866 cast<InvokeInst>(NewCaller)->setCallingConv(II->getCallingConv()); in transformCallThroughTrampoline()
2867 cast<InvokeInst>(NewCaller)->setAttributes(NewPAL); in transformCallThroughTrampoline()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyTargetTransformInfo.cpp122 if (isa<CallInst>(I) || isa<InvokeInst>(I)) in getUnrollingPreferences()

12345