unlogic
|
#include <IRGenerator.h>
Public Member Functions | |
llvm::Value * | operator() (std::monostate &node) |
llvm::Value * | operator() (NumericLiteralNode &node) |
llvm::Value * | operator() (StringLiteralNode &node) |
llvm::Value * | operator() (DivisionNode &node) |
llvm::Value * | operator() (ScopedBlockNode &node) |
llvm::Value * | operator() (VariableNode &node) |
llvm::Value * | operator() (CallNode &node) |
llvm::Value * | operator() (AdditionNode &node) |
llvm::Value * | operator() (SubtractionNode &node) |
llvm::Value * | operator() (MultiplicationNode &node) |
llvm::Value * | operator() (PotentiationNode &node) |
llvm::Value * | operator() (FunctionDefinitionNode &node) |
llvm::Value * | operator() (PlotCommandNode &node) |
llvm::Value * | operator() (ProgramEntryNode &node) |
IRGenerator (IRGenerationContext &ctx) | |
Public Attributes | |
IRGenerationContext & | ctx |
llvm::IRBuilder | builder |
std::stack< llvm::Value * > | values |
Definition at line 11 of file IRGenerator.h.
|
inline |
Definition at line 32 of file IRGenerator.h.
llvm::Value * unlogic::IRGenerator::operator() | ( | unlogic::AdditionNode & | node | ) |
Definition at line 58 of file IRGenerator.cpp.
llvm::Value * unlogic::IRGenerator::operator() | ( | unlogic::CallNode & | node | ) |
Definition at line 38 of file IRGenerator.cpp.
llvm::Value * unlogic::IRGenerator::operator() | ( | unlogic::DivisionNode & | node | ) |
Definition at line 15 of file IRGenerator.cpp.
llvm::Value * unlogic::IRGenerator::operator() | ( | unlogic::FunctionDefinitionNode & | node | ) |
Definition at line 92 of file IRGenerator.cpp.
llvm::Value * unlogic::IRGenerator::operator() | ( | unlogic::MultiplicationNode & | node | ) |
Definition at line 74 of file IRGenerator.cpp.
llvm::Value * unlogic::IRGenerator::operator() | ( | unlogic::NumericLiteralNode & | node | ) |
Definition at line 5 of file IRGenerator.cpp.
llvm::Value * unlogic::IRGenerator::operator() | ( | unlogic::PlotCommandNode & | node | ) |
Definition at line 137 of file IRGenerator.cpp.
llvm::Value * unlogic::IRGenerator::operator() | ( | unlogic::PotentiationNode & | node | ) |
Definition at line 82 of file IRGenerator.cpp.
llvm::Value * unlogic::IRGenerator::operator() | ( | unlogic::ProgramEntryNode & | node | ) |
Definition at line 155 of file IRGenerator.cpp.
llvm::Value * unlogic::IRGenerator::operator() | ( | unlogic::ScopedBlockNode & | node | ) |
Definition at line 23 of file IRGenerator.cpp.
llvm::Value * unlogic::IRGenerator::operator() | ( | std::monostate & | node | ) |
Definition at line 184 of file IRGenerator.cpp.
llvm::Value * unlogic::IRGenerator::operator() | ( | unlogic::StringLiteralNode & | node | ) |
Definition at line 10 of file IRGenerator.cpp.
llvm::Value * unlogic::IRGenerator::operator() | ( | unlogic::SubtractionNode & | node | ) |
Definition at line 66 of file IRGenerator.cpp.
llvm::Value * unlogic::IRGenerator::operator() | ( | unlogic::VariableNode & | node | ) |
Definition at line 33 of file IRGenerator.cpp.
llvm::IRBuilder unlogic::IRGenerator::builder |
Definition at line 14 of file IRGenerator.h.
IRGenerationContext& unlogic::IRGenerator::ctx |
Definition at line 13 of file IRGenerator.h.
std::stack<llvm::Value *> unlogic::IRGenerator::values |
Definition at line 15 of file IRGenerator.h.