Home
last modified time | relevance | path

Searched refs:PGOContextualProfile (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DPGOCtxProfReader.h34 class PGOContextualProfile final {
36 using CallTargetMapTy = std::map<GlobalValue::GUID, PGOContextualProfile>;
45 PGOContextualProfile(GlobalValue::GUID G, in PGOContextualProfile() function
49 Expected<PGOContextualProfile &>
54 PGOContextualProfile(const PGOContextualProfile &) = delete;
55 PGOContextualProfile &operator=(const PGOContextualProfile &) = delete;
56 PGOContextualProfile(PGOContextualProfile &&) = default;
57 PGOContextualProfile &operator=(PGOContextualProfile &&) = default;
82 Expected<std::pair<std::optional<uint32_t>, PGOContextualProfile>>
89 Expected<std::map<GlobalValue::GUID, PGOContextualProfile>> loadContexts();
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DPGOCtxProfReader.cpp35 Expected<PGOContextualProfile &>
36 PGOContextualProfile::getOrEmplace(uint32_t Index, GlobalValue::GUID G, in getOrEmplace()
39 {G, PGOContextualProfile(G, std::move(Counters))}); in getOrEmplace()
46 void PGOContextualProfile::getContainedGuids( in getContainedGuids()
76 Expected<std::pair<std::optional<uint32_t>, PGOContextualProfile>>
127 PGOContextualProfile Ret(*Guid, std::move(*Counters)); in readContext()
162 Expected<std::map<GlobalValue::GUID, PGOContextualProfile>>
164 std::map<GlobalValue::GUID, PGOContextualProfile> Ret; in loadContexts()