Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/tools/llvm-profgen/
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,
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 DPerfReader.h214 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 DProfiledBinary.cpp165 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 DMissingFrameInferrer.h22 class ProfiledBinary; variable
27 MissingFrameInferrer(ProfiledBinary *Binary) : Binary(Binary) {} in MissingFrameInferrer()
40 friend class ProfiledBinary;
64 ProfiledBinary *Binary;
H A DProfiledBinary.h55 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 DCSPreInliner.h70 CSPreInliner(SampleContextTracker &Tracker, ProfiledBinary &Binary,
83 ProfiledBinary &Binary;
H A DCMakeLists.txt22 ProfiledBinary.cpp
H A Dllvm-profgen.cpp153 std::unique_ptr<ProfiledBinary> Binary = in main()
154 std::make_unique<ProfiledBinary>(BinaryPath, DebugBinPath); in main()
H A DPerfReader.cpp321 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 DCSPreInliner.cpp59 ProfiledBinary &Binary, ProfileSummary *Summary) in CSPreInliner()
H A DProfileGenerator.cpp121 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 DBUILD.gn21 "ProfiledBinary.cpp",
/openbsd-src/gnu/llvm/llvm/lib/ProfileData/
H A DRawMemProfReader.cpp173 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 DRawMemProfReader.h57 create(const Twine &Path, const StringRef ProfiledBinary,
/openbsd-src/gnu/llvm/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp251 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 …]