/llvm-project/llvm/tools/llvm-profgen/ |
H A D | PerfReader.h | 215 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 D | ProfileGenerator.h | 35 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 D | ProfiledBinary.cpp | 1 //===-- 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 D | MissingFrameInferrer.h | 22 class ProfiledBinary; variable 27 MissingFrameInferrer(ProfiledBinary *Binary) : Binary(Binary) {} in MissingFrameInferrer() 40 friend class ProfiledBinary; 64 ProfiledBinary *Binary;
|
H A D | ProfiledBinary.h | 1 //===-- 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 D | CSPreInliner.h | 76 CSPreInliner(SampleContextTracker &Tracker, ProfiledBinary &Binary, 89 ProfiledBinary &Binary;
|
H A D | llvm-profgen.cpp | 154 std::unique_ptr<ProfiledBinary> Binary = in main() 155 std::make_unique<ProfiledBinary>(BinaryPath, DebugBinPath); in main()
|
H A D | CMakeLists.txt | 22 ProfiledBinary.cpp
|
H A D | PerfReader.cpp | 340 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 D | CSPreInliner.cpp | 61 ProfiledBinary &Binary, ProfileSummary *Summary) in CSPreInliner()
|
H A D | ProfileGenerator.cpp | 12 #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 D | MemProfReader.cpp | 234 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 D | BUILD.gn | 21 "ProfiledBinary.cpp",
|
/llvm-project/llvm/include/llvm/ProfileData/ |
H A D | MemProfReader.h | 126 // 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 D | llvm-profdata.cpp | 119 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...] |