| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | DemoteRegToStack.cpp | 45 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 D | LowerInvoke.cpp | 48 if (InvokeInst *II = dyn_cast<InvokeInst>(BB.getTerminator())) { in runImpl()
|
| H A D | CallPromotionUtils.cpp | 50 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 D | InlineFunction.cpp | 128 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 D | SimplifyCFG.cpp | 2249 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 D | BlockExtractor.cpp | 155 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 D | DeadArgumentElimination.cpp | 198 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 D | PruneEH.cpp | 184 if (InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator())) in SimplifyFunction()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | WinEHFuncInfo.h | 31 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 D | ReduceOperandsToArgs.cpp | 88 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 D | DifferenceEngine.cpp | 304 } 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 D | SjLjEHPrepare.cpp | 74 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 D | WinEHPrepare.cpp | 180 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 D | Dominators.cpp | 163 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 D | Instruction.cpp | 463 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 D | ProfileSummaryInfo.cpp | 78 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 D | CodeMetrics.cpp | 176 if (const InvokeInst *InvI = dyn_cast<InvokeInst>(&I)) in analyzeBasicBlock()
|
| H A D | FunctionPropertiesAnalysis.cpp | 132 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 D | Local.h | 42 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 D | GVNSink.cpp | 101 (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 D | RewriteStatepointsForGC.cpp | 498 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 D | ObjCARCInstKind.h | 113 return isa<InvokeInst>(V) ? ARCInstKind::CallOrUser : ARCInstKind::User; in GetBasicARCInstKind()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 3776 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 D | WebAssemblyTargetTransformInfo.cpp | 123 if (isa<CallInst>(I) || isa<InvokeInst>(I)) in getUnrollingPreferences()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARC.cpp | 69 auto *I = dyn_cast<InvokeInst>(BB.getTerminator()); in insertAfterInvokes()
|