Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProf.cpp288 return PGOFuncName; in getFuncNameWithoutPrefix()
290 if (PGOFuncName.startswith(FileName)) in getFuncNameWithoutPrefix()
291 PGOFuncName = PGOFuncName.drop_front(FileName.size() + 1); in getFuncNameWithoutPrefix()
292 return PGOFuncName; in getFuncNameWithoutPrefix()
317 StringRef PGOFuncName) { in createPGOFuncNameVar() argument
352 const std::string &PGOFuncName = getPGOFuncName(F, InLTO); in create() local
353 if (Error E = addFuncName(PGOFuncName)) in create()
367 auto pos = PGOFuncName.find(UniqSuffix); in create()
374 pos = PGOFuncName.find('.', pos); in create()
1062 if (PGOFuncName == F.getName()) in createPGOFuncNameMetadata()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProf.h189 GlobalVariable *createPGOFuncNameVar(Function &F, StringRef PGOFuncName);
197 StringRef PGOFuncName);
204 StringRef getFuncNameWithoutPrefix(StringRef PGOFuncName,
274 void createPGOFuncNameMetadata(Function &F, StringRef PGOFuncName);