|
Luma 0.1.0
A low-level compiled alternative to C, C++, and more!
|
#include "../llvm.h"
Functions | |
| StructInfo * | find_concrete_struct_for_base (CodeGenContext *ctx, StructInfo *base_info, const char *field_name) |
| StructInfo * | find_struct_type (CodeGenContext *ctx, const char *name) |
| void | add_struct_type (CodeGenContext *ctx, StructInfo *struct_info) |
| int | get_field_index (StructInfo *struct_info, const char *field_name) |
| bool | is_field_access_allowed (CodeGenContext *ctx, StructInfo *struct_info, int field_index) |
| LLVMValueRef | codegen_stmt_struct (CodeGenContext *ctx, AstNode *node) |
| LLVMValueRef | codegen_struct_method (CodeGenContext *ctx, AstNode *func_node, StructInfo *struct_info, const char *method_name, bool is_public, bool is_static) |
| LLVMValueRef | codegen_stmt_field (CodeGenContext *ctx, AstNode *node) |
| LLVMValueRef | codegen_expr_struct_assignment (CodeGenContext *ctx, AstNode *node) |
| LLVMTypeRef | codegen_type_struct (CodeGenContext *ctx, const char *struct_name) |
| LLVMValueRef | codegen_struct_literal (CodeGenContext *ctx, const char *struct_name, LLVMValueRef *field_values, size_t field_count) |
| void add_struct_type | ( | CodeGenContext * | ctx, |
| StructInfo * | struct_info | ||
| ) |
| LLVMValueRef codegen_expr_struct_assignment | ( | CodeGenContext * | ctx, |
| AstNode * | node | ||
| ) |
| LLVMValueRef codegen_stmt_field | ( | CodeGenContext * | ctx, |
| AstNode * | node | ||
| ) |
| LLVMValueRef codegen_stmt_struct | ( | CodeGenContext * | ctx, |
| AstNode * | node | ||
| ) |
| LLVMValueRef codegen_struct_literal | ( | CodeGenContext * | ctx, |
| const char * | struct_name, | ||
| LLVMValueRef * | field_values, | ||
| size_t | field_count | ||
| ) |
| LLVMValueRef codegen_struct_method | ( | CodeGenContext * | ctx, |
| AstNode * | func_node, | ||
| StructInfo * | struct_info, | ||
| const char * | method_name, | ||
| bool | is_public, | ||
| bool | is_static | ||
| ) |
| LLVMTypeRef codegen_type_struct | ( | CodeGenContext * | ctx, |
| const char * | struct_name | ||
| ) |
| StructInfo * find_concrete_struct_for_base | ( | CodeGenContext * | ctx, |
| StructInfo * | base_info, | ||
| const char * | field_name | ||
| ) |
| StructInfo * find_struct_type | ( | CodeGenContext * | ctx, |
| const char * | name | ||
| ) |
| int get_field_index | ( | StructInfo * | struct_info, |
| const char * | field_name | ||
| ) |
| bool is_field_access_allowed | ( | CodeGenContext * | ctx, |
| StructInfo * | struct_info, | ||
| int | field_index | ||
| ) |