Lines Matching refs:CB
56 if (auto *CB = dyn_cast<CallBase>(U)) in run() local
57 if (CB->getCalledFunction() == &F && in run()
58 CB->hasFnAttr(Attribute::AlwaysInline) && in run()
59 !CB->getAttributes().hasFnAttr(Attribute::NoInline)) in run()
60 Calls.insert(CB); in run()
62 for (CallBase *CB : Calls) { in run()
63 Function *Caller = CB->getCaller(); in run()
65 DebugLoc DLoc = CB->getDebugLoc(); in run()
66 BasicBlock *Block = CB->getParent(); in run()
74 *CB, IFI, &FAM.getResult<AAManager>(F), InsertLifetime); in run()
158 InlineCost getInlineCost(CallBase &CB) override;
193 InlineCost AlwaysInlinerLegacyPass::getInlineCost(CallBase &CB) { in getInlineCost() argument
194 Function *Callee = CB.getCalledFunction(); in getInlineCost()
212 if (!CB.hasFnAttr(Attribute::AlwaysInline)) in getInlineCost()
215 if (Callee->hasFnAttribute(Attribute::AlwaysInline) && CB.isNoInline()) in getInlineCost()