tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc
void TensorFlowDialect::printType(Type ty, DialectAsmPrinter &os) const {
  assert(ty.isa<TensorFlowType>());
  switch (ty.getKind()) {
    default:
      llvm_unreachable("unexpected tensorflow type kind");
#define HANDLE_TF_TYPE(tftype, enumerant, name) \
  case TensorFlowTypes::enumerant:              \
    os << name;                                 \
    break;
#define HANDLE_CUSTOM_TF_TYPE(tftype, enumerant, name) \
  case TensorFlowTypes::enumerant:                     \
    Print##tftype##Type(ty.cast<tftype##Type>(), os);  \
    break;
// NOLINTNEXTLINE
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.def"
  }
}
// Prints a type registered to this dialect.
Prints a type registered to this dialect.
Prints a type registered to this dialect .
void TensorFlowDialect::printType(Type ty, DialectAsmPrinter &os) const {
  assert(ty.isa<TensorFlowType>());
  switch (ty.getKind()) {
    default:
      llvm_unreachable("unexpected tensorflow type kind");
#define HANDLE_TF_TYPE(tftype, enumerant, name) \
  case TensorFlowTypes::enumerant:              \
    os << name;                                 \
    break;
#define HANDLE_CUSTOM_TF_TYPE(tftype, enumerant, name) \
  case TensorFlowTypes::enumerant:                     \
    Print##tftype##Type(ty.cast<tftype##Type>(), os);  \
    break;
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.def"
  }
}
void TensorFlowDialect :: printType ( Type ty , DialectAsmPrinter & os ) const { assert ( ty . isa < TensorFlowType > ( ) ) ; switch ( ty . getKind ( ) ) { default : llvm_unreachable ( " " ) ; #define HANDLE_TF_TYPE ( tftype , enumerant , name )  \
  case TensorFlowTypes::enumerant:              \
    os << name;                                 \
    break; #define HANDLE_CUSTOM_TF_TYPE ( tftype , enumerant , name )  \
  case TensorFlowTypes::enumerant:                     \
    Print##tftype##Type(ty.cast<tftype##Type>(), os);  \
    break; #include " " } }
Prints a type registered to this dialect.
Prints a type registered to this dialect .
// NOLINTNEXTLINE