/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | CallSiteSplitting.cpp | 86 static void addNonNullAttribute(CallBase &CB, Value *Op) { in addNonNullAttribute() argument 95 static void setConstantInArgument(CallBase &CB, Value *Op, in setConstantInArgument() argument 109 static bool isCondRelevantToAnyCallArgument(ICmpInst *Cmp, CallBase &CB) { in isCondRelevantToAnyCallArgument() argument 129 recordCondition(CallBase & CB,BasicBlock * From,BasicBlock * To,ConditionsTy & Conditions) recordCondition() argument 152 recordConditions(CallBase & CB,BasicBlock * Pred,ConditionsTy & Conditions,BasicBlock * StopAt) recordConditions() argument 165 addConditions(CallBase & CB,const ConditionsTy & Conditions) addConditions() argument 184 canSplitCallSite(CallBase & CB,TargetTransformInfo & TTI) canSplitCallSite() argument 302 splitCallSite(CallBase & CB,ArrayRef<std::pair<BasicBlock *,ConditionsTy>> Preds,DomTreeUpdater & DTU) splitCallSite() argument 416 isPredicatedOnPHI(CallBase & CB) isPredicatedOnPHI() argument 443 shouldSplitOnPHIPredicatedArgument(CallBase & CB) shouldSplitOnPHIPredicatedArgument() argument 454 shouldSplitOnPredicatedArgument(CallBase & CB,DomTreeUpdater & DTU) shouldSplitOnPredicatedArgument() argument 486 tryToSplitCallSite(CallBase & CB,TargetTransformInfo & TTI,DomTreeUpdater & DTU) tryToSplitCallSite() argument 515 CallBase *CB = dyn_cast<CallBase>(&*II++); doCallSiteSplitting() local [all...] |
/freebsd-src/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-src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | UnreachableCodeChecker.cpp | 78 const CFGBlock *CB = BE->getBlock(); in checkEndAnalysis() local 177 FindUnreachableEntryPoints(const CFGBlock * CB,CFGBlocksSet & reachable,CFGBlocksSet & visited) FindUnreachableEntryPoints() argument 198 getUnreachableStmt(const CFGBlock * CB) getUnreachableStmt() argument 213 isInvalidPath(const CFGBlock * CB,const ParentMap & PM) isInvalidPath() argument 245 isEmptyCFGBlock(const CFGBlock * CB) isEmptyCFGBlock() argument [all...] |
H A D | AnalyzerStatsChecker.cpp | 64 const CFGBlock *CB = BE->getBlock(); in checkEndAnalysis() local 76 const CFGBlock *CB = *I; in checkEndAnalysis() local
|
/freebsd-src/contrib/llvm-project/llvm/lib/Target/SPIRV/MCTargetDesc/ |
H A D | SPIRVMCCodeEmitter.cpp | 77 static void emitOperand(const MCOperand &Op, SmallVectorImpl<char> &CB) { in emitOperand() 93 SmallVectorImpl<char> &CB) { in emitTypedInstrOperands() 103 SmallVectorImpl<char> &CB) { in emitUntypedInstrOperands() 109 SmallVectorImpl<char> &CB, in encodeInstruction()
|
/freebsd-src/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | InlineOrder.cpp | 45 llvm::InlineCost getInlineCostWrapper(CallBase &CB, in getInlineCostWrapper() argument 77 SizePriority(const CallBase *CB, FunctionAnalysisManager &, in SizePriority() argument 94 CostPriority(const CallBase *CB, FunctionAnalysisManager &FAM, in CostPriority() argument 114 CostBenefitPriority(const CallBase *CB, FunctionAnalysisManage argument 182 MLPriority(const CallBase * CB,FunctionAnalysisManager & FAM,const InlineParams & Params) MLPriority() argument 210 updateAndCheckDecreased(const CallBase * CB) updateAndCheckDecreased() argument 244 CallBase *CB = Elt.first; push() local 257 CallBase *CB = Heap.pop_back_val(); pop() local 264 __anon8bc167500602(CallBase *CB) erase_if() argument [all...] |
H A D | InlineAdvisor.cpp | 73 MandatoryInlineAdvice(InlineAdvisor * Advisor,CallBase & CB,OptimizationRemarkEmitter & ORE,bool IsInliningMandatory) MandatoryInlineAdvice() argument 135 getDefaultInlineAdvice(CallBase & CB,FunctionAnalysisManager & FAM,const InlineParams & Params) getDefaultInlineAdvice() argument 153 __anonc55e8b4c0802(CallBase &CB) getDefaultInlineAdvice() argument 168 getAdviceImpl(CallBase & CB) getAdviceImpl() argument 175 InlineAdvice(InlineAdvisor * Advisor,CallBase & CB,OptimizationRemarkEmitter & ORE,bool IsInliningRecommended) InlineAdvice() argument 212 __anonc55e8b4c0902(CallBase &CB) tryCreate() argument 363 setInlineRemark(CallBase & CB,StringRef Message) setInlineRemark() argument 376 shouldInline(CallBase & CB,function_ref<InlineCost (CallBase & CB)> GetInlineCost,OptimizationRemarkEmitter & ORE,bool EnableDeferral) shouldInline() argument 543 getMandatoryAdvice(CallBase & CB,bool Advice) getMandatoryAdvice() argument 592 getMandatoryKind(CallBase & CB,FunctionAnalysisManager & FAM,OptimizationRemarkEmitter & ORE) getMandatoryKind() argument 614 getAdvice(CallBase & CB,bool MandatoryOnly) getAdvice() argument 624 getCallerORE(CallBase & CB) getCallerORE() argument [all...] |
H A D | MLInlineAdvisor.cpp | 324 getAdviceImpl(CallBase & CB) getAdviceImpl() argument 425 getAdviceFromModel(CallBase & CB,OptimizationRemarkEmitter & ORE) getAdviceFromModel() argument 432 getSkipAdviceIfUnreachableCallsite(CallBase & CB) getSkipAdviceIfUnreachableCallsite() argument 439 getMandatoryAdvice(CallBase & CB,bool Advice) getMandatoryAdvice() argument 455 getMandatoryAdviceImpl(CallBase & CB) getMandatoryAdviceImpl() argument 477 MLInlineAdvice(MLInlineAdvisor * Advisor,CallBase & CB,OptimizationRemarkEmitter & ORE,bool Recommendation) MLInlineAdvice() argument [all...] |
H A D | CallGraph.cpp | 108 forEachCallbackFunction(*Call, [=](Function *CB) { in populateCallGraphNode() argument 218 forEachCallbackFunction(Call, [=](Function *CB) { in removeCallEdgeFor() argument 271 forEachCallbackFunction(Call, [this, &OldCBs](Function *CB) { in replaceCallEdge() argument 274 forEachCallbackFunction(NewCall, [this, &NewCBs](Function *CB) { in replaceCallEdge() argument
|
/freebsd-src/contrib/llvm-project/llvm/lib/IR/ |
H A D | ConvergenceVerifier.cpp | 21 if (!CB) in findAndCheckConvergenceTokenUsed() local 63 if (auto *CB = dyn_cast<CallBase>(&I)) { isConvergent() local [all...] |
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-src/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/ |
H A D | CSKYMCCodeEmitter.cpp | 60 static void writeData(uint32_t Bin, unsigned Size, SmallVectorImpl<char> &CB) { in writeData() 68 void CSKYMCCodeEmitter::expandJBTF(const MCInst &MI, SmallVectorImpl<char> &CB, in expandJBTF() 94 void CSKYMCCodeEmitter::expandNEG(const MCInst &MI, SmallVectorImpl<char> &CB, in expandNEG() 116 void CSKYMCCodeEmitter::expandRSUBI(const MCInst &MI, SmallVectorImpl<char> &CB, in expandRSUBI() 139 SmallVectorImpl<char> &CB, in encodeInstruction()
|
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | CallPromotionUtils.cpp | 163 createRetBitCast(CallBase & CB,Type * RetTy,CastInst ** RetBitCast) createRetBitCast() argument 283 versionCallSite(CallBase & CB,Value * Callee,MDNode * BranchWeights) versionCallSite() argument 383 isLegalToPromote(const CallBase & CB,Function * Callee,const char ** FailureReason) isLegalToPromote() argument 469 promoteCall(CallBase & CB,Function * Callee,CastInst ** RetBitCast) promoteCall() argument 550 promoteCallWithIfThenElse(CallBase & CB,Function * Callee,MDNode * BranchWeights) promoteCallWithIfThenElse() argument 562 tryPromoteCall(CallBase & CB) tryPromoteCall() argument [all...] |
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/CFGuard/ |
H A D | CFGuard.cpp | 171 insertCFGuardCheck(CallBase * CB) insertCFGuardCheck() argument 200 insertCFGuardDispatch(CallBase * CB) insertCFGuardDispatch() argument 276 auto *CB = dyn_cast<CallBase>(&I); runOnFunction() local [all...] |
/freebsd-src/contrib/llvm-project/llvm/lib/MCA/ |
H A D | Context.cpp | 33 CustomBehaviour &CB) { in createDefaultPipeline() 74 CustomBehaviour &CB) { in createInOrderPipeline()
|
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | IndirectCallPromotion.cpp | 161 getPromotionCandidatesForCallSite(const CallBase & CB,const ArrayRef<InstrProfValueData> & ValueDataRef,uint64_t TotalCount,uint32_t NumCandidates) getPromotionCandidatesForCallSite() argument 244 promoteIndirectCall(CallBase & CB,Function * DirectCallee,uint64_t Count,uint64_t TotalCount,bool AttachProfToDirectCall,OptimizationRemarkEmitter * ORE) promoteIndirectCall() argument 277 tryToPromote(CallBase & CB,const std::vector<PromotionCandidate> & Candidates,uint64_t & TotalCount) tryToPromote() argument 298 for (auto *CB : findIndirectCalls(F)) { processFunction() local [all...] |
/freebsd-src/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/ |
H A D | RISCVMCCodeEmitter.cpp | 120 SmallVectorImpl<char> &CB, in expandFunctionCall() argument 162 support::endian::write(CB, Binary, llvm::endianness::little); in expandTLSDESCCall() argument 183 expandAddTPRel(const MCInst & MI,SmallVectorImpl<char> & CB,SmallVectorImpl<MCFixup> & Fixups,const MCSubtargetInfo & STI) const expandAddTPRel() argument 242 expandLongCondBr(const MCInst & MI,SmallVectorImpl<char> & CB,SmallVectorImpl<MCFixup> & Fixups,const MCSubtargetInfo & STI) const expandLongCondBr() argument 297 encodeInstruction(const MCInst & MI,SmallVectorImpl<char> & CB,SmallVectorImpl<MCFixup> & Fixups,const MCSubtargetInfo & STI) const encodeInstruction() argument [all...] |
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
H A D | CoroEarly.cpp | 47 void Lowerer::lowerResumeOrDestroy(CallBase &CB, in lowerResumeOrDestroy() argument 165 if (auto *CB = dyn_cast<CoroBeginInst>(U)) setCannotDuplicate() local 174 auto *CB = dyn_cast<CallBase>(&I); lowerEarlyIntrinsics() local [all...] |
/freebsd-src/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-src/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | DeadArgumentElimination.cpp | 89 bool isMustTailCalleeAnalyzable(const CallBase &CB) { in isMustTailCalleeAnalyzable() argument 184 CallBase *CB = dyn_cast<CallBase>(U); in deleteDeadVarargs() local 316 CallBase *CB = dyn_cast<CallBase>(U.getUser()); removeDeadArgumentsFromCallers() local 437 if (const auto *CB = dyn_cast<CallBase>(V)) { surveyUse() local 565 const auto *CB = dyn_cast<CallBase>(U.getUser()); surveyFunction() local 887 CallBase &CB = cast<CallBase>(*F->user_back()); removeDeadStuffFromFunction() local 1109 if (const auto *CB = dyn_cast<CallBase>(U)) propagateVirtMustcallLiveness() local [all...] |
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)) { addArgumentAttrsFromCallsites() local 1100 CallBase &CB = cast<CallBase>(*RVI); isFunctionMallocLike() local 1212 CallBase &CB = cast<CallBase>(*RVI); isReturnNonNull() local 1460 const CallBase *CB = dyn_cast<CallBase>(&I); InstrBreaksNonConvergent() local 1485 CallBase *CB = dyn_cast<CallBase>(&I); InstrBreaksNoFree() local 1532 auto *CB = dyn_cast<CallBase>(&I); InstrBreaksNoSync() local 1675 if (auto *CB = dyn_cast<CallBase>(&I)) { addNoRecurseAttrs() local 1694 if (auto *CB = dyn_cast<CallBase>(&I)) instructionDoesNotReturn() local 1801 if (auto *CB = dyn_cast<CallBase>(&I)) { createSCCNodeSet() local 1959 CallBase *CB = dyn_cast<CallBase>(I); addNoRecurseAttrsTopDown() local [all...] |
H A D | SCCP.cpp | 204 if (!CB || CB->getCalledFunction() != &F) in runIPSCCP() local 295 auto *CB = dyn_cast<CallBase>(User); runIPSCCP() local 347 CallBase *CB = dyn_cast<CallBase>(U.getUser()); runIPSCCP() local [all...] |
H A D | ArgumentPromotion.cpp | 210 CallBase &CB = cast<CallBase>(*F->user_back()); doPromotion() local 438 CallBase &CB = cast<CallBase>(*U); allCallersPassValidPointerForArgument() local 685 CallBase *CB = dyn_cast<CallBase>(U.getUser()); areTypesABICompatible() local 736 CallBase *CB = dyn_cast<CallBase>(U.getUser()); promoteArguments() local 772 CallBase &CB = cast<CallBase>(*U.getUser()); promoteArguments() 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-src/contrib/llvm-project/llvm/lib/Target/AArch64/Utils/ |
H A D | AArch64SMEAttributes.cpp | 41 SMEAttrs(const CallBase & CB) SMEAttrs() argument
|