FreeBASIC  0.91.0
emit-private.bi File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  EMITDATATYPE
 

Enumerations

enum  EMITREG_ENUM {
  EMIT_REG_FP0 = 0, EMIT_REG_FP1, EMIT_REG_FP2, EMIT_REG_FP3,
  EMIT_REG_FP4, EMIT_REG_FP5, EMIT_REG_FP6, EMIT_REG_FP7,
  EMIT_REG_EDX = EMIT_REG_FP0, EMIT_REG_EDI, EMIT_REG_ESI, EMIT_REG_ECX,
  EMIT_REG_EBX, EMIT_REG_EAX, EMIT_REG_EBP, EMIT_REG_ESP
}
 

Functions

sub hPrepOperand (byval_as_IRVREG_ptr vreg, byref_as_string operand, byval_as_FB_DATATYPE dtype=FB_DATATYPE_INVALID, byval_as_integer ofs=0, byval_as_integer isaux=FALSE, byval_as_integer addprefix=TRUE)
 
sub hPrepOperand64 (byval_as_IRVREG_ptr vreg, byref_as_string operand1, byref_as_string operand2)
 
sub hPUSH (byval_as_zstring_ptr rname)
 
sub hPOP (byval_as_zstring_ptr rname)
 
function_as_integer hFindRegNotInVreg (byval_as_IRVREG_ptr vreg, byval_as_integer noSIDI=FALSE)
 
function_as_integer hFindFreeReg (byval_as_integer dclass)
 
function_as_integer hIsRegFree (byval_as_integer dclass, byval_as_integer reg)
 
function_as_integer hIsRegInVreg (byval_as_IRVREG_ptr vreg, byval_as_integer reg)
 
function_as_zstring_ptr hGetRegName (byval_as_integer dtype, byval_as_integer reg)
 
sub outp (byval_as_zstring_ptr s)
 
sub hLABEL (byval_as_zstring_ptr label)
 
sub hBRANCH (byval_as_zstring_ptr mnemonic, byval_as_zstring_ptr label)
 
sub hMOV (byval_as_zstring_ptr dname, byval_as_zstring_ptr sname)
 
function_as_integer _init_opFnTB_SSE (byval_as_any_ptr_ptr _opFnTB_SSE)
 

Variables

const VAR COMMA = ", "
 
EMITDATATYPE dtypeTB [toFB_DATATYPES+1]
 
const VAR EMIT_MEMBLOCK_MAXLEN = 16
 
const VAR EMIT_MAXRNAMES = REG_MAXREGS
 
const VAR EMIT_MAXRTABLES = 4
 
const VAR EMIT_LOCSTART = 0
 
const VAR EMIT_ARGSTART = 4 + 4
 

Enumeration Type Documentation

Enumerator
EMIT_REG_FP0 
EMIT_REG_FP1 
EMIT_REG_FP2 
EMIT_REG_FP3 
EMIT_REG_FP4 
EMIT_REG_FP5 
EMIT_REG_FP6 
EMIT_REG_FP7 
EMIT_REG_EDX 
EMIT_REG_EDI 
EMIT_REG_ESI 
EMIT_REG_ECX 
EMIT_REG_EBX 
EMIT_REG_EAX 
EMIT_REG_EBP 
EMIT_REG_ESP 

Definition at line 18 of file emit-private.bi.

Function Documentation

function_as_integer _init_opFnTB_SSE ( byval_as_any_ptr_ptr  _opFnTB_SSE)

Definition at line 2877 of file emit_SSE.bas.

Here is the caller graph for this function:

sub hBRANCH ( byval_as_zstring_ptr  mnemonic,
byval_as_zstring_ptr  label 
)

Definition at line 598 of file emit_x86.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer hFindFreeReg ( byval_as_integer  dclass)

Definition at line 296 of file emit_x86.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer hFindRegNotInVreg ( byval_as_IRVREG_ptr  vreg,
byval_as_integer  noSIDI = FALSE 
)

Definition at line 208 of file emit_x86.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_zstring_ptr hGetRegName ( byval_as_integer  dtype,
byval_as_integer  reg 
)

Definition at line 344 of file emit_x86.bas.

Here is the caller graph for this function:

function_as_integer hIsRegFree ( byval_as_integer  dclass,
byval_as_integer  reg 
)

Definition at line 177 of file emit_x86.bas.

Here is the caller graph for this function:

function_as_integer hIsRegInVreg ( byval_as_IRVREG_ptr  vreg,
byval_as_integer  reg 
)

Definition at line 308 of file emit_x86.bas.

Here is the caller graph for this function:

sub hLABEL ( byval_as_zstring_ptr  label)

Definition at line 195 of file edbg_stab.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub hMOV ( byval_as_zstring_ptr  dname,
byval_as_zstring_ptr  sname 
)

Definition at line 642 of file emit_x86.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub hPOP ( byval_as_zstring_ptr  rname)

Definition at line 628 of file emit_x86.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub hPrepOperand ( byval_as_IRVREG_ptr  vreg,
byref_as_string  operand,
byval_as_FB_DATATYPE  dtype = FB_DATATYPE_INVALID,
byval_as_integer  ofs = 0,
byval_as_integer  isaux = FALSE,
byval_as_integer  addprefix = TRUE 
)

Definition at line 452 of file emit_x86.bas.

Here is the call graph for this function:

sub hPrepOperand64 ( byval_as_IRVREG_ptr  vreg,
byref_as_string  operand1,
byref_as_string  operand2 
)

Definition at line 548 of file emit_x86.bas.

Here is the call graph for this function:

sub hPUSH ( byval_as_zstring_ptr  rname)

Definition at line 614 of file emit_x86.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub outp ( byval_as_zstring_ptr  s)

Definition at line 577 of file emit_x86.bas.

Here is the call graph for this function:

Variable Documentation

const VAR COMMA = ", "

Definition at line 1 of file emit-private.bi.

EMITDATATYPE dtypeTB[toFB_DATATYPES+1]

Definition at line 50 of file emit_x86.bas.

const VAR EMIT_ARGSTART = 4 + 4

Definition at line 16 of file emit-private.bi.

const VAR EMIT_LOCSTART = 0

Definition at line 15 of file emit-private.bi.

const VAR EMIT_MAXRNAMES = REG_MAXREGS

Definition at line 12 of file emit-private.bi.

const VAR EMIT_MAXRTABLES = 4

Definition at line 13 of file emit-private.bi.

const VAR EMIT_MEMBLOCK_MAXLEN = 16

Definition at line 10 of file emit-private.bi.