Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProf.cpp428 if (auto PGOFuncName = lookupPGONameFromMetadata(getPGOFuncNameMetadata(F))) in getPGOFuncName() local
429 return *PGOFuncName; in getPGOFuncName()
452 StringRef getFuncNameWithoutPrefix(StringRef PGOFuncName, StringRef FileName) { in getFuncNameWithoutPrefix() argument
454 return PGOFuncName; in getFuncNameWithoutPrefix()
457 if (PGOFuncName.starts_with(FileName)) in getFuncNameWithoutPrefix()
458 PGOFuncName = PGOFuncName.drop_front(FileName.size() + 1); in getFuncNameWithoutPrefix()
459 return PGOFuncName; in getFuncNameWithoutPrefix()
499 StringRef PGOFuncName) { in createPGOFuncNameVar() argument
515 ConstantDataArray::getString(M.getContext(), PGOFuncName, false); in createPGOFuncNameVar()
518 getPGOFuncNameVarName(PGOFuncName, Linkage)); in createPGOFuncNameVar()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProf.h259 StringRef PGOFuncName);
267 StringRef PGOFuncName);
274 LLVM_ABI StringRef getFuncNameWithoutPrefix(StringRef PGOFuncName,
356 LLVM_ABI void createPGOFuncNameMetadata(Function &F, StringRef PGOFuncName);
556 Error addFuncWithName(Function &F, StringRef PGOFuncName, bool AddCanonical);