• Home
  • Raw
  • Download

Lines Matching refs:CLG_

666 #define fullOffset(group) (CLG_(sets).full->offset[group])
675 void CLG_(set_clo_defaults)(void);
676 void CLG_(update_fn_config)(fn_node*);
677 Bool CLG_(process_cmd_line_option)(const HChar*);
678 void CLG_(print_usage)(void);
679 void CLG_(print_debug_usage)(void);
682 void CLG_(init_eventsets)(void);
685 Bool CLG_(get_debug_info)(Addr, const HChar **dirname,
688 void CLG_(collectBlockInfo)(IRSB* bbIn, UInt*, UInt*, Bool*);
689 void CLG_(set_instrument_state)(const HChar*,Bool);
690 void CLG_(dump_profile)(const HChar* trigger,Bool only_current_thread);
691 void CLG_(zero_all_cost)(Bool only_current_thread);
692 Int CLG_(get_dump_counter)(void);
693 void CLG_(fini)(Int exitcode);
696 void CLG_(init_bb_hash)(void);
697 bb_hash* CLG_(get_bb_hash)(void);
698 BB* CLG_(get_bb)(Addr addr, IRSB* bb_in, Bool *seen_before);
699 void CLG_(delete_bb)(Addr addr);
708 void CLG_(init_fn_array)(fn_array*);
709 void CLG_(copy_current_fn_array)(fn_array* dst);
710 fn_array* CLG_(get_current_fn_array)(void);
711 void CLG_(set_current_fn_array)(fn_array*);
712 UInt* CLG_(get_fn_entry)(Int n);
714 void CLG_(init_obj_table)(void);
715 obj_node* CLG_(get_obj_node)(DebugInfo* si);
716 file_node* CLG_(get_file_node)(obj_node*, const HChar *dirname,
718 fn_node* CLG_(get_fn_node)(BB* bb);
721 void CLG_(init_bbcc_hash)(bbcc_hash* bbccs);
722 void CLG_(copy_current_bbcc_hash)(bbcc_hash* dst);
723 bbcc_hash* CLG_(get_current_bbcc_hash)(void);
724 void CLG_(set_current_bbcc_hash)(bbcc_hash*);
725 void CLG_(forall_bbccs)(void (*func)(BBCC*));
726 void CLG_(zero_bbcc)(BBCC* bbcc);
727 BBCC* CLG_(get_bbcc)(BB* bb);
728 BBCC* CLG_(clone_bbcc)(BBCC* orig, Context* cxt, Int rec_index);
729 void CLG_(setup_bbcc)(BB* bb) VG_REGPARM(1);
733 void CLG_(init_jcc_hash)(jcc_hash*);
734 void CLG_(copy_current_jcc_hash)(jcc_hash* dst);
735 void CLG_(set_current_jcc_hash)(jcc_hash*);
736 jCC* CLG_(get_jcc)(BBCC* from, UInt, BBCC* to);
739 void CLG_(init_call_stack)(call_stack*);
740 void CLG_(copy_current_call_stack)(call_stack* dst);
741 void CLG_(set_current_call_stack)(call_stack*);
742 call_entry* CLG_(get_call_entry)(Int n);
744 void CLG_(push_call_stack)(BBCC* from, UInt jmp, BBCC* to, Addr sp, Bool skip);
745 void CLG_(pop_call_stack)(void);
746 Int CLG_(unwind_call_stack)(Addr sp, Int);
749 void CLG_(init_fn_stack)(fn_stack*);
750 void CLG_(copy_current_fn_stack)(fn_stack*);
751 void CLG_(set_current_fn_stack)(fn_stack*);
753 void CLG_(init_cxt_table)(void);
754 Context* CLG_(get_cxt)(fn_node** fn);
755 void CLG_(push_cxt)(fn_node* fn);
758 void CLG_(init_threads)(void);
759 thread_info** CLG_(get_threads)(void);
760 thread_info* CLG_(get_current_thread)(void);
761 void CLG_(switch_thread)(ThreadId tid);
762 void CLG_(forall_threads)(void (*func)(thread_info*));
763 void CLG_(run_thread)(ThreadId tid);
765 void CLG_(init_exec_state)(exec_state* es);
766 void CLG_(init_exec_stack)(exec_stack*);
767 void CLG_(copy_current_exec_stack)(exec_stack*);
768 void CLG_(set_current_exec_stack)(exec_stack*);
769 void CLG_(pre_signal)(ThreadId tid, Int sigNum, Bool alt_stack);
770 void CLG_(post_signal)(ThreadId tid, Int sigNum);
771 void CLG_(run_post_signal_on_call_stack_bottom)(void);
774 void CLG_(init_dumps)(void);
780 extern CommandLineOptions CLG_(clo);
781 extern Statistics CLG_(stat);
782 extern EventMapping* CLG_(dumpmap);
785 extern UInt* CLG_(fn_active_array);
786 extern Bool CLG_(instrument_state);
788 extern Int CLG_(min_line_size);
789 extern call_stack CLG_(current_call_stack);
790 extern fn_stack CLG_(current_fn_stack);
791 extern exec_state CLG_(current_state);
792 extern ThreadId CLG_(current_tid);
793 extern FullCost CLG_(total_cost);
794 extern struct cachesim_if CLG_(cachesim);
795 extern struct event_sets CLG_(sets);
798 extern Addr CLG_(bb_base);
799 extern ULong* CLG_(cost_base);
809 if (UNLIKELY( (CLG_(clo).verbose >x) && \
810 (CLG_(stat).bb_executions >= CLG_(clo).verbose_start)))
814 CLG_(print_bbno)(); \
820 CLG_(print_context)(); \
821 CLG_(print_bbno)(); \
832 void CLG_(print_bbno)(void);
833 void CLG_(print_context)(void);
834 void CLG_(print_jcc)(int s, jCC* jcc);
835 void CLG_(print_bbcc)(int s, BBCC* bbcc);
836 void CLG_(print_bbcc_fn)(BBCC* bbcc);
837 void CLG_(print_execstate)(int s, exec_state* es);
838 void CLG_(print_eventset)(int s, EventSet* es);
839 void CLG_(print_cost)(int s, EventSet*, ULong* cost);
840 void CLG_(print_bb)(int s, BB* bb);
841 void CLG_(print_bbcc_cost)(int s, BBCC*);
842 void CLG_(print_cxt)(int s, Context* cxt, int rec_index);
843 void CLG_(print_short_jcc)(jCC* jcc);
844 void CLG_(print_stackentry)(int s, int sp);
845 void CLG_(print_addr)(Addr addr);
846 void CLG_(print_addr_ln)(Addr addr);
848 void* CLG_(malloc)(const HChar* cc, UWord s, const HChar* f);
849 void* CLG_(free)(void* p, const HChar* f);
851 #define CLG_MALLOC(_cc,x) CLG_(malloc)((_cc),x,__FUNCTION__)
852 #define CLG_FREE(p) CLG_(free)(p,__FUNCTION__)