/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | CallSiteSplitting.cpp | 86 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 D | ObjCARCUtil.h | 29 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 D | UnreachableCodeChecker.cpp | 78 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 D | AnalyzerStatsChecker.cpp | 64 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 D | ConvergenceVerifier.cpp | 20 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 D | Assumptions.cpp | 76 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 D | InlineOrder.cpp | 45 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 D | InlineAdvisor.cpp | 74 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 D | MLInlineAdvisor.cpp | 342 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 D | CallGraph.cpp | 108 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 D | CallPromotionUtils.cpp | 166 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 D | CFGuard.cpp | 172 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 D | Context.cpp | 33 CustomBehaviour &CB) { in createDefaultPipeline() 74 CustomBehaviour &CB) { in createInOrderPipeline()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | IndirectCallPromotion.cpp | 414 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 D | RISCVMCCodeEmitter.cpp | 120 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 D | CoroEarly.cpp | 47 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 D | CoroElide.cpp | 190 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 D | LoongArchMCCodeEmitter.cpp | 349 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 D | DeadArgumentElimination.cpp | 89 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 D | ArgumentPromotion.cpp | 211 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 D | FunctionAttrs.cpp | 538 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 D | ModuleInliner.cpp | 148 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 D | AbstractCallSite.h | 226 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 D | MCCodeEmitter.cpp | 19 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 D | AArch64SMEAttributes.cpp | 43 SMEAttrs::SMEAttrs(const CallBase &CB) { in SMEAttrs()
|