Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DSampleContextTracker.cpp394 if (FromSamples && FromSamples->getContext().hasState(InlinedContext)) in promoteMergeContextSamplesTree()
418 (void)FromSamples; // Unused in release build. in promoteMergeContextSamplesTree()
423 assert(!FromSamples->getContext().hasState(InlinedContext) && in promoteMergeContextSamplesTree()
566 FunctionSamples *FromSamples = FromNode.getFunctionSamples(); in mergeContextNode() local
568 if (FromSamples && ToSamples) { in mergeContextNode()
570 ToSamples->merge(*FromSamples); in mergeContextNode()
572 FromSamples->getContext().setState(MergedContext); in mergeContextNode()
575 } else if (FromSamples) { in mergeContextNode()
577 ToNode.setFunctionSamples(FromSamples); in mergeContextNode()
578 setContextNode(FromSamples, &ToNode); in mergeContextNode()
[all …]