My Project
Main Page
+
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
z
+
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Enumerations
+
Enumerator
a
b
c
d
f
i
l
m
n
o
p
r
s
t
u
v
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
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
k
l
m
n
o
p
q
r
s
t
u
v
w
y
~
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
Enumerations
+
Enumerator
a
c
d
f
h
l
m
n
o
r
s
t
w
+
Related Functions
a
b
c
d
h
i
l
m
n
o
p
s
v
+
Files
File List
+
File Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
+
Functions
a
c
d
e
f
g
i
m
o
p
r
s
t
v
Variables
Typedefs
Enumerations
Enumerator
+
Macros
d
g
i
l
p
t
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
include
mlir
Dialect
SPIRV
SPIRVOps.h
Go to the documentation of this file.
1
//===- SPIRVOps.h - MLIR SPIR-V operations ----------------------*- C++ -*-===//
2
//
3
// Part of the MLIR 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
//
9
// This file declares the operations in the SPIR-V dialect.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#ifndef MLIR_DIALECT_SPIRV_SPIRVOPS_H_
14
#define MLIR_DIALECT_SPIRV_SPIRVOPS_H_
15
16
#include "
mlir/Dialect/SPIRV/SPIRVTypes.h
"
17
#include "
mlir/IR/Function.h
"
18
19
namespace
mlir
{
20
class
OpBuilder;
21
22
namespace
spirv
{
23
24
// TableGen'erated operation interfaces for querying versions, extensions, and
25
// capabilities.
26
#include "mlir/Dialect/SPIRV/SPIRVAvailability.h.inc"
27
28
// TablenGen'erated operation declarations.
29
#define GET_OP_CLASSES
30
#include "mlir/Dialect/SPIRV/SPIRVOps.h.inc"
31
32
// TableGen'erated helper functions.
33
//
34
// Get the name used in the Op to refer to an enum value of the given
35
// `EnumClass`.
36
// template <typename EnumClass> StringRef attributeName();
37
//
38
// Get the function that can be used to symbolize an enum value.
39
// template <typename EnumClass>
40
// Optional<EnumClass> (*)(StringRef) symbolizeEnum();
41
#include "mlir/Dialect/SPIRV/SPIRVOpUtils.inc"
42
43
}
// end namespace spirv
44
}
// end namespace mlir
45
46
#endif // MLIR_DIALECT_SPIRV_SPIRVOPS_H_
mlir
Definition:
InferTypeOpInterface.cpp:20
SPIRVTypes.h
spirv
Function.h
Generated by
1.8.13