FreeBASIC  0.91.0
reg.bi File Reference
#include "ir.bi"
Include dependency graph for reg.bi:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  REG_REG
 
class  REG_REGCTX
 
class  REG_STKCTX
 
class  REGCLASS
 

Macros

#define __REG_BI__
 
#define REG_ISFREE(m, r)   /* ((m and (1 shl r)) <> 0) */
 
#define REG_ISUSED(m, r)   /* ((m and (1 shl r)) = 0) */
 
#define REG_SETFREE(m, r)   /* m or= (1 shl r) */
 
#define REG_SETUSED(m, r)   /* m and= not (1 shl r) */
 

Typedefs

typedef struct integer REG_FREETB
 

Enumerations

enum  REG_SIZEMASK { REG_SIZEMASK_8 = &h0001, REG_SIZEMASK_16 = &h0002, REG_SIZEMASK_32 = &h0004, REG_SIZEMASK_64 = &h0008 }
 

Functions

function_as_REGCLASS_ptr regNewClass (byval_as_integer class, byval_as_integer regs, as_REG_SIZEMASK sizeTb[+1], byval_as_integer isstack[+1])
 
function_as_integer regDelClass (byval_as_REGCLASS_ptr this_)
 

Variables

const VAR REG_MAXREGS = 8
 

Macro Definition Documentation

#define __REG_BI__

Definition at line 2 of file reg.bi.

#define REG_ISFREE (   m,
 
)    /* ((m and (1 shl r)) <> 0) */

Definition at line 322 of file reg.bi.

#define REG_ISUSED (   m,
 
)    /* ((m and (1 shl r)) = 0) */

Definition at line 323 of file reg.bi.

#define REG_SETFREE (   m,
 
)    /* m or= (1 shl r) */

Definition at line 324 of file reg.bi.

#define REG_SETUSED (   m,
 
)    /* m and= not (1 shl r) */

Definition at line 325 of file reg.bi.

Typedef Documentation

typedef struct integer REG_FREETB

Definition at line 178 of file reg.bi.

Enumeration Type Documentation

Enumerator
REG_SIZEMASK_8 
REG_SIZEMASK_16 
REG_SIZEMASK_32 
REG_SIZEMASK_64 

Definition at line 182 of file reg.bi.

Function Documentation

function_as_integer regDelClass ( byval_as_REGCLASS_ptr  this_)

Definition at line 58 of file reg.bas.

Here is the caller graph for this function:

function_as_REGCLASS_ptr regNewClass ( byval_as_integer  class,
byval_as_integer  regs,
as_REG_SIZEMASK  sizeTb[+1],
byval_as_integer  isstack[+1] 
)

Definition at line 31 of file reg.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

const VAR REG_MAXREGS = 8

Definition at line 176 of file reg.bi.