![]() |
GNU PROLOG with UTF8 support
|
#include "../EnginePl/pl_long.h"

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 |
| #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_NEXT ((char *) (0)) |
| void Asm_Start | ( | void | ) |


| void Asm_Stop | ( | void | ) |


| void C_Ret | ( | void | ) |


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


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


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


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


| int Call_C_Arg_Int | ( | int | offset, |
| PlLong | int_val | ||
| ) |


| 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_String | ( | int | offset, |
| int | str_no | ||
| ) |


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


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

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

| void Char_Out | ( | char | c | ) |

| void Cmp_Ret_And_Int | ( | PlLong | int_val | ) |


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


| void Code_Stop | ( | void | ) |


| void Data_Start | ( | char * | initializer_fct | ) |


| void Data_Stop | ( | char * | initializer_fct | ) |


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




| void Declare_Initializer | ( | char * | initializer_fct | ) |



| void Dico_Long_Start | ( | int | nb | ) |


| void Dico_Long_Stop | ( | int | nb | ) |


| void Dico_String | ( | int | str_no, |
| char * | asciiz | ||
| ) |


| void Dico_String_Start | ( | int | nb | ) |


| void Dico_String_Stop | ( | int | nb | ) |

| void Fail_Ret | ( | void | ) |


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


| void Here_CP | ( | void | ) |


| void Inst_Out | ( | char * | op, |
| char * | operands | ||
| ) |

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

| int Is_Code_Defined | ( | char * | name | ) |


| void Jump | ( | char * | label | ) |


| void Jump_If_Equal | ( | char * | label | ) |


| void Jump_If_Greater | ( | char * | label | ) |


| void Jump_Ret | ( | void | ) |


| void Label | ( | char * | label | ) |


| void Label_Printf | ( | char * | label, |
| ... | |||
| ) |

| void Move_From_Reg_X | ( | int | index | ) |


| void Move_From_Reg_Y | ( | int | index | ) |


| void Move_Ret_To_Foreign_D | ( | int | index | ) |


| void Move_Ret_To_Foreign_L | ( | int | index | ) |


| 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_To_Reg_X | ( | int | index | ) |


| void Move_To_Reg_Y | ( | int | index | ) |


| void Pl_Call | ( | char * | label | ) |


| void Pl_Fail | ( | void | ) |


| void Pl_Jump | ( | char * | label | ) |


| void Pl_Ret | ( | void | ) |


| void Prep_CP | ( | void | ) |


| void Reload_E_In_Register | ( | void | ) |


| void String_Out | ( | char * | s | ) |

| void Switch_Ret | ( | int | nb_swt, |
| SwtInf | swt[] | ||
| ) |


| 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 |
1.8.11