BenchGen
BenchGen is a tool for generating benchmarks to stress-test a computing system.
|
Represents a loop in the AST. More...
#include <ast.h>
Public Member Functions | |
Loop (std::shared_ptr< Node > code) | |
void | gen (Generator &) override |
Generates code for this AST node. | |
void | print (int indent) override |
Prints the structure of this AST node. | |
![]() | |
virtual | ~Node ()=default |
Represents a loop in the AST.
Contains the code block to be executed in the loop.
|
inline |
|
overridevirtual |
Generates code for this AST node.
generator | The generator object used to manage code generation. |
Implements Node.
|
overridevirtual |
Prints the structure of this AST node.
indent | The number of spaces to indent the output. |
Implements Node.