MLIR
21.0.0git
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Variables
c
f
h
i
k
m
n
o
p
r
s
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
w
Enumerator
a
b
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
u
v
w
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
f
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerator
a
c
d
e
f
g
h
i
k
l
m
n
p
r
s
u
v
Related Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Variables
_
a
b
c
d
e
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Typedefs
a
b
c
d
e
f
h
i
m
n
o
r
s
t
u
v
y
Enumerations
Enumerator
a
b
c
e
f
g
i
m
n
s
t
w
Macros
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
y
z
include
mlir
Conversion
NVGPUToNVVM
NVGPUToNVVM.h
Go to the documentation of this file.
1
//===- NVGPUToNVVMPass.h - Convert NVGPU to NVVM dialect --------*- C++ -*-===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
#ifndef MLIR_CONVERSION_NVGPUTONVVM_NVGPUTONVVMPASS_H_
9
#define MLIR_CONVERSION_NVGPUTONVVM_NVGPUTONVVMPASS_H_
10
11
#include <memory>
12
13
namespace
mlir
{
14
15
class
Attribute;
16
class
LLVMTypeConverter;
17
class
MemRefType;
18
class
MLIRContext;
19
class
RewritePatternSet;
20
class
Pass;
21
22
#define GEN_PASS_DECL_CONVERTNVGPUTONVVMPASS
23
#include "mlir/Conversion/Passes.h.inc"
24
25
namespace
nvgpu {
26
class
MBarrierGroupType;
27
28
/// Returns the memory space attribute of the mbarrier object.
29
Attribute
getMbarrierMemorySpace
(
MLIRContext
*context,
30
MBarrierGroupType barrierType);
31
32
/// Return the memref type that can be used to represent an mbarrier object.
33
MemRefType
getMBarrierMemrefType
(
MLIRContext
*context,
34
MBarrierGroupType barrierType);
35
}
// namespace nvgpu
36
37
void
populateNVGPUToNVVMConversionPatterns
(
const
LLVMTypeConverter
&converter,
38
RewritePatternSet
&
patterns
);
39
}
// namespace mlir
40
41
#endif
// MLIR_CONVERSION_NVGPUTONVVM_NVGPUTONVVMPASS_H_
mlir::Attribute
Attributes are known-constant values of operations.
Definition:
Attributes.h:25
mlir::LLVMTypeConverter
Conversion from types to the LLVM IR dialect.
Definition:
TypeConverter.h:35
mlir::MLIRContext
MLIRContext is the top-level object for a collection of MLIR operations.
Definition:
MLIRContext.h:60
mlir::RewritePatternSet
Definition:
PatternMatch.h:772
mlir::nvgpu::getMBarrierMemrefType
MemRefType getMBarrierMemrefType(MLIRContext *context, MBarrierGroupType barrierType)
Return the memref type that can be used to represent an mbarrier object.
mlir::nvgpu::getMbarrierMemorySpace
Attribute getMbarrierMemorySpace(MLIRContext *context, MBarrierGroupType barrierType)
Returns the memory space attribute of the mbarrier object.
mlir
Include the generated interface declarations.
Definition:
LocalAliasAnalysis.h:20
mlir::populateNVGPUToNVVMConversionPatterns
void populateNVGPUToNVVMConversionPatterns(const LLVMTypeConverter &converter, RewritePatternSet &patterns)
Definition:
NVGPUToNVVM.cpp:1743
mlir::patterns
const FrozenRewritePatternSet & patterns
Definition:
GreedyPatternRewriteDriver.h:283
Generated on Mon May 19 2025 04:32:50 for MLIR by
1.9.1