FLANG
|
Public Types | |
using | GenOMPRegionEntryCBFn = std::function< llvm::SmallVector< const semantics::Symbol * >(mlir::Operation *)> |
Public Member Functions | |
OpWithBodyGenInfo (lower::AbstractConverter &converter, lower::SymMap &symTable, semantics::SemanticsContext &semaCtx, mlir::Location loc, lower::pft::Evaluation &eval, llvm::omp::Directive dir) | |
OpWithBodyGenInfo & | setClauses (const List< Clause > *value) |
OpWithBodyGenInfo & | setDataSharingProcessor (DataSharingProcessor *value) |
OpWithBodyGenInfo & | setGenRegionEntryCb (GenOMPRegionEntryCBFn value) |
OpWithBodyGenInfo & | setGenSkeletonOnly (bool value) |
Public Attributes | |
lower::AbstractConverter & | converter |
[inout] converter to use for the clauses. | |
lower::SymMap & | symTable |
[in] Symbol table | |
semantics::SemanticsContext & | semaCtx |
[in] Semantics context | |
mlir::Location | loc |
[in] location in source code. | |
lower::pft::Evaluation & | eval |
[in] current PFT node/evaluation. | |
llvm::omp::Directive | dir |
[in] leaf directive for which to generate the op body. | |
const List< Clause > * | clauses = nullptr |
[in] list of clauses to process. | |
DataSharingProcessor * | dsp = nullptr |
[in] if provided, processes the construct's data-sharing attributes. | |
GenOMPRegionEntryCBFn | genRegionEntryCB = nullptr |
bool | genSkeletonOnly = false |
using OpWithBodyGenInfo::GenOMPRegionEntryCBFn = std::function<llvm::SmallVector<const semantics::Symbol *>( mlir::Operation *)> |
A type for a code-gen callback function. This takes as argument the op for which the code is being generated and returns the arguments of the op's region.
GenOMPRegionEntryCBFn OpWithBodyGenInfo::genRegionEntryCB = nullptr |
[in] if provided, emits the op's region entry. Otherwise, an emtpy block is created in the region.
bool OpWithBodyGenInfo::genSkeletonOnly = false |
[in] if set to true
, skip generating nested evaluations and dispatching any further leaf constructs.