Home
last modified time | relevance | path

Searched refs:getFuncName (Results 1 – 17 of 17) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DSampleContextTracker.cpp71 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 DSampleProfile.cpp903 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 DInstrProfTest.cpp1040 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 DProfiledCallGraph.h159 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 DSampleContextTracker.h50 StringRef getFuncName() const;
/llvm-project-15.0.7/llvm/tools/llvm-profgen/
H A DProfileGenerator.cpp460 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 DProfiledBinary.cpp98 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 DProfiledBinary.h111 StringRef getFuncName() { return Func->FuncName; } in getFuncName() function
/llvm-project-15.0.7/llvm/include/llvm/ProfileData/
H A DInstrProf.h527 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 DSampleProf.h983 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 DInstrProfReader.h382 return Symtab->getFuncName(swap(NameRef)); in getName()
/llvm-project-15.0.7/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h795 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 DPGOMemOPSizeOpt.cpp133 StringRef getFuncName() { in getFuncName() function
194 LLVM_DEBUG(dbgs() << "MemOP call: " << MO.getFuncName() in perform()
H A DPGOInstrumentation.cpp1099 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 DSCFTransformOps.cpp107 rewriter, location, exec.getRegion(), getFuncName(), &call); in apply()
/llvm-project-15.0.7/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingReader.cpp464 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 Dllvm-profdata.cpp2116 OS << Symtab->getFuncName(VD[V].Value); in traverseAllValueSites()