Home
last modified time | relevance | path

Searched refs:CallBrInst (Results 1 – 25 of 36) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DDominators.cpp156 if (isa<InvokeInst>(Def) || isa<CallBrInst>(Def) || isa<PHINode>(User)) in dominates()
191 if (const auto *CBI = dyn_cast<CallBrInst>(Def)) { in dominates()
308 if (const auto *CBI = dyn_cast<CallBrInst>(Def)) { in dominates()
H A DInstruction.cpp437 if (const CallBrInst *CI = dyn_cast<CallBrInst>(I1)) in haveSameSpecialState()
438 return CI->getCallingConv() == cast<CallBrInst>(I2)->getCallingConv() && in haveSameSpecialState()
439 CI->getAttributes() == cast<CallBrInst>(I2)->getAttributes() && in haveSameSpecialState()
440 CI->hasIdenticalOperandBundleSchema(*cast<CallBrInst>(I2)); in haveSameSpecialState()
H A DInstructions.cpp259 return CallBrInst::Create(cast<CallBrInst>(CB), Bundles, InsertPt); in Create()
282 return cast<CallBrInst>(this)->getNumIndirectDests() + 1; in getNumSubclassExtraOperandsDynamic()
884 void CallBrInst::init(FunctionType *FTy, Value *Fn, BasicBlock *Fallthrough, in init()
921 void CallBrInst::updateArgBlockAddresses(unsigned i, BasicBlock *B) { in updateArgBlockAddresses()
932 CallBrInst::CallBrInst(const CallBrInst &CBI) in CallBrInst() function in CallBrInst
944 CallBrInst *CallBrInst::Create(CallBrInst *CBI, ArrayRef<OperandBundleDef> OpB, in Create()
948 auto *NewCBI = CallBrInst::Create( in Create()
4504 CallBrInst *CallBrInst::cloneImpl() const { in cloneImpl()
4507 return new (getNumOperands(), DescriptorBytes) CallBrInst(*this); in cloneImpl()
4509 return new (getNumOperands()) CallBrInst(*this); in cloneImpl()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DInstructions.h3911 class CallBrInst : public CallBase {
3915 CallBrInst(const CallBrInst &BI);
3920 inline CallBrInst(FunctionType *Ty, Value *Func, BasicBlock *DefaultDest,
3926 inline CallBrInst(FunctionType *Ty, Value *Func, BasicBlock *DefaultDest,
3951 CallBrInst *cloneImpl() const;
3954 static CallBrInst *Create(FunctionType *Ty, Value *Func,
3961 CallBrInst(Ty, Func, DefaultDest, IndirectDests, Args, None,
3965 static CallBrInst *Create(FunctionType *Ty, Value *Func,
3977 CallBrInst(Ty, Func, DefaultDest, IndirectDests, Args, Bundles,
3981 static CallBrInst *Create(FunctionType *Ty, Value *Func,
[all …]
H A DInstVisitor.h221 RetTy visitCallBrInst(CallBrInst &I) { DELEGATE(CallBase); } in visitCallBrInst()
267 if (isa<InvokeInst>(I) || isa<CallBrInst>(I)) in visitCallBase()
H A DInstruction.def137 HANDLE_TERM_INST (11, CallBr , CallBrInst) // A call-site terminator
H A DIRBuilder.h1050 CallBrInst *CreateCallBr(FunctionType *Ty, Value *Callee,
1055 return Insert(CallBrInst::Create(Ty, Callee, DefaultDest, IndirectDests,
1058 CallBrInst *CreateCallBr(FunctionType *Ty, Value *Callee,
1065 CallBrInst::Create(Ty, Callee, DefaultDest, IndirectDests, Args,
1069 CallBrInst *CreateCallBr(FunctionCallee Callee, BasicBlock *DefaultDest,
1076 CallBrInst *CreateCallBr(FunctionCallee Callee, BasicBlock *DefaultDest,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp2002 Instruction *InstCombinerImpl::visitCallBrInst(CallBrInst &CBI) { in visitCallBrInst()
2524 if (isa<CallBrInst>(Caller)) in transformConstExprCastCall()
2689 } else if (CallBrInst *CBI = dyn_cast<CallBrInst>(Caller)) { in transformConstExprCastCall()
2717 } else if (CallBrInst *CBI = dyn_cast<CallBrInst>(Caller)) { in transformConstExprCastCall()
2868 } else if (CallBrInst *CBI = dyn_cast<CallBrInst>(&Call)) { in transformCallThroughTrampoline()
2870 CallBrInst::Create(NewFTy, NewCallee, CBI->getDefaultDest(), in transformCallThroughTrampoline()
2872 cast<CallBrInst>(NewCaller)->setCallingConv(CBI->getCallingConv()); in transformCallThroughTrampoline()
2873 cast<CallBrInst>(NewCaller)->setAttributes(NewPAL); in transformCallThroughTrampoline()
H A DInstCombineInternal.h145 Instruction *visitCallBrInst(CallBrInst &CBI);
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/IPO/
H A DIROutliner.h340 bool visitCallBrInst(CallBrInst &CBI) { return false; } in visitCallBrInst()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h47 class CallBrInst; variable
681 void visitCallBr(const CallBrInst &I);
H A DSelectionDAGBuilder.cpp2957 void SelectionDAGBuilder::visitCallBr(const CallBrInst &I) { in visitCallBr()
8395 if (isa<CallBrInst>(Call) && in visitInlineAsm()
8396 ArgNo - 1 >= (cast<CallBrInst>(&Call)->getNumArgOperands() - in visitInlineAsm()
8397 cast<CallBrInst>(&Call)->getNumIndirectDests() - in visitInlineAsm()
8400 ArgNo - 1 < (cast<CallBrInst>(&Call)->getNumArgOperands() - in visitInlineAsm()
8462 bool IsCallBr = isa<CallBrInst>(Call); in visitInlineAsm()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DSimplifyCFGPass.cpp125 if (auto *CBI = dyn_cast<CallBrInst>((*PI)->getTerminator())) in mergeEmptyReturnBlocks()
H A DSpeculateAroundPHIs.cpp786 isa<CallBrInst>(TermInst)) { in tryToSpeculatePHIs()
H A DJumpThreading.cpp1476 isa<CallBrInst>(P->getTerminator())) in simplifyPartiallyRedundantLoad()
1704 isa<CallBrInst>(Pred->getTerminator())) in processThreadableEdges()
1945 isa<CallBrInst>(Pred->getTerminator()); in processBranchOnXOR()
H A DGVN.cpp1353 if (isa<CallBrInst>(Pred->getTerminator())) { in PerformLoadPRE()
2731 if (isa<CallBrInst>(PREPred->getTerminator())) in performScalarPRE()
H A DLICM.cpp1577 isa<CallBrInst>(BBPred->getTerminator())) in canSplitPredecessors()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DIRSimilarityIdentifier.h418 InstrType visitCallBrInst(CallBrInst &CBI) { return Illegal; } in visitCallBrInst()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DBreakCriticalEdges.cpp162 if (const auto *CBR = dyn_cast<CallBrInst>(T)) in SplitKnownCriticalEdge()
H A DSCCPSolver.cpp317 void visitCallBrInst(CallBrInst &CBI) { in visitCallBrInst()
649 if (isa<CallBrInst>(&TI)) { in getFeasibleSuccessors()
H A DBasicBlockUtils.cpp752 !isa<CallBrInst>(TI)) in SplitAllCriticalEdges()
1111 assert(!isa<CallBrInst>(Preds[i]->getTerminator()) && in SplitBlockPredecessorsImpl()
H A DLoopUtils.cpp84 if (isa<CallBrInst>(PredBB->getTerminator())) in formDedicatedExitBlocks()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DLoopInfo.cpp492 isa<CallBrInst>(BB->getTerminator())) in isSafeToClone()
H A DInlineCost.cpp2340 if (!isa<CallBrInst>(*U)) in analyze()
2642 if (!isa<CallBrInst>(*U)) in isInlineViable()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm-c/
H A DCore.h1624 macro(CallBrInst) \

12