Go to the documentation of this file.
36 #include "tce_config.h"
42 "Usage: schedule [OPTION]... SOURCE\n"
43 "Schedule SOURCE binary with the given options\n"
44 "Example: schedule -a mach.adf hello.tpef";
52 "scheduling-window-size";
54 "if-conversion-threshold";
56 "lowmem-mode-threshold";
62 "print-resource-constraints";
65 "dump-ifconversion-cfgs";
95 "The scheduling window size in TTA instructions."));
100 "Use restricted C language keyword in alias analyzis."));
104 SWL_STACK_AA,
"Enable stack alias analyzer. On by default."));
110 "Rename already allocated registers during scheduler"));
115 "The maximum number of moves in an if-structure to predicate "
116 "when if-converting."));
121 "Move count of procedure which activates low-mem mode"
122 "which saves memory from scheduler but "
123 "disables some optimizations."));
127 SWL_OFFSET_AA,
"Enable constant offset alias analyzer. On by default."));
132 "Rename already allocated registers during scheduler. "
138 "Print out the resource constraints that potentially limit the "
139 "basic block's schedule."));
144 "Dumps the control flow graphs before and after if-conversion."));
149 "Kill dead results after bypass. On by default."));
154 "Bypass distance when dead result elimination can be used"));
159 "Bypass distance when dead result elimination cannot be used"));
164 "Operand sharing max distance"));
169 "List of functions which are scheduled with assumptions "
170 "that there are no aliased memory accesses in these function "
171 "This allows much more aggressive instruction scheduling, "
172 "but will cause broken code if the code contains memory "
173 "aliasing. Use with extreme caution!"));
187 cout <<
"schedule - OpenASIP TTA Scheduler command line interface "
378 for (
int i = 1; i <= opt->
listSize(); ++i) {
379 funcs->insert(opt->
String(i));
static const std::string SWL_RENAME_REGISTERS
bool enableOffsetAA() const
static const std::string SWL_DUMP_IFCONVERSION_CFGS
static const std::string SWL_TARGET_MACHINE
static const std::string SWL_LOWMEM_MODE_THRESHOLD
static const std::string SWL_RESTRICTED_AA
virtual bool isLoopOptDefined() const
SchedulerCmdLineOptions()
static const std::string SWL_RESOURCE_CONSTRAINT_PRINTING
static const std::string USAGE
Description of the command line usage of the Scheduler.
virtual bool killDeadResults() const
static const std::string SWL_NOALIAS_FUNCTIONS
virtual void printVersion() const
virtual bool isFlagOn() const
bool optionGiven(std::string key) const
virtual FunctionNameList * noaliasFunctions() const
bool enableStackAA() const
static const std::string SWL_BYPASS_DISTANCE
virtual int lowMemModeThreshold() const
void addOption(CmdLineOptionParser *opt)
virtual std::string machineFile() const
static const std::string SWL_LOOP_FLAG
virtual int listSize() const
static const std::string SWL_OPERAND_SHARE_DISTANCE
virtual ~SchedulerCmdLineOptions()
SimpleInterPassDatum< std::set< std::string > > FunctionNameList
This datum is set in case the pass should only process (or ignore) certain functions....
static const std::string SWS_TARGET_MACHINE
virtual std::string outputFile() const
virtual bool isMachineFileDefined() const
static const std::string SWL_OUTPUT_FILE
virtual bool isOutputFileDefined() const
static const std::string SWL_KILL_DEAD_RESULTS
static const std::string SWL_SCHEDULING_WINDOW
virtual std::string String(int index=0) const
static const std::string SWL_NO_DRE_BYPASS_DISTANCE
virtual bool renameRegisters() const
static const std::string SWL_STACK_AA
bool printResourceConstraints() const
static const std::string SWL_IF_CONVERSION_THRESHOLD
virtual bool useRestrictedAliasAnalyzer() const
virtual int noDreBypassDistance() const
virtual int bypassDistance() const
virtual int integer(int index=0) const
CmdLineOptionParser * findOption(std::string name) const
static std::string TCEVersionString()
virtual bool dumpIfConversionCFGs() const
static const std::string SWS_OUTPUT_FILE
virtual int operandShareDistance() const
virtual int ifConversionThreshold() const
static const std::string SWL_OFFSET_AA