| /llvm-project-15.0.7/llvm/tools/llvm-profgen/ |
| 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, 136 ProfiledBinary *Binary = nullptr; 149 ProfileGenerator(ProfiledBinary *Binary, in ProfileGenerator() 152 ProfileGenerator(ProfiledBinary *Binary, const SampleProfileMap &&Profiles) in ProfileGenerator() 183 CSProfileGenerator(ProfiledBinary *Binary, in CSProfileGenerator() 186 CSProfileGenerator(ProfiledBinary *Binary, SampleProfileMap &Profiles) in CSProfileGenerator()
|
| H A D | PerfReader.h | 214 ProfiledBinary *Binary) { in isValidFallThroughRange() 229 const ProfiledBinary *Binary; 420 ProfiledBinary *Binary; 421 FrameStack(ProfiledBinary *B) : Binary(B) {} in FrameStack() 438 ProfiledBinary *Binary; 439 AddressStack(ProfiledBinary *B) : Binary(B) {} in AddressStack() 556 ProfiledBinary *Binary; 564 PerfReaderBase(ProfiledBinary *B, StringRef PerfTrace) in PerfReaderBase() 582 ProfiledBinary *Binary = nullptr; 596 PerfScriptReader(ProfiledBinary *B, StringRef PerfTrace, in PerfScriptReader() [all …]
|
| H A D | ProfiledBinary.cpp | 161 void ProfiledBinary::warnNoFuncEntry() { in warnNoFuncEntry() 189 void ProfiledBinary::load() { in load() 315 void ProfiledBinary::setPreferredTextSegmentAddresses( in setPreferredTextSegmentAddresses() 329 void ProfiledBinary::checkPseudoProbe(const ELFObjectFileBase *Obj) { in checkPseudoProbe() 398 void ProfiledBinary::decodePseudoProbe() { in decodePseudoProbe() 565 void ProfiledBinary::disassemble(const ELFObjectFileBase *Obj) { in disassemble() 640 void ProfiledBinary::checkUseFSDiscriminator( in checkUseFSDiscriminator() 717 void ProfiledBinary::loadSymbolsFromDWARF(ObjectFile &Obj) { in loadSymbolsFromDWARF() 750 void ProfiledBinary::populateSymbolListFromDWARF( in populateSymbolListFromDWARF() 756 void ProfiledBinary::setupSymbolizer() { in setupSymbolizer() [all …]
|
| H A D | ProfiledBinary.h | 55 class ProfiledBinary; variable 58 const ProfiledBinary *Binary; 67 InstructionPointer(const ProfiledBinary *Binary, uint64_t Address, 121 ProfiledBinary *Binary; 122 PrologEpilogTracker(ProfiledBinary *Bin) : Binary(Bin){}; in PrologEpilogTracker() 188 class ProfiledBinary { 332 ProfiledBinary(const StringRef ExeBinPath, const StringRef DebugBinPath) in ProfiledBinary() function
|
| H A D | CSPreInliner.h | 70 CSPreInliner(SampleContextTracker &Tracker, ProfiledBinary &Binary, 83 ProfiledBinary &Binary;
|
| H A D | CMakeLists.txt | 21 ProfiledBinary.cpp
|
| H A D | llvm-profgen.cpp | 155 std::unique_ptr<ProfiledBinary> Binary = in main() 156 std::make_unique<ProfiledBinary>(BinaryPath, DebugBinPath); in main()
|
| H A D | PerfReader.cpp | 328 PerfReaderBase::create(ProfiledBinary *Binary, PerfInputFile &PerfInput, in create() 361 ProfiledBinary *Binary, PerfInputFile &File, Optional<uint32_t> PIDFilter) { in convertPerfDataToTrace() 461 const ProfiledBinary *Binary) { in getContextKeyStr() 924 bool PerfScriptReader::extractMMap2EventForBinary(ProfiledBinary *Binary, in extractMMap2EventForBinary()
|
| H A D | CSPreInliner.cpp | 59 ProfiledBinary &Binary, ProfileSummary *Summary) in CSPreInliner()
|
| H A D | ProfileGenerator.cpp | 114 ProfileGeneratorBase::create(ProfiledBinary *Binary, in create() 132 ProfileGeneratorBase::create(ProfiledBinary *Binary, SampleProfileMap &Profiles, in create() 1084 ProfiledBinary *Binary) { in extractPrefixContextStack()
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/llvm/tools/llvm-profgen/ |
| H A D | BUILD.gn | 19 "ProfiledBinary.cpp",
|
| /llvm-project-15.0.7/llvm/lib/ProfileData/ |
| H A D | RawMemProfReader.cpp | 172 RawMemProfReader::create(const Twine &Path, const StringRef ProfiledBinary, in create() argument 182 if (ProfiledBinary.empty()) in create() 187 auto BinaryOr = llvm::object::createBinary(ProfiledBinary); in create() 189 return report(BinaryOr.takeError(), ProfiledBinary); in create()
|
| /llvm-project-15.0.7/llvm/include/llvm/ProfileData/ |
| H A D | RawMemProfReader.h | 58 create(const Twine &Path, const StringRef ProfiledBinary,
|
| /llvm-project-15.0.7/llvm/tools/llvm-profdata/ |
| H A D | llvm-profdata.cpp | 243 const StringRef ProfiledBinary, WriterContext *WC) { in loadInput() argument 253 auto ReaderOrErr = RawMemProfReader::create(Input.Filename, ProfiledBinary); in loadInput() 379 const StringRef ProfiledBinary) { in mergeInstrProfile() argument 412 loadInput(Input, Remapper, Correlator.get(), ProfiledBinary, in mergeInstrProfile() 420 Pool.async(loadInput, Input, Remapper, Correlator.get(), ProfiledBinary, in mergeInstrProfile() 1016 cl::opt<std::string> ProfiledBinary( in merge_main() local 1061 FailureMode, ProfiledBinary); in merge_main() 2533 const std::string &ProfiledBinary, in showMemProfProfile() argument 2536 Filename, ProfiledBinary, /*KeepNames=*/true); in showMemProfProfile() 2646 cl::opt<std::string> ProfiledBinary( in show_main() local [all …]
|