Home
last modified time | relevance | path

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

/external/llvm/lib/ProfileData/
DInstrProf.cpp163 StringRef getFuncNameWithoutPrefix(StringRef PGOFuncName, StringRef FileName) { in getFuncNameWithoutPrefix() argument
165 return PGOFuncName; in getFuncNameWithoutPrefix()
167 if (PGOFuncName.startswith(FileName)) in getFuncNameWithoutPrefix()
168 PGOFuncName = PGOFuncName.drop_front(FileName.size() + 1); in getFuncNameWithoutPrefix()
169 return PGOFuncName; in getFuncNameWithoutPrefix()
194 StringRef PGOFuncName) { in createPGOFuncNameVar() argument
208 ConstantDataArray::getString(M.getContext(), PGOFuncName, false); in createPGOFuncNameVar()
211 getPGOFuncNameVarName(PGOFuncName, Linkage)); in createPGOFuncNameVar()
220 GlobalVariable *createPGOFuncNameVar(Function &F, StringRef PGOFuncName) { in createPGOFuncNameVar() argument
221 return createPGOFuncNameVar(*F.getParent(), F.getLinkage(), PGOFuncName); in createPGOFuncNameVar()
[all …]
/external/llvm/include/llvm/ProfileData/
DInstrProf.h200 GlobalVariable *createPGOFuncNameVar(Function &F, StringRef PGOFuncName);
208 StringRef PGOFuncName);
214 StringRef getFuncNameWithoutPrefix(StringRef PGOFuncName,
275 void createPGOFuncNameMetadata(Function &F, StringRef PGOFuncName);
/external/llvm/test/Transforms/PGOProfile/
Dicp_invoke.ll10 define internal void @_ZL4bar1v() !PGOFuncName !0 {
15 define internal i32 @_ZL4bar2v() !PGOFuncName !1 {