|
Luma 0.1.0
A low-level compiled alternative to C, C++, and more!
|
#include "../llvm.h"
Functions | |
| void | init_type_cache (CodeGenContext *ctx) |
| LLVMTypeRef | get_int_type (CodeGenContext *ctx, unsigned bits) |
| LLVMTypeRef | get_float_type (CodeGenContext *ctx, bool is_double) |
| LLVMValueRef | get_const_int (CodeGenContext *ctx, unsigned bits, uint64_t value) |
| bool | is_int_type (LLVMTypeRef type) |
| bool | is_float_type (LLVMTypeRef type) |
| bool | pointer_type (LLVMTypeRef type) |
| bool | types_are_equal (LLVMTypeRef a, LLVMTypeRef b) |
| LLVMValueRef | get_default_value (LLVMTypeRef type) |
| bool | needs_conversion (LLVMTypeRef from, LLVMTypeRef to) |
| LLVMValueRef get_const_int | ( | CodeGenContext * | ctx, |
| unsigned | bits, | ||
| uint64_t | value | ||
| ) |
| LLVMValueRef get_default_value | ( | LLVMTypeRef | type | ) |
| LLVMTypeRef get_float_type | ( | CodeGenContext * | ctx, |
| bool | is_double | ||
| ) |
| LLVMTypeRef get_int_type | ( | CodeGenContext * | ctx, |
| unsigned | bits | ||
| ) |
| void init_type_cache | ( | CodeGenContext * | ctx | ) |
| bool is_float_type | ( | LLVMTypeRef | type | ) |
| bool is_int_type | ( | LLVMTypeRef | type | ) |
| bool needs_conversion | ( | LLVMTypeRef | from, |
| LLVMTypeRef | to | ||
| ) |
| bool pointer_type | ( | LLVMTypeRef | type | ) |
| bool types_are_equal | ( | LLVMTypeRef | a, |
| LLVMTypeRef | b | ||
| ) |