Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleContextTracker.cpp388 FunctionSamples *FromSamples = NodeToPromo->getFunctionSamples(); in promoteMergeContextSamplesTree() local
389 if (FromSamples && FromSamples->getContext().hasState(InlinedContext)) in promoteMergeContextSamplesTree()
411 FunctionSamples *FromSamples = NodeToPromo.getFunctionSamples(); in promoteMergeContextSamplesTree() local
412 assert(FromSamples && "Shouldn't promote a context without profile"); in promoteMergeContextSamplesTree()
413 (void)FromSamples; // Unused in release build. in promoteMergeContextSamplesTree()
418 assert(!FromSamples->getContext().hasState(InlinedContext) && in promoteMergeContextSamplesTree()
554 FunctionSamples *FromSamples = FromNode.getFunctionSamples(); in mergeContextNode() local
556 if (FromSamples && ToSamples) { in mergeContextNode()
558 ToSamples->merge(*FromSamples); in mergeContextNode()
560 FromSamples->getContext().setState(MergedContext); in mergeContextNode()
[all …]