Home
last modified time | relevance | path

Searched refs:ContextStr (Results 1 – 7 of 7) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/
H A DSampleProf.h408 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 …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-profgen/
H A DPseudoProbe.cpp45 std::string ContextStr; in getInlineContext() local
49 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()
H A DPerfReader.cpp351 std::string ContextStr; in getContextKeyStr() local
360 if (ContextStr.size()) in getContextKeyStr()
361 ContextStr += " @ "; in getContextKeyStr()
362 ContextStr += Context; in getContextKeyStr()
365 return ContextStr; in getContextKeyStr()
H A DProfileGenerator.cpp198 CSProfileGenerator::getFunctionProfileForContext(StringRef ContextStr, in getFunctionProfileForContext() argument
200 auto Ret = ProfileMap.try_emplace(ContextStr, FunctionSamples()); in getFunctionProfileForContext()
204 auto It = ContextStrings.insert(ContextStr.str()); in getFunctionProfileForContext()
H A DProfiledBinary.cpp137 std::string ContextStr; in getExpandedContextStr() local
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ProfileData/
H A DSampleProf.cpp377 StringRef ContextStr = FProfile.getNameWithContext(); in canonicalizeContextProfiles() local
378 if (I.first() == ContextStr) in canonicalizeContextProfiles()
384 auto Ret = ProfileMap.try_emplace(ContextStr, FProfile); in canonicalizeContextProfiles()
389 ProfilesToBeRemoved.erase(ContextStr); in canonicalizeContextProfiles()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-ar/
H A Dllvm-ar.cpp160 std::string ContextStr = Context.str(); in failIfError() local
161 if (ContextStr.empty()) in failIfError()
171 std::string ContextStr = Context.str(); in failIfError() local
172 if (ContextStr.empty()) in failIfError()