GNU PROLOG with UTF8 support
Macros | Functions | Variables
ma_protos.h File Reference
#include "../EnginePl/pl_long.h"
Include dependency graph for ma_protos.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GCCPRINTF(x)
 
#define INL_ACCESS_NAME(p)   (p[0])
 
#define INL_ACCESS_NEXT(p)   (p[1])
 
#define INL_ACCESS_LEVEL(p)   (PlLong) (p[2])
 
#define INL_ACCESS_INFO(p)   (PlLong) (p[3])
 
#define INL_NEXT   ((char *) (0))
 
#define INL_LEVEL(x)   ((char *) (x))
 
#define INL_INFO(x)   ((char *) (x))
 
#define INL_LABEL(x)   ((char *) (x))
 
#define INL_END_FUNC   ((char *) (-1))
 

Functions

void Declare_Initializer (char *initializer_fct)
 
void Call_C (char *fct_name, int fc, int nb_args, int nb_args_in_words, ArgInf arg[])
 
void Switch_Ret (int nb_swt, SwtInf swt[])
 
void Decl_Code (char *name, int prolog, int global)
 
void Decl_Long (char *name, int global, VType vtype, PlLong value)
 
int Is_Code_Defined (char *name)
 
int Get_Long_Infos (char *name, int *global, VType *vtype, int *value)
 
void Label_Printf (char *label,...) GCCPRINTF(1)
 
void Inst_Printf (char *op, char *operands,...) GCCPRINTF(2)
 
void Inst_Out (char *op, char *operands)
 
void Char_Out (char c)
 
void String_Out (char *s)
 
void Int_Out (int d)
 
void Asm_Start (void)
 
void Asm_Stop (void)
 
void Code_Start (char *label, int prolog, int global)
 
void Code_Stop (void)
 
void Label (char *label)
 
void Reload_E_In_Register (void)
 
void Pl_Jump (char *label)
 
void Prep_CP (void)
 
void Here_CP (void)
 
void Pl_Call (char *label)
 
void Pl_Fail (void)
 
void Pl_Ret (void)
 
void Jump (char *label)
 
void Move_From_Reg_X (int index)
 
void Move_From_Reg_Y (int index)
 
void Move_To_Reg_X (int index)
 
void Move_To_Reg_Y (int index)
 
void Call_C_Start (char *fct_name, int fc, int nb_args, int nb_args_in_words, char **p_inline)
 
int Call_C_Arg_Int (int offset, PlLong int_val)
 
int Call_C_Arg_Double (int offset, double dbl_val)
 
int Call_C_Arg_String (int offset, int str_no)
 
int Call_C_Arg_Mem_L (int offset, int adr_of, char *name, int index)
 
int Call_C_Arg_Reg_X (int offset, int adr_of, int index)
 
int Call_C_Arg_Reg_Y (int offset, int adr_of, int index)
 
int Call_C_Arg_Foreign_L (int offset, int adr_of, int index)
 
int Call_C_Arg_Foreign_D (int offset, int adr_of, int index)
 
void Call_C_Invoke (char *fct_name, int fc, int nb_args, int nb_args_in_words)
 
void Call_C_Stop (char *fct_name, int nb_args, char **p_inline)
 
void Call_C_Adjust_Stack (int nb_pushes)
 
void Jump_Ret (void)
 
void Fail_Ret (void)
 
void Move_Ret_To_Mem_L (char *name, int index)
 
void Move_Ret_To_Reg_X (int index)
 
void Move_Ret_To_Reg_Y (int index)
 
void Move_Ret_To_Foreign_L (int index)
 
void Move_Ret_To_Foreign_D (int index)
 
void Cmp_Ret_And_Int (PlLong int_val)
 
void Jump_If_Equal (char *label)
 
void Jump_If_Greater (char *label)
 
void C_Ret (void)
 
void Dico_String_Start (int nb)
 
void Dico_String (int str_no, char *asciiz)
 
void Dico_String_Stop (int nb)
 
void Dico_Long_Start (int nb)
 
void Dico_Long (char *name, int global, VType vtype, PlLong value)
 
void Dico_Long_Stop (int nb)
 
void Data_Start (char *initializer_fct)
 
void Data_Stop (char *initializer_fct)
 

Variables

int can_produce_pic_code
 
char * comment_prefix
 
char * local_symb_prefix
 
int strings_need_null
 
int call_c_reverse_args
 
char * inline_asm_data []
 
int reload_e
 
int pic_code
 

Macro Definition Documentation

#define GCCPRINTF (   x)
#define INL_ACCESS_INFO (   p)    (PlLong) (p[3])
#define INL_ACCESS_LEVEL (   p)    (PlLong) (p[2])
#define INL_ACCESS_NAME (   p)    (p[0])
#define INL_ACCESS_NEXT (   p)    (p[1])
#define INL_END_FUNC   ((char *) (-1))
#define INL_INFO (   x)    ((char *) (x))
#define INL_LABEL (   x)    ((char *) (x))
#define INL_LEVEL (   x)    ((char *) (x))
#define INL_NEXT   ((char *) (0))

Function Documentation

void Asm_Start ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

void Asm_Stop ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

void C_Ret ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

void Call_C ( char *  fct_name,
int  fc,
int  nb_args,
int  nb_args_in_words,
ArgInf  arg[] 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Call_C_Adjust_Stack ( int  nb_pushes)
int Call_C_Arg_Double ( int  offset,
double  dbl_val 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int Call_C_Arg_Foreign_D ( int  offset,
int  adr_of,
int  index 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int Call_C_Arg_Foreign_L ( int  offset,
int  adr_of,
int  index 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int Call_C_Arg_Int ( int  offset,
PlLong  int_val 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int Call_C_Arg_Mem_L ( int  offset,
int  adr_of,
char *  name,
int  index 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int Call_C_Arg_Reg_X ( int  offset,
int  adr_of,
int  index 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int Call_C_Arg_Reg_Y ( int  offset,
int  adr_of,
int  index 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int Call_C_Arg_String ( int  offset,
int  str_no 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Call_C_Invoke ( char *  fct_name,
int  fc,
int  nb_args,
int  nb_args_in_words 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Call_C_Start ( char *  fct_name,
int  fc,
int  nb_args,
int  nb_args_in_words,
char **  p_inline 
)

Here is the caller graph for this function:

void Call_C_Stop ( char *  fct_name,
int  nb_args,
char **  p_inline 
)

Here is the caller graph for this function:

void Char_Out ( char  c)

Here is the caller graph for this function:

void Cmp_Ret_And_Int ( PlLong  int_val)

Here is the call graph for this function:

Here is the caller graph for this function:

void Code_Start ( char *  label,
int  prolog,
int  global 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Code_Stop ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

void Data_Start ( char *  initializer_fct)

Here is the call graph for this function:

Here is the caller graph for this function:

void Data_Stop ( char *  initializer_fct)

Here is the call graph for this function:

Here is the caller graph for this function:

void Decl_Code ( char *  name,
int  prolog,
int  global 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Decl_Long ( char *  name,
int  global,
VType  vtype,
PlLong  value 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Declare_Initializer ( char *  initializer_fct)

Here is the caller graph for this function:

void Dico_Long ( char *  name,
int  global,
VType  vtype,
PlLong  value 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Dico_Long_Start ( int  nb)

Here is the call graph for this function:

Here is the caller graph for this function:

void Dico_Long_Stop ( int  nb)

Here is the call graph for this function:

Here is the caller graph for this function:

void Dico_String ( int  str_no,
char *  asciiz 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Dico_String_Start ( int  nb)

Here is the call graph for this function:

Here is the caller graph for this function:

void Dico_String_Stop ( int  nb)

Here is the caller graph for this function:

void Fail_Ret ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

int Get_Long_Infos ( char *  name,
int *  global,
VType vtype,
int *  value 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Here_CP ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

void Inst_Out ( char *  op,
char *  operands 
)

Here is the caller graph for this function:

void Inst_Printf ( char *  op,
char *  operands,
  ... 
)
void Int_Out ( int  d)

Here is the caller graph for this function:

int Is_Code_Defined ( char *  name)

Here is the call graph for this function:

Here is the caller graph for this function:

void Jump ( char *  label)

Here is the call graph for this function:

Here is the caller graph for this function:

void Jump_If_Equal ( char *  label)

Here is the call graph for this function:

Here is the caller graph for this function:

void Jump_If_Greater ( char *  label)

Here is the call graph for this function:

Here is the caller graph for this function:

void Jump_Ret ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

void Label ( char *  label)

Here is the call graph for this function:

Here is the caller graph for this function:

void Label_Printf ( char *  label,
  ... 
)

Here is the caller graph for this function:

void Move_From_Reg_X ( int  index)

Here is the call graph for this function:

Here is the caller graph for this function:

void Move_From_Reg_Y ( int  index)

Here is the call graph for this function:

Here is the caller graph for this function:

void Move_Ret_To_Foreign_D ( int  index)

Here is the call graph for this function:

Here is the caller graph for this function:

void Move_Ret_To_Foreign_L ( int  index)

Here is the call graph for this function:

Here is the caller graph for this function:

void Move_Ret_To_Mem_L ( char *  name,
int  index 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Move_Ret_To_Reg_X ( int  index)

Here is the call graph for this function:

Here is the caller graph for this function:

void Move_Ret_To_Reg_Y ( int  index)

Here is the call graph for this function:

Here is the caller graph for this function:

void Move_To_Reg_X ( int  index)

Here is the call graph for this function:

Here is the caller graph for this function:

void Move_To_Reg_Y ( int  index)

Here is the call graph for this function:

Here is the caller graph for this function:

void Pl_Call ( char *  label)

Here is the call graph for this function:

Here is the caller graph for this function:

void Pl_Fail ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

void Pl_Jump ( char *  label)

Here is the call graph for this function:

Here is the caller graph for this function:

void Pl_Ret ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

void Prep_CP ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

void Reload_E_In_Register ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

void String_Out ( char *  s)

Here is the caller graph for this function:

void Switch_Ret ( int  nb_swt,
SwtInf  swt[] 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

int call_c_reverse_args
int can_produce_pic_code
char* comment_prefix
char* inline_asm_data[]
char* local_symb_prefix
int pic_code
int reload_e
int strings_need_null