Home
last modified time | relevance | path

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

12345

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
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()
DLowerInvoke.cpp50 if (InvokeInst *II = dyn_cast<InvokeInst>(BB.getTerminator())) { in runImpl()
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()
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()
2278 if (auto *II = dyn_cast<InvokeInst>(&CB)) { in InlineFunction()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
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()
DDeadArgumentElimination.cpp200 if (InvokeInst *II = dyn_cast<InvokeInst>(CB)) { in DeleteDeadVarargs()
201 NewCB = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(), in DeleteDeadVarargs()
943 if (InvokeInst *II = dyn_cast<InvokeInst>(&CB)) { in RemoveDeadStuffFromFunction()
944 NewCB = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(), in RemoveDeadStuffFromFunction()
972 if (InvokeInst *II = dyn_cast<InvokeInst>(&CB)) { in RemoveDeadStuffFromFunction()
DPruneEH.cpp187 if (InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator())) in SimplifyFunction()
DFunctionSpecialization.cpp335 if (!isa<CallInst>(U) && !isa<InvokeInst>(U)) in getSpecializationBonus()
475 if (!isa<CallInst>(U) && !isa<InvokeInst>(U)) in getPossibleConstants()
514 if (!isa<CallInst>(U) && !isa<InvokeInst>(U)) in rewriteCallSites()
DSyntheticCountsPropagation.cpp69 if (!isa<CallInst>(U) && !isa<InvokeInst>(U)) in initializeCounts()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
DWinEHFuncInfo.h31 class InvokeInst; variable
93 DenseMap<const InvokeInst *, int> InvokeStateMap;
104 void addIPToStateRange(const InvokeInst *II, MCSymbol *InvokeBegin,
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-diff/
DDifferenceEngine.cpp284 } else if (isa<InvokeInst>(L)) { in diff()
285 const InvokeInst &LI = cast<InvokeInst>(*L); in diff()
286 const InvokeInst &RI = cast<InvokeInst>(*R); in diff()
738 if (isa<BranchInst>(LTerm) && isa<InvokeInst>(RTerm)) { in runBlockDiff()
745 const InvokeInst *RInvoke = cast<InvokeInst>(RTerm); in runBlockDiff()
752 } else if (isa<InvokeInst>(LTerm) && isa<BranchInst>(RTerm)) { in runBlockDiff()
759 const InvokeInst *LInvoke = cast<InvokeInst>(LTerm); in runBlockDiff()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
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()
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()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
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()
DInstruction.cpp454 if (const InvokeInst *CI = dyn_cast<InvokeInst>(I1)) in haveSameSpecialState()
455 return CI->getCallingConv() == cast<InvokeInst>(I2)->getCallingConv() && in haveSameSpecialState()
456 CI->getAttributes() == cast<InvokeInst>(I2)->getAttributes() && in haveSameSpecialState()
457 CI->hasIdenticalOperandBundleSchema(*cast<InvokeInst>(I2)); in haveSameSpecialState()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
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()
DCodeMetrics.cpp182 if (const InvokeInst *InvI = dyn_cast<InvokeInst>(&I)) in analyzeBasicBlock()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
DLocal.h52 class InvokeInst; variable
234 CallInst *createCallMatchingInvoke(InvokeInst *II);
237 void changeToCall(InvokeInst *II, DomTreeUpdater *DTU = nullptr);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
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()
DRewriteStatepointsForGC.cpp484 if (isa<CallInst>(I) || isa<InvokeInst>(I)) in findBaseDefiningValueOfVector()
580 if (isa<CallInst>(I) || isa<InvokeInst>(I)) in findBaseDefiningValue()
1742 auto *II = cast<InvokeInst>(Call); in makeStatepointExplicitImpl()
1747 InvokeInst *SPInvoke = Builder.CreateGCStatepointInvoke( in makeStatepointExplicitImpl()
1981 if (isa<InvokeInst>(Statepoint)) { in relocationViaAlloca()
2018 if (auto II = dyn_cast<InvokeInst>(Statepoint)) { in relocationViaAlloca()
2077 if (InvokeInst *Invoke = dyn_cast<InvokeInst>(Inst)) { in relocationViaAlloca()
2137 auto *II = cast<InvokeInst>(Call); in insertUseHolderAfter()
2304 if (isa<InvokeInst>(Call)) { in rematerializeLiveValues()
2379 auto *Invoke = cast<InvokeInst>(Call); in rematerializeLiveValues()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
DInstructions.h3713 class InvokeInst : public CallBase {
3724 InvokeInst(const InvokeInst &BI);
3729 inline InvokeInst(FunctionType *Ty, Value *Func, BasicBlock *IfNormal,
3734 inline InvokeInst(FunctionType *Ty, Value *Func, BasicBlock *IfNormal,
3754 InvokeInst *cloneImpl() const;
3757 static InvokeInst *Create(FunctionType *Ty, Value *Func, BasicBlock *IfNormal,
3763 InvokeInst(Ty, Func, IfNormal, IfException, Args, None, NumOperands,
3767 static InvokeInst *Create(FunctionType *Ty, Value *Func, BasicBlock *IfNormal,
3777 InvokeInst(Ty, Func, IfNormal, IfException, Args, Bundles, NumOperands,
3781 static InvokeInst *Create(FunctionType *Ty, Value *Func, BasicBlock *IfNormal,
[all …]
DInstVisitor.h223 RetTy visitInvokeInst(InvokeInst &I) { DELEGATE(CallBase); } in visitInvokeInst()
270 if (isa<InvokeInst>(I) || isa<CallBrInst>(I)) in visitCallBase()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
DObjCARCInstKind.h113 return isa<InvokeInst>(V) ? ARCInstKind::CallOrUser : ARCInstKind::User; in GetBasicARCInstKind()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
DObjCARC.cpp70 auto *I = dyn_cast<InvokeInst>(BB.getTerminator()); in insertAfterInvokes()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
DWebAssemblyTargetTransformInfo.cpp122 if (isa<CallInst>(I) || isa<InvokeInst>(I)) in getUnrollingPreferences()

12345