MLIR 22.0.0git
EmulateAtomics.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  mlir
 Include the generated interface declarations.
namespace  mlir::amdgpu

Macros

#define GEN_PASS_DEF_AMDGPUEMULATEATOMICSPASS

Functions

static void patchOperandSegmentSizes (ArrayRef< NamedAttribute > attrs, SmallVectorImpl< NamedAttribute > &newAttrs, DataArgAction action)
static Value flattenVecToBits (ConversionPatternRewriter &rewriter, Location loc, Value val)

Macro Definition Documentation

◆ GEN_PASS_DEF_AMDGPUEMULATEATOMICSPASS

#define GEN_PASS_DEF_AMDGPUEMULATEATOMICSPASS

Definition at line 21 of file EmulateAtomics.cpp.

Function Documentation

◆ flattenVecToBits()

Value flattenVecToBits ( ConversionPatternRewriter & rewriter,
Location loc,
Value val )
static

Definition at line 92 of file EmulateAtomics.cpp.

References mlir::Value::getType().

◆ patchOperandSegmentSizes()

void patchOperandSegmentSizes ( ArrayRef< NamedAttribute > attrs,
SmallVectorImpl< NamedAttribute > & newAttrs,
DataArgAction action )
static