/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | CallBrPrepare.cpp | 57 static bool SplitCriticalEdges(ArrayRef<CallBrInst *> CBRs, DominatorTree &DT); 58 static bool InsertIntrinsicCalls(ArrayRef<CallBrInst *> CBRs, 60 static void UpdateSSA(DominatorTree &DT, CallBrInst *CBR, CallInst *Intrinsic, 62 static SmallVector<CallBrInst *, 2> FindCallBrs(Function &Fn); 79 SmallVector<CallBrInst *, 2> CBRs = FindCallBrs(Fn); in run() 109 SmallVector<CallBrInst *, 2> FindCallBrs(Function &Fn) { in FindCallBrs() 110 SmallVector<CallBrInst *, 2> CBRs; in FindCallBrs() 112 if (auto *CBR = dyn_cast<CallBrInst>(BB.getTerminator())) in FindCallBrs() 118 bool SplitCriticalEdges(ArrayRef<CallBrInst *> CBRs, DominatorTree &DT) { in SplitCriticalEdges() 131 for (CallBrInst *CBR : CBRs) in SplitCriticalEdges() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | DemoteRegToStack.cpp | 54 } else if (CallBrInst *CBI = dyn_cast<CallBrInst>(&I)) { in DemoteRegToStack() 117 } else if (CallBrInst *CBI = dyn_cast<CallBrInst>(&I)) { in DemoteRegToStack()
|
H A D | SCCPSolver.cpp | 675 void visitCallBrInst(CallBrInst &CBI) { in visitCallBrInst()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Instruction.cpp | 338 } else if (isa<CallBrInst>(this)) { in getInsertionPointAfterDef() 820 if (const CallBrInst *CI = dyn_cast<CallBrInst>(I1)) in hasSameSpecialState() 821 return CI->getCallingConv() == cast<CallBrInst>(I2)->getCallingConv() && in hasSameSpecialState() 822 CI->getAttributes() == cast<CallBrInst>(I2)->getAttributes() && in hasSameSpecialState() 823 CI->hasIdenticalOperandBundleSchema(*cast<CallBrInst>(I2)); in hasSameSpecialState()
|
H A D | Instructions.cpp | 306 return CallBrInst::Create(cast<CallBrInst>(CB), Bundles, InsertPt); in Create() 328 return cast<CallBrInst>(this)->getNumIndirectDests() + 1; in getNumSubclassExtraOperandsDynamic() 851 void CallBrInst::init(FunctionType *FTy, Value *Fn, BasicBlock *Fallthrough, in init() 890 CallBrInst::CallBrInst(const CallBrInst &CBI) in CallBrInst() function in CallBrInst 902 CallBrInst *CallBrInst::Create(CallBrInst *CBI, ArrayRef<OperandBundleDef> OpB, in Create() 906 auto *NewCBI = CallBrInst::Create( in Create() 4366 CallBrInst *CallBrInst::cloneImpl() const { in cloneImpl() 4369 return new (getNumOperands(), DescriptorBytes) CallBrInst(*this); in cloneImpl() 4371 return new (getNumOperands()) CallBrInst(*this); in cloneImpl()
|
H A D | Dominators.cpp | 163 if (isa<InvokeInst>(Def) || isa<CallBrInst>(Def) || isa<PHINode>(User)) in dominates()
|
H A D | Verifier.cpp | 584 void visitCallBrInst(CallBrInst &CBI); 2533 if (auto *CallBr = dyn_cast<CallBrInst>(&Call)) { in verifyInlineAsmCall() 3184 void Verifier::visitCallBrInst(CallBrInst &CBI) { in visitCallBrInst() 4852 else if (CallBrInst *CI = dyn_cast<CallBrInst>(&I)) in visitProfMetadata() 6216 const auto *CBR = dyn_cast<CallBrInst>(Call.getOperand(0)); in visitIntrinsicCall() 6227 if (!isa<CallBrInst>(PredBB->getTerminator())) { in visitIntrinsicCall()
|
H A D | Core.cpp | 3101 return wrap(unwrap<CallBrInst>(CallBr)->getDefaultDest()); in LLVMGetCallBrDefaultDest() 3105 return unwrap<CallBrInst>(CallBr)->getNumIndirectDests(); in LLVMGetCallBrNumIndirectDests() 3109 return wrap(unwrap<CallBrInst>(CallBr)->getIndirectDest(Idx)); in LLVMGetCallBrIndirectDest()
|
H A D | AsmWriter.cpp | 4488 } else if (const CallBrInst *CBI = dyn_cast<CallBrInst>(&I)) { in printInstruction()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-diff/lib/ |
H A D | DifferenceEngine.cpp | 433 } else if (isa<CallBrInst>(L)) { in diff() 434 const CallBrInst &LI = cast<CallBrInst>(*L); in diff() 435 const CallBrInst &RI = cast<CallBrInst>(*R); in diff()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | InstVisitor.h | 222 RetTy visitCallBrInst(CallBrInst &I) { DELEGATE(CallBase); } in visitCallBrInst() 268 if (isa<InvokeInst>(I) || isa<CallBrInst>(I)) in visitCallBase()
|
H A D | Instructions.h | 3729 class CallBrInst : public CallBase { 3733 CallBrInst(const CallBrInst &BI); 3738 inline CallBrInst(FunctionType *Ty, Value *Func, BasicBlock *DefaultDest, 3760 CallBrInst *cloneImpl() const; 3763 static CallBrInst *Create(FunctionType *Ty, Value *Func, 3770 CallBrInst(Ty, Func, DefaultDest, IndirectDests, Args, std::nullopt, 3774 static CallBrInst * 3784 CallBrInst(Ty, Func, DefaultDest, IndirectDests, Args, Bundles, 3788 static CallBrInst *Create(FunctionCallee Func, BasicBlock *DefaultDest, 3796 static CallBrInst *Create(FunctionCallee Func, BasicBlock *DefaultDest, [all …]
|
H A D | Instruction.def | 137 HANDLE_TERM_INST (11, CallBr , CallBrInst) // A call-site terminator
|
H A D | IRBuilder.h | 1202 CallBrInst *CreateCallBr(FunctionType *Ty, Value *Callee, 1207 return Insert(CallBrInst::Create(Ty, Callee, DefaultDest, IndirectDests, 1210 CallBrInst *CreateCallBr(FunctionType *Ty, Value *Callee, 1217 CallBrInst::Create(Ty, Callee, DefaultDest, IndirectDests, Args, 1221 CallBrInst *CreateCallBr(FunctionCallee Callee, BasicBlock *DefaultDest, 1228 CallBrInst *CreateCallBr(FunctionCallee Callee, BasicBlock *DefaultDest,
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/ |
H A D | IROutliner.h | 418 bool visitCallBrInst(CallBrInst &CBI) { return false; } in visitCallBrInst()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGBuilder.h | 51 class CallBrInst; variable 539 void visitCallBr(const CallBrInst &I);
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | IRSimilarityIdentifier.h | 586 InstrType visitCallBrInst(CallBrInst &CBI) { return Illegal; } in visitCallBrInst()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCalls.cpp | 3663 Instruction *InstCombinerImpl::visitCallBrInst(CallBrInst &CBI) { in visitCallBrInst() 4081 assert(!isa<CallBrInst>(Call) && in transformConstExprCastCall() 4460 } else if (CallBrInst *CBI = dyn_cast<CallBrInst>(&Call)) { in transformCallThroughTrampoline() 4462 CallBrInst::Create(NewFTy, NestF, CBI->getDefaultDest(), in transformCallThroughTrampoline() 4464 cast<CallBrInst>(NewCaller)->setCallingConv(CBI->getCallingConv()); in transformCallThroughTrampoline() 4465 cast<CallBrInst>(NewCaller)->setAttributes(NewPAL); in transformCallThroughTrampoline()
|
H A D | InstCombineInternal.h | 153 Instruction *visitCallBrInst(CallBrInst &CBI);
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | BranchProbabilityInfo.cpp | 383 isa<InvokeInst>(TI) || isa<CallBrInst>(TI))) in calcMetadataWeights()
|
H A D | ModuleSummaryAnalysis.cpp | 349 if (!isa<CallBrInst>(*U)) { in computeFunctionSummary()
|
H A D | InlineCost.cpp | 2789 if (!isa<CallBrInst>(*U)) in analyze() 3110 if (!isa<CallBrInst>(*U)) in isInlineViable()
|
/freebsd/contrib/llvm-project/llvm/include/llvm-c/ |
H A D | Core.h | 1889 macro(CallBrInst) \
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | PGOInstrumentation.cpp | 1620 isa<CallBrInst>(TI))) in setBranchWeights()
|
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 263 } else if (CallBrInst *CBI = dyn_cast<CallBrInst>(V)) { in validateEndOfModule() 7670 CallBrInst *CBI = in parseCallBr() 7671 CallBrInst::Create(Ty, Callee, DefaultDest, IndirectDests, Args, in parseCallBr()
|