| /openbsd-src/gnu/llvm/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; 268 UnwindState(const PerfSample *Sample, const ProfiledBinary *Binary) in UnwindState() 420 ProfiledBinary *Binary; 421 FrameStack(ProfiledBinary *B) : Binary(B) {} in FrameStack() 438 ProfiledBinary *Binary; 439 AddressStack(ProfiledBinary *B) : Binary(B) {} in AddressStack() 475 VirtualUnwinder(ContextSampleCounterMap *Counter, ProfiledBinary *B) in VirtualUnwinder() 556 ProfiledBinary *Binary; 564 PerfReaderBase(ProfiledBinary *B, StringRef PerfTrace) in PerfReaderBase() [all …]
|
| H A D | ProfiledBinary.cpp | 165 ProfiledBinary::ProfiledBinary(const StringRef ExeBinPath, in ProfiledBinary() function in llvm::sampleprof::ProfiledBinary 177 ProfiledBinary::~ProfiledBinary() {} in ~ProfiledBinary() 179 void ProfiledBinary::warnNoFuncEntry() { in warnNoFuncEntry() 207 void ProfiledBinary::load() { in load() 259 bool ProfiledBinary::inlineContextEqual(uint64_t Address1, uint64_t Address2) { in inlineContextEqual() 275 ProfiledBinary::getExpandedContext(const SmallVectorImpl<uint64_t> &Stack, in getExpandedContext() 313 void ProfiledBinary::setPreferredTextSegmentAddresses(const ELFFile<ELFT> &Obj, in setPreferredTextSegmentAddresses() 338 void ProfiledBinary::setPreferredTextSegmentAddresses( in setPreferredTextSegmentAddresses() 352 void ProfiledBinary::checkPseudoProbe(const ELFObjectFileBase *Obj) { in checkPseudoProbe() 375 void ProfiledBinary::decodePseudoProbe(const ELFObjectFileBase *Obj) { in decodePseudoProbe() [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 | 55 class ProfiledBinary; variable 59 const ProfiledBinary *Binary; 64 InstructionPointer(const ProfiledBinary *Binary, uint64_t Address, 118 ProfiledBinary *Binary; 119 PrologEpilogTracker(ProfiledBinary *Bin) : Binary(Bin){}; in PrologEpilogTracker() 186 class ProfiledBinary { 344 ProfiledBinary(const StringRef ExeBinPath, const StringRef DebugBinPath); 345 ~ProfiledBinary();
|
| H A D | CSPreInliner.h | 70 CSPreInliner(SampleContextTracker &Tracker, ProfiledBinary &Binary, 83 ProfiledBinary &Binary;
|
| H A D | CMakeLists.txt | 22 ProfiledBinary.cpp
|
| H A D | llvm-profgen.cpp | 153 std::unique_ptr<ProfiledBinary> Binary = in main() 154 std::make_unique<ProfiledBinary>(BinaryPath, DebugBinPath); in main()
|
| H A D | PerfReader.cpp | 321 PerfReaderBase::create(ProfiledBinary *Binary, PerfInputFile &PerfInput, in create() 354 PerfScriptReader::convertPerfDataToTrace(ProfiledBinary *Binary, in convertPerfDataToTrace() 457 const ProfiledBinary *Binary) { in getContextKeyStr() 933 bool PerfScriptReader::extractMMap2EventForBinary(ProfiledBinary *Binary, in extractMMap2EventForBinary()
|
| H A D | CSPreInliner.cpp | 59 ProfiledBinary &Binary, ProfileSummary *Summary) in CSPreInliner()
|
| H A D | ProfileGenerator.cpp | 121 ProfileGeneratorBase::create(ProfiledBinary *Binary, in create() 139 ProfileGeneratorBase::create(ProfiledBinary *Binary, SampleProfileMap &Profiles, in create() 1099 ProfiledBinary *Binary) { in extractPrefixContextStack()
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/secondary/llvm/tools/llvm-profgen/ |
| H A D | BUILD.gn | 21 "ProfiledBinary.cpp",
|
| /openbsd-src/gnu/llvm/llvm/lib/ProfileData/ |
| H A D | RawMemProfReader.cpp | 173 RawMemProfReader::create(const Twine &Path, const StringRef ProfiledBinary, in create() argument 183 if (ProfiledBinary.empty()) in create() 188 auto BinaryOr = llvm::object::createBinary(ProfiledBinary); in create() 190 return report(BinaryOr.takeError(), ProfiledBinary); in create()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ProfileData/ |
| H A D | RawMemProfReader.h | 57 create(const Twine &Path, const StringRef ProfiledBinary,
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-profdata/ |
| H A D | llvm-profdata.cpp | 251 const StringRef ProfiledBinary, WriterContext *WC) { in loadInput() argument 261 auto ReaderOrErr = RawMemProfReader::create(Input.Filename, ProfiledBinary); in loadInput() 397 const StringRef ProfiledBinary) { in mergeInstrProfile() argument 427 loadInput(Input, Remapper, Correlator.get(), ProfiledBinary, in mergeInstrProfile() 435 Pool.async(loadInput, Input, Remapper, Correlator.get(), ProfiledBinary, in mergeInstrProfile() 1236 cl::opt<std::string> ProfiledBinary( in merge_main() local 1285 FailureMode, ProfiledBinary); in merge_main() 2793 const std::string &ProfiledBinary, in showMemProfProfile() argument 2798 Filename, ProfiledBinary, /*KeepNames=*/true); in showMemProfProfile() 2927 cl::opt<std::string> ProfiledBinary( in show_main() local [all …]
|