|
| bool | generate_module_object_file (ModuleCompilationUnit *module, const char *output_path, bool is_debug) |
| |
| bool | compile_modules_to_objects (CodeGenContext *ctx, const char *output_dir) |
| |
| ModuleCompilationUnit * | create_module_unit (CodeGenContext *ctx, const char *module_name) |
| |
| ModuleCompilationUnit * | find_module (CodeGenContext *ctx, const char *module_name) |
| |
| void | set_current_module (CodeGenContext *ctx, ModuleCompilationUnit *module) |
| |
| void | add_symbol_to_module (ModuleCompilationUnit *module, const char *name, LLVMValueRef value, LLVMTypeRef type, bool is_function) |
| |
| LLVM_Symbol * | find_symbol_in_module (ModuleCompilationUnit *module, const char *name) |
| |
| LLVM_Symbol * | find_symbol_global (CodeGenContext *ctx, const char *name, const char *module_name) |
| |
| void | add_symbol (CodeGenContext *ctx, const char *name, LLVMValueRef value, LLVMTypeRef type, bool is_function) |
| |
| LLVM_Symbol * | find_symbol (CodeGenContext *ctx, const char *name) |
| |
| void | generate_external_declarations (CodeGenContext *ctx, ModuleCompilationUnit *target_module) |
| |
| CodeGenContext * | init_codegen_context (ArenaAllocator *arena) |
| |
| void | cleanup_codegen_context (CodeGenContext *ctx) |
| |
| bool | generate_program_modules (CodeGenContext *ctx, AstNode *ast_root, const char *output_dir) |
| |
| char * | print_llvm_ir (CodeGenContext *ctx) |
| |
| bool | generate_object_file (CodeGenContext *ctx, const char *object_filename) |
| |
| bool | generate_assembly_file (CodeGenContext *ctx, const char *asm_filename, bool is_debug) |
| |
| LLVMLinkage | get_function_linkage (AstNode *node) |
| |
| char * | process_escape_sequences (const char *input) |
| |
| void | setup_module_debug_info (CodeGenContext *ctx, ModuleCompilationUnit *unit, const char *filename) |
| |
| void | finalize_module_debug_info (ModuleCompilationUnit *unit) |
| |
| void | finalize_all_debug_info (CodeGenContext *ctx) |
| |
| void | set_debug_location (CodeGenContext *ctx, unsigned line, unsigned column) |
| |