MLIR  19.0.0git
Classes | Namespaces | Functions
CodeGenHelpers.h File Reference
#include "mlir/TableGen/Constraint.h"
#include "mlir/TableGen/Dialect.h"
#include "mlir/TableGen/Format.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/MapVector.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringRef.h"

Go to the source code of this file.


class  mlir::tblgen::IfDefScope
class  mlir::tblgen::NamespaceEmitter
class  mlir::tblgen::StaticVerifierFunctionEmitter
 This class deduplicates shared operation verification code by emitting static functions alongside the op definitions. More...
struct  mlir::tblgen::detail::stringifier< typename >
struct  mlir::tblgen::detail::stringifier< Twine >
struct  mlir::tblgen::detail::stringifier< std::optional< OptionalT > >


 Include the generated interface declarations.
 Include the generated interface declarations.


template<typename... Parameters>
std::string mlir::tblgen::strfmt (const char *fmt, Parameters &&...parameters)
std::string mlir::tblgen::escapeString (StringRef value)
 Escape a string using C++ encoding. E.g. foo"bar -> foo\x22bar. More...
template<typename T >
std::string mlir::tblgen::stringify (T &&t)
 Generically convert a value to a std::string. More...