llir-opt  0.0.1
Low-Level Post-Link Optimiser for OCaml and C
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Classes | Public Member Functions | List of all members
Parser Class Referencefinal

#include <core/parser.h>

Public Member Functions

 Parser (llvm::StringRef buf, std::string_view ident)
 
 ~Parser ()
 
std::unique_ptr< ProgParse ()
 

Detailed Description

Parses an assembly file.

Constructor & Destructor Documentation

◆ Parser()

Parser::Parser ( llvm::StringRef  buf,
std::string_view  ident 
)

Initialises the parser.

Parameters
bufBuffer to read from.
identName to identify the module.

◆ ~Parser()

Parser::~Parser ( )

Frees resources used by the parser.

Member Function Documentation

◆ Parse()

std::unique_ptr< Prog > Parser::Parse ( )

Parses the input file.


The documentation for this class was generated from the following files: