Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/include/llvm/ProfileData/
H A DSampleProf.h518 SampleContext(StringRef ContextStr,
522 assert(!ContextStr.empty());
525 bool HasContext = ContextStr.startswith("[");
528 Name = ContextStr;
532 createCtxVectorFromStr(ContextStr, Context);
539 static void createCtxVectorFromStr(StringRef ContextStr,
542 ContextStr = ContextStr.substr(1, ContextStr.size() - 2);
543 StringRef ContextRemain = ContextStr;
558 static void decodeContextString(StringRef ContextStr, StringRef &FName,
561 auto EntrySplit = ContextStr.split(':');
/llvm-project-15.0.7/llvm/tools/llvm-ar/
H A Dllvm-ar.cpp175 std::string ContextStr = Context.str(); in failIfError() local
176 if (ContextStr.empty()) in failIfError()
186 std::string ContextStr = Context.str(); in failIfError() local
187 if (ContextStr.empty()) in failIfError()