llir-opt
0.0.1
Low-Level Post-Link Optimiser for OCaml and C
|
#include <core/parser.h>
Public Member Functions | |
Parser (llvm::StringRef buf, std::string_view ident) | |
~Parser () | |
std::unique_ptr< Prog > | Parse () |
Parses an assembly file.
Parser::Parser | ( | llvm::StringRef | buf, |
std::string_view | ident | ||
) |
Initialises the parser.
buf | Buffer to read from. |
ident | Name to identify the module. |
Parser::~Parser | ( | ) |
Frees resources used by the parser.
std::unique_ptr< Prog > Parser::Parse | ( | ) |
Parses the input file.