MLIR
21.0.0git
|
Template Code as used by IRDL-to-Cpp. More...
#include "Target/IRDLToCpp/TemplatingUtils.h"
Public Member Functions | |
Template (llvm::StringRef str) | |
void | render (llvm::raw_ostream &out, const dictionary &replacements) const |
Render will apply a dictionary to the Template and send the rendered result to the specified output stream. More... | |
Template Code as used by IRDL-to-Cpp.
For efficiency, produces a bytecode representation of an input template.
Definition at line 30 of file TemplatingUtils.h.
|
inline |
Definition at line 32 of file TemplatingUtils.h.
|
inline |
Render will apply a dictionary to the Template and send the rendered result to the specified output stream.
Definition at line 52 of file TemplatingUtils.h.