OpenMP context for a source location's active and construct traits.
Declared in <llvm/Frontend/OpenMP/OMPContext.h>
struct OMPContext;
The context for a source location is made up of active property traits, e.g., device={kind(host)}, and constructs traits which describe the nesting in OpenMP constructs at the location.
| Name | Description |
|---|---|
OMPContext [constructor] | Construct an OpenMP context for the given compilation and target. |
~OMPContext [destructor] [virtual] | Destroy the OpenMP context. |
addTrait | addTrait overloads |
matchesISATrait [virtual] | Return true if the parsed ISA trait string matches this context. |
| Name | Description |
|---|---|
ActiveTraits | Bit vector of active trait properties indexed by TraitProperty. |
ConstructTraits | Ordered construct-set properties describing nesting at the location. |