MCPcopy Create free account
hub / github.com/GoSSIP-SJTU/Armariris / findFunctionSamples

Method findFunctionSamples

lib/Transforms/IPO/SampleProfile.cpp:591–612  ·  view source on GitHub ↗

\brief Get the FunctionSamples for an instruction. The FunctionSamples of an instruction \p Inst is the inlined instance in which that instruction is coming from. We traverse the inline stack of that instruction, and match it with the tree nodes in the profile. \param Inst Instruction to query. \returns the FunctionSamples pointer to the inlined instance.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 11

LineLocationClass · 0.85
getOffsetFunction · 0.85
findFunctionSamplesAtMethod · 0.80
getDebugLocMethod · 0.45
getInlinedAtMethod · 0.45
getSubprogramMethod · 0.45
getScopeMethod · 0.45
push_backMethod · 0.45
getLineMethod · 0.45
getDiscriminatorMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected