NAPA Compiler V4.50
Author: Yves Leduc, yves.leduc.be@gmail.com
|
Go to the source code of this file.
Macros | |
#define | EXTERN extern |
#define | IS_IDENTIFIER(x) |
#define | IS_NAPA_PREFIX() |
#define | IS_DEBUG_PREFIX() |
#define | IS_COMPILE_PREFIX() |
Functions | |
void | flag_node (long num) |
int | is_node_flagged (long num) |
void | strcpy_alloc (char **dest, const char *sour, const unsigned long *mlin, const unsigned long *mfil) |
void | strcpy_realloc (char **dest, const char *sour, const unsigned long *mlin, const unsigned long *mfil) |
void | increment_alias_number (const char *kind) |
void | increment_array_number (const char *kind) |
void | increment_assert_number (const char *kind) |
void | increment_call_number (const char *kind) |
void | increment_cmdline_number (const char *kind) |
void | increment_comment_number (const char *kind) |
void | increment_common_number (const char *kind) |
void | increment_debug_number (const char *kind) |
void | increment_declare_number (const char *kind) |
void | increment_directive_number (const char *kind) |
void | increment_export_number (const char *kind) |
void | increment_filecell_number (const char *kind) |
void | increment_function_number (const char *kind) |
void | increment_generator_number (const char *kind) |
void | increment_group_number (const char *kind) |
void | increment_header_number (const char *kind) |
void | increment_init_number (const char *kind) |
void | increment_inject_number (const char *kind) |
void | increment_instance_number (const char *kind) |
void | increment_IO_number (const char *kind) |
void | increment_node_number (const char *kind) |
void | increment_opcode_number (const char *kind) |
void | increment_post_number (const char *kind) |
void | increment_record_number (const char *kind) |
void | increment_restart_number (const char *kind) |
void | increment_segment_number (const char *kind) |
void | increment_stuck_number (const char *kind) |
void | increment_tool_number (const char *kind) |
void | increment_update_number (const char *kind) |
void | increment_usertool_number (const char *kind) |
void | increment_var_number (const char *kind) |
void | increment_const_number (void) |
void | increment_void_number (void) |
int | sort_names (const void *a, const void *b) |
void | swap_delay_inputs (long i, long j) |
void | swap_nodes (long i, long j) |
void | swap_records (long i, long j) |
void | swap_vars (long i, long j) |
void | swap_updates (long i, long j) |
long | alias_id (const char *identifier) |
long | array_id (const char *identifier) |
long | array_name_id (const char *identifier) |
long | cmdline_id (const char *identifier) |
long | debug_id (const char *identifier) |
long | declare_id (const char *identifier) |
long | directive_id (const char *identifier) |
long | node_id (const char *identifier) |
long | op_id (const char *identifier) |
long | postprocess_id (const char *identifier) |
long | record_id (const char *identifier) |
long | update_id (const char *identifier, long num) |
long | user_id (const char *identifier) |
long | var_id (const char *identifier) |
void | mark_updates_if_constant (void) |
void | mark_constants (void) |
int | variable_update_block (void) |
int | node_update_block (void) |
int | time_output_block (void) |
long | constant_type (char *identifier) |
long | get_type (char *identifier) |
long | usertool_num (const char *nam) |
long | node_kind (const char *identifier) |
int | is_a_known_function (const char *identifier) |
int | is_a_known_pure_function (const char *identifier) |
int | is_an_instruction (const char *identifier) |
int | is_a_keyword (const char *identifier) |
int | is_an_operator (const char *identifier) |
int | is_a_constant_or_a_macro_constant (const char *identifier) |
int | is_a_modifier (const char *identifier) |
#define IS_COMPILE_PREFIX | ( | ) |
Definition at line 94 of file id.c.
Referenced by is_a_keyword().
#define IS_DEBUG_PREFIX | ( | ) |
Definition at line 93 of file id.c.
Referenced by is_a_keyword().
#define IS_IDENTIFIER | ( | x | ) |
Definition at line 90 of file id.c.
Referenced by alias_id(), array_id(), array_name_id(), constant_type(), debug_id(), declare_id(), directive_id(), is_a_constant_or_a_macro_constant(), is_a_keyword(), is_a_known_function(), is_a_known_pure_function(), is_a_modifier(), is_an_instruction(), is_an_operator(), node_id(), node_kind(), op_id(), postprocess_id(), record_id(), update_id(), user_id(), and var_id().
#define IS_NAPA_PREFIX | ( | ) |
Definition at line 92 of file id.c.
Referenced by is_a_keyword().
long alias_id | ( | const char * | identifier | ) |
Definition at line 624 of file id.c.
References Alias_List, IS_IDENTIFIER, Num_Aliases, and UNDEFINED.
Referenced by get_alias(), get_array(), get_directive(), get_node(), and get_var().
long array_id | ( | const char * | identifier | ) |
Definition at line 635 of file id.c.
References Array_List, IS_IDENTIFIER, Num_Arrays, and UNDEFINED.
Referenced by build_name(), check_array_usage(), check_syntax(), get_alias(), get_array(), get_debug(), get_directive(), get_node(), get_type(), get_var(), node_determination(), print_ram(), print_rom(), print_usertool(), record_function_identifier(), syntax_nodes(), and syntax_updates().
long array_name_id | ( | const char * | identifier | ) |
Definition at line 646 of file id.c.
References Array_List, IS_IDENTIFIER, Num_Arrays, and UNDEFINED.
Referenced by check_array_usage().
long cmdline_id | ( | const char * | identifier | ) |
Definition at line 657 of file id.c.
References Cmdline_Flag, Cmdline_List, Num_Cmdlines, STRLENGTH, UNDEFINED, var_id(), and Var_List.
Referenced by build_usage_comment(), and get_command_line().
long constant_type | ( | char * | identifier | ) |
Definition at line 1130 of file id.c.
References ANALOG_DATA_TYPE, DIGITAL_DATA_TYPE, HEX_DATA_TYPE, IS_IDENTIFIER, ISNOTEQUAL, LENGTH, STRING_DATA_TYPE, and UNKNOWN_TYPE.
Referenced by build_update(), check_syntax(), declaration_type_A(), declare_a_digital_node(), expand_indirections(), get_data(), get_fs_ts(), get_type(), mark_updates_if_constant(), print_bshift(), print_rlshift(), print_rshift1(), print_rshift2(), process_cell(), purge_constants_in_ganging(), purge_constants_in_options(), reset_a_digital_node(), reset_arrays_function(), and syntax_records().
long debug_id | ( | const char * | identifier | ) |
Definition at line 685 of file id.c.
References Debug_List, IS_IDENTIFIER, Num_Debugs, and UNDEFINED.
Referenced by define_macros(), and get_debug().
long declare_id | ( | const char * | identifier | ) |
Definition at line 696 of file id.c.
References Declare_List, IS_IDENTIFIER, Num_Declares, and UNDEFINED.
long directive_id | ( | const char * | identifier | ) |
Definition at line 707 of file id.c.
References Directive_List, IS_IDENTIFIER, Num_Directives, and UNDEFINED.
Referenced by build_main_loop_time(), complete_directives(), define_macros(), dump_function(), expand_indirections(), get_alias(), get_array(), get_debug(), get_directive(), get_function_identifier(), get_node(), get_var(), and mark_directives().
void flag_node | ( | long | num | ) |
Definition at line 99 of file id.c.
References Node_List.
Referenced by authorize_option(), check_syntax(), check_types(), redefine_nodes(), something_else(), and syntax_nodes().
long get_type | ( | char * | identifier | ) |
Definition at line 1190 of file id.c.
References ANALOG_DATA_TYPE, array_id(), Array_List, constant_type(), DIGITAL_DATA_TYPE, node_id(), Node_List, UNDEFINED, var_id(), and Var_List.
Referenced by build_name(), build_update(), check_types(), collect_export_definitions(), declaration_type_B(), expand_indirections(), get_post(), mark_updates_if_constant(), print_equal(), print_output_banner_2(), print_rect(), reset_arrays_function(), reset_records_function(), and syntax_directives().
void increment_alias_number | ( | const char * | kind | ) |
Definition at line 150 of file id.c.
References MAXALIASES, Num_Aliases, print_error_banner_and_exit(), print_limits(), and STDERR.
Referenced by get_alias().
void increment_array_number | ( | const char * | kind | ) |
Definition at line 163 of file id.c.
References MAXARRAYS, Num_Arrays, print_error_banner_and_exit(), print_limits(), and STDERR.
Referenced by get_array().
void increment_assert_number | ( | const char * | kind | ) |
Definition at line 176 of file id.c.
References MAXUPDATES, Num_Asserts, Num_Updates, print_error_banner_and_exit(), print_limits(), and STDERR.
Referenced by get_assert().
void increment_call_number | ( | const char * | kind | ) |
Definition at line 189 of file id.c.
References MAXUPDATES, Num_Calls, Num_Updates, print_error_banner_and_exit(), print_limits(), and STDERR.
Referenced by get_call().
void increment_cmdline_number | ( | const char * | kind | ) |
Definition at line 202 of file id.c.
References MAXCMDLINES, Num_Cmdlines, print_error_banner_and_exit(), print_limits(), and STDERR.
Referenced by get_command_line().
void increment_comment_number | ( | const char * | kind | ) |
Definition at line 215 of file id.c.
References MAXCOMMENTS, Num_Comments, print_error_banner_and_exit(), print_limits(), and STDERR.
Referenced by get_comment().
void increment_common_number | ( | const char * | kind | ) |
Definition at line 228 of file id.c.
References MAXDECLARECOMMONS, Num_Declare_Commons, print_error_banner_and_exit(), print_limits(), and STDERR.
Referenced by get_declare().
void increment_const_number | ( | void | ) |
Definition at line 558 of file id.c.
References Num_Consts.
Referenced by create_constant_var().
void increment_debug_number | ( | const char * | kind | ) |
Definition at line 241 of file id.c.
References MAXDEBUGS, Num_Debugs, print_error_banner_and_exit(), print_limits(), and STDERR.
Referenced by get_debug().
void increment_declare_number | ( | const char * | kind | ) |
Definition at line 254 of file id.c.
References MAXDECLARES, Num_Declares, print_error_banner_and_exit(), print_limits(), and STDERR.
Referenced by get_declare().
void increment_directive_number | ( | const char * | kind | ) |
Definition at line 267 of file id.c.
References MAXDIRS, Num_Directives, print_error_banner_and_exit(), print_limits(), and STDERR.
Referenced by complete_directives(), and get_directive().
void increment_export_number | ( | const char * | kind | ) |
Definition at line 280 of file id.c.
References MAXEXPORTS, Num_Exports, print_error_banner_and_exit(), print_limits(), and STDERR.
Referenced by get_export().
void increment_filecell_number | ( | const char * | kind | ) |
Definition at line 293 of file id.c.
References MAXFILECELLS, Num_FileCells, print_error_banner_and_exit(), print_limits(), and STDERR.
Referenced by record_file_nam().
void increment_function_number | ( | const char * | kind | ) |
Definition at line 306 of file id.c.
References Function_Flag, MAXFUNCTIONS, Num_Functions, print_error_banner_and_exit(), print_limits(), and STDERR.
Referenced by record_function_identifier().
void increment_generator_number | ( | const char * | kind | ) |
Definition at line 320 of file id.c.
References MAXINSTANCES, Num_Generators, and STDERR.
Referenced by process_gen().
void increment_group_number | ( | const char * | kind | ) |
Definition at line 334 of file id.c.
References MAXGROUPS, Num_Groups, print_error_banner_and_exit(), print_limits(), and STDERR.
Referenced by get_post().
void increment_header_number | ( | const char * | kind | ) |
Definition at line 347 of file id.c.
References MAXHEADERS, Num_Headers, print_error_banner_and_exit(), print_limits(), and STDERR.
Referenced by get_header().
void increment_init_number | ( | const char * | kind | ) |
Definition at line 360 of file id.c.
References MAXVARS, Num_Inits, Num_Vars, print_error_banner_and_exit(), print_limits(), and STDERR.
Referenced by get_declare(), and get_init().
void increment_inject_number | ( | const char * | kind | ) |
Definition at line 373 of file id.c.
References MAXINJECTS, Num_Injects, print_error_banner_and_exit(), print_limits(), and STDERR.
Referenced by get_inject().
void increment_instance_number | ( | const char * | kind | ) |
Definition at line 386 of file id.c.
References MAXINSTANCES, Num_Instances, print_error_banner_and_exit(), print_limits(), and STDERR.
Referenced by record_cell_nam().
void increment_IO_number | ( | const char * | kind | ) |
Definition at line 399 of file id.c.
References MAXIOS, Num_Groups, Num_IOs, print_error_banner_and_exit(), print_limits(), and STDERR.
Referenced by get_input(), and get_output().
void increment_node_number | ( | const char * | kind | ) |
Definition at line 413 of file id.c.
References MAXNODES, Num_Groups, Num_Nodes, print_error_banner_and_exit(), print_limits(), and STDERR.
Referenced by create_automatic_node(), and get_node().
void increment_opcode_number | ( | const char * | kind | ) |
Definition at line 427 of file id.c.
References MAXOPCODES, Num_Opcodes, print_error_banner_and_exit(), print_limits(), and STDERR.
Referenced by get_opcode().
void increment_post_number | ( | const char * | kind | ) |
Definition at line 440 of file id.c.
References MAXPOSTS, Num_Posts, print_error_banner_and_exit(), print_limits(), and STDERR.
Referenced by get_post().
void increment_record_number | ( | const char * | kind | ) |
Definition at line 453 of file id.c.
References MAXRECORDS, Num_Records, print_error_banner_and_exit(), print_limits(), and STDERR.
Referenced by get_array().
void increment_restart_number | ( | const char * | kind | ) |
Definition at line 466 of file id.c.
References MAXUPDATES, Num_Restarts, Num_Updates, print_error_banner_and_exit(), print_limits(), and STDERR.
Referenced by get_restart().
void increment_segment_number | ( | const char * | kind | ) |
Definition at line 479 of file id.c.
References MAXSEGMENTS, Num_Segments, print_error_banner_and_exit(), print_limits(), and STDERR.
Referenced by determine_output_segment_rate(), get_decimate(), get_drop(), get_interpolate(), get_nominal(), and line_parsing().
void increment_stuck_number | ( | const char * | kind | ) |
Definition at line 492 of file id.c.
References MAXSTUCKS, Num_Stucks, print_error_banner_and_exit(), print_limits(), and STDERR.
Referenced by get_stuck().
void increment_tool_number | ( | const char * | kind | ) |
Definition at line 505 of file id.c.
References MAXUSERTOOLS, Num_Tools, print_error_banner_and_exit(), print_limits(), and STDERR.
Referenced by name_mangling().
void increment_update_number | ( | const char * | kind | ) |
Definition at line 518 of file id.c.
References MAXUPDATES, Num_Updates, print_error_banner_and_exit(), print_limits(), and STDERR.
Referenced by get_assert(), get_call(), get_restart(), and get_update().
void increment_usertool_number | ( | const char * | kind | ) |
Definition at line 531 of file id.c.
References MAXUSERTOOLS, Num_UserTools, print_error_banner_and_exit(), print_limits(), STDERR, and UserTool_Flag.
Referenced by name_mangling().
void increment_var_number | ( | const char * | kind | ) |
Definition at line 545 of file id.c.
References MAXVARS, Num_Vars, print_error_banner_and_exit(), print_limits(), and STDERR.
Referenced by create_constant_var(), get_declare(), get_init(), and get_var().
void increment_void_number | ( | void | ) |
Definition at line 564 of file id.c.
References Num_Voids.
Referenced by get_node().
int is_a_constant_or_a_macro_constant | ( | const char * | identifier | ) |
Definition at line 1712 of file id.c.
References IS_IDENTIFIER.
Referenced by mark_updates_if_constant().
int is_a_keyword | ( | const char * | identifier | ) |
Definition at line 1527 of file id.c.
References ERROR, is_a_known_function(), is_an_instruction(), IS_COMPILE_PREFIX, IS_DEBUG_PREFIX, IS_IDENTIFIER, IS_NAPA_PREFIX, node_kind(), UNKNOWN_KIND, and WARNING.
Referenced by get_alias(), get_directive(), get_node(), and get_var().
int is_a_known_function | ( | const char * | identifier | ) |
Definition at line 1346 of file id.c.
References is_a_known_pure_function(), and IS_IDENTIFIER.
Referenced by is_a_keyword(), and record_function_identifier().
int is_a_known_pure_function | ( | const char * | identifier | ) |
Definition at line 1368 of file id.c.
References IS_IDENTIFIER.
Referenced by is_a_known_function(), and mark_updates_if_constant().
int is_a_modifier | ( | const char * | identifier | ) |
Definition at line 1767 of file id.c.
References IS_IDENTIFIER.
Referenced by mark_updates_if_constant().
int is_an_instruction | ( | const char * | identifier | ) |
Definition at line 1468 of file id.c.
References IS_IDENTIFIER.
Referenced by get_debug(), and is_a_keyword().
int is_an_operator | ( | const char * | identifier | ) |
Definition at line 1681 of file id.c.
References IS_IDENTIFIER.
Referenced by mark_updates_if_constant().
int is_node_flagged | ( | long | num | ) |
Definition at line 105 of file id.c.
References Node_List.
Referenced by authorize_option(), check_syntax(), something_else(), and syntax_nodes().
void mark_constants | ( | void | ) |
Definition at line 1064 of file id.c.
References Num_Updates, UNDEFINED, Update_List, var_id(), and Var_List.
Referenced by main().
void mark_updates_if_constant | ( | void | ) |
Definition at line 919 of file id.c.
References CONST_KIND, constant_type(), DC_KIND, get_token(), get_type(), is_a_constant_or_a_macro_constant(), is_a_known_pure_function(), is_a_modifier(), is_an_operator(), ISEMPTY, LINLENGTH, MAYBE, node_id(), Node_List, Num_Updates, Segment_List, STRING_DATA_TYPE, UNDEFINED, UNKNOWN_TYPE, update_id(), Update_List, var_id(), and Var_List.
Referenced by main().
long node_id | ( | const char * | identifier | ) |
Definition at line 718 of file id.c.
References get_token(), IS_IDENTIFIER, ISNOTEMPTY, LINLENGTH, node_id(), Node_List, Num_Nodes, Num_Records, print_error_location(), Record_List, STDERR, STRLENGTH, Tool_Index_Flag, and UNDEFINED.
Referenced by build_cross_reference(), build_input(), build_main_loop_inject(), build_name(), build_node_dependencies(), build_output(), build_to_be_delayed_node_list(), build_update(), call_user_functions(), check_syntax(), check_types(), collect_export_definitions(), create_automatic_node(), declaration_type_A(), declaration_type_B(), declare_a_digital_node(), declare_an_analog_node(), declare_vars(), determine_output_segment_rate(), dump_function(), get_alias(), get_array(), get_debug(), get_directive(), get_node(), get_type(), get_update(), get_var(), inject_nodes(), mark_updates_if_constant(), node_determination(), node_id(), open_IO_files(), open_ping_file(), print_algebra(), print_bshift(), print_C_code_banner_b(), print_change(), print_delay(), print_delay1(), print_delay2(), print_delay3(), print_holdtrack(), print_merge(), print_poly(), print_ram(), print_relay(), print_rip(), print_rlshift(), print_rom(), print_rshift1(), print_rshift2(), print_sign(), print_test(), print_trig(), print_usertool(), print_zero(), process_aliases(), process_condition(), process_init(), record_function_identifier(), redefine_node_segments(), reset_a_dc_node(), reset_a_digital_node(), reset_an_analog_node(), reset_user_variables(), stuck_nodes(), syntax_directives(), syntax_nodes(), and syntax_records().
long node_kind | ( | const char * | identifier | ) |
Definition at line 1236 of file id.c.
References ADC_KIND, ALGEBRA_KIND, ALU_KIND, AND_KIND, AVERAGE_KIND, BSHIFT_KIND, BTOI_KIND, BUF_KIND, BWAND_KIND, BWINV_KIND, BWNAND_KIND, BWNOR_KIND, BWOR_KIND, BWXNOR_KIND, BWXOR_KIND, CELL_KIND, CHG_KIND, CLIP_KIND, CLOCK_KIND, COMP_KIND, CONST_KIND, COPY_KIND, COS_KIND, DAC_KIND, DALGEBRA_KIND, DC_KIND, DELAY_KIND, DIFFERENTIATOR_KIND, DIV_KIND, DTOI_KIND, DTOOL_KIND, DUSER_KIND, EQUAL_KIND, FZAND_KIND, FZBUF_KIND, FZINV_KIND, FZNAND_KIND, FZNOR_KIND, FZOR_KIND, FZXNOR_KIND, FZXOR_KIND, GAIN_KIND, GEN_KIND, HOLD_KIND, IALGEBRA_KIND, INTEGRATOR_KIND, INV_KIND, IS_IDENTIFIER, ITOB_KIND, ITOD_KIND, ITOOL_KIND, IUSER_KIND, LATCH_KIND, LSHIFT_KIND, MAX_KIND, MERGE_KIND, MIN_KIND, MOD_KIND, MULLER_KIND, MUX_KIND, NAND_KIND, NOISE_KIND, NOR_KIND, OFFSET_KIND, OR_KIND, OSC_KIND, POLY_KIND, PROD_KIND, QUANT_KIND, RAM2_KIND, RAM_KIND, RECT_KIND, RELAY_KIND, RIP_KIND, ROM2_KIND, ROM_KIND, RSHIFT1_KIND, RSHIFT2_KIND, RSHIFT_KIND, SIGN_KIND, SIN_KIND, SQUARE_KIND, STEP_KIND, SUB_KIND, SUM_KIND, TEST_KIND, TOGGLE_KIND, TRACK_KIND, TRIANGLE_KIND, TRIG_KIND, UADC_KIND, UDAC_KIND, UNKNOWN_KIND, WSUM_KIND, XNOR_KIND, XOR_KIND, and ZERO_KIND.
Referenced by get_node(), and is_a_keyword().
int node_update_block | ( | void | ) |
Definition at line 1100 of file id.c.
References Num_Segments, and Segment_List.
Referenced by build_main_loop_block2(), and print_C_code_banner_a().
long op_id | ( | const char * | identifier | ) |
Definition at line 774 of file id.c.
References IS_IDENTIFIER, Num_Opcodes, Opcode_List, and UNDEFINED.
Referenced by check_syntax().
long postprocess_id | ( | const char * | identifier | ) |
long record_id | ( | const char * | identifier | ) |
Definition at line 796 of file id.c.
References IS_IDENTIFIER, Num_Records, Record_List, and UNDEFINED.
Referenced by build_name(), build_node_dependencies(), build_record_dependencies(), call_user_functions(), check_record_usage(), expand_records(), get_alias(), get_array(), get_debug(), get_directive(), get_node(), get_var(), print_usertool(), syntax_nodes(), syntax_records(), syntax_updates(), and syntax_variables().
int sort_names | ( | const void * | a, |
const void * | b ) |
Definition at line 572 of file id.c.
Referenced by build_cross_reference(), define_directives(), and print_ping_function().
void strcpy_alloc | ( | char ** | dest, |
const char * | sour, | ||
const unsigned long * | mlin, | ||
const unsigned long * | mfil ) |
Definition at line 114 of file id.c.
References LENGTH, print_error_banner_and_exit(), print_error_location(), and STDERR.
Referenced by complete_directives(), create_automatic_node(), create_constant_var(), define_directives(), expand_dump_definitions(), expand_IO_definitions(), expand_update_definitions(), get_alias(), get_array(), get_assert(), get_call(), get_command_line(), get_debug(), get_declare(), get_directive(), get_drop(), get_dump(), get_export(), get_header(), get_init(), get_inject(), get_input(), get_load(), get_node(), get_opcode(), get_output(), get_ping(), get_post(), get_restart(), get_sampling(), get_stuck(), get_terminate(), get_update(), get_var(), name_mangling(), process_command_line(), record_cell_nam(), record_file_nam(), and record_function_identifier().
void strcpy_realloc | ( | char ** | dest, |
const char * | sour, | ||
const unsigned long * | mlin, | ||
const unsigned long * | mfil ) |
Definition at line 129 of file id.c.
References LENGTH, print_error_banner_and_exit(), print_error_location(), and STDERR.
Referenced by build_usage_comment(), declare_vars(), determine_output_segment_rate(), expand_records(), expand_string_variables(), expand_update_definitions(), get_header(), get_post(), process_aliases(), process_command_line(), process_init(), purge_constants_in_ganging(), purge_constants_in_options(), redefine_node_segments(), redefine_nodes(), separe_qualifiers(), and stuck_nodes().
void swap_delay_inputs | ( | long | i, |
long | j ) |
Definition at line 581 of file id.c.
References Delay_Input.
Referenced by sort_nodes().
void swap_nodes | ( | long | i, |
long | j ) |
Definition at line 590 of file id.c.
References Node_List, and Num_Nodes.
Referenced by node_determination(), and sort_nodes().
void swap_records | ( | long | i, |
long | j ) |
Definition at line 598 of file id.c.
References Num_Records, and Record_List.
Referenced by sort_records().
void swap_updates | ( | long | i, |
long | j ) |
Definition at line 614 of file id.c.
References Num_Updates, and Update_List.
Referenced by sort_updates().
void swap_vars | ( | long | i, |
long | j ) |
int time_output_block | ( | void | ) |
Definition at line 1114 of file id.c.
References Num_Segments, and Segment_List.
Referenced by build_main_loop_block3(), and print_C_code_banner_a().
long update_id | ( | const char * | identifier, |
long | num ) |
Definition at line 807 of file id.c.
References IS_IDENTIFIER, Num_Updates, STRLENGTH, Tool_Index_Flag, UNDEFINED, Update_List, var_id(), and Var_List.
Referenced by build_update_dependencies(), declaration_type_A(), determine_output_segment_rate(), mark_updates_if_constant(), reset_a_digital_node(), reset_an_analog_node(), reset_arrays_function(), reset_user_variables(), and syntax_command_line().
long user_id | ( | const char * | identifier | ) |
Definition at line 844 of file id.c.
References IS_IDENTIFIER, Num_UserTools, UNDEFINED, and UserTool_List.
Referenced by print_usertool().
long usertool_num | ( | const char * | nam | ) |
Definition at line 1224 of file id.c.
References Num_UserTools, and UserTool_List.
Referenced by name_mangling().
long var_id | ( | const char * | identifier | ) |
Definition at line 855 of file id.c.
References get_token(), IS_IDENTIFIER, ISNOTEMPTY, LINLENGTH, Num_Records, Num_Vars, print_error_location(), Record_List, STDERR, STRLENGTH, Tool_Index_Flag, UNDEFINED, var_id(), and Var_List.
Referenced by build_condition(), build_cross_reference(), build_input(), build_main_loop_inject(), build_name(), build_output(), build_update(), build_usage_comment(), build_var_dependencies(), call_user_functions(), check_record_usage(), check_syntax(), close_IO_files(), cmdline_id(), collect_export_definitions(), collect_functions(), command_line_usage_function(), create_automatic_node(), declaration_type_A(), declaration_type_B(), declare_a_digital_node(), declare_an_analog_node(), dump_function(), expand_indirections(), expand_update_definitions(), get_alias(), get_array(), get_data(), get_debug(), get_decimate(), get_directive(), get_dump(), get_interpolate(), get_load(), get_node(), get_ping(), get_post(), get_type(), get_var(), inject_nodes(), mark_constants(), mark_directives(), mark_updates_if_constant(), node_determination(), open_IO_files(), open_ping_file(), print_algebra(), print_C_code_banner_b(), print_delay(), print_output_banner_2(), print_ram(), print_rom(), print_test(), print_usertool(), process_aliases(), process_cell(), process_condition(), process_gen(), record_function_identifier(), redefine_nodes(), reset_a_command_line_parameter(), reset_a_dc_node(), reset_a_digital_node(), reset_an_analog_node(), reset_arrays_function(), reset_user_variables(), stuck_nodes(), syntax_command_line(), syntax_directives(), syntax_records(), syntax_updates(), update_id(), and var_id().
int variable_update_block | ( | void | ) |
Definition at line 1083 of file id.c.
References Inject_Flag, Num_Segments, and Segment_List.
Referenced by build_main_loop_block1(), and print_C_code_banner_a().