moved modules for llvm-ir generation into subfolder

This commit is contained in:
Sven Vogel 2024-06-04 15:34:47 +02:00
parent e893dd327b
commit 14c5ba320c
11 changed files with 20 additions and 20 deletions

View File

@ -2,8 +2,8 @@
// Created by servostar on 5/28/24. // Created by servostar on 5/28/24.
// //
#include <llvm/expr.h> #include <llvm/llvm-ir/expr.h>
#include <llvm/types.h> #include <llvm/llvm-ir/types.h>
#include <sys/log.h> #include <sys/log.h>
BackendError impl_bitwise_operation([[maybe_unused]] LLVMBackendCompileUnit *unit, BackendError impl_bitwise_operation([[maybe_unused]] LLVMBackendCompileUnit *unit,

View File

@ -7,7 +7,7 @@
#include <codegen/backend.h> #include <codegen/backend.h>
#include <llvm-c/Types.h> #include <llvm-c/Types.h>
#include <llvm/func.h> #include <llvm/llvm-ir/func.h>
#include <llvm/parser.h> #include <llvm/parser.h>
BackendError impl_expr(LLVMBackendCompileUnit *unit, LLVMLocalScope *scope, BackendError impl_expr(LLVMBackendCompileUnit *unit, LLVMLocalScope *scope,

View File

@ -3,9 +3,9 @@
#include <codegen/backend.h> #include <codegen/backend.h>
#include <llvm-c/Core.h> #include <llvm-c/Core.h>
#include <llvm-c/Types.h> #include <llvm-c/Types.h>
#include <llvm/func.h> #include <llvm/llvm-ir/func.h>
#include <llvm/parser.h> #include <llvm/parser.h>
#include <llvm/types.h> #include <llvm/llvm-ir/types.h>
#include <set/types.h> #include <set/types.h>
#include <sys/log.h> #include <sys/log.h>

View File

@ -3,11 +3,11 @@
// //
#include <codegen/backend.h> #include <codegen/backend.h>
#include <llvm/func.h>
#include <llvm/parser.h>
#include <llvm/stmt.h>
#include <llvm/expr.h>
#include <sys/log.h> #include <sys/log.h>
#include <llvm/parser.h>
#include <llvm/llvm-ir/stmt.h>
#include <llvm/llvm-ir/expr.h>
#include <llvm/llvm-ir/func.h>
BackendError impl_assign_stmt([[maybe_unused]] LLVMBackendCompileUnit *unit, BackendError impl_assign_stmt([[maybe_unused]] LLVMBackendCompileUnit *unit,
const LLVMBuilderRef builder, const LLVMLocalScope *scope, const LLVMBuilderRef builder, const LLVMLocalScope *scope,

View File

@ -1,10 +1,10 @@
#include <codegen/backend.h> #include <codegen/backend.h>
#include <llvm-c/Core.h>
#include <llvm-c/Types.h>
#include <llvm/parser.h>
#include <llvm/types.h>
#include <set/types.h> #include <set/types.h>
#include <sys/log.h> #include <sys/log.h>
#include <llvm/parser.h>
#include <llvm/llvm-ir/types.h>
#include <llvm-c/Core.h>
#include <llvm-c/Types.h>
#define BASE_BYTES 4 #define BASE_BYTES 4
#define BITS_PER_BYTE 8 #define BITS_PER_BYTE 8

View File

@ -1,11 +1,11 @@
#include <codegen/backend.h> #include <codegen/backend.h>
#include <llvm-c/Core.h>
#include <llvm-c/Types.h>
#include <llvm/types.h>
#include <llvm/variables.h>
#include <set/types.h> #include <set/types.h>
#include <sys/log.h> #include <sys/log.h>
#include <llvm/llvm-ir/variables.h>
#include <llvm-c/Core.h>
#include <llvm-c/Types.h>
#include <llvm/llvm-ir/types.h>
BackendError impl_global_declaration(LLVMBackendCompileUnit* unit, BackendError impl_global_declaration(LLVMBackendCompileUnit* unit,
LLVMGlobalScope* scope, LLVMGlobalScope* scope,

View File

@ -6,9 +6,9 @@
#include <llvm-c/Types.h> #include <llvm-c/Types.h>
#include <llvm/backend.h> #include <llvm/backend.h>
#include <llvm/parser.h> #include <llvm/parser.h>
#include <llvm/types.h> #include <llvm/llvm-ir/types.h>
#include <llvm/variables.h> #include <llvm/llvm-ir/variables.h>
#include <llvm/func.h> #include <llvm/llvm-ir/func.h>
#include <set/types.h> #include <set/types.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>