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
TableGen
Argument.cpp
Go to the documentation of this file.
1
//===- Argument.cpp - Argument definitions --------------------------------===//
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/TableGen/Argument.h
"
10
#include "llvm/TableGen/Record.h"
11
12
using namespace
mlir
;
13
using namespace
mlir::tblgen
;
14
15
//===----------------------------------------------------------------------===//
16
// NamedTypeConstraint
17
//===----------------------------------------------------------------------===//
18
19
bool
NamedTypeConstraint::hasPredicate
()
const
{
20
return
!
constraint
.
getPredicate
().
isNull
();
21
}
22
23
bool
NamedTypeConstraint::isOptional
()
const
{
return
constraint
.
isOptional
(); }
24
25
bool
NamedTypeConstraint::isVariadic
()
const
{
return
constraint
.
isVariadic
(); }
26
27
bool
NamedTypeConstraint::isVariadicOfVariadic
()
const
{
28
return
constraint
.
isVariadicOfVariadic
();
29
}
Argument.h
mlir::tblgen::Constraint::getPredicate
Pred getPredicate() const
Definition:
Constraint.cpp:39
mlir::tblgen::Pred::isNull
bool isNull() const
Definition:
Predicate.h:46
mlir::tblgen::TypeConstraint::isVariadic
bool isVariadic() const
Definition:
Type.cpp:30
mlir::tblgen::TypeConstraint::isOptional
bool isOptional() const
Definition:
Type.cpp:26
mlir::tblgen::TypeConstraint::isVariadicOfVariadic
bool isVariadicOfVariadic() const
Definition:
Type.cpp:34
mlir::tblgen
Definition:
Argument.h:35
mlir
Include the generated interface declarations.
Definition:
LocalAliasAnalysis.h:20
mlir::tblgen::NamedTypeConstraint::isVariadicOfVariadic
bool isVariadicOfVariadic() const
Definition:
Argument.cpp:27
mlir::tblgen::NamedTypeConstraint::hasPredicate
bool hasPredicate() const
Definition:
Argument.cpp:19
mlir::tblgen::NamedTypeConstraint::isVariadic
bool isVariadic() const
Definition:
Argument.cpp:25
mlir::tblgen::NamedTypeConstraint::isOptional
bool isOptional() const
Definition:
Argument.cpp:23
mlir::tblgen::NamedTypeConstraint::constraint
TypeConstraint constraint
Definition:
Argument.h:59
Generated on Thu Apr 24 2025 20:32:58 for MLIR by
1.9.1