53 class TCETargetMachinePlugin;
74 const std::string& bytecodeFile,
75 const std::string& emulationBytecodeFile,
76 int optLevel,
bool debug =
false,
InterPassData* ipData = NULL);
79 llvm::Module& module, llvm::Module* emulationModule,
81 int optLevel,
bool debug =
false,
InterPassData* ipData = NULL);
84 const std::string& bytecodeFile,
85 const std::string& emulationBytecodeFile,
86 int optLevel = 2,
bool debug =
false, SchedulingPlan* plan = NULL);
LLVMTCECmdLineOptions * options_
static const std::string PLUGIN_PREFIX
static const std::string PLUGIN_SUFFIX
bool useInstalledVersion_
Assume we are running an installed TCE version.
static const TCEString CXX17_FLAG
llvm::TCETargetMachinePlugin * createPlugin()
TCEString cachePath_
Path to the cache where precompiled plugins are stored.
std::string pluginFilename()
TTAProgram::Program * compile(const std::string &bytecodeFile, const std::string &emulationBytecodeFile, int optLevel, bool debug=false, InterPassData *ipData=NULL)
static const std::string TBLGEN_INCLUDES
PluginTools pluginTool_
Plugin tool for loading target machine plugin.
TCEString tempDir_
Directory to store temporary files.
unsigned maxAllocaAlignment(const llvm::Module &mod) const
static OperationDAGSelector::OperationSet llvmRequiredOpset(bool includeFloatOps, bool isLittleEndian, bool bits64)
TTAMachine::Machine * mach_
void setMachine(TTAMachine::Machine &target)
static const TCEString CXX14_FLAG
TTAProgram::Program * schedule(const std::string &bytecodeFile, const std::string &emulationBytecodeFile, int optLevel=2, bool debug=false, SchedulingPlan *plan=NULL)
static const TCEString CXX0X_FLAG
static const TCEString CXX11_FLAG
TCETools::CIStringSet OperationSet