#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.
|
| namespace | mlir |
| | Include the generated interface declarations.
|
| namespace | mlir::tblgen |
|
| template<typename... Ts> |
| auto | mlir::tblgen::tgfmt (StringRef fmt, const FmtContext *ctx, Ts &&...vals) -> FmtObject< decltype(std::make_tuple(llvm::support::detail::FormatFunctor(std::forward< Ts >(vals))...))> |
| | Formats text by substituting placeholders in format string with replacement parameters.
|
| FmtStrVecObject | mlir::tblgen::tgfmtv (StringRef fmt, const FmtContext *ctx, ArrayRef< std::string > params) |
| | Like tgfmt, but take replacement parameters as an array of strings instead.
|