Home | History | Annotate | Download | only in Analysis

Lines Matching refs:Caller

58   // analysis in the caller function; we want the inline cost query to be
90 // allocas on the caller stack which could be simplified through SROA.
93 // The mapping of caller Alloca values to their accumulated cost savings. If
525 // caller. This will also trip if the callee function has a non-null
532 // Is this an alloca in the caller? This is distinct from the attribute case
1005 // If the caller is a recursive function then we don't want to inline
1007 // the caller stack usage dramatically.
1155 Function *Caller = CS.getInstruction()->getParent()->getParent();
1156 // Check if the caller function is recursive itself.
1157 for (User *U : Caller->users()) {
1162 if (I->getParent()->getParent() == Caller) {
1192 // FIXME: If a caller has multiple calls to a callee, we end up recomputing
1236 // If the caller is a recursive function then we don't want to inline
1238 // the caller stack usage dramatically.
1286 // inlining this would cause the removal of the caller
1359 /// \brief Test that there are no attribute conflicts between Caller and Callee
1361 static bool functionsHaveCompatibleAttributes(Function *Caller,
1364 return TTI.areInlineCompatible(Caller, Callee) &&
1365 attributeMatches(Caller, Callee, Attribute::SanitizeAddress) &&
1366 attributeMatches(Caller, Callee, Attribute::SanitizeMemory) &&
1367 attributeMatches(Caller, Callee, Attribute::SanitizeThread);
1390 // Don't inline this call if the caller has the optnone attribute.