clang 22.0.0git
|
Protected Member Functions | |
mlir::Block * | createRecipeBlock (mlir::Region ®ion, 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 ©Region, 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::CIRGenFunction & | cgf |
CIRGen::CIRGenBuilderTy & | builder |
Definition at line 26 of file CIRGenOpenACCRecipe.h.
|
inlineprotected |
Definition at line 91 of file CIRGenOpenACCRecipe.h.
Referenced by clang::CIRGen::OpenACCRecipeBuilder< RecipeTy >::OpenACCRecipeBuilder().
|
protected |
Definition at line 332 of file CIRGenOpenACCRecipe.cpp.
References clang::Addition, clang::And, clang::BitwiseAnd, clang::BitwiseOr, clang::BitwiseXOr, clang::Invalid, clang::Max, clang::Min, clang::Multiplication, and clang::Or.
Referenced by clang::CIRGen::OpenACCRecipeBuilder< RecipeTy >::getOrCreateRecipe().
|
inlineprotected |
Definition at line 56 of file CIRGenOpenACCRecipe.h.
References createBoundsLoop().
|
protected |
Definition at line 224 of file CIRGenOpenACCRecipe.cpp.
References b, builder, clang::cast(), cgf, and clang::isa().
Referenced by createBoundsLoop(), createFirstprivateRecipeCopy(), createRecipeDestroySection(), and createReductionRecipeCombiner().
|
protected |
Definition at line 488 of file CIRGenOpenACCRecipe.cpp.
References builder, cgf, createBoundsLoop(), createRecipeBlock(), clang::CIRGen::CIRGenFunction::AutoVarEmission::emittedAsOffload, clang::CIRGen::CIRGenFunction::RunCleanupsScope::forceCleanup(), and clang::CIRGen::CIRGenFunction::AutoVarEmission::setAllocatedAddress().
Referenced by clang::CIRGen::OpenACCRecipeBuilder< RecipeTy >::getOrCreateRecipe().
|
protected |
Definition at line 434 of file CIRGenOpenACCRecipe.cpp.
References builder, cgf, createRecipeBlock(), clang::CIRGen::CIRGenFunction::RunCleanupsScope::forceCleanup(), clang::VarDecl::getInit(), clang::NamedDecl::getName(), clang::Type::getPointeeOrArrayElementType(), clang::ValueDecl::getType(), clang::Type::isBuiltinType(), clang::Type::isPointerType(), clang::CIRGen::Type, and clang::LangOptionsBase::Uninitialized.
Referenced by clang::CIRGen::OpenACCRecipeBuilder< RecipeTy >::getOrCreateRecipe().
|
protected |
Definition at line 18 of file CIRGenOpenACCRecipe.cpp.
Referenced by createFirstprivateRecipeCopy(), createInitRecipe(), createRecipeDestroySection(), and createReductionRecipeCombiner().
|
protected |
Definition at line 363 of file CIRGenOpenACCRecipe.cpp.
References builder, cgf, createBoundsLoop(), createRecipeBlock(), clang::QualType::DK_cxx_destructor, and clang::CIRGen::CIRGenFunction::RunCleanupsScope::forceCleanup().
Referenced by clang::CIRGen::OpenACCRecipeBuilder< RecipeTy >::getOrCreateRecipe().
|
protected |
Definition at line 531 of file CIRGenOpenACCRecipe.cpp.
References b, builder, cgf, createBoundsLoop(), and createRecipeBlock().
Referenced by clang::CIRGen::OpenACCRecipeBuilder< RecipeTy >::getOrCreateRecipe().
|
protected |
Definition at line 44 of file CIRGenOpenACCRecipe.h.
Referenced by createBoundsLoop(), createFirstprivateRecipeCopy(), createInitRecipe(), createRecipeBlock(), createRecipeDestroySection(), createReductionRecipeCombiner(), clang::CIRGen::OpenACCRecipeBuilder< RecipeTy >::getOrCreateRecipe(), clang::CIRGen::OpenACCRecipeBuilder< RecipeTy >::OpenACCRecipeBuilder(), and OpenACCRecipeBuilderBase().
|
protected |
Definition at line 43 of file CIRGenOpenACCRecipe.h.
Referenced by createBoundsLoop(), createFirstprivateRecipeCopy(), createInitRecipe(), createRecipeBlock(), createRecipeDestroySection(), createReductionRecipeCombiner(), clang::CIRGen::OpenACCRecipeBuilder< RecipeTy >::getOrCreateRecipe(), clang::CIRGen::OpenACCRecipeBuilder< RecipeTy >::OpenACCRecipeBuilder(), and OpenACCRecipeBuilderBase().