This file provides helper functions and classes to deal with OpenMP contexts as used by [begin/end] declare variant
and metadirective
.
More...
|
TraitSet | llvm::omp::getOpenMPContextTraitSetKind (StringRef Str) |
| Parse Str and return the trait set it matches or TraitSet::invalid.
|
|
TraitSet | llvm::omp::getOpenMPContextTraitSetForSelector (TraitSelector Selector) |
| Return the trait set for which Selector is a selector.
|
|
TraitSet | llvm::omp::getOpenMPContextTraitSetForProperty (TraitProperty Property) |
| Return the trait set for which Property is a property.
|
|
StringRef | llvm::omp::getOpenMPContextTraitSetName (TraitSet Kind) |
| Return a textual representation of the trait set Kind .
|
|
TraitSelector | llvm::omp::getOpenMPContextTraitSelectorKind (StringRef Str) |
| Parse Str and return the trait set it matches or TraitSelector::invalid.
|
|
TraitSelector | llvm::omp::getOpenMPContextTraitSelectorForProperty (TraitProperty Property) |
| Return the trait selector for which Property is a property.
|
|
StringRef | llvm::omp::getOpenMPContextTraitSelectorName (TraitSelector Kind) |
| Return a textual representation of the trait selector Kind .
|
|
TraitProperty | llvm::omp::getOpenMPContextTraitPropertyKind (TraitSet Set, TraitSelector Selector, StringRef Str) |
| Parse Str and return the trait property it matches in the set Set and selector Selector or TraitProperty::invalid.
|
|
TraitProperty | llvm::omp::getOpenMPContextTraitPropertyForSelector (TraitSelector Selector) |
| Return the trait property for a singleton selector Selector .
|
|
StringRef | llvm::omp::getOpenMPContextTraitPropertyName (TraitProperty Kind, StringRef RawString) |
| Return a textual representation of the trait property Kind , which might be the raw string we parsed (RawString ) if we do not translate the property into a (distinct) enum.
|
|
StringRef | llvm::omp::getOpenMPContextTraitPropertyFullName (TraitProperty Kind) |
| Return a textual representation of the trait property Kind with selector and set name included.
|
|
std::string | llvm::omp::listOpenMPContextTraitSets () |
| Return a string listing all trait sets.
|
|
std::string | llvm::omp::listOpenMPContextTraitSelectors (TraitSet Set) |
| Return a string listing all trait selectors for Set .
|
|
std::string | llvm::omp::listOpenMPContextTraitProperties (TraitSet Set, TraitSelector Selector) |
| Return a string listing all trait properties for Set and Selector .
|
|
bool | llvm::omp::isValidTraitSelectorForTraitSet (TraitSelector Selector, TraitSet Set, bool &AllowsTraitScore, bool &RequiresProperty) |
| }
|
|
bool | llvm::omp::isValidTraitPropertyForTraitSetAndSelector (TraitProperty Property, TraitSelector Selector, TraitSet Set) |
| Return true if Property can be nested in Selector and Set .
|
|
bool | llvm::omp::isVariantApplicableInContext (const VariantMatchInfo &VMI, const OMPContext &Ctx, bool DeviceSetOnly=false) |
| Return true if VMI is applicable in Ctx , that is, all traits required by VMI are available in the OpenMP context Ctx .
|
|
int | llvm::omp::getBestVariantMatchForContext (const SmallVectorImpl< VariantMatchInfo > &VMIs, const OMPContext &Ctx) |
| Return the index (into VMIs ) of the variant with the highest score from the ones applicble in Ctx .
|
|
This file provides helper functions and classes to deal with OpenMP contexts as used by [begin/end] declare variant
and metadirective
.
Definition in file OMPContext.h.