Home
last modified time | relevance | path

Searched defs:CB (Results 1 – 25 of 214) sorted by relevance

123456789

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCallSiteSplitting.cpp86 static void addNonNullAttribute(CallBase &CB, Value *Op) { in addNonNullAttribute()
95 static void setConstantInArgument(CallBase &CB, Value *Op, in setConstantInArgument()
109 static bool isCondRelevantToAnyCallArgument(ICmpInst *Cmp, CallBase &CB) { in isCondRelevantToAnyCallArgument()
129 static void recordCondition(CallBase &CB, BasicBlock *From, BasicBlock *To, in recordCondition()
152 static void recordConditions(CallBase &CB, BasicBlock *Pred, in recordConditions()
165 static void addConditions(CallBase &CB, const ConditionsTy &Conditions) { in addConditions()
184 static bool canSplitCallSite(CallBase &CB, TargetTransformInfo &TTI) { in canSplitCallSite()
302 static void splitCallSite(CallBase &CB, in splitCallSite()
416 static bool isPredicatedOnPHI(CallBase &CB) { in isPredicatedOnPHI()
443 static PredsWithCondsTy shouldSplitOnPHIPredicatedArgument(CallBase &CB) { in shouldSplitOnPHIPredicatedArgument()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DObjCARCUtil.h29 inline bool hasAttachedCallOpBundle(const CallBase *CB) { in hasAttachedCallOpBundle()
43 inline std::optional<Function *> getAttachedARCFunction(const CallBase *CB) { in getAttachedARCFunction()
60 inline ARCInstKind getAttachedARCFunctionKind(const CallBase *CB) { in getAttachedARCFunctionKind()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DUnreachableCodeChecker.cpp78 const CFGBlock *CB = BE->getBlock(); in checkEndAnalysis() local
179 void UnreachableCodeChecker::FindUnreachableEntryPoints(const CFGBlock *CB, in FindUnreachableEntryPoints()
200 const Stmt *UnreachableCodeChecker::getUnreachableStmt(const CFGBlock *CB) { in getUnreachableStmt()
215 bool UnreachableCodeChecker::isInvalidPath(const CFGBlock *CB, in isInvalidPath()
247 bool UnreachableCodeChecker::isEmptyCFGBlock(const CFGBlock *CB) { in isEmptyCFGBlock()
H A DAnalyzerStatsChecker.cpp64 const CFGBlock *CB = BE->getBlock(); in checkEndAnalysis() local
76 const CFGBlock *CB = *I; in checkEndAnalysis() local
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConvergenceVerifier.cpp20 const auto *CB = dyn_cast<CallBase>(&I); in getConvOp() local
45 auto *CB = dyn_cast<CallBase>(&I); in findAndCheckConvergenceTokenUsed() local
86 if (auto *CB = dyn_cast<CallBase>(&I)) { in isConvergent() local
H A DAssumptions.cpp76 bool llvm::hasAssumption(const CallBase &CB, in hasAssumption()
91 DenseSet<StringRef> llvm::getAssumptions(const CallBase &CB) { in getAssumptions()
100 bool llvm::addAssumptions(CallBase &CB, in addAssumptions()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineOrder.cpp45 llvm::InlineCost getInlineCostWrapper(CallBase &CB, in getInlineCostWrapper()
77 SizePriority(const CallBase *CB, FunctionAnalysisManager &, in SizePriority()
94 CostPriority(const CallBase *CB, FunctionAnalysisManager &FAM, in CostPriority()
114 CostBenefitPriority(const CallBase *CB, FunctionAnalysisManager &FAM, in CostBenefitPriority()
185 MLPriority(const CallBase *CB, FunctionAnalysisManager &FAM, in MLPriority()
213 bool updateAndCheckDecreased(const CallBase *CB) { in updateAndCheckDecreased()
247 CallBase *CB = Elt.first; in push() local
260 CallBase *CB = Heap.pop_back_val(); in pop() local
267 auto PredWrapper = [=](CallBase *CB) -> bool { in erase_if()
H A DInlineAdvisor.cpp74 MandatoryInlineAdvice(InlineAdvisor *Advisor, CallBase &CB, in MandatoryInlineAdvice()
136 CallBase &CB, FunctionAnalysisManager &FAM, const InlineParams &Params) { in getDefaultInlineAdvice()
154 auto GetInlineCost = [&](CallBase &CB) { in getDefaultInlineAdvice()
169 DefaultInlineAdvisor::getAdviceImpl(CallBase &CB) { in getAdviceImpl()
176 InlineAdvice::InlineAdvice(InlineAdvisor *Advisor, CallBase &CB, in InlineAdvice()
213 auto GetDefaultAdvice = [&FAM, Params](CallBase &CB) { in tryCreate()
364 void llvm::setInlineRemark(CallBase &CB, StringRef Message) { in setInlineRemark()
377 llvm::shouldInline(CallBase &CB, in shouldInline()
544 std::unique_ptr<InlineAdvice> InlineAdvisor::getMandatoryAdvice(CallBase &CB, in getMandatoryAdvice()
593 InlineAdvisor::getMandatoryKind(CallBase &CB, FunctionAnalysisManager &FAM, in getMandatoryKind()
[all …]
H A DMLInlineAdvisor.cpp342 std::unique_ptr<InlineAdvice> MLInlineAdvisor::getAdviceImpl(CallBase &CB) { in getAdviceImpl()
452 MLInlineAdvisor::getAdviceFromModel(CallBase &CB, in getAdviceFromModel()
459 MLInlineAdvisor::getSkipAdviceIfUnreachableCallsite(CallBase &CB) { in getSkipAdviceIfUnreachableCallsite()
466 std::unique_ptr<InlineAdvice> MLInlineAdvisor::getMandatoryAdvice(CallBase &CB, in getMandatoryAdvice()
482 MLInlineAdvisor::getMandatoryAdviceImpl(CallBase &CB) { in getMandatoryAdviceImpl()
506 MLInlineAdvice::MLInlineAdvice(MLInlineAdvisor *Advisor, CallBase &CB, in MLInlineAdvice()
H A DCallGraph.cpp108 forEachCallbackFunction(*Call, [=](Function *CB) { in populateCallGraphNode()
218 forEachCallbackFunction(Call, [=](Function *CB) { in removeCallEdgeFor()
271 forEachCallbackFunction(Call, [this, &OldCBs](Function *CB) { in replaceCallEdge()
274 forEachCallbackFunction(NewCall, [this, &NewCBs](Function *CB) { in replaceCallEdge()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp166 static void createRetBitCast(CallBase &CB, Type *RetTy, CastInst **RetBitCast) { in createRetBitCast()
285 static CallBase &versionCallSiteWithCond(CallBase &CB, Value *Cond, in versionCallSiteWithCond()
381 CallBase &llvm::versionCallSite(CallBase &CB, Value *Callee, in versionCallSite()
395 bool llvm::isLegalToPromote(const CallBase &CB, Function *Callee, in isLegalToPromote()
481 CallBase &llvm::promoteCall(CallBase &CB, Function *Callee, in promoteCall()
563 CallBase &llvm::promoteCallWithIfThenElse(CallBase &CB, Function *Callee, in promoteCallWithIfThenElse()
575 CallBase &llvm::promoteCallWithVTableCmp(CallBase &CB, Instruction *VPtr, in promoteCallWithVTableCmp()
596 bool llvm::tryPromoteCall(CallBase &CB) { in tryPromoteCall()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/CFGuard/
H A DCFGuard.cpp172 void CFGuardImpl::insertCFGuardCheck(CallBase *CB) { in insertCFGuardCheck()
201 void CFGuardImpl::insertCFGuardDispatch(CallBase *CB) { in insertCFGuardDispatch()
277 auto *CB = dyn_cast<CallBase>(&I); in runOnFunction() local
/freebsd/contrib/llvm-project/llvm/lib/MCA/
H A DContext.cpp33 CustomBehaviour &CB) { in createDefaultPipeline()
74 CustomBehaviour &CB) { in createInOrderPipeline()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DIndirectCallPromotion.cpp414 const CallBase &CB, ArrayRef<InstrProfValueData> ValueDataRef, in getPromotionCandidatesForCallSite()
507 const CallBase *CB, VTableGUIDCountsMap &GUIDCountsMap, in computeVTableInfos()
606 CallBase &llvm::pgo::promoteIndirectCall(CallBase &CB, Function *DirectCallee, in promoteIndirectCall()
632 CallBase &CB, Instruction *VPtr, ArrayRef<PromotionCandidate> Candidates, in tryToPromoteWithFuncCmp()
678 CallBase &CB, ArrayRef<InstrProfValueData> CallVDs, uint64_t TotalCount, in updateFuncValueProfiles()
713 CallBase &CB, Instruction *VPtr, ArrayRef<PromotionCandidate> Candidates, in tryToPromoteWithVTableCmp()
808 for (auto *CB : findIndirectCalls(F)) { in processFunction() local
839 const CallBase &CB, ArrayRef<PromotionCandidate> Candidates, in isProfitableToCompareVTables()
948 CallBase &CB = DevirtCall.CB; in computeVirtualCallSiteTypeInfoMap() local
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVMCCodeEmitter.cpp120 SmallVectorImpl<char> &CB, in expandFunctionCall()
166 SmallVectorImpl<char> &CB, in expandTLSDESCCall()
187 SmallVectorImpl<char> &CB, in expandAddTPRel()
246 SmallVectorImpl<char> &CB, in expandLongCondBr()
301 SmallVectorImpl<char> &CB, in encodeInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroEarly.cpp47 void Lowerer::lowerResumeOrDestroy(CallBase &CB, in lowerResumeOrDestroy()
166 if (auto *CB = dyn_cast<CoroBeginInst>(U)) in setCannotDuplicate() local
175 auto *CB = dyn_cast<CallBase>(&I); in lowerEarlyIntrinsics() local
H A DCoroElide.cpp190 if (auto *CB = dyn_cast<CoroBeginInst>(U)) in CoroIdElider() local
246 for (auto *CB : CoroBegins) { in elideHeapAllocations() local
257 const CoroBeginInst *CB, const SmallPtrSetImpl<BasicBlock *> &TIs) const { in canCoroBeginEscape() argument
366 for (const auto *CB : CoroBegins) { in lifetimeEligibleForElide() local
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/
H A DLoongArchMCCodeEmitter.cpp349 const MCInst &MI, SmallVectorImpl<char> &CB, in expandToVectorLDI()
375 SmallVectorImpl<char> &CB, in expandAddTPRel()
407 const MCInst &MI, SmallVectorImpl<char> &CB, in encodeInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp89 bool isMustTailCalleeAnalyzable(const CallBase &CB) { in isMustTailCalleeAnalyzable()
184 CallBase *CB = dyn_cast<CallBase>(U); in deleteDeadVarargs() local
316 CallBase *CB = dyn_cast<CallBase>(U.getUser()); in removeDeadArgumentsFromCallers() local
435 if (const auto *CB = dyn_cast<CallBase>(V)) { in surveyUse() local
563 const auto *CB = dyn_cast<CallBase>(U.getUser()); in surveyFunction() local
885 CallBase &CB = cast<CallBase>(*F->user_back()); in removeDeadStuffFromFunction() local
1108 if (const auto *CB = dyn_cast<CallBase>(U)) in propagateVirtMustcallLiveness() local
H A DArgumentPromotion.cpp211 CallBase &CB = cast<CallBase>(*F->user_back()); in doPromotion() local
440 CallBase &CB = cast<CallBase>(*U); in allCallersPassValidPointerForArgument() local
642 auto *CB = dyn_cast<CallBase>(V); in findArgParts() local
742 CallBase *CB = dyn_cast<CallBase>(U.getUser()); in areTypesABICompatible() local
793 CallBase *CB = dyn_cast<CallBase>(U.getUser()); in promoteArguments() local
829 CallBase &CB = cast<CallBase>(*U.getUser()); in promoteArguments() local
H A DFunctionAttrs.cpp538 CallBase *CB = dyn_cast<CallBase>(U->getUser()); in captured() local
650 CallBase &CB = cast<CallBase>(*I); in determinePointerAccessAttrs() local
817 if (auto *CB = dyn_cast<CallBase>(&I)) { in addArgumentAttrsFromCallsites() local
1100 CallBase &CB = cast<CallBase>(*RVI); in isFunctionMallocLike() local
1212 CallBase &CB = cast<CallBase>(*RVI); in isReturnNonNull() local
1481 const CallBase *CB = dyn_cast<CallBase>(&I); in InstrBreaksNonConvergent() local
1506 CallBase *CB = dyn_cast<CallBase>(&I); in InstrBreaksNoFree() local
1553 auto *CB = dyn_cast<CallBase>(&I); in InstrBreaksNoSync() local
1696 if (auto *CB = dyn_cast<CallBase>(&I)) { in addNoRecurseAttrs() local
1715 if (auto *CB = dyn_cast<CallBase>(&I)) in instructionDoesNotReturn() local
[all …]
H A DModuleInliner.cpp148 if (auto *CB = dyn_cast<CallBase>(&I)) in run() local
181 CallBase *CB = P.first; in run() local
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DAbstractCallSite.h226 void forEachCallbackCallSite(const CallBase &CB, UnaryFunction Func) { in forEachCallbackCallSite()
238 void forEachCallbackFunction(const CallBase &CB, UnaryFunction Func) { in forEachCallbackFunction()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCCodeEmitter.cpp19 encodeInstruction(const MCInst & Inst,SmallVectorImpl<char> & CB,SmallVectorImpl<MCFixup> & Fixups,const MCSubtargetInfo & STI) const encodeInstruction() argument
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/Utils/
H A DAArch64SMEAttributes.cpp43 SMEAttrs::SMEAttrs(const CallBase &CB) { in SMEAttrs()

123456789