| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | DemoteRegToStack.cpp | 45 if (InvokeInst *II = dyn_cast<InvokeInst>(&I)) { in DemoteRegToStack() 106 InvokeInst &II = cast<InvokeInst>(I); in DemoteRegToStack() 139 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 | 51 static void fixupPHINodeForNormalDest(InvokeInst *Invoke, BasicBlock *OrigBlock, in fixupPHINodeForNormalDest() 82 static void fixupPHINodeForUnwindDest(InvokeInst *Invoke, BasicBlock *OrigBlock, in fixupPHINodeForUnwindDest() 172 if (auto *Invoke = dyn_cast<InvokeInst>(&CB)) in createRetBitCast() 355 if (auto *OrigInvoke = dyn_cast<InvokeInst>(OrigInst)) { in versionCallSite() 356 auto *NewInvoke = cast<InvokeInst>(NewInst); in versionCallSite()
|
| H A D | InlineFunction.cpp | 128 LandingPadInliningInfo(InvokeInst *II) in LandingPadInliningInfo() 315 if (auto *Invoke = dyn_cast<InvokeInst>(U)) { in getUnwindDestTokenHelper() 508 (!isa<InvokeInst>(U) || in getUnwindDestToken() 510 cast<InvokeInst>(U)->getUnwindDest()->getFirstNonPHI()) == in getUnwindDestToken() 521 assert((!isa<InvokeInst>(U) || in getUnwindDestToken() 599 static void HandleInlinedLandingPad(InvokeInst *II, BasicBlock *FirstNewBlock, in HandleInlinedLandingPad() 614 if (InvokeInst *II = dyn_cast<InvokeInst>(I->getTerminator())) in HandleInlinedLandingPad() 656 static void HandleInlinedEHPad(InvokeInst *II, BasicBlock *FirstNewBlock, in HandleInlinedEHPad() 2615 if (auto *II = dyn_cast<InvokeInst>(&CB)) { in InlineFunction() 2785 if (InvokeInst *II = dyn_cast<InvokeInst>(&CB)) { in InlineFunction() [all …]
|
| H A D | SimplifyCFG.cpp | 2428 SetTy &getCompatibleSet(InvokeInst *II); 2430 void insert(InvokeInst *II); 2472 for (InvokeInst *II : Invokes) { in shouldBelongToSameSet() 2495 for (InvokeInst *II : Invokes) { in shouldBelongToSameSet() 2517 for (InvokeInst *II : Invokes) { in shouldBelongToSameSet() 2577 InvokeInst *II0 = Invokes.front(); in MergeCompatibleInvokesImpl() 2608 for (InvokeInst *II : Invokes) in MergeCompatibleInvokesImpl() 2620 for (InvokeInst *II : Invokes) in MergeCompatibleInvokesImpl() 2647 for (InvokeInst *II : Invokes) in MergeCompatibleInvokesImpl() 2664 for (InvokeInst *II : Invokes) { in MergeCompatibleInvokesImpl() [all …]
|
| H A D | AddDiscriminators.cpp | 215 if (!isa<InvokeInst>(I) && (!isa<CallInst>(I) || isa<IntrinsicInst>(I))) in addDiscriminators()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | BlockExtractor.cpp | 100 if (!isa<InvokeInst>(&I)) in splitLandingPadPreds() 102 InvokeInst *II = cast<InvokeInst>(&I); in splitLandingPadPreds() 111 isa<InvokeInst>(Parent->getTerminator())) { in splitLandingPadPreds() 167 if (const InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator())) in runOnModule()
|
| H A D | DeadArgumentElimination.cpp | 205 if (InvokeInst *II = dyn_cast<InvokeInst>(CB)) { in deleteDeadVarargs() 206 NewCB = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(), in deleteDeadVarargs() 945 if (InvokeInst *II = dyn_cast<InvokeInst>(&CB)) { in removeDeadStuffFromFunction() 946 NewCB = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(), in removeDeadStuffFromFunction() 974 if (InvokeInst *II = dyn_cast<InvokeInst>(&CB)) { in removeDeadStuffFromFunction()
|
| H A D | SyntheticCountsPropagation.cpp | 63 if (!isa<CallInst>(U) && !isa<InvokeInst>(U)) in initializeCounts()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | WinEHFuncInfo.h | 31 class InvokeInst; variable 93 DenseMap<const InvokeInst *, int> InvokeStateMap; 105 void addIPToStateRange(const InvokeInst *II, MCSymbol *InvokeBegin,
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-diff/lib/ |
| H A D | DifferenceEngine.cpp | 421 } else if (isa<InvokeInst>(L)) { in diff() 422 const InvokeInst &LI = cast<InvokeInst>(*L); in diff() 423 const InvokeInst &RI = cast<InvokeInst>(*R); in diff() 919 if (isa<BranchInst>(LTerm) && isa<InvokeInst>(RTerm)) { in runBlockDiff() 926 const InvokeInst *RInvoke = cast<InvokeInst>(RTerm); in runBlockDiff() 933 } else if (isa<InvokeInst>(LTerm) && isa<BranchInst>(RTerm)) { in runBlockDiff() 940 const InvokeInst *LInvoke = cast<InvokeInst>(LTerm); in runBlockDiff()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | SjLjEHPrepare.cpp | 68 void lowerAcrossUnwindEdges(Function &F, ArrayRef<InvokeInst *> Invokes); 287 ArrayRef<InvokeInst *> Invokes) { in lowerAcrossUnwindEdges() 335 for (InvokeInst *Invoke : Invokes) { in lowerAcrossUnwindEdges() 357 for (InvokeInst *Invoke : Invokes) { in lowerAcrossUnwindEdges() 382 SmallVector<InvokeInst *, 16> Invokes; in setupEntryBlockAndCallSites() 387 if (auto *II = dyn_cast<InvokeInst>(BB.getTerminator())) { in setupEntryBlockAndCallSites()
|
| H A D | WinEHPrepare.cpp | 193 auto *II = dyn_cast<InvokeInst>(BB.getTerminator()); in calculateStateNumbersForInvokes() 265 } else if (isa<InvokeInst>(TI)) { in calculateCXXStateForAsynchEH() 272 State = EHInfo.InvokeStateMap[cast<InvokeInst>(TI)]; in calculateCXXStateForAsynchEH() 277 State = EHInfo.InvokeStateMap[cast<InvokeInst>(TI)]; in calculateCXXStateForAsynchEH() 333 } else if (isa<InvokeInst>(TI)) { in calculateSEHStateForAsynchEH() 339 State = EHInfo.InvokeStateMap[cast<InvokeInst>(TI)]; in calculateSEHStateForAsynchEH() 358 if (isa<InvokeInst>(TI)) in getEHPadFromPredecessor() 780 if (auto *Invoke = dyn_cast<InvokeInst>(U)) { in calculateClrEHStateNumbers() 1122 if (isa<InvokeInst>(CB)) { in removeImplausibleInstructions() 1153 } else if (isa<InvokeInst>(TI)) { in removeImplausibleInstructions() [all …]
|
| /freebsd-14.2/contrib/llvm-project/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() 301 if (const InvokeInst *II = dyn_cast<InvokeInst>(Def)) { in dominates()
|
| H A D | Instruction.cpp | 298 } else if (auto *II = dyn_cast<InvokeInst>(this)) { in getInsertionPointAfterDef() 724 if (const InvokeInst *CI = dyn_cast<InvokeInst>(I1)) in hasSameSpecialState() 725 return CI->getCallingConv() == cast<InvokeInst>(I2)->getCallingConv() && in hasSameSpecialState() 726 CI->getAttributes() == cast<InvokeInst>(I2)->getAttributes() && in hasSameSpecialState() 727 CI->hasIdenticalOperandBundleSchema(*cast<InvokeInst>(I2)); in hasSameSpecialState() 1017 BasicBlock *UnwindDest = cast<InvokeInst>(this)->getUnwindDest(); in mayThrow()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | Local.h | 42 class InvokeInst; variable 252 CallInst *createCallMatchingInvoke(InvokeInst *II); 255 CallInst *changeToCall(InvokeInst *II, DomTreeUpdater *DTU = nullptr);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | CodeMetrics.cpp | 176 if (const InvokeInst *InvI = dyn_cast<InvokeInst>(&I)) in analyzeBasicBlock()
|
| H A D | FunctionPropertiesAnalysis.cpp | 312 assert(isa<CallInst>(CB) || isa<InvokeInst>(CB)); in FunctionPropertiesUpdater() 336 if (const auto *II = dyn_cast<InvokeInst>(&CB)) { in FunctionPropertiesUpdater()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | GVNSink.cpp | 96 (isa<InvokeInst>(I) && !cast<InvokeInst>(I)->doesNotAccessMemory()) || in isMemoryInst() 556 InvokeInst *II = dyn_cast<InvokeInst>(&*I); in getMemoryUseOrder() 743 if ((isa<CallInst>(I0) || isa<InvokeInst>(I0)) && OpNum == E - 1 && in analyzeInstructionForSinking()
|
| H A D | RewriteStatepointsForGC.cpp | 432 if (isa<CallInst>(I) || isa<InvokeInst>(I)) { in findBaseDefiningValueOfVector() 562 if (isa<CallInst>(I) || isa<InvokeInst>(I)) { in findBaseDefiningValue() 1847 auto *II = cast<InvokeInst>(Call); in makeStatepointExplicitImpl() 1852 InvokeInst *SPInvoke = Builder.CreateGCStatepointInvoke( in makeStatepointExplicitImpl() 2076 if (isa<InvokeInst>(Statepoint)) { in relocationViaAlloca() 2117 if (auto II = dyn_cast<InvokeInst>(Statepoint)) { in relocationViaAlloca() 2176 if (InvokeInst *Invoke = dyn_cast<InvokeInst>(Inst)) { in relocationViaAlloca() 2237 auto *II = cast<InvokeInst>(Call); in insertUseHolderAfter() 2550 if (isa<InvokeInst>(Call)) in rematerializeLiveValues() 2572 auto *Invoke = cast<InvokeInst>(Call); in rematerializeLiveValues() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | ObjCARCInstKind.h | 113 return isa<InvokeInst>(V) ? ARCInstKind::CallOrUser : ARCInstKind::User; in GetBasicARCInstKind()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 3828 class InvokeInst : public CallBase { 3839 InvokeInst(const InvokeInst &BI); 3869 InvokeInst *cloneImpl() const; 3878 InvokeInst(Ty, Func, IfNormal, IfException, Args, std::nullopt, 3918 static InvokeInst *Create(FunctionCallee Func, BasicBlock *IfNormal, 3926 static InvokeInst *Create(FunctionCallee Func, BasicBlock *IfNormal, 3935 static InvokeInst *Create(FunctionCallee Func, BasicBlock *IfNormal, 3942 static InvokeInst *Create(FunctionCallee Func, BasicBlock *IfNormal, 3956 static InvokeInst *Create(InvokeInst *II, ArrayRef<OperandBundleDef> Bundles, 4009 InvokeInst::InvokeInst(FunctionType *Ty, Value *Func, BasicBlock *IfNormal, [all …]
|
| H A D | InstVisitor.h | 221 RetTy visitInvokeInst(InvokeInst &I) { DELEGATE(CallBase); } in visitInvokeInst() 268 if (isa<InvokeInst>(I) || isa<CallBrInst>(I)) in visitCallBase()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARC.cpp | 48 auto *I = dyn_cast<InvokeInst>(BB.getTerminator()); in insertAfterInvokes()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyTargetTransformInfo.cpp | 122 if (isa<CallInst>(I) || isa<InvokeInst>(I)) in getUnrollingPreferences()
|