Searched refs:ContextStr (Results 1 – 7 of 7) sorted by relevance
408 SampleContext(StringRef ContextStr, ContextStateMask CState = UnknownContext)410 setContext(ContextStr, CState);426 splitContextString(StringRef ContextStr) {427 return ContextStr.split(" @ ");432 static void decodeContextString(StringRef ContextStr, StringRef &FName,435 auto EntrySplit = ContextStr.split(':');471 void setContext(StringRef ContextStr, ContextStateMask CState) {472 assert(!ContextStr.empty());475 bool HasContext = ContextStr.startswith("[");478 Name = FullContext = ContextStr;[all …]
45 std::string ContextStr; in getInlineContext() local49 ContextStr += FuncName.str(); in getInlineContext()51 ContextStr += Twine(std::get<0>(Cur->ISite)).str(); in getInlineContext()53 ContextStr += ":"; in getInlineContext()54 ContextStr += Twine(std::get<1>(Cur->ISite)).str(); in getInlineContext()55 ContextStack.emplace_back(ContextStr); in getInlineContext()
351 std::string ContextStr; in getContextKeyStr() local360 if (ContextStr.size()) in getContextKeyStr()361 ContextStr += " @ "; in getContextKeyStr()362 ContextStr += Context; in getContextKeyStr()365 return ContextStr; in getContextKeyStr()
198 CSProfileGenerator::getFunctionProfileForContext(StringRef ContextStr, in getFunctionProfileForContext() argument200 auto Ret = ProfileMap.try_emplace(ContextStr, FunctionSamples()); in getFunctionProfileForContext()204 auto It = ContextStrings.insert(ContextStr.str()); in getFunctionProfileForContext()
137 std::string ContextStr; in getExpandedContextStr() local
377 StringRef ContextStr = FProfile.getNameWithContext(); in canonicalizeContextProfiles() local378 if (I.first() == ContextStr) in canonicalizeContextProfiles()384 auto Ret = ProfileMap.try_emplace(ContextStr, FProfile); in canonicalizeContextProfiles()389 ProfilesToBeRemoved.erase(ContextStr); in canonicalizeContextProfiles()
160 std::string ContextStr = Context.str(); in failIfError() local161 if (ContextStr.empty()) in failIfError()171 std::string ContextStr = Context.str(); in failIfError() local172 if (ContextStr.empty()) in failIfError()