33 auto Name = InlinedAt->getSubprogramLinkageName();
39 InlinedAt->getDiscriminator());
40 ReversedInlineStack.
emplace_back(CallerGuid, CallerProbeId);
41 InlinedAt = InlinedAt->getInlinedAt();
48 Discriminator =
DebugLoc->getDiscriminator();
50 "Discriminator should not be set in non-FSAFDO mode");
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
MCSymbol * CurrentFnSym
The symbol for the current function.
std::unique_ptr< MCStreamer > OutStreamer
This is the MCStreamer object for the file we are generating.
GUID getGUID() const
Return a 64-bit global unique ID constructed from global value name (i.e.
void emitPseudoProbe(uint64_t Guid, uint64_t Index, uint64_t Type, uint64_t Attr, const DILocation *DebugLoc)
reference emplace_back(ArgTypes &&... Args)
This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small.
The instances of the Type class are immutable: once they are created, they are never changed.
This is an optimization pass for GlobalISel generic memory operations.
cl::opt< bool > EnableFSDiscriminator
auto reverse(ContainerTy &&C)
static uint32_t extractProbeIndex(uint32_t Value)