ΒΆint getBestVariantMatchForContext(
    const SmallVectorImpl<
        llvm::omp::VariantMatchInfo>& VMIs,
    const llvm::omp::OMPContext& Ctx)

Description

Return the index (into \p VMIs) of the variant with the highest score from the ones applicble in \p Ctx. See llvm::isVariantApplicableInContext.

Declared at: llvm/include/llvm/Frontend/OpenMP/OMPContext.h:189

Parameters

const SmallVectorImpl< llvm::omp::VariantMatchInfo>& VMIs
const llvm::omp::OMPContext& Ctx