clang 22.0.0git
clang::CIRGen::OpenACCRecipeBuilderBase Class Reference

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CIR/CodeGen/CIRGenOpenACCRecipe.h"

Inheritance diagram for clang::CIRGen::OpenACCRecipeBuilderBase:
[legend]

Protected Member Functions

mlir::Block * createRecipeBlock (mlir::Region &region, mlir::Type opTy, mlir::Location loc, size_t numBounds, bool isInit)
mlir::Value createBoundsLoop (mlir::Value subscriptedValue, mlir::Value bound, mlir::Location loc, bool inverse)
mlir::acc::ReductionOperator convertReductionOp (OpenACCReductionOperator op)
void createFirstprivateRecipeCopy (mlir::Location loc, mlir::Location locEnd, mlir::Value mainOp, CIRGenFunction::AutoVarEmission tempDeclEmission, mlir::acc::FirstprivateRecipeOp recipe, const VarDecl *varRecipe, const VarDecl *temporary)
void createReductionRecipeCombiner (mlir::Location loc, mlir::Location locEnd, mlir::Value mainOp, mlir::acc::ReductionRecipeOp recipe)
void createPrivateInitRecipe (mlir::Location loc, mlir::Location locEnd, SourceRange exprRange, mlir::Value mainOp, mlir::acc::PrivateRecipeOp recipe, size_t numBounds, llvm::ArrayRef< QualType > boundTypes, const VarDecl *allocaDecl, QualType origType, const Expr *initExpr)
void createRecipeDestroySection (mlir::Location loc, mlir::Location locEnd, mlir::Value mainOp, CharUnits alignment, QualType origType, size_t numBounds, QualType baseType, mlir::Region &destroyRegion)
 OpenACCRecipeBuilderBase (CIRGen::CIRGenFunction &cgf, CIRGen::CIRGenBuilderTy &builder)

Protected Attributes

CIRGen::CIRGenFunctioncgf
CIRGen::CIRGenBuilderTybuilder

Detailed Description

Definition at line 26 of file CIRGenOpenACCRecipe.h.

Constructor & Destructor Documentation

◆ OpenACCRecipeBuilderBase()

clang::CIRGen::OpenACCRecipeBuilderBase::OpenACCRecipeBuilderBase ( CIRGen::CIRGenFunction & cgf,
CIRGen::CIRGenBuilderTy & builder )
inlineprotected

Member Function Documentation

◆ convertReductionOp()

mlir::acc::ReductionOperator clang::CIRGen::OpenACCRecipeBuilderBase::convertReductionOp ( OpenACCReductionOperator op)
protected

◆ createBoundsLoop()

mlir::Value clang::CIRGen::OpenACCRecipeBuilderBase::createBoundsLoop ( mlir::Value subscriptedValue,
mlir::Value bound,
mlir::Location loc,
bool inverse )
protected

Definition at line 39 of file CIRGenOpenACCRecipe.cpp.

References b, builder, clang::cast(), cgf, and clang::isa().

Referenced by createRecipeDestroySection().

◆ createFirstprivateRecipeCopy()

void clang::CIRGen::OpenACCRecipeBuilderBase::createFirstprivateRecipeCopy ( mlir::Location loc,
mlir::Location locEnd,
mlir::Value mainOp,
CIRGenFunction::AutoVarEmission tempDeclEmission,
mlir::acc::FirstprivateRecipeOp recipe,
const VarDecl * varRecipe,
const VarDecl * temporary )
protected

◆ createPrivateInitRecipe()

void clang::CIRGen::OpenACCRecipeBuilderBase::createPrivateInitRecipe ( mlir::Location loc,
mlir::Location locEnd,
SourceRange exprRange,
mlir::Value mainOp,
mlir::acc::PrivateRecipeOp recipe,
size_t numBounds,
llvm::ArrayRef< QualType > boundTypes,
const VarDecl * allocaDecl,
QualType origType,
const Expr * initExpr )
protected

◆ createRecipeBlock()

mlir::Block * clang::CIRGen::OpenACCRecipeBuilderBase::createRecipeBlock ( mlir::Region & region,
mlir::Type opTy,
mlir::Location loc,
size_t numBounds,
bool isInit )
protected

◆ createRecipeDestroySection()

void clang::CIRGen::OpenACCRecipeBuilderBase::createRecipeDestroySection ( mlir::Location loc,
mlir::Location locEnd,
mlir::Value mainOp,
CharUnits alignment,
QualType origType,
size_t numBounds,
QualType baseType,
mlir::Region & destroyRegion )
protected

◆ createReductionRecipeCombiner()

void clang::CIRGen::OpenACCRecipeBuilderBase::createReductionRecipeCombiner ( mlir::Location loc,
mlir::Location locEnd,
mlir::Value mainOp,
mlir::acc::ReductionRecipeOp recipe )
protected

Member Data Documentation

◆ builder

◆ cgf


The documentation for this class was generated from the following files: