Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/IPO/
DSampleContextTracker.cpp71 FunctionSamples::getCallSiteHash(NodeToMove.getFuncName(), CallSite); in moveContextSamples()
117 StringRef ContextTrieNode::getFuncName() const { return FuncName; } in getFuncName() function in llvm::ContextTrieNode
159 dbgs() << " Node: " << It.second.getFuncName() << "\n"; in dumpNode()
185 assert(It->second.getFuncName() == CalleeName && in getOrCreateChildContext()
221 FuncToCtxtProfiles[Node->getFuncName()].push_back(FSamples); in populateFuncToCtxtMap()
441 Res.emplace_back(Node->getFuncName(), LineLocation(0, 0)); in getContextString()
446 Res.emplace_back(Node->getFuncName(), PreNode->getCallSiteLoc()); in getContextString()
461 return Node->getFuncName(); in getFuncNameFor()
463 return GUIDToFuncNameMap->lookup(std::stoull(Node->getFuncName().data())); in getFuncNameFor()
599 ToNode = ToNodeParent.getChildContext(NewCallSiteLoc, FromNode.getFuncName()); in promoteMergeContextSamplesTree()
[all …]
DSampleProfile.cpp941 auto CalleeFunctionName = Candidate.CalleeSamples->getFuncName(); in tryPromoteAndInlineCandidate()
996 << Candidate.CalleeSamples->getFuncName() << " because " in tryPromoteAndInlineCandidate()
1087 StringRef Name = CalleeSample->getFuncName(); in findExternalInlineCandidate()
1098 StringRef CalleeName = CalleeSample->getFuncName(TS.getKey()); in findExternalInlineCandidate()
/external/llvm/unittests/ProfileData/
DInstrProfTest.cpp840 StringRef R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("func1")); in TEST_P()
842 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("func2")); in TEST_P()
844 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("func3")); in TEST_P()
846 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("bar1")); in TEST_P()
848 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("bar2")); in TEST_P()
850 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("bar3")); in TEST_P()
854 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("bar4")); in TEST_P()
856 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("foo4")); in TEST_P()
867 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("blah_1")); in TEST_P()
869 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("blah_2")); in TEST_P()
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Transforms/IPO/
DProfiledCallGraph.h159 addProfiledFunction(Samples.getFuncName()); in addProfiledCalls()
164 addProfiledCall(Samples.getFuncName(), Target, Frequency); in addProfiledCalls()
171 addProfiledCall(Samples.getFuncName(), InlinedSamples.first, in addProfiledCalls()
DSampleContextTracker.h51 StringRef getFuncName() const;
/external/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h521 Error getFuncName(InstrProfSymtab &ProfileNames, StringRef &FuncName) const { in getFuncName() function
524 FuncName = ProfileNames.getFuncName(NameRef, NameS); in getFuncName()
549 Error getFuncName(InstrProfSymtab &ProfileNames, StringRef &FuncName) const { in getFuncName() function
551 FuncName = ProfileNames.getFuncName(NameRef); in getFuncName()
/external/pytorch/torch/csrc/jit/passes/
Dgraph_rewrite_helper.h10 std::string getFuncName(Value* func_value);
Dfuse_linear.cpp126 auto func_name = graph_rewrite_helper::getFuncName(linear); in SwapFunctionalLinear()
Dgraph_rewrite_helper.cpp9 std::string getFuncName(Value* func_value) { in getFuncName() function
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
DInstrProf.h491 StringRef getFuncName(uint64_t FuncNameAddress, size_t NameSize);
495 inline StringRef getFuncName(uint64_t FuncMD5Hash);
551 StringRef ret = getFuncName(FuncMD5Hash); in getFuncNameOrExternalSymbol()
557 StringRef InstrProfSymtab::getFuncName(uint64_t FuncMD5Hash) { in getFuncName() function
582 StringRef PGOName = getFuncName(FuncMD5Hash); in getOrigFuncName()
DInstrProfReader.h287 return Symtab->getFuncName(swap(NameRef)); in getName()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h713 Error getFuncName(InstrProfSymtab &ProfileNames, StringRef &FuncName) const { in getFuncName() function
716 FuncName = ProfileNames.getFuncName(NameRef, NameS); in getFuncName()
744 Error getFuncName(InstrProfSymtab &ProfileNames, StringRef &FuncName) const { in getFuncName() function
746 FuncName = ProfileNames.getFuncName(NameRef); in getFuncName()
/external/pytorch/torch/csrc/jit/passes/quantization/
Dhelper.cpp11 using graph_rewrite_helper::getFuncName;
250 getFuncName(node->inputs()[0]) == func_name && in matchCallFuncToUse()
426 auto func_name = getFuncName(n->inputs()[0]); in isFunctionNode()
680 return v->type()->cast<FunctionType>() && getFuncName(v) == functional; in is_functional()
Dhelper.h14 using graph_rewrite_helper::getFuncName;
/external/llvm/include/llvm/ProfileData/
DInstrProf.h474 StringRef getFuncName(uint64_t FuncNameAddress, size_t NameSize);
477 inline StringRef getFuncName(uint64_t FuncMD5Hash);
514 StringRef InstrProfSymtab::getFuncName(uint64_t FuncMD5Hash) { in getFuncName() function
537 StringRef PGOName = getFuncName(FuncMD5Hash); in getOrigFuncName()
DInstrProfReader.h244 return Symtab->getFuncName(swap(NameRef)); in getName()
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/ProfileData/
DInstrProf.h532 StringRef getFuncName(uint64_t FuncNameAddress, size_t NameSize);
536 inline StringRef getFuncName(uint64_t FuncMD5Hash);
598 StringRef ret = getFuncName(FuncMD5Hash); in getFuncNameOrExternalSymbol()
604 StringRef InstrProfSymtab::getFuncName(uint64_t FuncMD5Hash) { in getFuncName() function
627 StringRef PGOName = getFuncName(FuncMD5Hash); in getOrigFuncName()
DSampleProf.h995 if (isDeclaration(SymbolMap.lookup(getFuncName()))) {
1004 const Function *Callee = SymbolMap.lookup(getFuncName(TS.getKey()));
1020 StringRef getFuncName() const { return getFuncName(getName()); }
1079 StringRef getFuncName(StringRef Name) const {
DInstrProfReader.h414 return Symtab->getFuncName(swap(NameRef)); in getName()
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h807 FuncName = ProfileNames.getFuncName(NameRef); in getFuncNameViaRef()
856 Error getFuncName(InstrProfSymtab &ProfileNames, StringRef &FuncName) const { in getFuncName() function
859 FuncName = ProfileNames.getFuncName(NameRef, NameS); in getFuncName()
904 Error getFuncName(InstrProfSymtab &ProfileNames, StringRef &FuncName) const { in getFuncName() function
948 Error getFuncName(InstrProfSymtab &ProfileNames, StringRef &FuncName) const { in getFuncName() function
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Instrumentation/
DPGOMemOPSizeOpt.cpp133 StringRef getFuncName() { in getFuncName() function
194 LLVM_DEBUG(dbgs() << "MemOP call: " << MO.getFuncName() in perform()
/external/llvm/lib/Transforms/Instrumentation/
DIndirectCallPromotion.cpp249 << Symtab->getFuncName(Target) << "\n"); in isPromotionLegal()
293 StringRef TargetFuncName = Symtab->getFuncName(Target); in getPromotionCandidatesForCallSite()
/external/llvm/lib/ProfileData/Coverage/
DCoverageMappingReader.cpp334 StringRef InstrProfSymtab::getFuncName(uint64_t Pointer, size_t Size) { in getFuncName() function in InstrProfSymtab
400 if (Error Err = CFR->template getFuncName<Endian>(ProfileNames, FuncName)) in insertFunctionRecordIfNeeded()
/external/llvm/lib/ProfileData/
DInstrProfWriter.cpp326 OS << Symtab.getFuncName(VD[I].Value) << ":" << VD[I].Count << "\n"; in writeRecordInText()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/Coverage/
DCoverageMappingReader.cpp366 StringRef InstrProfSymtab::getFuncName(uint64_t Pointer, size_t Size) { in getFuncName() function in InstrProfSymtab
433 if (Error Err = CFR->template getFuncName<Endian>(ProfileNames, FuncName)) in insertFunctionRecordIfNeeded()

12