79 :
81 try {
85 << "TCE: unable to load the ADF:" << std::endl
87 }
88
89
90
91
93 std::vector<std::string> args;
94 args.push_back("llc");
95 args.push_back("-O3");
97 args.push_back("--dump-ddgs-dot");
98 args.push_back("--dump-ddgs-xml");
100 args.push_back("--dump-ddgs-dot");
102 args.push_back("--dump-ddgs-xml");
103 }
105 args.push_back("--disable-llvmaa");
106 }
107 try {
112 }
113}
static MachInfoCmdLineOptions options
static void setCmdLineOptions(CmdLineOptions *options_)
static std::ostream & logStream()
void parse(char *argv[], int argc)
std::string errorMessageStack(bool messagesOnly=false) const
std::string errorMessage() const
static Machine * loadFromADF(const std::string &adfFileName)
LLVMTCEIRBuilder * tceIRBuilder_
InterPassData * interPassData_
TTAMachine::Machine * tceMachine_
static cl::opt< bool > DumpDDGDot("dump-ddgs-dot", cl::desc("Write out Data Dependence Graph of processed procedures in dot format."))
static cl::opt< bool > DumpDDGXML("dump-ddgs-xml", cl::desc("Write out Data Dependence Graph of processed procedures in XML format."))
static cl::opt< bool > DisableLLVMAA("disable-llvmaa", cl::desc("Disables use of LLVM Alias Analysis information."))
static cl::opt< std::string > ADFLocation("adf", cl::desc("The TCE architecture definition file."), cl::init(""), cl::Hidden)
static cl::opt< bool > DumpDDG("dump-ddgs", cl::desc("Equivalent to --dump-ddgs-dot --dump-ddgs-xml."))