llvm::omp::OMPContext

OpenMP context for a source location's active and construct traits.

Synopsis

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

struct OMPContext;

Description

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.

Member Functions

NameDescription
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.

Data Members

NameDescription
ActiveTraits Bit vector of active trait properties indexed by TraitProperty.
ConstructTraits Ordered construct-set properties describing nesting at the location.