|
Luma 0.1.0
A low-level compiled alternative to C, C++, and more!
|
#include "../llvm.h"
Functions | |
| LLVMValueRef | alloca_and_store (CodeGenContext *ctx, LLVMTypeRef type, LLVMValueRef value, const char *name) |
| LLVMValueRef | struct_gep_load (CodeGenContext *ctx, LLVMTypeRef struct_type, LLVMValueRef ptr, unsigned index, LLVMTypeRef element_type, const char *name) |
| void | struct_gep_store (CodeGenContext *ctx, LLVMTypeRef struct_type, LLVMValueRef ptr, unsigned index, LLVMValueRef value) |
| LLVMValueRef | array_gep (CodeGenContext *ctx, LLVMTypeRef array_type, LLVMValueRef array_ptr, LLVMValueRef index, const char *name) |
| bool | block_has_terminator (LLVMBuilderRef builder) |
| void | branch_if_no_terminator (CodeGenContext *ctx, LLVMBasicBlockRef target) |
| LLVMValueRef | build_global_string (CodeGenContext *ctx, const char *str, const char *name) |
| LLVMValueRef alloca_and_store | ( | CodeGenContext * | ctx, |
| LLVMTypeRef | type, | ||
| LLVMValueRef | value, | ||
| const char * | name | ||
| ) |
| LLVMValueRef array_gep | ( | CodeGenContext * | ctx, |
| LLVMTypeRef | array_type, | ||
| LLVMValueRef | array_ptr, | ||
| LLVMValueRef | index, | ||
| const char * | name | ||
| ) |
| bool block_has_terminator | ( | LLVMBuilderRef | builder | ) |
| void branch_if_no_terminator | ( | CodeGenContext * | ctx, |
| LLVMBasicBlockRef | target | ||
| ) |
| LLVMValueRef build_global_string | ( | CodeGenContext * | ctx, |
| const char * | str, | ||
| const char * | name | ||
| ) |
| LLVMValueRef struct_gep_load | ( | CodeGenContext * | ctx, |
| LLVMTypeRef | struct_type, | ||
| LLVMValueRef | ptr, | ||
| unsigned | index, | ||
| LLVMTypeRef | element_type, | ||
| const char * | name | ||
| ) |
| void struct_gep_store | ( | CodeGenContext * | ctx, |
| LLVMTypeRef | struct_type, | ||
| LLVMValueRef | ptr, | ||
| unsigned | index, | ||
| LLVMValueRef | value | ||
| ) |