Searched refs:CB (Results 26 - 50 of 308) sorted by relevance

1234567891011>>

/openbsd-current/gnu/llvm/llvm/include/llvm/Analysis/
H A DMLInlineAdvisor.h50 std::unique_ptr<InlineAdvice> getAdviceImpl(CallBase &CB) override;
52 std::unique_ptr<InlineAdvice> getMandatoryAdvice(CallBase &CB,
55 virtual std::unique_ptr<MLInlineAdvice> getMandatoryAdviceImpl(CallBase &CB);
58 getAdviceFromModel(CallBase &CB, OptimizationRemarkEmitter &ORE);
70 getSkipAdviceIfUnreachableCallsite(CallBase &CB);
96 MLInlineAdvice(MLInlineAdvisor *Advisor, CallBase &CB,
H A DInlineAdvisor.h78 InlineAdvice(InlineAdvisor *Advisor, CallBase &CB,
127 // Capture the context of CB before inlining, as a successful inlining may
147 DefaultInlineAdvice(InlineAdvisor *Advisor, CallBase &CB, argument
150 : InlineAdvice(Advisor, CB, ORE, OIC.has_value()), OriginalCB(&CB),
171 /// inline or not. \p CB is assumed to be a direct call. \p FAM is assumed to
180 std::unique_ptr<InlineAdvice> getAdvice(CallBase &CB,
206 virtual std::unique_ptr<InlineAdvice> getAdviceImpl(CallBase &CB) = 0;
207 virtual std::unique_ptr<InlineAdvice> getMandatoryAdvice(CallBase &CB,
218 static MandatoryInliningKind getMandatoryKind(CallBase &CB,
[all...]
/openbsd-current/gnu/llvm/llvm/lib/Target/WebAssembly/
H A DWebAssemblyAddMissingPrototypes.cpp98 else if (auto *CB = dyn_cast<CallBase>(U))
99 if (CB->getCalledOperand() == V)
100 Calls.push_back(CB);
106 for (CallBase *CB : Calls) {
108 LLVM_DEBUG(dbgs() << *CB << "\n");
109 FunctionType *DestType = CB->getFunctionType();
/openbsd-current/gnu/llvm/llvm/lib/Transforms/IPO/
H A DModuleInliner.cpp153 if (auto *CB = dyn_cast<CallBase>(&I))
154 if (Function *Callee = CB->getCalledFunction()) {
156 Calls->push({CB, -1});
159 setInlineRemark(*CB, "unavailable definition");
163 << NV("Caller", CB->getCaller())
186 CallBase *CB = P.first; local
188 Function &F = *CB->getCaller();
189 Function &Callee = *CB->getCalledFunction();
202 setInlineRemark(*CB, "recursive");
206 auto Advice = Advisor.getAdvice(*CB, /*OnlyMandator
[all...]
H A DInliner.cpp308 CallBase &CB, InlineFunctionInfo &IFI,
312 Function *Callee = CB.getCalledFunction();
313 Function *Caller = CB.getCaller();
320 InlineFunction(CB, IFI,
367 function_ref<InlineCost(CallBase &CB)> GetInlineCost,
398 auto *CB = dyn_cast<CallBase>(&I); local
401 if (!CB || isa<IntrinsicInst>(I))
407 if (Function *Callee = CB->getCalledFunction())
411 setInlineRemark(*CB, "unavailable definition");
415 << NV("Caller", CB
307 inlineCallIfPossible( CallBase &CB, InlineFunctionInfo &IFI, InlinedArrayAllocasTy &InlinedArrayAllocas, int InlineHistory, bool InsertLifetime, function_ref<AAResults &(Function &)> &AARGetter, ImportedFunctionsInliningStatistics &ImportedFunctionsStats) argument
454 CallBase &CB = *P.first; local
[all...]
H A DSCCP.cpp199 auto *CB = dyn_cast<CallBase>(U); local
200 if (!CB || CB->getCalledFunction() != &F)
203 CB->setAttributes(UpdateAttrs(CB->getAttributes()));
291 auto *CB = dyn_cast<CallBase>(User); local
292 if (!CB || CB->getCalledFunction() != F)
299 if (!isGuaranteedNotToBeUndefOrPoison(CB, nullptr, CB))
345 CallBase *CB = dyn_cast<CallBase>(U.getUser()); local
[all...]
H A DFunctionAttrs.cpp506 CallBase *CB = dyn_cast<CallBase>(U->getUser()); variable
507 if (!CB) {
512 Function *F = CB->getCalledFunction();
518 assert(!CB->isCallee(U) && "callee operand reported captured?");
519 const unsigned UseIndex = CB->getDataOperandNo(U);
520 if (UseIndex >= CB->arg_size()) {
522 assert(CB->hasOperandBundles() && "Must be!");
618 CallBase &CB = cast<CallBase>(*I); local
619 if (CB.isCallee(U)) {
628 const unsigned UseIndex = CB
1057 CallBase &CB = cast<CallBase>(*RVI); local
1164 CallBase &CB = cast<CallBase>(*RVI); local
1373 const CallBase *CB = dyn_cast<CallBase>(&I); local
1398 CallBase *CB = dyn_cast<CallBase>(&I); local
[all...]
H A DArgumentPromotion.cpp224 CallBase &CB = cast<CallBase>(*F->user_back()); local
225 assert(CB.getCalledFunction() == F);
226 const AttributeList &CallPAL = CB.getAttributes();
227 IRBuilder<NoFolder> IRB(&CB);
231 auto *AI = CB.arg_begin();
262 for (; AI != CB.arg_end(); ++AI, ++ArgNo) {
268 CB.getOperandBundlesAsDefs(OpBundles);
271 if (InvokeInst *II = dyn_cast<InvokeInst>(&CB)) {
273 Args, OpBundles, "", &CB);
275 auto *NewCall = CallInst::Create(NF, Args, OpBundles, "", &CB);
[all...]
H A DOpenMPOpt.cpp281 /// Run the callback \p CB on each use and forget the use if the result is
285 function_ref<bool(Use &, Function &)> CB) {
287 foreachUse(CB, F);
290 /// Run the callback \p CB on each use within the function \p F and forget
292 void foreachUse(function_ref<bool(Use &, Function &)> CB, Function *F) { argument
300 if (CB(*U, *F))
1695 auto CanBeMoved = [this](CallBase &CB) {
1696 unsigned NumArgs = CB.arg_size();
1699 if (CB.getArgOperand(0)->getType() != OMPInfoCache.OMPBuilder.IdentPtr)
1702 if (isa<Instruction>(CB
284 foreachUse(SmallVectorImpl<Function *> &SCC, function_ref<bool(Use &, Function &)> CB) argument
2243 const auto *CB = dyn_cast<CallBase>(&I); local
2644 HandleAlignedBarrier(CB); variable
2693 auto *CB = dyn_cast<CallBase>(CurI); variable
2713 auto *CB = dyn_cast<CallBase>(CurI); variable
2789 auto *CB = dyn_cast<CallBase>(Cmp->getOperand(0)); local
2976 auto *CB = dyn_cast<CallBase>(&I); local
3115 auto *CB = dyn_cast<CallBase>(CurInst); local
3993 auto *CB = cast<CallBase>(Kernel->user_back()); local
4586 CallBase &CB = cast<CallBase>(getAssociatedValue()); variable
4756 CallBase &CB = cast<CallBase>(getAssociatedValue()); variable
4852 CallBase &CB = cast<CallBase>(getAssociatedValue()); variable
4900 CallBase *CB = dyn_cast<CallBase>(&I); variable
[all...]
/openbsd-current/gnu/usr.bin/perl/cpan/Unicode-Collate/Collate/Locale/
H A Dwo.pl19 00CB ; [.2009.0020.0008] # LATIN CAPITAL LETTER E WITH DIAERESIS
H A Dsq.pl14 00CB ; [.2041.0020.0008] # LATIN CAPITAL LETTER E WITH DIAERESIS
/openbsd-current/gnu/llvm/llvm/lib/Target/AArch64/Utils/
H A DAArch64SMEAttributes.cpp29 SMEAttrs::SMEAttrs(const CallBase &CB) { argument
30 *this = SMEAttrs(CB.getAttributes());
31 if (auto *F = CB.getCalledFunction())
/openbsd-current/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DCGProfile.cpp81 CallBase *CB = dyn_cast<CallBase>(&I); local
82 if (!CB)
84 if (CB->isIndirectCall()) {
88 if (!getValueProfDataFromInst(*CB, IPVK_IndirectCallTarget, 8,
97 UpdateCounts(TTI, &F, CB->getCalledFunction(), *BBCount);
/openbsd-current/gnu/llvm/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp878 // inlining of Callee into the callsite at CB. The updates include merging the
886 propagateMemProfMetadata(Function *Callee, CallBase &CB, argument
889 MDNode *CallsiteMD = CB.getMetadata(LLVMContext::MD_callsite);
918 static void PropagateCallSiteMetadata(CallBase &CB, Function::iterator FStart, argument
921 CB.getMetadata(LLVMContext::MD_mem_parallel_loop_access);
922 MDNode *AccessGroup = CB.getMetadata(LLVMContext::MD_access_group);
923 MDNode *AliasScope = CB.getMetadata(LLVMContext::MD_alias_scope);
924 MDNode *NoAlias = CB.getMetadata(LLVMContext::MD_noalias);
1097 static void AddAliasScopeMetadata(CallBase &CB, ValueToValueMapTy &VMap, argument
1103 const Function *CalledFunc = CB
1350 IdentifyValidAttributes(CallBase &CB) argument
1370 AddReturnAttributes(CallBase &CB, ValueToValueMapTy &VMap) argument
1426 AddAlignmentAssumptions(CallBase &CB, InlineFunctionInfo &IFI) argument
1467 UpdateCallGraphAfterInlining(CallBase &CB, Function::iterator FirstNewBlock, ValueToValueMapTy &VMap, InlineFunctionInfo &IFI) argument
1734 collectEscapedLocals(const DataLayout &DL, const CallBase &CB) argument
1782 trackInlinedStores(Function::iterator Start, Function::iterator End, const CallBase &CB) argument
1922 inlineRetainOrClaimRVCalls(CallBase &CB, objcarc::ARCInstKind RVCallKind, const SmallVectorImpl<ReturnInst *> &Returns) argument
2008 InlineFunction(CallBase &CB, InlineFunctionInfo &IFI, bool MergeAttributes, AAResults *CalleeAAR, bool InsertLifetime, Function *ForwardVarArgsTo) argument
[all...]
H A DSCCPSolver.cpp96 CallBase *CB = dyn_cast<CallBase>(V); local
97 if (CB && ((CB->isMustTailCall() &&
98 !canRemoveInstruction(CB)) ||
99 CB->getOperandBundle(LLVMContext::OB_clang_arc_attachedcall))) {
100 Function *F = CB->getCalledFunction();
106 LLVM_DEBUG(dbgs() << " Can\'t treat the result of call " << *CB
480 if (auto *CB = dyn_cast<CallBase>(U))
481 handleCallResult(*CB);
501 void handleCallOverdefined(CallBase &CB);
1461 visitCallBase(CallBase &CB) argument
1466 handleCallOverdefined(CallBase &CB) argument
1509 handleCallArguments(CallBase &CB) argument
1540 handleCallResult(CallBase &CB) argument
[all...]
/openbsd-current/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUAnnotateKernelFeatures.cpp75 if (auto *CB = dyn_cast<CallBase>(&I)) {
77 dyn_cast<Function>(CB->getCalledOperand()->stripPointerCasts());
81 if (!CB->isInlineAsm())
/openbsd-current/gnu/llvm/clang/include/clang/Analysis/Analyses/
H A DReachableCode.h64 Callback &CB);
/openbsd-current/gnu/llvm/llvm/lib/MCA/
H A DContext.cpp33 CustomBehaviour &CB) {
37 return createInOrderPipeline(Opts, SrcMgr, CB);
74 CustomBehaviour &CB) {
82 auto InOrderIssue = std::make_unique<InOrderIssueStage>(STI, *PRF, CB, *LSU);
32 createDefaultPipeline(const PipelineOptions &Opts, SourceMgr &SrcMgr, CustomBehaviour &CB) argument
73 createInOrderPipeline(const PipelineOptions &Opts, SourceMgr &SrcMgr, CustomBehaviour &CB) argument
/openbsd-current/gnu/llvm/llvm/lib/Transforms/Coroutines/
H A DCoroElide.cpp168 for (auto *CB : CoroBegins) {
169 CB->replaceAllUsesWith(FrameVoidPtr);
170 CB->eraseFromParent();
178 bool Lowerer::hasEscapePath(const CoroBeginInst *CB, argument
180 const auto &It = DestroyAddr.find(CB);
187 Worklist.push_back(CB->getParent());
310 if (auto *CB = dyn_cast<CoroBeginInst>(U))
311 CoroBegins.push_back(CB);
320 for (CoroBeginInst *CB : CoroBegins) {
321 for (User *U : CB
[all...]
/openbsd-current/gnu/llvm/compiler-rt/lib/fuzzer/
H A DFuzzerValueBitMap.h59 void ForEach(Callback CB) const {
64 CB(i * sizeof(M) * 8 + j);
/openbsd-current/gnu/llvm/llvm/include/llvm/MCA/
H A DContext.h72 CustomBehaviour &CB);
78 CustomBehaviour &CB);
H A DIncrementalSourceMgr.h55 void setOnInstFreedCallback(InstFreedCallback CB) { InstFreedCB = CB; } argument
/openbsd-current/gnu/llvm/llvm/lib/Analysis/
H A DMemoryLocation.cpp122 MemoryLocation::getForDest(const CallBase *CB, const TargetLibraryInfo &TLI) { argument
123 if (!CB->onlyAccessesArgMemory())
126 if (CB->hasOperandBundles())
132 for (unsigned i = 0; i < CB->arg_size(); i++) {
133 if (!CB->getArgOperand(i)->getType()->isPointerTy())
135 if (CB->onlyReadsMemory(i))
139 UsedV = CB->getArgOperand(i);
144 if (UsedV != CB->getArgOperand(i))
156 return getForArgument(CB, *UsedIdx, &TLI);
157 return MemoryLocation::getBeforeOrAfter(UsedV, CB
[all...]
H A DMemoryBuiltins.cpp151 const auto *CB = dyn_cast<CallBase>(V); local
152 if (!CB)
155 IsNoBuiltin = CB->isNoBuiltin();
157 if (const Function *Callee = CB->getCalledFunction())
261 if (const auto *CB = dyn_cast<CallBase>(V)) {
262 Attribute Attr = CB->getFnAttr(Attribute::AllocKind);
324 Value *llvm::getReallocatedOperand(const CallBase *CB) { argument
325 if (checkFnAllocKind(CB, AllocFnKind::Realloc))
326 return CB->getArgOperandWithAttribute(Attribute::AllocatedPointer);
330 bool llvm::isRemovableAlloc(const CallBase *CB, cons argument
367 getAllocSize(const CallBase *CB, const TargetLibraryInfo *TLI, function_ref<const Value *(const Value *)> Mapper) argument
546 getFreedOperand(const CallBase *CB, const TargetLibraryInfo *TLI) argument
783 visitCallBase(CallBase &CB) argument
[all...]
/openbsd-current/usr.bin/vi/ex/
H A Dex_display.c27 static void db(SCR *, CB *, CHAR_T *);
74 CB *cbp;
110 db(SCR *sp, CB *cbp, CHAR_T *name)

Completed in 215 milliseconds

1234567891011>>