#ifndef MLIR_CONVERSION_NVGPUTONVVM_NVGPUTONVVMPASS_H_
#define MLIR_CONVERSION_NVGPUTONVVM_NVGPUTONVVMPASS_H_
#include <memory>
namespace mlir {
class Attribute;
class LLVMTypeConverter;
class MemRefType;
class MLIRContext;
class RewritePatternSet;
class Pass;
#define GEN_PASS_DECL_CONVERTNVGPUTONVVMPASS
#include "mlir/Conversion/Passes.h.inc"
namespace nvgpu {
class MBarrierGroupType;
Attribute getMbarrierMemorySpace(MLIRContext *context,
MBarrierGroupType barrierType);
MemRefType getMBarrierMemrefType(MLIRContext *context,
MBarrierGroupType barrierType);
}
void populateNVGPUToNVVMConversionPatterns(LLVMTypeConverter &converter,
RewritePatternSet &patterns);
}
#endif