struct VariantMatchInfo
Declaration
struct VariantMatchInfo { /* full declaration omitted */ };
Description
Variant match information describes the required traits and how they are scored (via the ScoresMap). In addition, the required consturct nesting is decribed as well.
Declared at: llvm/include/llvm/Frontend/OpenMP/OMPContext.h:119
Member Variables
- public llvm::BitVector RequiredTraits = llvm::BitVector(unsigned int(TraitProperty::Last) + 1)
- public SmallVector<llvm::StringRef, 8> ISATraits
- public SmallVector<llvm::omp::TraitProperty, 8> ConstructTraits
- public SmallDenseMap<llvm::omp::TraitProperty, llvm::APInt> ScoreMap
Method Overview
- public void addTrait(llvm::omp::TraitProperty Property, llvm::StringRef RawString, llvm::APInt * Score = nullptr)
- public void addTrait(llvm::omp::TraitSet Set, llvm::omp::TraitProperty Property, llvm::StringRef RawString, llvm::APInt * Score = nullptr)
Methods
¶void addTrait(llvm::omp::TraitProperty Property,
llvm::StringRef RawString,
llvm::APInt* Score = nullptr)
void addTrait(llvm::omp::TraitProperty Property,
llvm::StringRef RawString,
llvm::APInt* Score = nullptr)
Description
Add the trait \p Property to the required trait set. \p RawString is the string we parsed and derived \p Property from. If \p Score is not null, it recorded as well. If \p Property is in the `construct` set it is recorded in-order in the ConstructTraits as well.
Declared at: llvm/include/llvm/Frontend/OpenMP/OMPContext.h:124
Parameters
- llvm::omp::TraitProperty Property
- llvm::StringRef RawString
- llvm::APInt* Score = nullptr
¶void addTrait(llvm::omp::TraitSet Set,
llvm::omp::TraitProperty Property,
llvm::StringRef RawString,
llvm::APInt* Score = nullptr)
void addTrait(llvm::omp::TraitSet Set,
llvm::omp::TraitProperty Property,
llvm::StringRef RawString,
llvm::APInt* Score = nullptr)
Description
Add the trait \p Property which is in set \p Set to the required trait set. \p RawString is the string we parsed and derived \p Property from. If\p Score is not null, it recorded as well. If \p Set is the `construct` set it is recorded in-order in the ConstructTraits as well.
Declared at: llvm/include/llvm/Frontend/OpenMP/OMPContext.h:133
Parameters
- llvm::omp::TraitSet Set
- llvm::omp::TraitProperty Property
- llvm::StringRef RawString
- llvm::APInt* Score = nullptr