13 #ifndef MLIR_TABLEGEN_CONSTRAINT_H_ 14 #define MLIR_TABLEGEN_CONSTRAINT_H_ 18 #include "llvm/ADT/SmallVector.h" 19 #include "llvm/ADT/StringRef.h" 38 Pred getPredicate()
const;
44 std::string getConditionTemplate()
const;
48 StringRef getDescription()
const;
51 enum Kind { CK_Attr, CK_Region, CK_Type, CK_Uncategorized };
59 const llvm::Record *
def;
69 std::vector<std::string> &&entities);
81 #endif // MLIR_TABLEGEN_CONSTRAINT_H_ Definition: InferTypeOpInterface.cpp:20
Definition: Constraint.h:67
Definition: PassRegistry.cpp:413
bool operator!=(const Constraint &that)
Definition: Constraint.h:35
Definition: Constraint.h:30
Definition: Predicate.h:33
Constraint constraint
Definition: Constraint.h:71
Kind
Definition: Constraint.h:51
std::vector< std::string > entities
Definition: Constraint.h:75
const llvm::Record * def
Definition: Constraint.h:59
bool operator==(const Constraint &that)
Definition: Constraint.h:34
Kind getKind() const
Definition: Constraint.h:53