Lines Matching refs:NewName
1080 StringRef NewName = Name.drop_front(PrefixPos); in adjustInstrProfile() local
1082 if (NewName.size() == 0) { in adjustInstrProfile()
1087 size_t PostfixPos = NewName.find(FunctionSamples::UniqSuffix); in adjustInstrProfile()
1096 NewName = NewName.substr(0, PostfixPos); in adjustInstrProfile()
1101 NewName.str() + getUniqueInternalLinkagePostfix(FName); in adjustInstrProfile()
1102 NewName = StringRef(NStr); in adjustInstrProfile()
1103 StaticFuncMap[NewName] = Name; in adjustInstrProfile()
1108 if (!StaticFuncMap.contains(NewName)) { in adjustInstrProfile()
1109 StaticFuncMap[NewName] = Name; in adjustInstrProfile()
1111 StaticFuncMap[NewName] = DuplicateNameStr; in adjustInstrProfile()
1185 auto NewName = StaticFuncMap.find(Name); in adjustInstrProfile() local
1186 if (NewName != StaticFuncMap.end()) { in adjustInstrProfile()
1187 It = InstrProfileMap.find(NewName->second.str()); in adjustInstrProfile()
1188 if (NewName->second != DuplicateNameStr) { in adjustInstrProfile()
1189 NewRootName = &NewName->second; in adjustInstrProfile()
1270 auto NewName = StaticFuncMap.find(Name); in adjustInstrProfile() local
1271 if (NewName != StaticFuncMap.end()) { in adjustInstrProfile()
1272 It = InstrProfileMap.find(NewName->second.str()); in adjustInstrProfile()
1273 if (NewName->second == DuplicateNameStr) { in adjustInstrProfile()