Home
last modified time | relevance | path

Searched refs:StackIdIndices (Results 1 – 7 of 7) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryProfileInfo.h151 Iter = End ? N->StackIdIndices.end() : N->StackIdIndices.begin(); in CallStackIterator()
156 assert(Iter != N->StackIdIndices.end());
163 return N->StackIdIndices.back(); in back()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h318 SmallVector<unsigned> StackIdIndices;
320 CallsiteInfo(ValueInfo Callee, SmallVector<unsigned> StackIdIndices)
321 : Callee(Callee), StackIdIndices(std::move(StackIdIndices)) {}
323 SmallVector<unsigned> StackIdIndices)
325 StackIdIndices(std::move(StackIdIndices)) {}
340 for (auto Id : SNI.StackIdIndices) {
371 SmallVector<unsigned> StackIdIndices;
373 MIBInfo(AllocationType AllocType, SmallVector<unsigned> StackIdIndices)
374 : AllocType(AllocType), StackIdIndices(std::move(StackIdIndices)) {}
381 for (auto Id : MIB.StackIdIndices) {
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp495 SmallVector<unsigned> StackIdIndices; in computeFunctionSummary() local
505 if (StackIdIndices.empty() || StackIdIndices.back() != StackIdIdx) in computeFunctionSummary()
506 StackIdIndices.push_back(StackIdIdx); in computeFunctionSummary()
509 MIBInfo(getMIBAllocType(MIBMD), std::move(StackIdIndices))); in computeFunctionSummary()
513 SmallVector<unsigned> StackIdIndices; in computeFunctionSummary() local
515 StackIdIndices.push_back(Index.addOrGetStackIdIndex(StackId)); in computeFunctionSummary()
522 Callsites.push_back({CalleeValueInfo, StackIdIndices}); in computeFunctionSummary()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp429 std::vector<unsigned> StackIdIndices; member in __anon9ee8d7120111::IndexBitcodeWriter
473 if (CI.StackIdIndices.empty()) { in IndexBitcodeWriter()
477 for (auto Idx : CI.StackIdIndices) in IndexBitcodeWriter()
478 StackIdIndices.push_back(Idx); in IndexBitcodeWriter()
485 llvm::sort(StackIdIndices); in IndexBitcodeWriter()
486 StackIdIndices.erase( in IndexBitcodeWriter()
487 std::unique(StackIdIndices.begin(), StackIdIndices.end()), in IndexBitcodeWriter()
488 StackIdIndices.end()); in IndexBitcodeWriter()
4008 for (auto Id : CI.StackIdIndices) in writeFunctionHeapProfileRecords()
4347 if (!StackIdIndices.empty()) { in writeCombinedGlobalValueSummary()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DMemProfContextDisambiguation.cpp3408 if (!Callsite.StackIdIndices.empty()) in applyImport()
3470 MIBIter->StackIdIndices.begin(); in applyImport()
3485 assert(StackIdIndexIter != MIBIter->StackIdIndices.end()); in applyImport()
3556 auto StackIdIndexIter = StackNode.StackIdIndices.begin(); in applyImport()
3558 assert(StackIdIndexIter != StackNode.StackIdIndices.end()); in applyImport()
/freebsd-14.2/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp10039 SmallVector<unsigned> StackIdIndices; in parseMemProfs() local
10044 StackIdIndices.push_back(Index->addOrGetStackIdIndex(StackId)); in parseMemProfs()
10050 MIBs.push_back({(AllocationType)AllocType, StackIdIndices}); in parseMemProfs()
10137 SmallVector<unsigned> StackIdIndices; in parseOptionalCallsites() local
10142 StackIdIndices.push_back(Index->addOrGetStackIdIndex(StackId)); in parseOptionalCallsites()
10153 Callsites.push_back({VI, Clones, StackIdIndices}); in parseOptionalCallsites()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DAsmWriter.cpp3306 for (auto Id : MIB.StackIdIndices) { in printFunctionSummary()
3334 for (auto Id : CI.StackIdIndices) { in printFunctionSummary()