Home
last modified time | relevance | path

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

12345

/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DDemoteRegToStack.cpp45 if (InvokeInst *II = dyn_cast<InvokeInst>(&I)) { in DemoteRegToStack()
98 InvokeInst &II = cast<InvokeInst>(I); in DemoteRegToStack()
131 if (InvokeInst *II = dyn_cast<InvokeInst>(P->getIncomingValue(i))) { in DemotePHIToStack()
H A DLowerInvoke.cpp48 if (InvokeInst *II = dyn_cast<InvokeInst>(BB.getTerminator())) { in runImpl()
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 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()
605 static void HandleInlinedLandingPad(InvokeInst *II, BasicBlock *FirstNewBlock, in HandleInlinedLandingPad()
620 if (InvokeInst *II = dyn_cast<InvokeInst>(I->getTerminator())) in HandleInlinedLandingPad()
662 static void HandleInlinedEHPad(InvokeInst *II, BasicBlock *FirstNewBlock, in HandleInlinedEHPad()
2323 if (auto *II = dyn_cast<InvokeInst>(&CB)) { in InlineFunction()
2490 if (InvokeInst *II = dyn_cast<InvokeInst>(&CB)) { in InlineFunction()
[all …]
H A DSimplifyCFG.cpp2249 SetTy &getCompatibleSet(InvokeInst *II);
2251 void insert(InvokeInst *II);
2293 for (InvokeInst *II : Invokes) { in shouldBelongToSameSet()
2316 for (InvokeInst *II : Invokes) { in shouldBelongToSameSet()
2338 for (InvokeInst *II : Invokes) { in shouldBelongToSameSet()
2394 InvokeInst *II0 = Invokes.front(); in MergeCompatibleInvokesImpl()
2425 for (InvokeInst *II : Invokes) in MergeCompatibleInvokesImpl()
2437 for (InvokeInst *II : Invokes) in MergeCompatibleInvokesImpl()
2464 for (InvokeInst *II : Invokes) in MergeCompatibleInvokesImpl()
2481 for (InvokeInst *II : Invokes) { in MergeCompatibleInvokesImpl()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DBlockExtractor.cpp155 if (!isa<InvokeInst>(&I)) in splitLandingPadPreds()
157 InvokeInst *II = cast<InvokeInst>(&I); in splitLandingPadPreds()
166 isa<InvokeInst>(Parent->getTerminator())) { in splitLandingPadPreds()
223 if (const InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator())) in runOnModule()
H A DDeadArgumentElimination.cpp198 if (InvokeInst *II = dyn_cast<InvokeInst>(CB)) { in deleteDeadVarargs()
199 NewCB = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(), in deleteDeadVarargs()
929 if (InvokeInst *II = dyn_cast<InvokeInst>(&CB)) { in removeDeadStuffFromFunction()
930 NewCB = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(), in removeDeadStuffFromFunction()
958 if (InvokeInst *II = dyn_cast<InvokeInst>(&CB)) { in removeDeadStuffFromFunction()
H A DPruneEH.cpp184 if (InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator())) in SimplifyFunction()
/llvm-project-15.0.7/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,
/llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/
H A DReduceOperandsToArgs.cpp88 if (auto *II = dyn_cast<InvokeInst>(CI)) { in replaceFunctionCalls()
89 NewCI = InvokeInst::Create(NewF, cast<InvokeInst>(II)->getNormalDest(), in replaceFunctionCalls()
90 cast<InvokeInst>(II)->getUnwindDest(), Args, in replaceFunctionCalls()
/llvm-project-15.0.7/llvm/tools/llvm-diff/lib/
H A DDifferenceEngine.cpp304 } else if (isa<InvokeInst>(L)) { in diff()
305 const InvokeInst &LI = cast<InvokeInst>(*L); in diff()
306 const InvokeInst &RI = cast<InvokeInst>(*R); in diff()
758 if (isa<BranchInst>(LTerm) && isa<InvokeInst>(RTerm)) { in runBlockDiff()
765 const InvokeInst *RInvoke = cast<InvokeInst>(RTerm); in runBlockDiff()
772 } else if (isa<InvokeInst>(LTerm) && isa<BranchInst>(RTerm)) { in runBlockDiff()
779 const InvokeInst *LInvoke = cast<InvokeInst>(LTerm); in runBlockDiff()
/llvm-project-15.0.7/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()
632 if (auto *Invoke = dyn_cast<InvokeInst>(U)) { in calculateClrEHStateNumbers()
977 if (isa<InvokeInst>(CB)) { in removeImplausibleInstructions()
1008 } else if (isa<InvokeInst>(TI)) { in removeImplausibleInstructions()
1251 void WinEHFuncInfo::addIPToStateRange(const InvokeInst *II, in addIPToStateRange()
/llvm-project-15.0.7/llvm/lib/IR/
H A DDominators.cpp163 if (isa<InvokeInst>(Def) || isa<CallBrInst>(Def) || isa<PHINode>(User)) in dominates()
191 if (const auto *II = dyn_cast<InvokeInst>(Def)) { in dominates()
308 if (const InvokeInst *II = dyn_cast<InvokeInst>(Def)) { in dominates()
H A DInstruction.cpp463 if (const InvokeInst *CI = dyn_cast<InvokeInst>(I1)) in haveSameSpecialState()
464 return CI->getCallingConv() == cast<InvokeInst>(I2)->getCallingConv() && in haveSameSpecialState()
465 CI->getAttributes() == cast<InvokeInst>(I2)->getAttributes() && in haveSameSpecialState()
466 CI->hasIdenticalOperandBundleSchema(*cast<InvokeInst>(I2)); in haveSameSpecialState()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp78 assert((isa<CallInst>(Call) || isa<InvokeInst>(Call)) && in getProfileCount()
125 if (isa<CallInst>(I) || isa<InvokeInst>(I)) in isFunctionHotInCallGraph()
154 if (isa<CallInst>(I) || isa<InvokeInst>(I)) in isFunctionColdInCallGraph()
188 if (isa<CallInst>(I) || isa<InvokeInst>(I)) in isFunctionHotOrColdInCallGraphNthPercentile()
H A DCodeMetrics.cpp176 if (const InvokeInst *InvI = dyn_cast<InvokeInst>(&I)) in analyzeBasicBlock()
H A DFunctionPropertiesAnalysis.cpp132 assert(isa<CallInst>(CB) || isa<InvokeInst>(CB)); in FunctionPropertiesUpdater()
156 if (const auto *II = dyn_cast<InvokeInst>(&CB)) { in FunctionPropertiesUpdater()
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DLocal.h42 class InvokeInst; variable
233 CallInst *createCallMatchingInvoke(InvokeInst *II);
236 CallInst *changeToCall(InvokeInst *II, DomTreeUpdater *DTU = nullptr);
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DGVNSink.cpp101 (isa<InvokeInst>(I) && !cast<InvokeInst>(I)->doesNotAccessMemory()) || in isMemoryInst()
561 InvokeInst *II = dyn_cast<InvokeInst>(&*I); in getMemoryUseOrder()
745 if ((isa<CallInst>(I0) || isa<InvokeInst>(I0)) && OpNum == E - 1 && in analyzeInstructionForSinking()
H A DRewriteStatepointsForGC.cpp498 if (isa<CallInst>(I) || isa<InvokeInst>(I)) { in findBaseDefiningValueOfVector()
628 if (isa<CallInst>(I) || isa<InvokeInst>(I)) { in findBaseDefiningValue()
1816 auto *II = cast<InvokeInst>(Call); in makeStatepointExplicitImpl()
1821 InvokeInst *SPInvoke = Builder.CreateGCStatepointInvoke( in makeStatepointExplicitImpl()
2056 if (isa<InvokeInst>(Statepoint)) { in relocationViaAlloca()
2093 if (auto II = dyn_cast<InvokeInst>(Statepoint)) { in relocationViaAlloca()
2152 if (InvokeInst *Invoke = dyn_cast<InvokeInst>(Inst)) { in relocationViaAlloca()
2213 auto *II = cast<InvokeInst>(Call); in insertUseHolderAfter()
2405 if (isa<InvokeInst>(Call)) in rematerializeLiveValues()
2482 auto *Invoke = cast<InvokeInst>(Call); in rematerializeLiveValues()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DObjCARCInstKind.h113 return isa<InvokeInst>(V) ? ARCInstKind::CallOrUser : ARCInstKind::User; in GetBasicARCInstKind()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DInstructions.h3776 class InvokeInst : public CallBase {
3787 InvokeInst(const InvokeInst &BI);
3792 inline InvokeInst(FunctionType *Ty, Value *Func, BasicBlock *IfNormal,
3817 InvokeInst *cloneImpl() const;
3866 static InvokeInst *Create(FunctionCallee Func, BasicBlock *IfNormal,
3874 static InvokeInst *Create(FunctionCallee Func, BasicBlock *IfNormal,
3883 static InvokeInst *Create(FunctionCallee Func, BasicBlock *IfNormal,
3890 static InvokeInst *Create(FunctionCallee Func, BasicBlock *IfNormal,
3904 static InvokeInst *Create(InvokeInst *II, ArrayRef<OperandBundleDef> Bundles,
3957 InvokeInst::InvokeInst(FunctionType *Ty, Value *Func, BasicBlock *IfNormal,
[all …]
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyTargetTransformInfo.cpp123 if (isa<CallInst>(I) || isa<InvokeInst>(I)) in getUnrollingPreferences()
/llvm-project-15.0.7/llvm/lib/Transforms/ObjCARC/
H A DObjCARC.cpp69 auto *I = dyn_cast<InvokeInst>(BB.getTerminator()); in insertAfterInvokes()

12345