Lines Matching refs:CalledFunction
407 auto *CalledFunction = CB->getCalledFunction(); in computeFunctionSummary() local
408 if (CalledValue && !CalledFunction) { in computeFunctionSummary()
411 CalledFunction = dyn_cast<Function>(CalledValue); in computeFunctionSummary()
416 assert(!CalledFunction && "Expected null called function in callsite for alias"); in computeFunctionSummary()
417 CalledFunction = dyn_cast<Function>(GA->getAliaseeObject()); in computeFunctionSummary()
421 if (CalledFunction) { in computeFunctionSummary()
422 if (CI && CalledFunction->isIntrinsic()) { in computeFunctionSummary()
429 assert(CalledFunction->hasName()); in computeFunctionSummary()
504 if (!CalledFunction) in computeFunctionSummary()
1196 auto *CalledFunction = CB->getCalledFunction(); in mayHaveMemprofSummary() local
1197 if (CalledValue && !CalledFunction) { in mayHaveMemprofSummary()
1200 CalledFunction = dyn_cast<Function>(CalledValue); in mayHaveMemprofSummary()
1205 assert(!CalledFunction && in mayHaveMemprofSummary()
1207 CalledFunction = dyn_cast<Function>(GA->getAliaseeObject()); in mayHaveMemprofSummary()
1211 if (CalledFunction) { in mayHaveMemprofSummary()
1212 if (CI && CalledFunction->isIntrinsic()) in mayHaveMemprofSummary()