Home
last modified time | relevance | path

Searched refs:ProfiledBinary (Results 1 – 15 of 15) sorted by relevance

/llvm-project/llvm/tools/llvm-profgen/
H A DPerfReader.h215 ProfiledBinary *Binary) { in isValidFallThroughRange()
230 const ProfiledBinary *Binary;
269 UnwindState(const PerfSample *Sample, const ProfiledBinary *Binary) in UnwindState()
421 ProfiledBinary *Binary;
422 FrameStack(ProfiledBinary *B) : Binary(B) {} in FrameStack()
439 ProfiledBinary *Binary;
440 AddressStack(ProfiledBinary *B) : Binary(B) {} in AddressStack()
476 VirtualUnwinder(ContextSampleCounterMap *Counter, ProfiledBinary *B) in VirtualUnwinder()
557 ProfiledBinary *Binary;
565 PerfReaderBase(ProfiledBinary *B, StringRef PerfTrace) in PerfReaderBase()
[all …]
H A DProfileGenerator.h35 ProfileGeneratorBase(ProfiledBinary *Binary) : Binary(Binary){}; in ProfileGeneratorBase()
36 ProfileGeneratorBase(ProfiledBinary *Binary, in ProfileGeneratorBase()
39 ProfileGeneratorBase(ProfiledBinary *Binary, in ProfileGeneratorBase()
45 create(ProfiledBinary *Binary, const ContextSampleCounterMap *Counters,
48 create(ProfiledBinary *Binary, SampleProfileMap &ProfileMap,
147 ProfiledBinary *Binary = nullptr;
160 ProfileGenerator(ProfiledBinary *Binary, in ProfileGenerator()
163 ProfileGenerator(ProfiledBinary *Binary, const SampleProfileMap &&Profiles) in ProfileGenerator()
194 CSProfileGenerator(ProfiledBinary *Binary, in CSProfileGenerator()
197 CSProfileGenerator(ProfiledBinary *Binary, SampleProfileMap &Profiles) in CSProfileGenerator()
H A DProfiledBinary.cpp1 //===-- ProfiledBinary.cpp - Binary decoder ---------------------*- C++ -*-===//
9 #include "ProfiledBinary.h"
171 ProfiledBinary::ProfiledBinary(const StringRef ExeBinPath, in ProfiledBinary()
184 ProfiledBinary::~ProfiledBinary() {}
186 void ProfiledBinary::warnNoFuncEntry() { in warnNoFuncEntry()
214 void ProfiledBinary::load() { in load()
269 bool ProfiledBinary::inlineContextEqual(uint64_t Address1, uint64_t Address2) { in inlineContextEqual()
285 ProfiledBinary in getExpandedContext()
170 ProfiledBinary::ProfiledBinary(const StringRef ExeBinPath, ProfiledBinary() function in llvm::sampleprof::ProfiledBinary
[all...]
H A DMissingFrameInferrer.h22 class ProfiledBinary; variable
27 MissingFrameInferrer(ProfiledBinary *Binary) : Binary(Binary) {} in MissingFrameInferrer()
40 friend class ProfiledBinary;
64 ProfiledBinary *Binary;
H A DProfiledBinary.h1 //===-- ProfiledBinary.h - Binary decoder -----------------------*- C++ -*-===//
56 class ProfiledBinary; variable
60 const ProfiledBinary *Binary;
65 InstructionPointer(const ProfiledBinary *Binary, uint64_t Address,
119 ProfiledBinary *Binary;
120 PrologEpilogTracker(ProfiledBinary *Bin) : Binary(Bin){}; in PrologEpilogTracker()
188 class ProfiledBinary {
363 ProfiledBinary(const StringRef ExeBinPath, const StringRef DebugBinPath);
364 ~ProfiledBinary();
H A DCSPreInliner.h76 CSPreInliner(SampleContextTracker &Tracker, ProfiledBinary &Binary,
89 ProfiledBinary &Binary;
H A Dllvm-profgen.cpp154 std::unique_ptr<ProfiledBinary> Binary = in main()
155 std::make_unique<ProfiledBinary>(BinaryPath, DebugBinPath); in main()
H A DCMakeLists.txt22 ProfiledBinary.cpp
H A DPerfReader.cpp340 PerfReaderBase::create(ProfiledBinary *Binary, PerfInputFile &PerfInput, in create()
374 PerfScriptReader::convertPerfDataToTrace(ProfiledBinary *Binary, bool SkipPID, in convertPerfDataToTrace()
510 const ProfiledBinary *Binary) { in getContextKeyStr()
984 bool PerfScriptReader::extractMMapEventForBinary(ProfiledBinary *Binary, in extractMMapEventForBinary()
H A DCSPreInliner.cpp61 ProfiledBinary &Binary, ProfileSummary *Summary) in CSPreInliner()
H A DProfileGenerator.cpp12 #include "ProfiledBinary.h"
124 ProfileGeneratorBase::create(ProfiledBinary *Binary, in create()
140 ProfileGeneratorBase::create(ProfiledBinary *Binary, SampleProfileMap &Profiles, in create()
1196 ProfiledBinary *Binary) { in extractPrefixContextStack()
/llvm-project/llvm/lib/ProfileData/
H A DMemProfReader.cpp234 RawMemProfReader::create(const Twine &Path, const StringRef ProfiledBinary,
241 return create(std::move(Buffer), ProfiledBinary, KeepName); in MemProfReader()
246 const StringRef ProfiledBinary, bool KeepName) { in MemProfReader()
250 if (ProfiledBinary.empty()) { in MemProfReader()
265 auto BinaryOr = llvm::object::createBinary(ProfiledBinary); in create()
267 return report(BinaryOr.takeError(), ProfiledBinary); in create()
259 create(const Twine & Path,const StringRef ProfiledBinary,bool KeepName) create() argument
271 create(std::unique_ptr<MemoryBuffer> Buffer,const StringRef ProfiledBinary,bool KeepName) create() argument
/llvm-project/llvm/utils/gn/secondary/llvm/tools/llvm-profgen/
H A DBUILD.gn21 "ProfiledBinary.cpp",
/llvm-project/llvm/include/llvm/ProfileData/
H A DMemProfReader.h126 // collected is specified via a path in \p ProfiledBinary.
128 create(const Twine &Path, StringRef ProfiledBinary, bool KeepName = false);
130 create(std::unique_ptr<MemoryBuffer> Buffer, StringRef ProfiledBinary,
/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp119 cl::opt<std::string> ProfiledBinary(
688 const InstrProfCorrelator *Correlator, const StringRef ProfiledBinary, in loadInput()
700 auto ReaderOrErr = RawMemProfReader::create(Input.Filename, ProfiledBinary); in loadInput()
957 const StringRef ProfiledBinary) { in mergeInstrProfile()
1032 loadInput(Input, Remapper, Correlator.get(), ProfiledBinary,
1040 Pool.async(loadInput, Input, Remapper, Correlator.get(), ProfiledBinary, in updateInstrProfileEntry()
1464 loadInput(Inputs[0], nullptr, nullptr, /*ProfiledBinary=*/"", WC.get()); in handleExtBinaryWriter()
1793 ProfiledBinary);
1821 loadInput(WeightedInput, nullptr, nullptr, /*ProfiledBinary=*/"", &Context); in getMatchStatus()
3282 Filename, ProfiledBinary, /*KeepName in order_main()
117 cl::opt<std::string> ProfiledBinary( global() variable
655 loadInput(const WeightedFile & Input,SymbolRemapper * Remapper,const InstrProfCorrelator * Correlator,const StringRef ProfiledBinary,WriterContext * WC) loadInput() argument
907 mergeInstrProfile(const WeightedFileVector & Inputs,SymbolRemapper * Remapper,int MaxDbgCorrelationWarnings,const StringRef ProfiledBinary) mergeInstrProfile() argument
[all...]