Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/llvm/lib/IR/
H A DDominators.cpp163 if (isa<InvokeInst>(Def) || isa<CallBrInst>(Def) || isa<PHINode>(User)) in dominates()
198 if (const auto *CBI = dyn_cast<CallBrInst>(Def)) { in dominates()
315 if (const auto *CBI = dyn_cast<CallBrInst>(Def)) { in dominates()
H A DInstruction.cpp467 if (const CallBrInst *CI = dyn_cast<CallBrInst>(I1)) in haveSameSpecialState()
468 return CI->getCallingConv() == cast<CallBrInst>(I2)->getCallingConv() && in haveSameSpecialState()
469 CI->getAttributes() == cast<CallBrInst>(I2)->getAttributes() && in haveSameSpecialState()
470 CI->hasIdenticalOperandBundleSchema(*cast<CallBrInst>(I2)); in haveSameSpecialState()
H A DInstructions.cpp263 return CallBrInst::Create(cast<CallBrInst>(CB), Bundles, InsertPt); in Create()
286 return cast<CallBrInst>(this)->getNumIndirectDests() + 1; in getNumSubclassExtraOperandsDynamic()
924 void CallBrInst::init(FunctionType *FTy, Value *Fn, BasicBlock *Fallthrough, in init()
964 CallBrInst::getBlockAddressForIndirectDest(unsigned DestNo) const { in getBlockAddressForIndirectDest()
969 CallBrInst::CallBrInst(const CallBrInst &CBI) in CallBrInst() function in CallBrInst
981 CallBrInst *CallBrInst::Create(CallBrInst *CBI, ArrayRef<OperandBundleDef> OpB, in Create()
985 auto *NewCBI = CallBrInst::Create( in Create()
4812 CallBrInst *CallBrInst::cloneImpl() const { in cloneImpl()
4815 return new (getNumOperands(), DescriptorBytes) CallBrInst(*this); in cloneImpl()
4817 return new (getNumOperands()) CallBrInst(*this); in cloneImpl()
H A DVerifier.cpp529 void visitCallBrInst(CallBrInst &CBI);
2237 if (auto *CallBr = dyn_cast<CallBrInst>(&Call)) { in verifyInlineAsmCall()
2858 void Verifier::visitCallBrInst(CallBrInst &CBI) { in visitCallBrInst()
H A DAsmWriter.cpp4197 } else if (const CallBrInst *CBI = dyn_cast<CallBrInst>(&I)) { in printInstruction()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DInstructions.h3985 class CallBrInst : public CallBase {
3989 CallBrInst(const CallBrInst &BI);
4022 CallBrInst *cloneImpl() const;
4025 static CallBrInst *Create(FunctionType *Ty, Value *Func,
4036 static CallBrInst *Create(FunctionType *Ty, Value *Func,
4052 static CallBrInst *Create(FunctionType *Ty, Value *Func,
4063 static CallBrInst *Create(FunctionType *Ty, Value *Func,
4104 static CallBrInst *Create(FunctionCallee Func,
4120 static CallBrInst *Create(CallBrInst *CBI,
4193 CallBrInst::CallBrInst(FunctionType *Ty, Value *Func, BasicBlock *DefaultDest,
[all …]
H A DInstVisitor.h223 RetTy visitCallBrInst(CallBrInst &I) { DELEGATE(CallBase); } in visitCallBrInst()
269 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.h1067 CallBrInst *CreateCallBr(FunctionType *Ty, Value *Callee,
1072 return Insert(CallBrInst::Create(Ty, Callee, DefaultDest, IndirectDests,
1075 CallBrInst *CreateCallBr(FunctionType *Ty, Value *Callee,
1082 CallBrInst::Create(Ty, Callee, DefaultDest, IndirectDests, Args,
1086 CallBrInst *CreateCallBr(FunctionCallee Callee, BasicBlock *DefaultDest,
1093 CallBrInst *CreateCallBr(FunctionCallee Callee, BasicBlock *DefaultDest,
/llvm-project-15.0.7/llvm/tools/llvm-diff/lib/
H A DDifferenceEngine.cpp316 } else if (isa<CallBrInst>(L)) { in diff()
317 const CallBrInst &LI = cast<CallBrInst>(*L); in diff()
318 const CallBrInst &RI = cast<CallBrInst>(*R); in diff()
/llvm-project-15.0.7/llvm/include/llvm/Transforms/IPO/
H A DIROutliner.h418 bool visitCallBrInst(CallBrInst &CBI) { return false; } in visitCallBrInst()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp2731 Instruction *InstCombinerImpl::visitCallBrInst(CallBrInst &CBI) { in visitCallBrInst()
3246 if (auto *CB = dyn_cast<CallBrInst>(Caller)) in transformConstExprCastCall()
3431 } else if (CallBrInst *CBI = dyn_cast<CallBrInst>(Caller)) { in transformConstExprCastCall()
3459 } else if (CallBrInst *CBI = dyn_cast<CallBrInst>(Caller)) { in transformConstExprCastCall()
3610 } else if (CallBrInst *CBI = dyn_cast<CallBrInst>(&Call)) { in transformCallThroughTrampoline()
3612 CallBrInst::Create(NewFTy, NewCallee, CBI->getDefaultDest(), in transformCallThroughTrampoline()
3614 cast<CallBrInst>(NewCaller)->setCallingConv(CBI->getCallingConv()); in transformCallThroughTrampoline()
3615 cast<CallBrInst>(NewCaller)->setAttributes(NewPAL); in transformCallThroughTrampoline()
H A DInstCombineInternal.h146 Instruction *visitCallBrInst(CallBrInst &CBI);
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h48 class CallBrInst; variable
484 void visitCallBr(const CallBrInst &I);
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DIRSimilarityIdentifier.h580 InstrType visitCallBrInst(CallBrInst &CBI) { return Illegal; } in visitCallBrInst()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp311 void visitCallBrInst(CallBrInst &CBI) { in visitCallBrInst()
690 if (isa<CallBrInst>(&TI)) { in getFeasibleSuccessors()
H A DInlineFunction.cpp1793 if (isa<CallBrInst>(CB)) in InlineFunction()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp289 if (!isa<CallBrInst>(*U)) { in computeFunctionSummary()
H A DInlineCost.cpp2644 if (!isa<CallBrInst>(*U)) in analyze()
2958 if (!isa<CallBrInst>(*U)) in isInlineViable()
/llvm-project-15.0.7/polly/lib/Analysis/
H A DScopDetection.cpp1759 if (isa<IndirectBrInst>(PredTerm) || isa<CallBrInst>(PredTerm)) in isValidRegion()
/llvm-project-15.0.7/llvm/include/llvm-c/
H A DCore.h1655 macro(CallBrInst) \
/llvm-project-15.0.7/llvm/lib/AsmParser/
H A DLLParser.cpp196 } else if (CallBrInst *CBI = dyn_cast<CallBrInst>(V)) { in validateEndOfModule()
6775 CallBrInst *CBI = in parseCallBr()
6776 CallBrInst::Create(Ty, Callee, DefaultDest, IndirectDests, Args, in parseCallBr()
/llvm-project-15.0.7/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp5568 I = CallBrInst::Create(FTy, Callee, DefaultDest, IndirectDests, Args, in parseFunctionBody()
5573 cast<CallBrInst>(I)->setCallingConv( in parseFunctionBody()
5575 cast<CallBrInst>(I)->setAttributes(PAL); in parseFunctionBody()
/llvm-project-15.0.7/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp2638 else if (auto *CBI = dyn_cast<CallBrInst>(Storage)) in salvageDebugInfo()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGStmt.cpp2714 llvm::CallBrInst *Result = in EmitAsmStmt()

12