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)
std::pair< mlir::Value, mlir::Value > createBoundsLoop (mlir::Value subscriptedValue, mlir::Value subscriptedValue2, mlir::Value bound, mlir::Location loc, bool inverse)
mlir::Value createBoundsLoop (mlir::Value subscriptedValue, mlir::Value bound, mlir::Location loc, bool inverse)
mlir::acc::ReductionOperator convertReductionOp (OpenACCReductionOperator op)
void createReductionRecipeCombiner (mlir::Location loc, mlir::Location locEnd, mlir::Value mainOp, mlir::acc::ReductionRecipeOp recipe, size_t numBounds, QualType origType, llvm::ArrayRef< OpenACCReductionRecipe::CombinerRecipe > combinerRecipes)
void createInitRecipe (mlir::Location loc, mlir::Location locEnd, SourceRange exprRange, mlir::Value mainOp, mlir::Region &recipeInitRegion, size_t numBounds, llvm::ArrayRef< QualType > boundTypes, const VarDecl *allocaDecl, QualType origType, bool emitInitExpr)
void createFirstprivateRecipeCopy (mlir::Location loc, mlir::Location locEnd, mlir::Value mainOp, const VarDecl *allocaDecl, const VarDecl *temporary, mlir::Region &copyRegion, size_t numBounds)
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() [1/2]

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

Definition at line 56 of file CIRGenOpenACCRecipe.h.

References createBoundsLoop().

◆ createBoundsLoop() [2/2]

std::pair< mlir::Value, mlir::Value > clang::CIRGen::OpenACCRecipeBuilderBase::createBoundsLoop ( mlir::Value subscriptedValue,
mlir::Value subscriptedValue2,
mlir::Value bound,
mlir::Location loc,
bool inverse )
protected

◆ createFirstprivateRecipeCopy()

void clang::CIRGen::OpenACCRecipeBuilderBase::createFirstprivateRecipeCopy ( mlir::Location loc,
mlir::Location locEnd,
mlir::Value mainOp,
const VarDecl * allocaDecl,
const VarDecl * temporary,
mlir::Region & copyRegion,
size_t numBounds )
protected

◆ createInitRecipe()

void clang::CIRGen::OpenACCRecipeBuilderBase::createInitRecipe ( mlir::Location loc,
mlir::Location locEnd,
SourceRange exprRange,
mlir::Value mainOp,
mlir::Region & recipeInitRegion,
size_t numBounds,
llvm::ArrayRef< QualType > boundTypes,
const VarDecl * allocaDecl,
QualType origType,
bool emitInitExpr )
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,
size_t numBounds,
QualType origType,
llvm::ArrayRef< OpenACCReductionRecipe::CombinerRecipe > combinerRecipes )
protected

Member Data Documentation

◆ builder

◆ cgf


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