|
MLIR 24.0.0git
|
A util to collect info needed to convert delayed privatizers from MLIR to LLVM. More...
Classes | |
| struct | AllocatorPrivateInfo |
Public Member Functions | |
| template<typename OP> | |
| PrivateVarsInfo (OP op) | |
| template<typename OP> | |
| void | addLinearVars (OP op) |
| Adds the linear variables of op, which are privatized by their linear privatizers, after the private variables. | |
Public Attributes | |
| size_t | numPrivateVars = 0 |
| Number of private variables before the linear ones. | |
| SmallVector< BlockArgument > | blockArgs |
| SmallVector< mlir::Value > | mlirVars |
| SmallVector< llvm::Value * > | llvmVars |
| SmallVector< omp::PrivateClauseOp > | privatizers |
| llvm::DenseMap< Value, llvm::Value * > | convertedAllocators |
| SmallVector< AllocatorPrivateInfo > | allocatorPrivates |
A util to collect info needed to convert delayed privatizers from MLIR to LLVM.
Definition at line 1064 of file OpenMPToLLVMIRTranslation.cpp.
|
inline |
|
inline |
Adds the linear variables of op, which are privatized by their linear privatizers, after the private variables.
Definition at line 1085 of file OpenMPToLLVMIRTranslation.cpp.
References blockArgs, findPrivatizer(), mlirVars, numPrivateVars, and privatizers.
Referenced by convertOmpSimd(), and convertOmpWsloop().
| SmallVector<AllocatorPrivateInfo> PrivateVarsInfo::allocatorPrivates |
Definition at line 1103 of file OpenMPToLLVMIRTranslation.cpp.
Referenced by allocatePrivateVars(), and cleanupPrivateVars().
| SmallVector<BlockArgument> PrivateVarsInfo::blockArgs |
Definition at line 1098 of file OpenMPToLLVMIRTranslation.cpp.
Referenced by addLinearVars(), allocatePrivateVars(), cleanupPrivateVars(), convertOmpTaskloopContextOp(), convertOmpTaskOp(), initPrivateVars(), and PrivateVarsInfo().
| llvm::DenseMap<Value, llvm::Value *> PrivateVarsInfo::convertedAllocators |
Definition at line 1102 of file OpenMPToLLVMIRTranslation.cpp.
Referenced by allocatePrivateVars(), and convertAllocatorVars().
| SmallVector<llvm::Value *> PrivateVarsInfo::llvmVars |
Definition at line 1100 of file OpenMPToLLVMIRTranslation.cpp.
Referenced by allocatePrivateVars(), cleanupPrivateVars(), convertOmpDistribute(), convertOmpParallel(), convertOmpScope(), convertOmpSimd(), convertOmpTarget(), convertOmpTaskloopContextOp(), convertOmpTaskOp(), convertOmpWsloop(), initPrivateVars(), and PrivateVarsInfo().
| SmallVector<mlir::Value> PrivateVarsInfo::mlirVars |
Definition at line 1099 of file OpenMPToLLVMIRTranslation.cpp.
Referenced by addLinearVars(), allocatePrivateVars(), convertOmpDistribute(), convertOmpParallel(), convertOmpScope(), convertOmpTarget(), convertOmpTaskloopContextOp(), convertOmpTaskOp(), convertOmpWsloop(), initPrivateVars(), and PrivateVarsInfo().
| size_t PrivateVarsInfo::numPrivateVars = 0 |
Number of private variables before the linear ones.
Definition at line 1097 of file OpenMPToLLVMIRTranslation.cpp.
Referenced by addLinearVars(), convertOmpSimd(), and convertOmpWsloop().
| SmallVector<omp::PrivateClauseOp> PrivateVarsInfo::privatizers |
Definition at line 1101 of file OpenMPToLLVMIRTranslation.cpp.
Referenced by addLinearVars(), allocatePrivateVars(), cleanupPrivateVars(), convertOmpDistribute(), convertOmpParallel(), convertOmpScope(), convertOmpSimd(), convertOmpTarget(), convertOmpTaskloopContextOp(), convertOmpTaskOp(), convertOmpWsloop(), and initPrivateVars().