Commit 1b44373a authored by Matthias Braun's avatar Matthias Braun
Browse files

ia32: Move encoding related functions from ia32_emitter.[ch] to ia32_encode.[ch]

parent 18909d6a
......@@ -22,6 +22,7 @@
#include "gen_ia32_regalloc_if.h"
#include "ia32_architecture.h"
#include "ia32_emitter.h"
#include "ia32_encode.h"
#include "ia32_finish.h"
#include "ia32_fpu.h"
#include "ia32_new_nodes.h"
......
This diff is collapsed.
......@@ -53,13 +53,17 @@ void ia32_emitf(ir_node const *node, char const *fmt, ...);
void ia32_emit_function(ir_graph *irg);
ir_jit_function_t *ia32_emit_jit(ir_jit_segment_t *segment, ir_graph *irg);
void ia32_emit_jit_function(char *buffer, ir_jit_function_t *function);
void ia32_emit_thunks(void);
/** Initializes the Emitter. */
void ia32_init_emitter(void);
x86_condition_code_t ia32_determine_final_cc(ir_node const *node,
int flags_pos);
void ia32_emit_jumptable_target(ir_entity const *const table,
ir_node const *const proj_x);
bool ia32_should_align_block(ir_node const *block);
#endif
This diff is collapsed.
/*
* This file is part of libFirm.
* Copyright (C) 2016 Matthias Braun
*/
/**
* @file
* @brief ia32 binary encoding/emissiong
* @author Matthias Braun, Christoph Mallon
*/
#ifndef FIRM_BE_IA32_IA32_ENCODE_H
#define FIRM_BE_IA32_IA32_ENCODE_H
#include "firm_types.h"
#include "jit.h"
enum {
IA32_RELOCATION_RELJUMP = 128,
};
ir_jit_function_t *ia32_emit_jit(ir_jit_segment_t *segment, ir_graph *irg);
void ia32_emit_jit_function(char *buffer, ir_jit_function_t *function);
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment