Home
last modified time | relevance | path

Searched refs:PGOFuncName (Results 1 – 9 of 9) 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/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/
DInstrProf.cpp275 StringRef getFuncNameWithoutPrefix(StringRef PGOFuncName, StringRef FileName) { in getFuncNameWithoutPrefix() argument
277 return PGOFuncName; in getFuncNameWithoutPrefix()
279 if (PGOFuncName.startswith(FileName)) in getFuncNameWithoutPrefix()
280 PGOFuncName = PGOFuncName.drop_front(FileName.size() + 1); in getFuncNameWithoutPrefix()
281 return PGOFuncName; in getFuncNameWithoutPrefix()
306 StringRef PGOFuncName) { in createPGOFuncNameVar() argument
319 ConstantDataArray::getString(M.getContext(), PGOFuncName, false); in createPGOFuncNameVar()
322 getPGOFuncNameVarName(PGOFuncName, Linkage)); in createPGOFuncNameVar()
331 GlobalVariable *createPGOFuncNameVar(Function &F, StringRef PGOFuncName) { in createPGOFuncNameVar() argument
332 return createPGOFuncNameVar(*F.getParent(), F.getLinkage(), PGOFuncName); in createPGOFuncNameVar()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/DeadArgElim/
Dfunc_metadata.ll10 define internal i32 @va_func(i32 %num, ...) !prof !28 !PGOFuncName !29{
11 ; CHECK: define internal void @va_func(i32 %num) !prof ![[ENTRYCOUNT:[0-9]+]] !PGOFuncName ![[PGOFU…
19 define internal fastcc i32 @foo() unnamed_addr !prof !28 !PGOFuncName !30 {
20 ; CHECK: define internal fastcc void @foo() unnamed_addr !prof ![[ENTRYCOUNT:[0-9]+]] !PGOFuncName
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/PGOProfile/Inputs/
Dthinlto_indirect_call_promotion.ll11 define internal void @c() !PGOFuncName !1 {
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/PGOProfile/
Dicp_invoke.ll10 define internal void @_ZL4bar1v() !PGOFuncName !0 {
15 define internal i32 @_ZL4bar2v() !PGOFuncName !1 {
Dicp_invoke_nouse.ll8 define internal i32 @_ZL4bar1v() !PGOFuncName !0 {
/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 {
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ProfileData/
DInstrProf.h188 GlobalVariable *createPGOFuncNameVar(Function &F, StringRef PGOFuncName);
196 StringRef PGOFuncName);
203 StringRef getFuncNameWithoutPrefix(StringRef PGOFuncName,
272 void createPGOFuncNameMetadata(Function &F, StringRef PGOFuncName);