llvm::isGPUProfTarget

Return true if M targets a GPU eligible for PGO instrumentation.

Synopsis

Declared in <llvm/ProfileData/InstrProf.h>

bool
isGPUProfTarget(Module const& M);

Return Value

True if M is a GPU target eligible for PGO instrumentation.

Parameters

NameDescription
MModule whose target triple is inspected.