|
mini-llvm 0.1.0
|
#include <Parser.h>
Public Member Functions | |
| Parser (std::vector< Token >::const_iterator current) | |
| ~Parser () | |
| Parser (Parser &&) noexcept | |
| Parser & | operator= (Parser &&) noexcept |
| Module | parseModule () |
| std::shared_ptr< GlobalVar > | parseGlobalVarHeader (bool &isDeclaration) |
| void | parseGlobalVarInitializer (GlobalVar &G) |
| std::shared_ptr< Function > | parseFunctionHeader (bool &isDeclaration) |
| void | parseFunctionBody (Function &F) |
| void | parseBasicBlock (BasicBlock &B) |
| std::shared_ptr< Instruction > | parseInstruction () |
| std::shared_ptr< Value > | parseValue (const Type &type) |
| std::shared_ptr< Value > | parseIdentifier (const Type &type) |
| std::shared_ptr< Constant > | parseConstant (const Type &type) |
| std::unique_ptr< Type > | parseType () |
| Symbol | parseSymbol (std::optional< Symbol::Scope > scope=std::nullopt) |
|
explicit |
| mini_llvm::ir::Parser::~Parser | ( | ) |
|
noexcept |
| void mini_llvm::ir::Parser::parseBasicBlock | ( | BasicBlock & | B | ) |
| void mini_llvm::ir::Parser::parseFunctionBody | ( | Function & | F | ) |
| std::shared_ptr< Function > mini_llvm::ir::Parser::parseFunctionHeader | ( | bool & | isDeclaration | ) |
| std::shared_ptr< GlobalVar > mini_llvm::ir::Parser::parseGlobalVarHeader | ( | bool & | isDeclaration | ) |
| void mini_llvm::ir::Parser::parseGlobalVarInitializer | ( | GlobalVar & | G | ) |
| std::shared_ptr< Instruction > mini_llvm::ir::Parser::parseInstruction | ( | ) |
| Module mini_llvm::ir::Parser::parseModule | ( | ) |
| Symbol mini_llvm::ir::Parser::parseSymbol | ( | std::optional< Symbol::Scope > | scope = std::nullopt | ) |
| std::unique_ptr< Type > mini_llvm::ir::Parser::parseType | ( | ) |