CACAO
Macros | Functions
emit.hpp File Reference

Go to the source code of this file.

Macros

#define BRANCH_OPT_XCC   0x1
 
#define BRANCH_OPT_PREDICT   0x2
 
#define BRANCH_OPT_ANNULL   0x4
 
#define BRANCH_CHECKS_XCC(options)   ((options) & BRANCH_OPT_XCC)
 
#define BRANCH_WITH_PREDICT(options)   ((options) & BRANCH_OPT_PREDICT)
 
#define BRANCH_WITH_ANNULL(options)   ((options) & BRANCH_OPT_ANNULL)
 

Functions

void emit_beq_xcc (codegendata *cd, basicblock *target)
 
void emit_bne_xcc (codegendata *cd, basicblock *target)
 
void emit_blt_xcc (codegendata *cd, basicblock *target)
 
void emit_bge_xcc (codegendata *cd, basicblock *target)
 
void emit_bgt_xcc (codegendata *cd, basicblock *target)
 
void emit_ble_xcc (codegendata *cd, basicblock *target)
 

Macro Definition Documentation

#define BRANCH_CHECKS_XCC (   options)    ((options) & BRANCH_OPT_XCC)

Definition at line 38 of file emit.hpp.

#define BRANCH_OPT_ANNULL   0x4

Definition at line 36 of file emit.hpp.

#define BRANCH_OPT_PREDICT   0x2

Definition at line 35 of file emit.hpp.

#define BRANCH_OPT_XCC   0x1

Definition at line 34 of file emit.hpp.

#define BRANCH_WITH_ANNULL (   options)    ((options) & BRANCH_OPT_ANNULL)

Definition at line 44 of file emit.hpp.

#define BRANCH_WITH_PREDICT (   options)    ((options) & BRANCH_OPT_PREDICT)

Definition at line 41 of file emit.hpp.

Function Documentation

void emit_beq_xcc ( codegendata cd,
basicblock target 
)

Definition at line 444 of file emit.cpp.

void emit_bge_xcc ( codegendata cd,
basicblock target 
)

Definition at line 459 of file emit.cpp.

void emit_bgt_xcc ( codegendata cd,
basicblock target 
)

Definition at line 464 of file emit.cpp.

void emit_ble_xcc ( codegendata cd,
basicblock target 
)

Definition at line 469 of file emit.cpp.

void emit_blt_xcc ( codegendata cd,
basicblock target 
)

Definition at line 454 of file emit.cpp.

void emit_bne_xcc ( codegendata cd,
basicblock target 
)

Definition at line 449 of file emit.cpp.