|
LLVM 22.0.0git
|
Variant match information describes the required traits and how they are scored (via the ScoresMap). More...
#include "llvm/Frontend/OpenMP/OMPContext.h"
Public Member Functions | |
| void | addTrait (TraitProperty Property, StringRef RawString, APInt *Score=nullptr) |
Add the trait Property to the required trait set. | |
| void | addTrait (TraitSet Set, TraitProperty Property, StringRef RawString, APInt *Score=nullptr) |
Add the trait Property which is in set Set to the required trait set. | |
Public Attributes | |
| BitVector | RequiredTraits = BitVector(unsigned(TraitProperty::Last) + 1) |
| SmallVector< StringRef, 8 > | ISATraits |
| SmallVector< TraitProperty, 8 > | ConstructTraits |
| SmallDenseMap< TraitProperty, APInt > | ScoreMap |
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.
Definition at line 124 of file OMPContext.h.
|
inline |
Add the trait Property to the required trait set.
RawString is the string we parsed and derived Property from. If Score is not null, it recorded as well. If Property is in the construct set it is recorded in-order in the ConstructTraits as well.
Definition at line 129 of file OMPContext.h.
References addTrait(), and llvm::omp::getOpenMPContextTraitSetForProperty().
Referenced by addTrait().
|
inline |
Add the trait Property which is in set Set to the required trait set.
RawString is the string we parsed and derived Property from. If Score is not null, it recorded as well. If Set is the construct set it is recorded in-order in the ConstructTraits as well.
Definition at line 138 of file OMPContext.h.
References ConstructTraits, ISATraits, RequiredTraits, and ScoreMap.
| SmallVector<TraitProperty, 8> llvm::omp::VariantMatchInfo::ConstructTraits |
Definition at line 157 of file OMPContext.h.
Referenced by addTrait(), getVariantMatchScore(), isStrictSubset(), and isVariantApplicableInContextHelper().
| SmallVector<StringRef, 8> llvm::omp::VariantMatchInfo::ISATraits |
Definition at line 156 of file OMPContext.h.
Referenced by addTrait(), and isVariantApplicableInContextHelper().
| BitVector llvm::omp::VariantMatchInfo::RequiredTraits = BitVector(unsigned(TraitProperty::Last) + 1) |
Definition at line 155 of file OMPContext.h.
Referenced by addTrait(), getVariantMatchScore(), isStrictSubset(), and isVariantApplicableInContextHelper().
| SmallDenseMap<TraitProperty, APInt> llvm::omp::VariantMatchInfo::ScoreMap |
Definition at line 158 of file OMPContext.h.
Referenced by addTrait(), and getVariantMatchScore().