| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | SampleContextTracker.cpp | 71 FunctionSamples::getCallSiteHash(NodeToMove.getFuncName(), CallSite); in moveContextSamples() 117 StringRef ContextTrieNode::getFuncName() const { return FuncName; } in getFuncName() function in llvm::ContextTrieNode 157 dbgs() << " Node: " << It.second.getFuncName() << "\n"; in dumpNode() 183 assert(It->second.getFuncName() == CalleeName && in getOrCreateChildContext() 219 FuncToCtxtProfiles[Node->getFuncName()].push_back(FSamples); in populateFuncToCtxtMap() 439 Res.emplace_back(Node->getFuncName(), LineLocation(0, 0)); in getContextString() 444 Res.emplace_back(Node->getFuncName(), PreNode->getCallSiteLoc()); in getContextString() 459 return Node->getFuncName(); in getFuncNameFor() 461 return GUIDToFuncNameMap->lookup(std::stoull(Node->getFuncName().data())); in getFuncNameFor() 628 FromNodeParent.removeChildContext(OldCallSiteLoc, ToNode->getFuncName()); in promoteMergeContextSamplesTree() [all …]
|
| H A D | SampleProfile.cpp | 903 auto CalleeFunctionName = Candidate.CalleeSamples->getFuncName(); in tryPromoteAndInlineCandidate() 958 << Candidate.CalleeSamples->getFuncName() << " because " in tryPromoteAndInlineCandidate() 1049 StringRef Name = CalleeSample->getFuncName(); in findExternalInlineCandidate() 1060 StringRef CalleeName = CalleeSample->getFuncName(TS.getKey()); in findExternalInlineCandidate()
|
| /llvm-project-15.0.7/llvm/unittests/ProfileData/ |
| H A D | InstrProfTest.cpp | 1040 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("func2")); in TEST_P() 1042 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("func3")); in TEST_P() 1044 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("bar1")); in TEST_P() 1046 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("bar2")); in TEST_P() 1048 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("bar3")); in TEST_P() 1052 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("bar4")); in TEST_P() 1054 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("foo4")); in TEST_P() 1075 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("bar1")); in TEST_P() 1077 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("bar2")); in TEST_P() 1079 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("bar3")); in TEST_P() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/IPO/ |
| H A D | ProfiledCallGraph.h | 159 addProfiledFunction(Samples.getFuncName()); in addProfiledCalls() 164 addProfiledCall(Samples.getFuncName(), Target.first(), Target.second); in addProfiledCalls() 171 addProfiledCall(Samples.getFuncName(), InlinedSamples.first, in addProfiledCalls()
|
| H A D | SampleContextTracker.h | 50 StringRef getFuncName() const;
|
| /llvm-project-15.0.7/llvm/tools/llvm-profgen/ |
| H A D | ProfileGenerator.cpp | 460 if (!Node->getFuncName().empty()) in collectFunctionsFromLLVMProfile() 461 if (auto *Func = Binary->getBinaryFunction(Node->getFuncName())) in collectFunctionsFromLLVMProfile() 698 return FunctionSamples::getCanonicalFnName(FRange->getFuncName()); in getCalleeNameForOffset() 742 FProfile->setName(ContextNode->getFuncName()); in getOrCreateFunctionSamples() 939 Node.getFuncName(), EstimatedCallCount); in populateInferredFunctionSamples() 950 Context.emplace_back(Node.getFuncName(), LineLocation(0, 0)); in convertToProfileMap() 961 Context.emplace_back(Node.getFuncName(), ChildNode.getCallSiteLoc()); in convertToProfileMap() 1170 ContextNode->getFuncName(), Count); in populateBodySamplesWithProbes()
|
| H A D | ProfiledBinary.cpp | 98 CurrNode = CurrNode->getChildContext(CallSiteLoc, Node->getFuncName()); in getFuncSizeForContext() 416 (!FuncRange->IsFuncEntry && FuncRange->getFuncName() == RangeSymName)) in setIsFuncEntry() 711 << " " << R.first->second.getFuncName() << " and " << Name << "\n"; in loadSymbolsFromDWARFUnit() 753 SymbolList.add(I.second.getFuncName()); in populateSymbolListFromDWARF()
|
| H A D | ProfiledBinary.h | 111 StringRef getFuncName() { return Func->FuncName; } in getFuncName() function
|
| /llvm-project-15.0.7/llvm/include/llvm/ProfileData/ |
| H A D | InstrProf.h | 527 StringRef getFuncName(uint64_t FuncNameAddress, size_t NameSize); 531 inline StringRef getFuncName(uint64_t FuncMD5Hash); 593 StringRef ret = getFuncName(FuncMD5Hash); in getFuncNameOrExternalSymbol() 599 StringRef InstrProfSymtab::getFuncName(uint64_t FuncMD5Hash) { in getFuncName() function 622 StringRef PGOName = getFuncName(FuncMD5Hash); in getOrigFuncName()
|
| H A D | SampleProf.h | 983 if (isDeclaration(SymbolMap.lookup(getFuncName()))) { 992 const Function *Callee = SymbolMap.lookup(getFuncName(TS.getKey())); 1008 StringRef getFuncName() const { return getFuncName(getName()); } 1067 StringRef getFuncName(StringRef Name) const {
|
| H A D | InstrProfReader.h | 382 return Symtab->getFuncName(swap(NameRef)); in getName()
|
| /llvm-project-15.0.7/llvm/include/llvm/ProfileData/Coverage/ |
| H A D | CoverageMapping.h | 795 FuncName = ProfileNames.getFuncName(NameRef); in getFuncNameViaRef() 844 Error getFuncName(InstrProfSymtab &ProfileNames, StringRef &FuncName) const { in getFuncName() function 847 FuncName = ProfileNames.getFuncName(NameRef, NameS); in getFuncName() 892 Error getFuncName(InstrProfSymtab &ProfileNames, StringRef &FuncName) const { in getFuncName() function 936 Error getFuncName(InstrProfSymtab &ProfileNames, StringRef &FuncName) const { in getFuncName() function
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | PGOMemOPSizeOpt.cpp | 133 StringRef getFuncName() { in getFuncName() function 194 LLVM_DEBUG(dbgs() << "MemOP call: " << MO.getFuncName() in perform()
|
| H A D | PGOInstrumentation.cpp | 1099 std::string getFuncName() const { return FuncInfo.FuncName; } in getFuncName() function in __anoncdb75a9b0611::PGOUseFunc
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SCF/TransformOps/ |
| H A D | SCFTransformOps.cpp | 107 rewriter, location, exec.getRegion(), getFuncName(), &call); in apply()
|
| /llvm-project-15.0.7/llvm/lib/ProfileData/Coverage/ |
| H A D | CoverageMappingReader.cpp | 464 StringRef InstrProfSymtab::getFuncName(uint64_t Pointer, size_t Size) { in getFuncName() function in InstrProfSymtab 568 if (Error Err = CFR->template getFuncName<Endian>(ProfileNames, FuncName)) in insertFunctionRecordIfNeeded()
|
| /llvm-project-15.0.7/llvm/tools/llvm-profdata/ |
| H A D | llvm-profdata.cpp | 2116 OS << Symtab->getFuncName(VD[V].Value); in traverseAllValueSites()
|