Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleContextTracker.cpp354 if (FromSamples && FromSamples->getContext().hasState(InlinedContext)) in promoteMergeContextSamplesTree()
379 << FromSamples->getContext() << "\n"); in promoteMergeContextSamplesTree()
381 assert(!FromSamples->getContext().hasState(InlinedContext) && in promoteMergeContextSamplesTree()
506 FunctionSamples *FromSamples = FromNode.getFunctionSamples(); in mergeContextNode() local
508 if (FromSamples && ToSamples) { in mergeContextNode()
510 ToSamples->merge(*FromSamples); in mergeContextNode()
512 FromSamples->getContext().setState(MergedContext); in mergeContextNode()
513 } else if (FromSamples) { in mergeContextNode()
515 ToNode.setFunctionSamples(FromSamples); in mergeContextNode()
516 FromSamples->getContext().setState(SyntheticContext); in mergeContextNode()
[all …]