Lines Matching refs:CLG_
685 extern Addr CLG_(bb_base);
686 extern ULong* CLG_(cost_base);
702 extern struct event_sets CLG_(sets);
704 #define fullOffset(group) (CLG_(sets).full->offset[group])
713 void CLG_(set_clo_defaults)(void);
714 void CLG_(update_fn_config)(fn_node*);
715 Bool CLG_(process_cmd_line_option)(Char*);
716 void CLG_(print_usage)(void);
717 void CLG_(print_debug_usage)(void);
720 extern struct cachesim_if CLG_(cachesim);
721 void CLG_(init_eventsets)(void);
724 Bool CLG_(get_debug_info)(Addr, Char filename[FILENAME_LEN],
726 void CLG_(collectBlockInfo)(IRSB* bbIn, UInt*, UInt*, Bool*);
727 void CLG_(set_instrument_state)(Char*,Bool);
728 void CLG_(dump_profile)(Char* trigger,Bool only_current_thread);
729 void CLG_(zero_all_cost)(Bool only_current_thread);
730 Int CLG_(get_dump_counter)(void);
731 void CLG_(fini)(Int exitcode);
734 void CLG_(init_bb_hash)(void);
735 bb_hash* CLG_(get_bb_hash)(void);
736 BB* CLG_(get_bb)(Addr addr, IRSB* bb_in, Bool *seen_before);
737 void CLG_(delete_bb)(Addr addr);
746 void CLG_(init_fn_array)(fn_array*);
747 void CLG_(copy_current_fn_array)(fn_array* dst);
748 fn_array* CLG_(get_current_fn_array)(void);
749 void CLG_(set_current_fn_array)(fn_array*);
750 UInt* CLG_(get_fn_entry)(Int n);
752 void CLG_(init_obj_table)(void);
753 obj_node* CLG_(get_obj_node)(DebugInfo* si);
754 file_node* CLG_(get_file_node)(obj_node*, Char* filename);
755 fn_node* CLG_(get_fn_node)(BB* bb);
758 void CLG_(init_bbcc_hash)(bbcc_hash* bbccs);
759 void CLG_(copy_current_bbcc_hash)(bbcc_hash* dst);
760 bbcc_hash* CLG_(get_current_bbcc_hash)(void);
761 void CLG_(set_current_bbcc_hash)(bbcc_hash*);
762 void CLG_(forall_bbccs)(void (*func)(BBCC*));
763 void CLG_(zero_bbcc)(BBCC* bbcc);
764 BBCC* CLG_(get_bbcc)(BB* bb);
765 BBCC* CLG_(clone_bbcc)(BBCC* orig, Context* cxt, Int rec_index);
766 void CLG_(setup_bbcc)(BB* bb) VG_REGPARM(1);
770 void CLG_(init_jcc_hash)(jcc_hash*);
771 void CLG_(copy_current_jcc_hash)(jcc_hash* dst);
772 jcc_hash* CLG_(get_current_jcc_hash)(void);
773 void CLG_(set_current_jcc_hash)(jcc_hash*);
774 jCC* CLG_(get_jcc)(BBCC* from, UInt, BBCC* to);
777 void CLG_(init_call_stack)(call_stack*);
778 void CLG_(copy_current_call_stack)(call_stack* dst);
779 void CLG_(set_current_call_stack)(call_stack*);
780 call_entry* CLG_(get_call_entry)(Int n);
782 void CLG_(push_call_stack)(BBCC* from, UInt jmp, BBCC* to, Addr sp, Bool skip);
783 void CLG_(pop_call_stack)(void);
784 Int CLG_(unwind_call_stack)(Addr sp, Int);
787 void CLG_(init_fn_stack)(fn_stack*);
788 void CLG_(copy_current_fn_stack)(fn_stack*);
789 fn_stack* CLG_(get_current_fn_stack)(void);
790 void CLG_(set_current_fn_stack)(fn_stack*);
792 void CLG_(init_cxt_table)(void);
793 cxt_hash* CLG_(get_cxt_hash)(void);
794 Context* CLG_(get_cxt)(fn_node** fn);
795 void CLG_(push_cxt)(fn_node* fn);
798 void CLG_(init_threads)(void);
799 thread_info** CLG_(get_threads)(void);
800 thread_info* CLG_(get_current_thread)(void);
801 void CLG_(switch_thread)(ThreadId tid);
802 void CLG_(forall_threads)(void (*func)(thread_info*));
803 void CLG_(run_thread)(ThreadId tid);
805 void CLG_(init_exec_state)(exec_state* es);
806 void CLG_(init_exec_stack)(exec_stack*);
807 void CLG_(copy_current_exec_stack)(exec_stack*);
808 void CLG_(set_current_exec_stack)(exec_stack*);
809 void CLG_(pre_signal)(ThreadId tid, Int sigNum, Bool alt_stack);
810 void CLG_(post_signal)(ThreadId tid, Int sigNum);
811 void CLG_(run_post_signal_on_call_stack_bottom)(void);
814 extern FullCost CLG_(total_cost);
815 void CLG_(init_dumps)(void);
816 Char* CLG_(get_out_file)(void);
817 Char* CLG_(get_out_directory)(void);
823 extern CommandLineOptions CLG_(clo);
824 extern Statistics CLG_(stat);
825 extern EventMapping* CLG_(dumpmap);
828 extern UInt* CLG_(fn_active_array);
829 extern Bool CLG_(instrument_state);
831 extern Int CLG_(min_line_size);
833 extern call_stack CLG_(current_call_stack);
834 extern fn_stack CLG_(current_fn_stack);
835 extern exec_state CLG_(current_state);
836 extern ThreadId CLG_(current_tid);
846 if ( (CLG_(clo).verbose >x) && \
847 (CLG_(stat).bb_executions >= CLG_(clo).verbose_start))
851 CLG_(print_bbno)(); \
857 CLG_(print_context)(); \
858 CLG_(print_bbno)(); \
869 void CLG_(print_bbno)(void);
870 void CLG_(print_context)(void);
871 void CLG_(print_jcc)(int s, jCC* jcc);
872 void CLG_(print_bbcc)(int s, BBCC* bbcc);
873 void CLG_(print_bbcc_fn)(BBCC* bbcc);
874 void CLG_(print_execstate)(int s, exec_state* es);
875 void CLG_(print_eventset)(int s, EventSet* es);
876 void CLG_(print_cost)(int s, EventSet*, ULong* cost);
877 void CLG_(print_bb)(int s, BB* bb);
878 void CLG_(print_bbcc_cost)(int s, BBCC*);
879 void CLG_(print_cxt)(int s, Context* cxt, int rec_index);
880 void CLG_(print_short_jcc)(jCC* jcc);
881 void CLG_(print_stackentry)(int s, int sp);
882 void CLG_(print_addr)(Addr addr);
883 void CLG_(print_addr_ln)(Addr addr);
885 void* CLG_(malloc)(HChar* cc, UWord s, char* f);
886 void* CLG_(free)(void* p, char* f);
888 #define CLG_MALLOC(_cc,x) CLG_(malloc)((_cc),x,__FUNCTION__)
889 #define CLG_FREE(p) CLG_(free)(p,__FUNCTION__)