MLIR 24.0.0git
PrivateVarsInfo Struct Reference

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)

Public Attributes

MutableArrayRef< BlockArgumentblockArgs
SmallVector< mlir::ValuemlirVars
SmallVector< llvm::Value * > llvmVars
SmallVector< omp::PrivateClauseOp > privatizers
llvm::DenseMap< Value, llvm::Value * > convertedAllocators
SmallVector< AllocatorPrivateInfoallocatorPrivates

Detailed Description

A util to collect info needed to convert delayed privatizers from MLIR to LLVM.

Definition at line 1009 of file OpenMPToLLVMIRTranslation.cpp.

Constructor & Destructor Documentation

◆ PrivateVarsInfo()

template<typename OP>
PrivateVarsInfo::PrivateVarsInfo ( OP op)
inline

Definition at line 1016 of file OpenMPToLLVMIRTranslation.cpp.

References blockArgs, for(), llvmVars, and mlirVars.

Member Data Documentation

◆ allocatorPrivates

SmallVector<AllocatorPrivateInfo> PrivateVarsInfo::allocatorPrivates

Definition at line 1032 of file OpenMPToLLVMIRTranslation.cpp.

Referenced by allocatePrivateVars(), and cleanupPrivateVars().

◆ blockArgs

◆ convertedAllocators

llvm::DenseMap<Value, llvm::Value *> PrivateVarsInfo::convertedAllocators

Definition at line 1031 of file OpenMPToLLVMIRTranslation.cpp.

Referenced by allocatePrivateVars(), and convertOmpParallel().

◆ llvmVars

◆ mlirVars

◆ privatizers


The documentation for this struct was generated from the following file: