Home
last modified time | relevance | path

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

12345

/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DBlockExtractor.cpp95 if (!isa<InvokeInst>(&I)) in splitLandingPadPreds()
97 InvokeInst *II = cast<InvokeInst>(&I); in splitLandingPadPreds()
106 isa<InvokeInst>(Parent->getTerminator())) { in splitLandingPadPreds()
155 if (const InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator())) in runOnModule()
H A DDeadArgumentElimination.cpp200 if (InvokeInst *II = dyn_cast<InvokeInst>(Call)) { in DeleteDeadVarargs()
201 NewCS = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(), in DeleteDeadVarargs()
938 if (InvokeInst *II = dyn_cast<InvokeInst>(Call)) { in RemoveDeadStuffFromFunction()
939 NewCS = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(), in RemoveDeadStuffFromFunction()
971 if (InvokeInst *II = dyn_cast<InvokeInst>(Call)) { in RemoveDeadStuffFromFunction()
H A DPruneEH.cpp192 if (InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator())) in SimplifyFunction()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DDemoteRegToStack.cpp47 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 DCallPromotionUtils.cpp48 static void fixupPHINodeForNormalDest(InvokeInst *Invoke, BasicBlock *OrigBlock, in fixupPHINodeForNormalDest()
79 static void fixupPHINodeForUnwindDest(InvokeInst *Invoke, BasicBlock *OrigBlock, in fixupPHINodeForUnwindDest()
173 if (auto *Invoke = dyn_cast<InvokeInst>(CS.getInstruction())) in createRetBitCast()
292 if (auto *OrigInvoke = dyn_cast<InvokeInst>(OrigInst)) { in versionCallSite()
293 auto *NewInvoke = cast<InvokeInst>(NewInst); in versionCallSite()
H A DInlineFunction.cpp119 LandingPadInliningInfo(InvokeInst *II) in LandingPadInliningInfo()
305 if (auto *Invoke = dyn_cast<InvokeInst>(U)) { in getUnwindDestTokenHelper()
498 (!isa<InvokeInst>(U) || in getUnwindDestToken()
511 assert((!isa<InvokeInst>(U) || in getUnwindDestToken()
606 if (InvokeInst *II = dyn_cast<InvokeInst>(I->getTerminator())) in HandleInlinedLandingPad()
648 static void HandleInlinedEHPad(InvokeInst *II, BasicBlock *FirstNewBlock, in HandleInlinedEHPad()
1738 NewI = InvokeInst::Create(cast<InvokeInst>(I), OpDefs, I); in InlineFunction()
1999 if (auto *II = dyn_cast<InvokeInst>(TheCall)) { in InlineFunction()
2042 NewInst = InvokeInst::Create(cast<InvokeInst>(I), OpBundles, I); in InlineFunction()
2195 if (InvokeInst *II = dyn_cast<InvokeInst>(TheCall)) { in InlineFunction()
[all …]
H A DLowerInvoke.cpp50 if (InvokeInst *II = dyn_cast<InvokeInst>(BB.getTerminator())) { in runImpl()
H A DFunctionComparator.cpp573 if (const InvokeInst *II = dyn_cast<InvokeInst>(L)) { in cmpOperations()
575 cast<InvokeInst>(R)->getCallingConv())) in cmpOperations()
578 cmpAttrs(II->getAttributes(), cast<InvokeInst>(R)->getAttributes())) in cmpOperations()
584 cast<InvokeInst>(R)->getMetadata(LLVMContext::MD_range)); in cmpOperations()
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DWinEHFuncInfo.h32 class InvokeInst; variable
94 DenseMap<const InvokeInst *, int> InvokeStateMap;
105 void addIPToStateRange(const InvokeInst *II, MCSymbol *InvokeBegin,
/freebsd-12.1/contrib/llvm/tools/llvm-diff/
H A DDifferenceEngine.cpp276 } else if (isa<InvokeInst>(L)) { in diff()
277 InvokeInst *LI = cast<InvokeInst>(L); in diff()
278 InvokeInst *RI = cast<InvokeInst>(R); in diff()
634 if (isa<BranchInst>(LTerm) && isa<InvokeInst>(RTerm)) { in runBlockDiff()
641 InvokeInst *RInvoke = cast<InvokeInst>(RTerm); in runBlockDiff()
647 } else if (isa<InvokeInst>(LTerm) && isa<BranchInst>(RTerm)) { in runBlockDiff()
654 InvokeInst *LInvoke = cast<InvokeInst>(LTerm); in runBlockDiff()
H A DDiffConsumer.cpp60 } else if (isa<InvokeInst>(V)) { in printValue()
62 printValue(cast<InvokeInst>(V)->getCalledValue(), isL); in printValue()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DCallSite.h59 typename InvokeTy = const InvokeInst,
284 : cast<InvokeInst>(II)->METHOD
291 cast<InvokeInst>(II)->METHOD
589 cast<InvokeInst>(II)->getOperandBundlesAsDefs(Defs); in getOperandBundlesAsDefs()
664 Instruction, CallInst, InvokeInst,
670 CallSite(InvokeInst *II) : CallSiteBase(II) {} in CallSite()
715 ImmutableCallSite(const InvokeInst *II) : CallSiteBase(II) {}
H A DInstructions.h3601 class InvokeInst : public CallBase {
3612 InvokeInst(const InvokeInst &BI);
3642 InvokeInst *cloneImpl() const;
3691 static InvokeInst *Create(Function *Func, BasicBlock *IfNormal,
3724 static InvokeInst *Create(Value *Func, BasicBlock *IfNormal,
3735 static InvokeInst *Create(Value *Func, BasicBlock *IfNormal,
3747 static InvokeInst *Create(Value *Func, BasicBlock *IfNormal,
3756 static InvokeInst *Create(Value *Func, BasicBlock *IfNormal,
3772 static InvokeInst *Create(InvokeInst *II, ArrayRef<OperandBundleDef> Bundles,
3834 InvokeInst::InvokeInst(FunctionType *Ty, Value *Func, BasicBlock *IfNormal,
[all …]
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DCodeMetrics.cpp129 if (isa<CallInst>(I) || isa<InvokeInst>(I)) { in analyzeBasicBlock()
174 if (const InvokeInst *InvI = dyn_cast<InvokeInst>(&I)) in analyzeBasicBlock()
H A DProfileSummaryInfo.cpp95 assert((isa<CallInst>(Inst) || isa<InvokeInst>(Inst)) && in getProfileCount()
142 if (isa<CallInst>(I) || isa<InvokeInst>(I)) in isFunctionHotInCallGraph()
171 if (isa<CallInst>(I) || isa<InvokeInst>(I)) in isFunctionColdInCallGraph()
H A DBranchProbabilityInfo.cpp152 if (auto *II = dyn_cast<InvokeInst>(TI)) { in updatePostDominatedByUnreachable()
184 if (auto *II = dyn_cast<InvokeInst>(TI)) in updatePostDominatedByColdCall()
208 assert(!isa<InvokeInst>(TI) && in calcUnreachableHeuristics()
354 assert(!isa<InvokeInst>(TI) && in calcColdCallHeuristics()
804 const InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator()); in calcInvokeHeuristics()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DSjLjEHPrepare.cpp70 void lowerAcrossUnwindEdges(Function &F, ArrayRef<InvokeInst *> Invokes);
259 ArrayRef<InvokeInst *> Invokes) { in lowerAcrossUnwindEdges()
307 for (InvokeInst *Invoke : Invokes) { in lowerAcrossUnwindEdges()
329 for (InvokeInst *Invoke : Invokes) { in lowerAcrossUnwindEdges()
354 SmallVector<InvokeInst *, 16> Invokes; in setupEntryBlockAndCallSites()
359 if (auto *II = dyn_cast<InvokeInst>(BB.getTerminator())) { in setupEntryBlockAndCallSites()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DDominators.cpp137 if (isa<InvokeInst>(Def) || isa<PHINode>(User)) in dominates()
170 if (const auto *II = dyn_cast<InvokeInst>(Def)) { in dominates()
275 if (const InvokeInst *II = dyn_cast<InvokeInst>(Def)) { in dominates()
H A DInstruction.cpp405 if (const InvokeInst *CI = dyn_cast<InvokeInst>(I1)) in haveSameSpecialState()
406 return CI->getCallingConv() == cast<InvokeInst>(I2)->getCallingConv() && in haveSameSpecialState()
407 CI->getAttributes() == cast<InvokeInst>(I2)->getAttributes() && in haveSameSpecialState()
408 CI->hasIdenticalOperandBundleSchema(*cast<InvokeInst>(I2)); in haveSameSpecialState()
521 return !cast<InvokeInst>(this)->doesNotAccessMemory(); in mayReadFromMemory()
541 return !cast<InvokeInst>(this)->onlyReadsMemory(); in mayWriteToMemory()
778 assert((isa<CallInst>(this) || isa<InvokeInst>(this)) && in setProfWeight()
H A DIRBuilder.cpp87 static InvokeInst *createInvokeHelper(Value *Invokee, BasicBlock *NormalDest, in createInvokeHelper()
92 InvokeInst *II = in createInvokeHelper()
93 InvokeInst::Create(Invokee, NormalDest, UnwindDest, Ops, Name); in createInvokeHelper()
653 static InvokeInst *CreateGCStatepointInvokeCommon( in CreateGCStatepointInvokeCommon()
675 InvokeInst *IRBuilderBase::CreateGCStatepointInvoke( in CreateGCStatepointInvoke()
686 InvokeInst *IRBuilderBase::CreateGCStatepointInvoke( in CreateGCStatepointInvoke()
696 InvokeInst *IRBuilderBase::CreateGCStatepointInvoke( in CreateGCStatepointInvoke()
/freebsd-12.1/contrib/llvm/include/llvm/Transforms/Utils/
H A DCloning.h44 class InvokeInst; variable
236 InlineResult InlineFunction(InvokeInst *II, InlineFunctionInfo &IFI,
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp483 if (isa<CallInst>(I) || isa<InvokeInst>(I)) in findBaseDefiningValueOfVector()
569 if (isa<CallInst>(I) || isa<InvokeInst>(I)) in findBaseDefiningValue()
1516 InvokeInst *ToReplace = cast<InvokeInst>(CS.getInstruction()); in makeStatepointExplicitImpl()
1521 InvokeInst *Invoke = Builder.CreateGCStatepointInvoke( in makeStatepointExplicitImpl()
1759 if (isa<InvokeInst>(Statepoint)) { in relocationViaAlloca()
1797 if (auto II = dyn_cast<InvokeInst>(Statepoint)) { in relocationViaAlloca()
1853 if (InvokeInst *Invoke = dyn_cast<InvokeInst>(Inst)) { in relocationViaAlloca()
1914 auto *II = cast<InvokeInst>(CS.getInstruction()); in insertUseHolderAfter()
2154 InvokeInst *Invoke = cast<InvokeInst>(CS.getInstruction()); in rematerializeLiveValues()
2197 auto *II = cast<InvokeInst>(CS.getInstruction()); in insertParsePoints()
H A DGVNSink.cpp103 (isa<InvokeInst>(I) && !cast<InvokeInst>(I)->doesNotAccessMemory()) || in isMemoryInst()
548 InvokeInst *II = dyn_cast<InvokeInst>(&*I); in getMemoryUseOrder()
729 if ((isa<CallInst>(I0) || isa<InvokeInst>(I0)) && OpNum == E - 1 && in analyzeInstructionForSinking()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DObjCARCInstKind.h112 return isa<InvokeInst>(V) ? ARCInstKind::CallOrUser : ARCInstKind::User; in GetBasicARCInstKind()
/freebsd-12.1/contrib/llvm/lib/Transforms/ObjCARC/
H A DObjCARC.h82 return dyn_cast<InvokeInst>(Opnd); in getreturnRVOperand()

12345