Lines Matching refs:CLG_
678 extern Addr CLG_(bb_base);
679 extern ULong* CLG_(cost_base);
695 extern struct event_sets CLG_(sets);
697 #define fullOffset(group) (CLG_(sets).full->offset[group])
706 void CLG_(set_clo_defaults)(void);
707 void CLG_(update_fn_config)(fn_node*);
708 Bool CLG_(process_cmd_line_option)(Char*);
709 void CLG_(print_usage)(void);
710 void CLG_(print_debug_usage)(void);
713 extern struct cachesim_if CLG_(cachesim);
714 void CLG_(init_eventsets)(void);
717 Bool CLG_(get_debug_info)(Addr, Char filename[FILENAME_LEN],
719 void CLG_(collectBlockInfo)(IRSB* bbIn, UInt*, UInt*, Bool*);
720 void CLG_(set_instrument_state)(Char*,Bool);
721 void CLG_(dump_profile)(Char* trigger,Bool only_current_thread);
722 void CLG_(zero_all_cost)(Bool only_current_thread);
723 Int CLG_(get_dump_counter)(void);
724 void CLG_(fini)(Int exitcode);
727 void CLG_(init_command)(void);
728 void CLG_(check_command)(void);
729 void CLG_(finish_command)(void);
732 void CLG_(init_bb_hash)(void);
733 bb_hash* CLG_(get_bb_hash)(void);
734 BB* CLG_(get_bb)(Addr addr, IRSB* bb_in, Bool *seen_before);
735 void CLG_(delete_bb)(Addr addr);
744 void CLG_(init_fn_array)(fn_array*);
745 void CLG_(copy_current_fn_array)(fn_array* dst);
746 fn_array* CLG_(get_current_fn_array)(void);
747 void CLG_(set_current_fn_array)(fn_array*);
748 UInt* CLG_(get_fn_entry)(Int n);
750 void CLG_(init_obj_table)(void);
751 obj_node* CLG_(get_obj_node)(DebugInfo* si);
752 file_node* CLG_(get_file_node)(obj_node*, Char* filename);
753 fn_node* CLG_(get_fn_node)(BB* bb);
756 void CLG_(init_bbcc_hash)(bbcc_hash* bbccs);
757 void CLG_(copy_current_bbcc_hash)(bbcc_hash* dst);
758 bbcc_hash* CLG_(get_current_bbcc_hash)(void);
759 void CLG_(set_current_bbcc_hash)(bbcc_hash*);
760 void CLG_(forall_bbccs)(void (*func)(BBCC*));
761 void CLG_(zero_bbcc)(BBCC* bbcc);
762 BBCC* CLG_(get_bbcc)(BB* bb);
763 BBCC* CLG_(clone_bbcc)(BBCC* orig, Context* cxt, Int rec_index);
764 void CLG_(setup_bbcc)(BB* bb) VG_REGPARM(1);
768 void CLG_(init_jcc_hash)(jcc_hash*);
769 void CLG_(copy_current_jcc_hash)(jcc_hash* dst);
770 jcc_hash* CLG_(get_current_jcc_hash)(void);
771 void CLG_(set_current_jcc_hash)(jcc_hash*);
772 jCC* CLG_(get_jcc)(BBCC* from, UInt, BBCC* to);
775 void CLG_(init_call_stack)(call_stack*);
776 void CLG_(copy_current_call_stack)(call_stack* dst);
777 void CLG_(set_current_call_stack)(call_stack*);
778 call_entry* CLG_(get_call_entry)(Int n);
780 void CLG_(push_call_stack)(BBCC* from, UInt jmp, BBCC* to, Addr sp, Bool skip);
781 void CLG_(pop_call_stack)(void);
782 Int CLG_(unwind_call_stack)(Addr sp, Int);
785 void CLG_(init_fn_stack)(fn_stack*);
786 void CLG_(copy_current_fn_stack)(fn_stack*);
787 fn_stack* CLG_(get_current_fn_stack)(void);
788 void CLG_(set_current_fn_stack)(fn_stack*);
790 void CLG_(init_cxt_table)(void);
791 cxt_hash* CLG_(get_cxt_hash)(void);
792 Context* CLG_(get_cxt)(fn_node** fn);
793 void CLG_(push_cxt)(fn_node* fn);
796 void CLG_(init_threads)(void);
797 thread_info** CLG_(get_threads)(void);
798 thread_info* CLG_(get_current_thread)(void);
799 void CLG_(switch_thread)(ThreadId tid);
800 void CLG_(forall_threads)(void (*func)(thread_info*));
801 void CLG_(run_thread)(ThreadId tid);
803 void CLG_(init_exec_state)(exec_state* es);
804 void CLG_(init_exec_stack)(exec_stack*);
805 void CLG_(copy_current_exec_stack)(exec_stack*);
806 void CLG_(set_current_exec_stack)(exec_stack*);
807 void CLG_(pre_signal)(ThreadId tid, Int sigNum, Bool alt_stack);
808 void CLG_(post_signal)(ThreadId tid, Int sigNum);
809 void CLG_(run_post_signal_on_call_stack_bottom)(void);
812 extern FullCost CLG_(total_cost);
813 void CLG_(init_dumps)(void);
814 Char* CLG_(get_out_file)(void);
815 Char* CLG_(get_out_directory)(void);
821 extern CommandLineOptions CLG_(clo);
822 extern Statistics CLG_(stat);
823 extern EventMapping* CLG_(dumpmap);
826 extern UInt* CLG_(fn_active_array);
827 extern Bool CLG_(instrument_state);
829 extern call_stack CLG_(current_call_stack);
830 extern fn_stack CLG_(current_fn_stack);
831 extern exec_state CLG_(current_state);
832 extern ThreadId CLG_(current_tid);
842 if ( (CLG_(clo).verbose >x) && \
843 (CLG_(stat).bb_executions >= CLG_(clo).verbose_start))
847 CLG_(print_bbno)(); \
853 CLG_(print_context)(); \
854 CLG_(print_bbno)(); \
865 void CLG_(print_bbno)(void);
866 void CLG_(print_context)(void);
867 void CLG_(print_jcc)(int s, jCC* jcc);
868 void CLG_(print_bbcc)(int s, BBCC* bbcc);
869 void CLG_(print_bbcc_fn)(BBCC* bbcc);
870 void CLG_(print_execstate)(int s, exec_state* es);
871 void CLG_(print_eventset)(int s, EventSet* es);
872 void CLG_(print_cost)(int s, EventSet*, ULong* cost);
873 void CLG_(print_bb)(int s, BB* bb);
874 void CLG_(print_bbcc_cost)(int s, BBCC*);
875 void CLG_(print_cxt)(int s, Context* cxt, int rec_index);
876 void CLG_(print_short_jcc)(jCC* jcc);
877 void CLG_(print_stackentry)(int s, int sp);
878 void CLG_(print_addr)(Addr addr);
879 void CLG_(print_addr_ln)(Addr addr);
881 void* CLG_(malloc)(HChar* cc, UWord s, char* f);
882 void* CLG_(free)(void* p, char* f);
884 #define CLG_MALLOC(_cc,x) CLG_(malloc)((_cc),x,__FUNCTION__)
885 #define CLG_FREE(p) CLG_(free)(p,__FUNCTION__)