llvm::createProfileSamplingVar

Create the module global used for profile sampling.

Synopsis

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

void
createProfileSamplingVar(Module& M);

Parameters

NameDescription
MModule that will own the sampling variable.