using namespace mlir;
using namespace mlir::detail;
+//===----------------------------------------------------------------------===//
+// Type
+//===----------------------------------------------------------------------===//
+
unsigned Type::getKind() const { return impl->getKind(); }
/// Get the dialect this type is registered to.
unsigned Type::getSubclassData() const { return impl->getSubclassData(); }
void Type::setSubclassData(unsigned val) { impl->setSubclassData(val); }
-/// Function Type.
+//===----------------------------------------------------------------------===//
+// FunctionType
+//===----------------------------------------------------------------------===//
FunctionType FunctionType::get(ArrayRef<Type> inputs, ArrayRef<Type> results,
MLIRContext *context) {
return getImpl()->getResults();
}
-/// OpaqueType
+//===----------------------------------------------------------------------===//
+// OpaqueType
+//===----------------------------------------------------------------------===//
OpaqueType OpaqueType::get(Identifier dialect, StringRef typeData,
MLIRContext *context) {