Lines Matching refs:NewName
1138 StringRef NewName = Name.drop_front(PrefixPos); in adjustInstrProfile() local
1140 if (NewName.size() == 0) { in adjustInstrProfile()
1145 size_t PostfixPos = NewName.find(FunctionSamples::UniqSuffix); in adjustInstrProfile()
1154 NewName = NewName.substr(0, PostfixPos); in adjustInstrProfile()
1159 NewName.str() + getUniqueInternalLinkagePostfix(FName); in adjustInstrProfile()
1160 NewName = StringRef(NStr); in adjustInstrProfile()
1161 StaticFuncMap[NewName] = Name; in adjustInstrProfile()
1166 if (!StaticFuncMap.contains(NewName)) { in adjustInstrProfile()
1167 StaticFuncMap[NewName] = Name; in adjustInstrProfile()
1169 StaticFuncMap[NewName] = DuplicateNameStr; in adjustInstrProfile()
1243 auto NewName = StaticFuncMap.find(Name); in adjustInstrProfile() local
1244 if (NewName != StaticFuncMap.end()) { in adjustInstrProfile()
1245 It = InstrProfileMap.find(NewName->second.str()); in adjustInstrProfile()
1246 if (NewName->second != DuplicateNameStr) { in adjustInstrProfile()
1247 NewRootName = &NewName->second; in adjustInstrProfile()
1328 auto NewName = StaticFuncMap.find(Name); in adjustInstrProfile() local
1329 if (NewName != StaticFuncMap.end()) { in adjustInstrProfile()
1330 It = InstrProfileMap.find(NewName->second.str()); in adjustInstrProfile()
1331 if (NewName->second == DuplicateNameStr) { in adjustInstrProfile()