Home
last modified time | relevance | path

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

12345

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/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()
DCallPromotionUtils.cpp47 static void fixupPHINodeForNormalDest(InvokeInst *Invoke, BasicBlock *OrigBlock, in fixupPHINodeForNormalDest()
78 static void fixupPHINodeForUnwindDest(InvokeInst *Invoke, BasicBlock *OrigBlock, in fixupPHINodeForUnwindDest()
172 if (auto *Invoke = dyn_cast<InvokeInst>(CS.getInstruction())) in createRetBitCast()
291 if (auto *OrigInvoke = dyn_cast<InvokeInst>(OrigInst)) { in versionCallSite()
292 auto *NewInvoke = cast<InvokeInst>(NewInst); in versionCallSite()
DInlineFunction.cpp112 LandingPadInliningInfo(InvokeInst *II) in LandingPadInliningInfo()
298 if (auto *Invoke = dyn_cast<InvokeInst>(U)) { in getUnwindDestTokenHelper()
491 (!isa<InvokeInst>(U) || in getUnwindDestToken()
493 cast<InvokeInst>(U)->getUnwindDest()->getFirstNonPHI()) == in getUnwindDestToken()
504 assert((!isa<InvokeInst>(U) || in getUnwindDestToken()
506 cast<InvokeInst>(U)->getUnwindDest()->getFirstNonPHI()) == in getUnwindDestToken()
584 static void HandleInlinedLandingPad(InvokeInst *II, BasicBlock *FirstNewBlock, in HandleInlinedLandingPad()
599 if (InvokeInst *II = dyn_cast<InvokeInst>(I->getTerminator())) in HandleInlinedLandingPad()
641 static void HandleInlinedEHPad(InvokeInst *II, BasicBlock *FirstNewBlock, in HandleInlinedEHPad()
1800 NewI = InvokeInst::Create(cast<InvokeInst>(I), OpDefs, I); in InlineFunction()
[all …]
DLowerInvoke.cpp50 if (InvokeInst *II = dyn_cast<InvokeInst>(BB.getTerminator())) { in runImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DBlockExtractor.cpp139 if (!isa<InvokeInst>(&I)) in splitLandingPadPreds()
141 InvokeInst *II = cast<InvokeInst>(&I); in splitLandingPadPreds()
150 isa<InvokeInst>(Parent->getTerminator())) { in splitLandingPadPreds()
205 if (const InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator())) in runOnModule()
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()
DPruneEH.cpp192 if (InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator())) in SimplifyFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/CFGuard/
DCFGuard.cpp211 assert(isa<InvokeInst>(CB) && "Unknown indirect call type"); in insertCFGuardDispatch()
212 InvokeInst *II = cast<InvokeInst>(CB); in insertCFGuardDispatch()
213 NewCB = llvm::InvokeInst::Create(II, Bundles, CB); in insertCFGuardDispatch()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DWinEHFuncInfo.h31 class InvokeInst; variable
93 DenseMap<const InvokeInst *, int> InvokeStateMap;
104 void addIPToStateRange(const InvokeInst *II, MCSymbol *InvokeBegin,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp70 void lowerAcrossUnwindEdges(Function &F, ArrayRef<InvokeInst *> Invokes);
261 ArrayRef<InvokeInst *> Invokes) { in lowerAcrossUnwindEdges()
309 for (InvokeInst *Invoke : Invokes) { in lowerAcrossUnwindEdges()
331 for (InvokeInst *Invoke : Invokes) { in lowerAcrossUnwindEdges()
356 SmallVector<InvokeInst *, 16> Invokes; in setupEntryBlockAndCallSites()
361 if (auto *II = dyn_cast<InvokeInst>(BB.getTerminator())) { in setupEntryBlockAndCallSites()
DWinEHPrepare.cpp179 auto *II = dyn_cast<InvokeInst>(BB.getTerminator()); in calculateStateNumbersForInvokes()
223 if (isa<InvokeInst>(TI)) in getEHPadFromPredecessor()
613 if (auto *Invoke = dyn_cast<InvokeInst>(U)) { in calculateClrEHStateNumbers()
995 } else if (isa<InvokeInst>(TI)) { in removeImplausibleInstructions()
1241 void WinEHFuncInfo::addIPToStateRange(const InvokeInst *II, in addIPToStateRange()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DProfileSummaryInfo.cpp110 assert((isa<CallInst>(Inst) || isa<InvokeInst>(Inst)) && in getProfileCount()
157 if (isa<CallInst>(I) || isa<InvokeInst>(I)) in isFunctionHotInCallGraph()
186 if (isa<CallInst>(I) || isa<InvokeInst>(I)) in isFunctionColdInCallGraph()
211 if (isa<CallInst>(I) || isa<InvokeInst>(I)) in isFunctionHotInCallGraphNthPercentile()
DCodeMetrics.cpp170 if (const InvokeInst *InvI = dyn_cast<InvokeInst>(&I)) in analyzeBasicBlock()
DBranchProbabilityInfo.cpp188 if (auto *II = dyn_cast<InvokeInst>(BB->getTerminator())) { in computePostDominatedByUnreachable()
216 if (auto *II = dyn_cast<InvokeInst>(BB->getTerminator())) { in computePostDominatedByColdCall()
237 assert(!isa<InvokeInst>(TI) && in calcUnreachableHeuristics()
383 assert(!isa<InvokeInst>(TI) && in calcColdCallHeuristics()
844 const InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator()); in calcInvokeHeuristics()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
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()
DIRBuilder.cpp86 static InvokeInst *createInvokeHelper(Function *Invokee, BasicBlock *NormalDest, in createInvokeHelper()
91 InvokeInst *II = in createInvokeHelper()
92 InvokeInst::Create(Invokee, NormalDest, UnwindDest, Ops, Name); in createInvokeHelper()
658 static InvokeInst *CreateGCStatepointInvokeCommon( in CreateGCStatepointInvokeCommon()
680 InvokeInst *IRBuilderBase::CreateGCStatepointInvoke( in CreateGCStatepointInvoke()
691 InvokeInst *IRBuilderBase::CreateGCStatepointInvoke( in CreateGCStatepointInvoke()
701 InvokeInst *IRBuilderBase::CreateGCStatepointInvoke( in CreateGCStatepointInvoke()
DInstruction.cpp408 if (const InvokeInst *CI = dyn_cast<InvokeInst>(I1)) in haveSameSpecialState()
409 return CI->getCallingConv() == cast<InvokeInst>(I2)->getCallingConv() && in haveSameSpecialState()
410 CI->getAttributes() == cast<InvokeInst>(I2)->getAttributes() && in haveSameSpecialState()
411 CI->hasIdenticalOperandBundleSchema(*cast<InvokeInst>(I2)); in haveSameSpecialState()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DCallSite.h55 typename InvokeTy = const InvokeInst,
292 : cast<InvokeInst>(II)->METHOD
301 cast<InvokeInst>(II)->METHOD
673 Instruction, CallInst, InvokeInst,
679 CallSite(InvokeInst *II) : CallSiteBase(II) {} in CallSite()
701 ImmutableCallSite(const InvokeInst *II) : CallSiteBase(II) {}
DInstructions.h3662 class InvokeInst : public CallBase {
3673 InvokeInst(const InvokeInst &BI);
3678 inline InvokeInst(FunctionType *Ty, Value *Func, BasicBlock *IfNormal,
3683 inline InvokeInst(FunctionType *Ty, Value *Func, BasicBlock *IfNormal,
3703 InvokeInst *cloneImpl() const;
3706 static InvokeInst *Create(FunctionType *Ty, Value *Func, BasicBlock *IfNormal,
3712 InvokeInst(Ty, Func, IfNormal, IfException, Args, None, NumOperands,
3716 static InvokeInst *Create(FunctionType *Ty, Value *Func, BasicBlock *IfNormal,
3726 InvokeInst(Ty, Func, IfNormal, IfException, Args, Bundles, NumOperands,
3730 static InvokeInst *Create(FunctionType *Ty, Value *Func, BasicBlock *IfNormal,
[all …]
DStatepoint.h332 return isa<LandingPadInst>(Token) || isa<InvokeInst>(Token); in isTiedToInvoke()
418 auto *StatepointInvoke = dyn_cast<InvokeInst>(StatepointCall); in getRelocates()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DGVNSink.cpp103 (isa<InvokeInst>(I) && !cast<InvokeInst>(I)->doesNotAccessMemory()) || in isMemoryInst()
549 InvokeInst *II = dyn_cast<InvokeInst>(&*I); in getMemoryUseOrder()
739 if ((isa<CallInst>(I0) || isa<InvokeInst>(I0)) && OpNum == E - 1 && in analyzeInstructionForSinking()
DRewriteStatepointsForGC.cpp479 if (isa<CallInst>(I) || isa<InvokeInst>(I)) in findBaseDefiningValueOfVector()
565 if (isa<CallInst>(I) || isa<InvokeInst>(I)) in findBaseDefiningValue()
1511 auto *II = cast<InvokeInst>(Call); in makeStatepointExplicitImpl()
1516 InvokeInst *SPInvoke = Builder.CreateGCStatepointInvoke( in makeStatepointExplicitImpl()
1752 if (isa<InvokeInst>(Statepoint)) { in relocationViaAlloca()
1790 if (auto II = dyn_cast<InvokeInst>(Statepoint)) { in relocationViaAlloca()
1848 if (InvokeInst *Invoke = dyn_cast<InvokeInst>(Inst)) { in relocationViaAlloca()
1909 auto *II = cast<InvokeInst>(Call); in insertUseHolderAfter()
2074 if (isa<InvokeInst>(Call)) { in rematerializeLiveValues()
2149 auto *Invoke = cast<InvokeInst>(Call); in rematerializeLiveValues()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DLocal.h278 CallInst *createCallMatchingInvoke(InvokeInst *II);
281 void changeToCall(InvokeInst *II, DomTreeUpdater *DTU = nullptr);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DObjCARCInstKind.h115 return isa<InvokeInst>(V) ? ARCInstKind::CallOrUser : ARCInstKind::User; in GetBasicARCInstKind()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/ObjCARC/
DObjCARC.h81 return dyn_cast<InvokeInst>(Opnd); in getreturnRVOperand()

12345