Home
last modified time | relevance | path

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

12

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
HDCallSite.h56 typename CallBrTy = const CallBrInst,
291 : isCallBr() ? cast<CallBrInst>(II)->METHOD \
299 cast<CallBrInst>(II)->METHOD; \
674 CallBrInst, User::op_iterator> {
680 CallSite(CallBrInst *CBI) : CallSiteBase(CBI) {} in CallSite()
702 ImmutableCallSite(const CallBrInst *CBI) : CallSiteBase(CBI) {}
HDInstructions.h3923 class CallBrInst : public CallBase {
3927 CallBrInst(const CallBrInst &BI);
3932 inline CallBrInst(FunctionType *Ty, Value *Func, BasicBlock *DefaultDest,
3938 inline CallBrInst(FunctionType *Ty, Value *Func, BasicBlock *DefaultDest,
3963 CallBrInst *cloneImpl() const;
3966 static CallBrInst *Create(FunctionType *Ty, Value *Func,
3973 CallBrInst(Ty, Func, DefaultDest, IndirectDests, Args, None,
3977 static CallBrInst *Create(FunctionType *Ty, Value *Func,
3989 CallBrInst(Ty, Func, DefaultDest, IndirectDests, Args, Bundles,
3993 static CallBrInst *Create(FunctionType *Ty, Value *Func,
[all …]
HDInstVisitor.h229 RetTy visitCallBrInst(CallBrInst &I) { in visitCallBrInst()
277 if (isa<InvokeInst>(I) || isa<CallBrInst>(I)) in visitCallBase()
HDInstruction.def137 HANDLE_TERM_INST (11, CallBr , CallBrInst) // A call-site terminator
HDIRBuilder.h1071 CallBrInst *CreateCallBr(FunctionType *Ty, Value *Callee,
1076 return Insert(CallBrInst::Create(Ty, Callee, DefaultDest, IndirectDests,
1079 CallBrInst *CreateCallBr(FunctionType *Ty, Value *Callee,
1086 CallBrInst::Create(Ty, Callee, DefaultDest, IndirectDests, Args,
1090 CallBrInst *CreateCallBr(FunctionCallee Callee, BasicBlock *DefaultDest,
1097 CallBrInst *CreateCallBr(FunctionCallee Callee, BasicBlock *DefaultDest,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
HDInstruction.cpp412 if (const CallBrInst *CI = dyn_cast<CallBrInst>(I1)) in haveSameSpecialState()
413 return CI->getCallingConv() == cast<CallBrInst>(I2)->getCallingConv() && in haveSameSpecialState()
414 CI->getAttributes() == cast<CallBrInst>(I2)->getAttributes() && in haveSameSpecialState()
415 CI->hasIdenticalOperandBundleSchema(*cast<CallBrInst>(I2)); in haveSameSpecialState()
HDInstructions.cpp263 return cast<CallBrInst>(this)->getNumIndirectDests() + 1; in getNumSubclassExtraOperandsDynamic()
783 void CallBrInst::init(FunctionType *FTy, Value *Fn, BasicBlock *Fallthrough, in init()
820 void CallBrInst::updateArgBlockAddresses(unsigned i, BasicBlock *B) { in updateArgBlockAddresses()
831 CallBrInst::CallBrInst(const CallBrInst &CBI) in CallBrInst() function in CallBrInst
843 CallBrInst *CallBrInst::Create(CallBrInst *CBI, ArrayRef<OperandBundleDef> OpB, in Create()
847 auto *NewCBI = CallBrInst::Create(CBI->getFunctionType(), in Create()
4288 CallBrInst *CallBrInst::cloneImpl() const { in cloneImpl()
4291 return new (getNumOperands(), DescriptorBytes) CallBrInst(*this); in cloneImpl()
4293 return new (getNumOperands()) CallBrInst(*this); in cloneImpl()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
HDInlineFunction.cpp1569 if (isa<CallBrInst>(TheCall)) in InlineFunction()
1797 else if (isa<CallBrInst>(I)) in InlineFunction()
1798 NewI = CallBrInst::Create(cast<CallBrInst>(I), OpDefs, I); in InlineFunction()
2102 NewInst = CallBrInst::Create(cast<CallBrInst>(I), OpBundles, I); in InlineFunction()
HDBreakCriticalEdges.cpp154 if (isa<CallBrInst>(TI) && SuccNum > 0) in SplitCriticalEdge()
HDBasicBlockUtils.cpp509 !isa<CallBrInst>(TI)) in SplitAllCriticalEdges()
750 assert(!isa<CallBrInst>(Preds[i]->getTerminator()) && in SplitBlockPredecessors()
HDLoopUtils.cpp72 if (isa<CallBrInst>(PredBB->getTerminator())) in formDedicatedExitBlocks()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
HDSimplifyCFGPass.cpp112 if (auto *CBI = dyn_cast<CallBrInst>((*PI)->getTerminator())) in mergeEmptyReturnBlocks()
HDSpeculateAroundPHIs.cpp783 isa<CallBrInst>(TermInst)) { in tryToSpeculatePHIs()
HDSCCP.cpp645 void visitCallBrInst (CallBrInst &CBI) { in visitCallBrInst()
747 if (isa<CallBrInst>(&TI)) { in getFeasibleSuccessors()
HDJumpThreading.cpp1414 isa<CallBrInst>(P->getTerminator())) in SimplifyPartiallyRedundantLoad()
1624 isa<CallBrInst>(Pred->getTerminator())) in ProcessThreadableEdges()
HDGVN.cpp1118 if (isa<CallBrInst>(Pred->getTerminator())) { in PerformLoadPRE()
2385 if (isa<CallBrInst>(PREPred->getTerminator())) in performScalarPRE()
HDLICM.cpp1496 isa<CallBrInst>(BBPred->getTerminator())) in canSplitPredecessors()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
HDSelectionDAGBuilder.h51 class CallBrInst; variable
686 void visitCallBr(const CallBrInst &I);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
HDInstCombineCalls.cpp4217 Instruction *InstCombiner::visitCallBrInst(CallBrInst &CBI) { in visitCallBrInst()
4604 if (isa<CallBrInst>(Caller)) in transformConstExprCastCall()
4765 } else if (CallBrInst *CBI = dyn_cast<CallBrInst>(Caller)) { in transformConstExprCastCall()
4796 } else if (CallBrInst *CBI = dyn_cast<CallBrInst>(Caller)) { in transformConstExprCastCall()
4947 } else if (CallBrInst *CBI = dyn_cast<CallBrInst>(&Call)) { in transformCallThroughTrampoline()
4949 CallBrInst::Create(NewFTy, NewCallee, CBI->getDefaultDest(), in transformCallThroughTrampoline()
4951 cast<CallBrInst>(NewCaller)->setCallingConv(CBI->getCallingConv()); in transformCallThroughTrampoline()
4952 cast<CallBrInst>(NewCaller)->setAttributes(NewPAL); in transformCallThroughTrampoline()
HDInstCombineInternal.h427 Instruction *visitCallBrInst(CallBrInst &CBI);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
HDInlineCost.cpp1985 if (!isa<CallBrInst>(*U)) in analyze()
2204 if (!isa<CallBrInst>(*U)) in isInlineViable()
HDLoopInfo.cpp479 isa<CallBrInst>(BB->getTerminator())) in isSafeToClone()
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm-c/
HDCore.h1580 macro(CallBrInst) \
/freebsd-11-stable/contrib/llvm-project/llvm/lib/AsmParser/
HDLLParser.cpp166 } else if (CallBrInst *CBI = dyn_cast<CallBrInst>(V)) { in ValidateEndOfModule()
6459 CallBrInst *CBI = in ParseCallBr()
6460 CallBrInst::Create(Ty, Callee, DefaultDest, IndirectDests, Args, in ParseCallBr()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Bitcode/Reader/
HDBitcodeReader.cpp4620 I = CallBrInst::Create(FTy, Callee, DefaultDest, IndirectDests, Args, in parseFunctionBody()
4625 cast<CallBrInst>(I)->setCallingConv( in parseFunctionBody()
4627 cast<CallBrInst>(I)->setAttributes(PAL); in parseFunctionBody()

12