CACAO
Functions
codegen-common.cpp File Reference

Go to the source code of this file.

Functions

void codegen_init (void)
 
void codegen_setup (jitdata *jd)
 
static void codegen_reset (jitdata *jd)
 
bool codegen_generate (jitdata *jd)
 
void codegen_close (void)
 
void codegen_increase (codegendata *cd)
 
void codegen_add_branch_ref (codegendata *cd, basicblock *target, s4 condition, s4 reg, u4 options)
 
void codegen_resolve_branchrefs (codegendata *cd, basicblock *bptr)
 
void codegen_branch_label_add (codegendata *cd, s4 label, s4 condition, s4 reg, u4 options)
 
void codegen_finish (jitdata *jd)
 
java_handle_tcodegen_start_native_call (u1 *sp, u1 *pv)
 
java_object_tcodegen_finish_native_call (u1 *sp, u1 *pv)
 
s4 codegen_reg_of_var (u2 opcode, varinfo *v, s4 tempregnum)
 
s4 codegen_reg_of_dst (jitdata *jd, instruction *iptr, s4 tempregnum)
 
static void fixup_exc_handler_interface (jitdata *jd, basicblock *bptr)
 Fix up register locations in the case where control is transferred to an exception handler block via normal control flow (no exception). More...
 
bool codegen_emit (jitdata *jd)
 Generates machine code. More...
 

Function Documentation

void codegen_add_branch_ref ( codegendata cd,
basicblock target,
s4  condition,
s4  reg,
u4  options 
)

Definition at line 405 of file codegen-common.cpp.

void codegen_branch_label_add ( codegendata cd,
s4  label,
s4  condition,
s4  reg,
u4  options 
)

Definition at line 472 of file codegen-common.cpp.

void codegen_close ( void  )

Definition at line 327 of file codegen-common.cpp.

bool codegen_emit ( jitdata jd)

Generates machine code.

< CodeinfoPointer

Definition at line 1099 of file codegen-common.cpp.

void codegen_finish ( jitdata jd)

Definition at line 556 of file codegen-common.cpp.

java_object_t* codegen_finish_native_call ( u1 sp,
u1 pv 
)

Definition at line 967 of file codegen-common.cpp.

bool codegen_generate ( jitdata jd)

Definition at line 265 of file codegen-common.cpp.

void codegen_increase ( codegendata cd)

Definition at line 339 of file codegen-common.cpp.

void codegen_init ( void  )

Definition at line 126 of file codegen-common.cpp.

s4 codegen_reg_of_dst ( jitdata jd,
instruction iptr,
s4  tempregnum 
)

Definition at line 1075 of file codegen-common.cpp.

s4 codegen_reg_of_var ( u2  opcode,
varinfo v,
s4  tempregnum 
)

Definition at line 1055 of file codegen-common.cpp.

static void codegen_reset ( jitdata jd)
static

Definition at line 203 of file codegen-common.cpp.

void codegen_resolve_branchrefs ( codegendata cd,
basicblock bptr 
)

Definition at line 434 of file codegen-common.cpp.

void codegen_setup ( jitdata jd)

Definition at line 138 of file codegen-common.cpp.

java_handle_t* codegen_start_native_call ( u1 sp,
u1 pv 
)

Definition at line 880 of file codegen-common.cpp.

static void fixup_exc_handler_interface ( jitdata jd,
basicblock bptr 
)
static

Fix up register locations in the case where control is transferred to an exception handler block via normal control flow (no exception).

Definition at line 1084 of file codegen-common.cpp.