static.h
Go to the documentation of this file.00001 #ifndef __STATIC_H__
00002 #define __STATIC_H__
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00026 #include "defines.h"
00027
00028
00030 static_expr* static_expr_gen_unary(
00031 static_expr* stexp,
00032 exp_op_type op,
00033 int line,
00034 int first,
00035 int last
00036 );
00037
00039 static_expr* static_expr_gen(
00040 static_expr* right,
00041 static_expr* left,
00042 int op,
00043 int line,
00044 int first,
00045 int last,
00046 char* func_name
00047 );
00048
00050 void static_expr_calc_lsb_and_width_pre(
00051 static_expr* left,
00052 static_expr* right,
00053 unsigned int* width,
00054 int* lsb,
00055 int* big_endian
00056 );
00057
00059 void static_expr_calc_lsb_and_width_post(
00060 static_expr* left,
00061 static_expr* right,
00062 unsigned int* width,
00063 int* lsb,
00064 int* big_endian
00065 );
00066
00068 void static_expr_dealloc(
00069 static_expr* stexp,
00070 bool rm_exp
00071 );
00072
00073 #endif
00074