Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

munger_main.cpp File Reference

#include "munger_main.h"

Go to the source code of this file.

Defines

#define MTO_DEBUG   1
#define MIN_OPCODE   436
#define MAX_OPCODE   3041

Functions

void main (int argc, char *argv[])

Variables

AutomatonPatterns
knobsKnobs
machineMach
map< string, vector< insn > > otm_rules
map< string, int > opMap
map< string, int > rule_count
int dom_parallel_ops = 0
int copy_ops_added = 0
int speculated_ops = 0
int livenenss_renamed_ops = 0
int falsedep_renamed_ops = 0
int combine_renamed_ops = 0
int liveness_calls = 0
int rdef_calls = 0
int downward_motion_ops = 0
int unspeculated_ops = 0
int unspeculated_pbr_ops = 0
int dead_ops = 0
int downward_dynamic_op_reduction = 0
int combine_dynamic_op_reduction = 0
int speculative_dynamic_op_increase = 0
int multiway_dynamic_op_reduction = 0
int copy_dynamic_op_increase = 0
int total_branch_multiops = 0
int total_branch_ops = 0
int blocks_removed = 0
int liveness_renamed_ops = 0
clock_t start_live
clock_t finish_rdef
clock_t total_rdef
clock_t finish_live
clock_t clocks_per_sec
clock_t total_live
clock_t start_rdef


Define Documentation

#define MAX_OPCODE   3041
 

Definition at line 16 of file munger_main.cpp.

Referenced by main().

#define MIN_OPCODE   436
 

Definition at line 15 of file munger_main.cpp.

Referenced by main().

#define MTO_DEBUG   1
 

Definition at line 14 of file munger_main.cpp.


Function Documentation

void main int  argc,
char *  argv[]
 

Definition at line 36 of file munger_main.cpp.

References clean_hyperblocks, CleanHB(), exit(), FindMaxOpId(), legoPSet< void * >::GetCount(), legoPSet< void * >::GetItem(), i, InsnVecIter, knob_file, Knobs, LegoRead(), LegoWrite(), Mach, many_to_one, MANY_TO_ONE, MAX_OPCODE, MaxOpId, MIN_OPCODE, MUNG_TYPE, MungManyToOne(), MungOneToMany(), one_to_many, ONE_TO_MANY, opMap, options(), otm_rules, output_file, knobs::Parse(), ParseMap(), Patterns, Automaton::PrintAutomaton(), rule_count, RuleIter, rules_file, SetMungerKnobs(), split_brls, SplitAtBRL(), and usage().


Variable Documentation

int blocks_removed = 0
 

Definition at line 32 of file munger_main.cpp.

clock_t clocks_per_sec
 

Definition at line 33 of file munger_main.cpp.

int combine_dynamic_op_reduction = 0
 

Definition at line 30 of file munger_main.cpp.

int combine_renamed_ops = 0
 

Definition at line 28 of file munger_main.cpp.

int copy_dynamic_op_increase = 0
 

Definition at line 31 of file munger_main.cpp.

int copy_ops_added = 0
 

Definition at line 27 of file munger_main.cpp.

int dead_ops = 0
 

Definition at line 29 of file munger_main.cpp.

int dom_parallel_ops = 0
 

Definition at line 27 of file munger_main.cpp.

int downward_dynamic_op_reduction = 0
 

Definition at line 30 of file munger_main.cpp.

int downward_motion_ops = 0
 

Definition at line 29 of file munger_main.cpp.

int falsedep_renamed_ops = 0
 

Definition at line 28 of file munger_main.cpp.

clock_t finish_live
 

Definition at line 33 of file munger_main.cpp.

clock_t finish_rdef
 

Definition at line 33 of file munger_main.cpp.

knobs* Knobs
 

Definition at line 20 of file munger_main.cpp.

Referenced by BuildDagForRegion(), BuildDagsForProc(), dag::dag(), list_scheduler::GetCandidateNodeTree(), machine::initialize_lmdes(), list_scheduler::IsDominatorParallelwithRename(), list_scheduler::IsDominatorParallelwithRenameGeneral(), list_scheduler::list_scheduler(), machine::machine(), main(), MungManyToOne(), list_scheduler::Rename(), list_scheduler::Schedule(), list_scheduler::ScheduleOp(), ScheduleProc(), ScheduleRegion(), dag_node_ordering::SetKnobs(), list_scheduler::SetKnobs(), machine::SetKnobs(), SetMungerKnobs(), SetValuesForProc(), SetValuesForRegion(), ShowAllParameters(), dag_node_ordering::ShowParameters(), list_scheduler::ShowParameters(), and machine::ShowParameters().

int livenenss_renamed_ops = 0
 

Definition at line 27 of file munger_main.cpp.

int liveness_calls = 0
 

Definition at line 28 of file munger_main.cpp.

int liveness_renamed_ops = 0
 

Definition at line 32 of file munger_main.cpp.

machine* Mach
 

Definition at line 21 of file munger_main.cpp.

Referenced by main(), and MungManyToOne().

int multiway_dynamic_op_reduction = 0
 

Definition at line 31 of file munger_main.cpp.

map<string, int> opMap
 

Definition at line 23 of file munger_main.cpp.

map<string, vector<insn> > otm_rules
 

Definition at line 22 of file munger_main.cpp.

Referenced by main(), and TranslateOp().

Automaton* Patterns
 

Definition at line 19 of file munger_main.cpp.

Referenced by main(), and MungManyToOne().

int rdef_calls = 0
 

Definition at line 28 of file munger_main.cpp.

map<string, int> rule_count
 

Definition at line 24 of file munger_main.cpp.

Referenced by main(), and TranslateOp().

int speculated_ops = 0
 

Definition at line 27 of file munger_main.cpp.

int speculative_dynamic_op_increase = 0
 

Definition at line 30 of file munger_main.cpp.

clock_t start_live
 

Definition at line 33 of file munger_main.cpp.

clock_t start_rdef
 

Definition at line 33 of file munger_main.cpp.

int total_branch_multiops = 0
 

Definition at line 31 of file munger_main.cpp.

int total_branch_ops = 0
 

Definition at line 32 of file munger_main.cpp.

clock_t total_live
 

Definition at line 33 of file munger_main.cpp.

clock_t total_rdef
 

Definition at line 33 of file munger_main.cpp.

int unspeculated_ops = 0
 

Definition at line 29 of file munger_main.cpp.

int unspeculated_pbr_ops = 0
 

Definition at line 29 of file munger_main.cpp.


Generated on Mon Jul 21 20:30:24 2003 for TINKER LEGO DOC by doxygen 1.3.2