LLVM 22.0.0git
|
A node (context) in the loaded contextual profile, suitable for mutation during IPO passes. More...
#include "llvm/ProfileData/PGOCtxProfReader.h"
Public Types | |
using | CallTargetMapTy = std::map<GlobalValue::GUID, PGOCtxProfContext> |
using | CallsiteMapTy = std::map<uint32_t, CallTargetMapTy> |
Friends | |
class | PGOCtxProfileReader |
class | PGOContextualProfile |
A node (context) in the loaded contextual profile, suitable for mutation during IPO passes.
We generally expect a fraction of counters and callsites to be populated. We continue to model counters as vectors, but callsites are modeled as a map of a map. The expectation is that, typically, there is a small number of indirect targets (usually, 1 for direct calls); but potentially a large number of callsites, and, as inlining progresses, the callsite count of a caller will grow.
Definition at line 91 of file PGOCtxProfReader.h.
using llvm::PGOCtxProfContext::CallsiteMapTy = std::map<uint32_t, CallTargetMapTy> |
Definition at line 94 of file PGOCtxProfReader.h.
using llvm::PGOCtxProfContext::CallTargetMapTy = std::map<GlobalValue::GUID, PGOCtxProfContext> |
Definition at line 93 of file PGOCtxProfReader.h.
|
delete |
|
default |
|
inline |
Definition at line 170 of file PGOCtxProfReader.h.
References assert(), hasCallsite(), and I.
|
inline |
Definition at line 165 of file PGOCtxProfReader.h.
References assert(), hasCallsite(), and I.
|
inline |
Definition at line 146 of file PGOCtxProfReader.h.
|
inline |
Definition at line 145 of file PGOCtxProfReader.h.
Referenced by ingestAllContexts(), and ingestContext().
|
inline |
Definition at line 131 of file PGOCtxProfReader.h.
|
inline |
Definition at line 130 of file PGOCtxProfReader.h.
|
inline |
Insert this node's GUID as well as the GUIDs of the transitive closure of child nodes, into the provided set (technically, all that is required of TSetOfGUIDs is to have an insert(GUID) member)
Definition at line 179 of file PGOCtxProfReader.h.
References _.
|
inline |
Definition at line 138 of file PGOCtxProfReader.h.
References assert().
|
inline |
Definition at line 134 of file PGOCtxProfReader.h.
|
inline |
Definition at line 136 of file PGOCtxProfReader.h.
|
inline |
Definition at line 129 of file PGOCtxProfReader.h.
Definition at line 161 of file PGOCtxProfReader.h.
References I.
Referenced by callsite(), and callsite().
|
inline |
Definition at line 152 of file PGOCtxProfReader.h.
References _, assert(), callsites(), and llvm::Other.
|
inline |
Definition at line 148 of file PGOCtxProfReader.h.
References callsites(), and llvm::Other.
|
inline |
Definition at line 133 of file PGOCtxProfReader.h.
|
delete |
|
delete |
|
inline |
Definition at line 159 of file PGOCtxProfReader.h.
References Size.
|
friend |
Definition at line 98 of file PGOCtxProfReader.h.
References PGOContextualProfile.
Referenced by PGOContextualProfile.
|
friend |
Definition at line 97 of file PGOCtxProfReader.h.
References PGOCtxProfileReader.
Referenced by PGOCtxProfileReader.