MLIR  22.0.0git
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 
10 
11 using namespace mlir;
12 using namespace mlir::tblgen;
13 
14 //===----------------------------------------------------------------------===//
15 // NamedTypeConstraint
16 //===----------------------------------------------------------------------===//
17 
19  return !constraint.getPredicate().isNull();
20 }
21 
23 
25 
28 }
Pred getPredicate() const
Definition: Constraint.cpp:41
bool isNull() const
Definition: Predicate.h:46
bool isVariadic() const
Definition: Type.cpp:29
bool isOptional() const
Definition: Type.cpp:25
bool isVariadicOfVariadic() const
Definition: Type.cpp:33
Include the generated interface declarations.