Home | History | Annotate | Download | only in IPA

Lines Matching refs:Callee

66   /// Number of bytes allocated statically by the callee.
144 Function &Callee, int Threshold)
145 : DL(DL), TTI(TTI), F(Callee), Threshold(Threshold), Cost(0),
764 Value *Callee = CS.getCalledValue();
772 Function *F = dyn_cast_or_null<Function>(SimplifiedValues.lookup(Callee));
1099 // The worklist of live basic blocks in the callee *after* inlining. We avoid
1100 // adding basic blocks of the callee which can be proven to be dead for this
1251 /// \brief Test that there are no attribute conflicts between Caller and Callee
1254 Function *Callee) {
1255 return attributeMatches(Caller, Callee, Attribute::SanitizeAddress) &&
1256 attributeMatches(Caller, Callee, Attribute::SanitizeMemory) &&
1257 attributeMatches(Caller, Callee, Attribute::SanitizeThread);
1260 InlineCost InlineCostAnalysis::getInlineCost(CallSite CS, Function *Callee,
1263 if (!Callee)
1269 if (isInlineViable(*Callee))
1274 // Never inline functions with conflicting attributes (unless callee has
1276 if (!functionsHaveCompatibleAttributes(CS.getCaller(), Callee))
1286 if (Callee->mayBeOverridden() ||
1287 Callee->hasFnAttribute(Attribute::NoInline) || CS.isNoInline())
1290 DEBUG(llvm::dbgs() << " Analyzing call of " << Callee->getName()
1293 CallAnalyzer CA(Callee->getDataLayout(), *TTI, *Callee, Threshold);