| /openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/ |
| H A D | BlockExtractor.cpp | 102 if (!isa<InvokeInst>(&I)) in splitLandingPadPreds() 104 InvokeInst *II = cast<InvokeInst>(&I); in splitLandingPadPreds() 113 isa<InvokeInst>(Parent->getTerminator())) { in splitLandingPadPreds() 169 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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | DemoteRegToStack.cpp | 45 if (InvokeInst *II = dyn_cast<InvokeInst>(&I)) { in DemoteRegToStack() 105 InvokeInst &II = cast<InvokeInst>(I); in DemoteRegToStack() 138 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 | 131 LandingPadInliningInfo(InvokeInst *II) in LandingPadInliningInfo() 317 if (auto *Invoke = dyn_cast<InvokeInst>(U)) { in getUnwindDestTokenHelper() 510 (!isa<InvokeInst>(U) || in getUnwindDestToken() 512 cast<InvokeInst>(U)->getUnwindDest()->getFirstNonPHI()) == in getUnwindDestToken() 523 assert((!isa<InvokeInst>(U) || in getUnwindDestToken() 525 cast<InvokeInst>(U)->getUnwindDest()->getFirstNonPHI()) == in getUnwindDestToken() 601 static void HandleInlinedLandingPad(InvokeInst *II, BasicBlock *FirstNewBlock, in HandleInlinedLandingPad() 616 if (InvokeInst *II = dyn_cast<InvokeInst>(I->getTerminator())) in HandleInlinedLandingPad() 658 static void HandleInlinedEHPad(InvokeInst *II, BasicBlock *FirstNewBlock, in HandleInlinedEHPad() 2560 if (auto *II = dyn_cast<InvokeInst>(&CB)) { in InlineFunction() [all …]
|
| H A D | SimplifyCFG.cpp | 1672 if (isa<InvokeInst>(I1) && !isSafeToHoistInvoke(BB1, BB2, I1, I2)) in HoistThenElseCodeToIf() 2337 using SetTy = SmallVector<InvokeInst *, 2>; 2341 static bool shouldBelongToSameSet(ArrayRef<InvokeInst *> Invokes); 2343 SetTy &getCompatibleSet(InvokeInst *II); 2345 void insert(InvokeInst *II); 2348 CompatibleSets::SetTy &CompatibleSets::getCompatibleSet(InvokeInst *II) { in getCompatibleSet() 2362 void CompatibleSets::insert(InvokeInst *II) { in insert() 2366 bool CompatibleSets::shouldBelongToSameSet(ArrayRef<InvokeInst *> Invokes) { in shouldBelongToSameSet() 2370 auto IsIllegalToMerge = [](InvokeInst *II) { in shouldBelongToSameSet() 2378 auto IsIndirectCall = [](InvokeInst *II) { return II->isIndirectCall(); }; in shouldBelongToSameSet() [all …]
|
| H A D | AddDiscriminators.cpp | 245 if (!isa<InvokeInst>(I) && (!isa<CallInst>(I) || isa<IntrinsicInst>(I))) in addDiscriminators()
|
| /openbsd-src/gnu/llvm/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,
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-reduce/deltas/ |
| H A D | ReduceInvokes.cpp | 22 InvokeInst *Invoke = dyn_cast<InvokeInst>(BB.getTerminator()); in reduceInvokesInFunction()
|
| 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()
|
| H A D | ReduceBasicBlocks.cpp | 49 if (InvokeInst *Invoke = dyn_cast<InvokeInst>(Term)) { in replaceBranchTerminator() 54 return U != Invoke && isa<InvokeInst>(U); in replaceBranchTerminator()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-diff/lib/ |
| H A D | DifferenceEngine.cpp | 423 } else if (isa<InvokeInst>(L)) { in diff() 424 const InvokeInst &LI = cast<InvokeInst>(*L); in diff() 425 const InvokeInst &RI = cast<InvokeInst>(*R); in diff() 921 if (isa<BranchInst>(LTerm) && isa<InvokeInst>(RTerm)) { in runBlockDiff() 928 const InvokeInst *RInvoke = cast<InvokeInst>(RTerm); in runBlockDiff() 935 } else if (isa<InvokeInst>(LTerm) && isa<BranchInst>(RTerm)) { in runBlockDiff() 942 const InvokeInst *LInvoke = cast<InvokeInst>(LTerm); in runBlockDiff()
|
| /openbsd-src/gnu/llvm/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() 974 if (isa<InvokeInst>(CB)) { in removeImplausibleInstructions() 1005 } else if (isa<InvokeInst>(TI)) { in removeImplausibleInstructions() 1248 void WinEHFuncInfo::addIPToStateRange(const InvokeInst *II, in addIPToStateRange()
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | ProfileSummaryInfo.cpp | 81 assert((isa<CallInst>(Call) || isa<InvokeInst>(Call)) && in getProfileCount() 128 if (isa<CallInst>(I) || isa<InvokeInst>(I)) in isFunctionHotInCallGraph() 157 if (isa<CallInst>(I) || isa<InvokeInst>(I)) in isFunctionColdInCallGraph() 191 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()
|
| /openbsd-src/gnu/llvm/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 | 138 } else if (auto *II = dyn_cast<InvokeInst>(this)) { in getInsertionPointAfterDef() 513 if (const InvokeInst *CI = dyn_cast<InvokeInst>(I1)) in haveSameSpecialState() 514 return CI->getCallingConv() == cast<InvokeInst>(I2)->getCallingConv() && in haveSameSpecialState() 515 CI->getAttributes() == cast<InvokeInst>(I2)->getAttributes() && in haveSameSpecialState() 516 CI->hasIdenticalOperandBundleSchema(*cast<InvokeInst>(I2)); in haveSameSpecialState()
|
| /openbsd-src/gnu/llvm/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);
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | GVNSink.cpp | 99 (isa<InvokeInst>(I) && !cast<InvokeInst>(I)->doesNotAccessMemory()) || in isMemoryInst() 559 InvokeInst *II = dyn_cast<InvokeInst>(&*I); in getMemoryUseOrder() 746 if ((isa<CallInst>(I0) || isa<InvokeInst>(I0)) && OpNum == E - 1 && in analyzeInstructionForSinking()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/ |
| H A D | ObjCARCInstKind.h | 113 return isa<InvokeInst>(V) ? ARCInstKind::CallOrUser : ARCInstKind::User; in GetBasicARCInstKind()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 3814 class InvokeInst : public CallBase { 3825 InvokeInst(const InvokeInst &BI); 3830 inline InvokeInst(FunctionType *Ty, Value *Func, BasicBlock *IfNormal, 3835 inline InvokeInst(FunctionType *Ty, Value *Func, BasicBlock *IfNormal, 3855 InvokeInst *cloneImpl() const; 3858 static InvokeInst *Create(FunctionType *Ty, Value *Func, BasicBlock *IfNormal, 3864 InvokeInst(Ty, Func, IfNormal, IfException, Args, std::nullopt, 3868 static InvokeInst *Create(FunctionType *Ty, Value *Func, BasicBlock *IfNormal, 3878 InvokeInst(Ty, Func, IfNormal, IfException, Args, Bundles, NumOperands, 3882 static InvokeInst *Create(FunctionType *Ty, Value *Func, BasicBlock *IfNormal, [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARC.cpp | 48 auto *I = dyn_cast<InvokeInst>(BB.getTerminator()); in insertAfterInvokes()
|