|
clang 23.0.0git
|
#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. | |
|
static |
Emit the body of an omp.target region, remapping mapped variables to the block arguments of the target op's region.
Definition at line 255 of file CIRGenStmtOpenMP.cpp.
References clang::CIRGen::CIRGenFunction::emitStmt(), clang::CIRGen::CIRGenFunction::getAddrOfLocalVar(), clang::CIRGen::Address::getAlignment(), clang::CIRGen::CIRGenFunction::getBuilder(), clang::CapturedStmt::getCapturedStmt(), and clang::CIRGen::CIRGenFunction::replaceAddrOfLocalVar().
Referenced by clang::CIRGen::CIRGenFunction::emitOMPTargetDirective().
|
static |
Check for unsupported implicit captures in a target region.
Definition at line 221 of file CIRGenStmtOpenMP.cpp.
References clang::CapturedStmt::captures(), clang::CIRGen::CIRGenModule::errorNYI(), and clang::CIRGen::CIRGenFunction::getCIRGenModule().
Referenced by clang::CIRGen::CIRGenFunction::emitOMPTargetDirective().