Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryProfileInfo.h157 Iter = End ? N->StackIdIndices.end() : N->StackIdIndices.begin(); in CallStackIterator()
162 assert(Iter != N->StackIdIndices.end());
169 return N->StackIdIndices.back(); in back()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h319 SmallVector<unsigned> StackIdIndices;
321 CallsiteInfo(ValueInfo Callee, SmallVector<unsigned> StackIdIndices)
322 : Callee(Callee), StackIdIndices(std::move(StackIdIndices)) {}
324 SmallVector<unsigned> StackIdIndices)
326 StackIdIndices(std::move(StackIdIndices)) {}
341 for (auto Id : SNI.StackIdIndices) {
372 SmallVector<unsigned> StackIdIndices;
374 MIBInfo(AllocationType AllocType, SmallVector<unsigned> StackIdIndices)
375 : AllocType(AllocType), StackIdIndices(std::move(StackIdIndices)) {}
382 for (auto Id : MIB.StackIdIndices) {
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp527 SmallVector<unsigned> StackIdIndices; in computeFunctionSummary() local
537 if (StackIdIndices.empty() || StackIdIndices.back() != StackIdIdx) in computeFunctionSummary()
538 StackIdIndices.push_back(StackIdIdx); in computeFunctionSummary()
541 MIBInfo(getMIBAllocType(MIBMD), std::move(StackIdIndices))); in computeFunctionSummary()
554 SmallVector<unsigned> StackIdIndices; in computeFunctionSummary() local
556 StackIdIndices.push_back(Index.addOrGetStackIdIndex(StackId)); in computeFunctionSummary()
563 Callsites.push_back({CalleeValueInfo, StackIdIndices}); in computeFunctionSummary()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DMemProfContextDisambiguation.cpp3631 if (!Callsite.StackIdIndices.empty()) in applyImport()
3693 MIBIter->StackIdIndices.begin(); in applyImport()
3714 assert(StackIdIndexIter != MIBIter->StackIdIndices.end()); in applyImport()
3785 auto StackIdIndexIter = StackNode.StackIdIndices.begin(); in applyImport()
3787 assert(StackIdIndexIter != StackNode.StackIdIndices.end()); in applyImport()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp510 if (CI.StackIdIndices.empty()) { in IndexBitcodeWriter()
514 for (auto Idx : CI.StackIdIndices) in IndexBitcodeWriter()
519 for (auto Idx : MIB.StackIdIndices) in IndexBitcodeWriter()
4175 Record.push_back(CI.StackIdIndices.size()); in writeFunctionHeapProfileRecords()
4178 for (auto Id : CI.StackIdIndices) in writeFunctionHeapProfileRecords()
4199 Record.push_back(MIB.StackIdIndices.size()); in writeFunctionHeapProfileRecords()
4200 for (auto Id : MIB.StackIdIndices) in writeFunctionHeapProfileRecords()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp10510 SmallVector<unsigned> StackIdIndices; in parseMemProfs() local
10515 StackIdIndices.push_back(Index->addOrGetStackIdIndex(StackId)); in parseMemProfs()
10521 MIBs.push_back({(AllocationType)AllocType, StackIdIndices}); in parseMemProfs()
10608 SmallVector<unsigned> StackIdIndices; in parseOptionalCallsites() local
10613 StackIdIndices.push_back(Index->addOrGetStackIdIndex(StackId)); in parseOptionalCallsites()
10624 Callsites.push_back({VI, Clones, StackIdIndices}); in parseOptionalCallsites()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAsmWriter.cpp3406 for (auto Id : MIB.StackIdIndices) { in printFunctionSummary()
3434 for (auto Id : CI.StackIdIndices) { in printFunctionSummary()