@@ -4482,8 +4482,8 @@ unsigned MemProfContextDisambiguation::recordICPInfo(
44824482
44834483void MemProfContextDisambiguation::performICP (
44844484 Module &M, ArrayRef<CallsiteInfo> AllCallsites,
4485- SmallVectorImpl <std::unique_ptr<ValueToValueMapTy>> & VMaps,
4486- SmallVector <ICallAnalysisData> & ICallAnalysisInfo,
4485+ ArrayRef <std::unique_ptr<ValueToValueMapTy>> VMaps,
4486+ ArrayRef <ICallAnalysisData> ICallAnalysisInfo,
44874487 OptimizationRemarkEmitter &ORE) {
44884488 // Now do any promotion required for cloning. Specifically, for each
44894489 // recorded ICP candidate (which was only recorded because one clone of that
@@ -4513,7 +4513,7 @@ void MemProfContextDisambiguation::performICP(
45134513 if (TargetFunction == nullptr || TargetFunction->isDeclaration ()) {
45144514 ORE.emit ([&]() {
45154515 return OptimizationRemarkMissed (DEBUG_TYPE, " UnableToFindTarget" , CB)
4516- << " Cannot promote indirect call: target with md5sum "
4516+ << " Memprof cannot promote indirect call: target with md5sum "
45174517 << ore::NV (" target md5sum" , Candidate.Value ) << " not found" ;
45184518 });
45194519 // FIXME: See if we can use the new declaration importing support to
@@ -4527,7 +4527,7 @@ void MemProfContextDisambiguation::performICP(
45274527 if (!isLegalToPromote (*CB, TargetFunction, &Reason)) {
45284528 ORE.emit ([&]() {
45294529 return OptimizationRemarkMissed (DEBUG_TYPE, " UnableToPromote" , CB)
4530- << " Cannot promote indirect call to "
4530+ << " Memprof cannot promote indirect call to "
45314531 << ore::NV (" TargetFunction" , TargetFunction)
45324532 << " with count of " << ore::NV (" TotalCount" , TotalCount)
45334533 << " : " << Reason;
0 commit comments