Lines Matching refs:CLG_
397 void CLG_(update_fn_config)(fn_node* fn)
409 Bool CLG_(process_cmd_line_option)(const HChar* arg)
413 if VG_BOOL_CLO(arg, "--skip-plt", CLG_(clo).skip_plt) {}
415 else if VG_BOOL_CLO(arg, "--collect-jumps", CLG_(clo).collect_jumps) {}
417 else if VG_BOOL_CLO(arg, "--trace-jump", CLG_(clo).collect_jumps) {}
419 else if VG_BOOL_CLO(arg, "--combine-dumps", CLG_(clo).combine_dumps) {}
421 else if VG_BOOL_CLO(arg, "--collect-atstart", CLG_(clo).collect_atstart) {}
423 else if VG_BOOL_CLO(arg, "--instr-atstart", CLG_(clo).instrument_atstart) {}
425 else if VG_BOOL_CLO(arg, "--separate-threads", CLG_(clo).separate_threads) {}
427 else if VG_BOOL_CLO(arg, "--compress-strings", CLG_(clo).compress_strings) {}
428 else if VG_BOOL_CLO(arg, "--compress-mangled", CLG_(clo).compress_mangled) {}
429 else if VG_BOOL_CLO(arg, "--compress-pos", CLG_(clo).compress_pos) {}
455 CLG_(clo).collect_atstart = False;
458 else if VG_INT_CLO(arg, "--separate-recs", CLG_(clo).separate_recursions) {}
461 else if VG_XACT_CLO(arg, "--pop-on-jump", CLG_(clo).pop_on_jump, True) {}
468 else if VG_INT_CLO(arg, "--ct-verbose", CLG_(clo).verbose) {}
469 else if VG_INT_CLO(arg, "--ct-vstart", CLG_(clo).verbose_start) {}
482 CLG_(clo).separate_callers, CONFIG_AUTO) {}
484 CLG_(clo).separate_callers) {}
513 else if VG_STR_CLO(arg, "--callgrind-out-file", CLG_(clo).out_format) {}
515 else if VG_BOOL_CLO(arg, "--mangle-names", CLG_(clo).mangle_names) {}
518 CLG_(clo).skip_direct_recursion) {}
520 else if VG_BOOL_CLO(arg, "--dump-bbs", CLG_(clo).dump_bbs) {}
521 else if VG_BOOL_CLO(arg, "--dump-line", CLG_(clo).dump_line) {}
522 else if VG_BOOL_CLO(arg, "--dump-instr", CLG_(clo).dump_instr) {}
523 else if VG_BOOL_CLO(arg, "--dump-bb", CLG_(clo).dump_bb) {}
525 else if VG_INT_CLO( arg, "--dump-every-bb", CLG_(clo).dump_every_bb) {}
527 else if VG_BOOL_CLO(arg, "--collect-alloc", CLG_(clo).collect_alloc) {}
528 else if VG_BOOL_CLO(arg, "--collect-systime", CLG_(clo).collect_systime) {}
529 else if VG_BOOL_CLO(arg, "--collect-bus", CLG_(clo).collect_bus) {}
531 else if VG_BOOL_CLO(arg, "--cache-sim", CLG_(clo).simulate_cache) {}
533 else if VG_BOOL_CLO(arg, "--simulate-cache", CLG_(clo).simulate_cache) {}
535 else if VG_BOOL_CLO(arg, "--branch-sim", CLG_(clo).simulate_branch) {}
537 Bool isCachesimOption = (*CLG_(cachesim).parse_opt)(arg);
541 CLG_(clo).simulate_cache = True;
549 void CLG_(print_usage)(void)
604 (*CLG_(cachesim).print_opts)();
611 void CLG_(print_debug_usage)(void)
627 void CLG_(set_clo_defaults)(void)
632 CLG_(clo).out_format = 0;
633 CLG_(clo).combine_dumps = False;
634 CLG_(clo).compress_strings = True;
635 CLG_(clo).compress_mangled = False;
636 CLG_(clo).compress_events = False;
637 CLG_(clo).compress_pos = True;
638 CLG_(clo).mangle_names = True;
639 CLG_(clo).dump_line = True;
640 CLG_(clo).dump_instr = False;
641 CLG_(clo).dump_bb = False;
642 CLG_(clo).dump_bbs = False;
644 CLG_(clo).dump_every_bb = 0;
647 CLG_(clo).separate_threads = False;
648 CLG_(clo).collect_atstart = True;
649 CLG_(clo).collect_jumps = False;
650 CLG_(clo).collect_alloc = False;
651 CLG_(clo).collect_systime = False;
652 CLG_(clo).collect_bus = False;
654 CLG_(clo).skip_plt = True;
655 CLG_(clo).separate_callers = 0;
656 CLG_(clo).separate_recursions = 2;
657 CLG_(clo).skip_direct_recursion = False;
660 CLG_(clo).instrument_atstart = True;
661 CLG_(clo).simulate_cache = False;
662 CLG_(clo).simulate_branch = False;
665 CLG_(clo).pop_on_jump = False;
668 CLG_(clo).verbose = 0;
669 CLG_(clo).verbose_start = 0;