MLIR  20.0.0git
Classes | Namespaces | Functions
Format.h File Reference
#include "mlir/Support/LLVM.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/Support/FormatVariadic.h"

Go to the source code of this file.

Classes

class  mlir::tblgen::FmtContext
 Format context containing substitutions for special placeholders. More...
 
struct  mlir::tblgen::FmtReplacement
 Struct representing a replacement segment for the formatted string. More...
 
class  mlir::tblgen::FmtObjectBase
 
struct  mlir::tblgen::FmtObjectBase::CreateAdapters
 
class  mlir::tblgen::FmtObject< Tuple >
 
class  mlir::tblgen::FmtStrVecObject
 

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::tblgen
 

Functions

template<typename... Ts>
auto mlir::tblgen::tgfmt (StringRef fmt, const FmtContext *ctx, Ts &&...vals) -> FmtObject< decltype(std::make_tuple(llvm::support::detail::build_format_adapter(std::forward< Ts >(vals))...))>
 Formats text by substituting placeholders in format string with replacement parameters. More...
 
FmtStrVecObject mlir::tblgen::tgfmt (StringRef fmt, const FmtContext *ctx, ArrayRef< std::string > params)