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
a
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
lib
Tools
PDLL
AST
Context.cpp
Go to the documentation of this file.
1
//===- Context.cpp --------------------------------------------------------===//
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
9
#include "
mlir/Tools/PDLL/AST/Context.h
"
10
#include "
TypeDetail.h
"
11
12
using namespace
mlir
;
13
using namespace
mlir::pdll::ast
;
14
15
Context::Context
(
ods::Context
&odsContext) : odsContext(odsContext) {
16
typeUniquer.
registerSingletonStorageType
<
detail::AttributeTypeStorage
>();
17
typeUniquer.
registerSingletonStorageType
<
detail::ConstraintTypeStorage
>();
18
typeUniquer.
registerSingletonStorageType
<
detail::RewriteTypeStorage
>();
19
typeUniquer.
registerSingletonStorageType
<
detail::TypeTypeStorage
>();
20
typeUniquer.
registerSingletonStorageType
<
detail::ValueTypeStorage
>();
21
22
typeUniquer.
registerParametricStorageType
<
detail::OperationTypeStorage
>();
23
typeUniquer.
registerParametricStorageType
<
detail::RangeTypeStorage
>();
24
typeUniquer.
registerParametricStorageType
<
detail::TupleTypeStorage
>();
25
}
Context.h
TypeDetail.h
mlir::StorageUniquer::registerSingletonStorageType
void registerSingletonStorageType(TypeID id, function_ref< void(Storage *)> initFn)
Register a new singleton storage class, this is necessary to get the singletone instance.
Definition:
StorageUniquer.h:169
mlir::StorageUniquer::registerParametricStorageType
void registerParametricStorageType(TypeID id)
Register a new parametric storage class, this is necessary to create instances of this class type.
Definition:
StorageUniquer.h:149
mlir::pdll::ast::Context::Context
Context(ods::Context &odsContext)
Definition:
Context.cpp:15
mlir::pdll::ods::Context
This class contains all of the registered ODS operation classes.
Definition:
Context.h:32
mlir::pdll::ast
Definition:
Context.h:21
mlir
Include the generated interface declarations.
Definition:
LocalAliasAnalysis.h:20
mlir::pdll::ast::detail::AttributeTypeStorage
Definition:
TypeDetail.h:65
mlir::pdll::ast::detail::ConstraintTypeStorage
Definition:
TypeDetail.h:71
mlir::pdll::ast::detail::OperationTypeStorage
Definition:
TypeDetail.h:79
mlir::pdll::ast::detail::RangeTypeStorage
Definition:
TypeDetail.h:94
mlir::pdll::ast::detail::RewriteTypeStorage
Definition:
TypeDetail.h:102
mlir::pdll::ast::detail::TupleTypeStorage
Definition:
TypeDetail.h:110
mlir::pdll::ast::detail::TypeTypeStorage
Definition:
TypeDetail.h:128
mlir::pdll::ast::detail::ValueTypeStorage
Definition:
TypeDetail.h:134
Generated on Sat May 3 2025 00:43:10 for MLIR by
1.9.1