moved modules for llvm-ir generation into subfolder
This commit is contained in:
parent
e893dd327b
commit
14c5ba320c
|
@ -2,8 +2,8 @@
|
|||
// Created by servostar on 5/28/24.
|
||||
//
|
||||
|
||||
#include <llvm/expr.h>
|
||||
#include <llvm/types.h>
|
||||
#include <llvm/llvm-ir/expr.h>
|
||||
#include <llvm/llvm-ir/types.h>
|
||||
#include <sys/log.h>
|
||||
|
||||
BackendError impl_bitwise_operation([[maybe_unused]] LLVMBackendCompileUnit *unit,
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include <codegen/backend.h>
|
||||
#include <llvm-c/Types.h>
|
||||
#include <llvm/func.h>
|
||||
#include <llvm/llvm-ir/func.h>
|
||||
#include <llvm/parser.h>
|
||||
|
||||
BackendError impl_expr(LLVMBackendCompileUnit *unit, LLVMLocalScope *scope,
|
|
@ -3,9 +3,9 @@
|
|||
#include <codegen/backend.h>
|
||||
#include <llvm-c/Core.h>
|
||||
#include <llvm-c/Types.h>
|
||||
#include <llvm/func.h>
|
||||
#include <llvm/llvm-ir/func.h>
|
||||
#include <llvm/parser.h>
|
||||
#include <llvm/types.h>
|
||||
#include <llvm/llvm-ir/types.h>
|
||||
#include <set/types.h>
|
||||
#include <sys/log.h>
|
||||
|
|
@ -3,11 +3,11 @@
|
|||
//
|
||||
|
||||
#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 <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,
|
||||
const LLVMBuilderRef builder, const LLVMLocalScope *scope,
|
|
@ -1,10 +1,10 @@
|
|||
#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 <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 BITS_PER_BYTE 8
|
|
@ -1,11 +1,11 @@
|
|||
|
||||
#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 <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,
|
||||
LLVMGlobalScope* scope,
|
|
@ -6,9 +6,9 @@
|
|||
#include <llvm-c/Types.h>
|
||||
#include <llvm/backend.h>
|
||||
#include <llvm/parser.h>
|
||||
#include <llvm/types.h>
|
||||
#include <llvm/variables.h>
|
||||
#include <llvm/func.h>
|
||||
#include <llvm/llvm-ir/types.h>
|
||||
#include <llvm/llvm-ir/variables.h>
|
||||
#include <llvm/llvm-ir/func.h>
|
||||
#include <set/types.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
|
Loading…
Reference in New Issue