|
Luma 0.1.0
A low-level compiled alternative to C, C++, and more!
|
#include "../llvm.h"
Functions | |
| LLVMValueRef | convert_value_to_type (CodeGenContext *ctx, LLVMValueRef value, LLVMTypeRef from_type, LLVMTypeRef to_type) |
| bool | check_array_bounds_runtime (CodeGenContext *ctx, LLVMValueRef array_ptr, LLVMTypeRef array_type, LLVMValueRef index, const char *var_name) |
| LLVMValueRef | codegen_multidim_array_access (CodeGenContext *ctx, AstNode *base_expr, AstNode **indices, size_t index_count) |
| void | copy_array_elements (CodeGenContext *ctx, LLVMValueRef dest_array, LLVMTypeRef dest_type, LLVMValueRef src_array, LLVMTypeRef src_type) |
| bool check_array_bounds_runtime | ( | CodeGenContext * | ctx, |
| LLVMValueRef | array_ptr, | ||
| LLVMTypeRef | array_type, | ||
| LLVMValueRef | index, | ||
| const char * | var_name | ||
| ) |
| LLVMValueRef codegen_multidim_array_access | ( | CodeGenContext * | ctx, |
| AstNode * | base_expr, | ||
| AstNode ** | indices, | ||
| size_t | index_count | ||
| ) |
| LLVMValueRef convert_value_to_type | ( | CodeGenContext * | ctx, |
| LLVMValueRef | value, | ||
| LLVMTypeRef | from_type, | ||
| LLVMTypeRef | to_type | ||
| ) |
| void copy_array_elements | ( | CodeGenContext * | ctx, |
| LLVMValueRef | dest_array, | ||
| LLVMTypeRef | dest_type, | ||
| LLVMValueRef | src_array, | ||
| LLVMTypeRef | src_type | ||
| ) |