Lines Matching refs:Caller
855 Function *Caller = CS.getCaller(); in updateThreshold() local
901 if (Caller->optForMinSize()) { in updateThreshold()
909 } else if (Caller->optForSize()) in updateThreshold()
914 if (!Caller->optForMinSize()) { in updateThreshold()
925 BlockFrequencyInfo *CallerBFI = GetBFI ? &((*GetBFI)(*Caller)) : nullptr; in updateThreshold()
927 if (!Caller->optForSize() && HotCallSiteThreshold) { in updateThreshold()
1762 Function *Caller = CS.getInstruction()->getFunction(); in analyzeCall() local
1764 for (User *U : Caller->users()) { in analyzeCall()
1769 if (I->getFunction() == Caller) { in analyzeCall()
1902 if (Caller->optForMinSize()) { in analyzeCall()
1949 static bool functionsHaveCompatibleAttributes(Function *Caller, in functionsHaveCompatibleAttributes() argument
1952 return TTI.areInlineCompatible(Caller, Callee) && in functionsHaveCompatibleAttributes()
1953 AttributeFuncs::areInlineCompatible(*Caller, *Callee); in functionsHaveCompatibleAttributes()
2033 Function *Caller = CS.getCaller(); in getInlineCost() local
2034 if (!functionsHaveCompatibleAttributes(Caller, Callee, CalleeTTI)) in getInlineCost()
2038 if (Caller->hasFnAttribute(Attribute::OptimizeNone)) in getInlineCost()
2043 if (!Caller->nullPointerIsDefined() && Callee->nullPointerIsDefined()) in getInlineCost()
2059 << "... (caller:" << Caller->getName() << ")\n"); in getInlineCost()