ΒΆbool isVariantApplicableInContext(
const llvm::omp::VariantMatchInfo& VMI,
const llvm::omp::OMPContext& Ctx,
bool DeviceSetOnly = false)
bool isVariantApplicableInContext(
const llvm::omp::VariantMatchInfo& VMI,
const llvm::omp::OMPContext& Ctx,
bool DeviceSetOnly = false)
Description
Return true if \p VMI is applicable in \p Ctx, that is, all traits required by \p VMI are available in the OpenMP context \p Ctx. If \p DeviceSetOnly is true, only the device selector set, if present, are checked. Note that we still honor extension traits provided by the user.
Declared at: llvm/include/llvm/Frontend/OpenMP/OMPContext.h:183
Parameters
- const llvm::omp::VariantMatchInfo& VMI
- const llvm::omp::OMPContext& Ctx
- bool DeviceSetOnly = false