llvm::SampleProfileLoaderBaseImpl::clearFunctionData

Clear all the per-function data used to load samples and propagate weights.

Synopsis

Declared in <llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h>

void
clearFunctionData(bool ResetDT = true);

Parameters

NameDescription
ResetDTIf true, also discard dominance, post-dominance, and loop info.