MLIR  22.0.0git
Namespaces | Functions
OpenACCUtils.h File Reference
#include "mlir/Dialect/OpenACC/OpenACC.h"

Go to the source code of this file.

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::acc
 

Functions

mlir::Operationmlir::acc::getEnclosingComputeOp (mlir::Region &region)
 Used to obtain the enclosing compute construct operation that contains the provided region. More...
 
bool mlir::acc::isOnlyUsedByPrivateClauses (mlir::Value val, mlir::Region &region)
 Returns true if this value is only used by acc.private operations in the region. More...
 
bool mlir::acc::isOnlyUsedByReductionClauses (mlir::Value val, mlir::Region &region)
 Returns true if this value is only used by acc.reduction operations in the region. More...
 
std::optional< ClauseDefaultValue > mlir::acc::getDefaultAttr (mlir::Operation *op)
 Looks for an OpenACC default attribute on the current operation op or in a parent operation which encloses op. More...
 
mlir::acc::VariableTypeCategory mlir::acc::getTypeCategory (mlir::Value var)
 Get the type category of an OpenACC variable. More...
 
std::string mlir::acc::getVariableName (mlir::Value v)
 Attempts to extract the variable name from a value by walking through view-like operations until an acc.var_name attribute is found. More...