llvm::omp::TraitSelector

IDs for all OpenMP context selector trait (device={kind/isa...}/...).

Synopsis

Declared in <llvm/Frontend/OpenMP/OMPContext.h>

enum class TraitSelector : int;

Non-Member Functions

NameDescription
getOpenMPContextTraitPropertyForSelectorReturn the trait property for a singleton selector Selector.
getOpenMPContextTraitSelectorForPropertyReturn the trait selector for which Property is a property.
getOpenMPContextTraitSelectorKindParse Str and return the trait set it matches or TraitSelector::invalid.
getOpenMPContextTraitSelectorNameReturn a textual representation of the trait selector Kind.
getOpenMPContextTraitSetForSelectorReturn the trait set for which Selector is a selector.
isValidTraitSelectorForTraitSetReturn true if Selector can be nested in Set.