17 #ifndef UDF_COMPILER_H
18 #define UDF_COMPILER_H
34 const std::string& clang_path_override =
"");
36 const std::string& clang_path_override,
37 const std::vector<std::string> clang_options);
45 std::pair<std::string, std::string>
compileUdf(
const std::string& udf_file_name)
const;
47 static std::string
getAstFileName(
const std::string& udf_file_name);
53 void generateAST(
const std::string& file_name)
const;
63 std::string compileToNVVMIR(
const std::string& udf_file_name)
const;
std::vector< std::string > clang_options_
static std::string getAstFileName(const std::string &udf_file_name)
int compileFromCommandLine(const std::vector< std::string > &command_line) const
void generateAST(const std::string &file_name) const
UdfCompiler(CudaMgr_Namespace::NvidiaDeviceArch target_arch, const std::string &clang_path_override="")
static std::string genNVVMIRFilename(const std::string &udf_file_name)
std::string compileToLLVMIR(const std::string &udf_file_name) const
static std::string genLLVMIRFilename(const std::string &udf_file_name)
std::pair< std::string, std::string > compileUdf(const std::string &udf_file_name) const