clang 23.0.0git
CIRGenStmtOpenMP.cpp File Reference
#include "CIRGenBuilder.h"
#include "CIRGenFunction.h"
#include "CIRGenOpenMPClause.h"
#include "mlir/Dialect/OpenMP/OpenMPDialect.h"
#include "clang/AST/OpenMPClause.h"
#include "clang/AST/StmtOpenMP.h"
#include "llvm/Frontend/OpenMP/OMPConstants.h"

Go to the source code of this file.

Functions

static void emitOMPTargetImplicitCaptures (CIRGenFunction &cgf, const OMPTargetDirective &s, llvm::ArrayRef< const VarDecl * > mapSyms)
 Check for unsupported implicit captures in a target region.
static mlir::LogicalResult emitOMPTargetBody (CIRGenFunction &cgf, const OMPTargetDirective &s, mlir::omp::TargetOp targetOp, llvm::ArrayRef< mlir::Value > mapVars, llvm::ArrayRef< const VarDecl * > mappedVarDecls, mlir::Location begin, mlir::Location end)
 Emit the body of an omp.target region, remapping mapped variables to the block arguments of the target op's region.

Function Documentation

◆ emitOMPTargetBody()

mlir::LogicalResult emitOMPTargetBody ( CIRGenFunction & cgf,
const OMPTargetDirective & s,
mlir::omp::TargetOp targetOp,
llvm::ArrayRef< mlir::Value > mapVars,
llvm::ArrayRef< const VarDecl * > mappedVarDecls,
mlir::Location begin,
mlir::Location end )
static

◆ emitOMPTargetImplicitCaptures()

void emitOMPTargetImplicitCaptures ( CIRGenFunction & cgf,
const OMPTargetDirective & s,
llvm::ArrayRef< const VarDecl * > mapSyms )
static