1#ifndef HALIDE_LLVM_OUTPUTS_H
2#define HALIDE_LLVM_OUTPUTS_H
17class raw_pwrite_stream;
55 const std::string &dst_file,
bool deterministic =
true);
llvm::raw_pwrite_stream LLVMOStream
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
void create_static_library(const std::vector< std::string > &src_files, const Target &target, const std::string &dst_file, bool deterministic=true)
Concatenate the list of src_files into dst_file, using the appropriate static library format for the ...
@ Internal
Not visible externally, similar to 'static' linkage in C.
void compile_llvm_module_to_llvm_assembly(llvm::Module &module, Internal::LLVMOStream &out)
std::unique_ptr< llvm::Module > compile_module_to_llvm_module(const Module &module, llvm::LLVMContext &context)
Generate an LLVM module.
std::unique_ptr< llvm::raw_fd_ostream > make_raw_fd_ostream(const std::string &filename)
Construct an llvm output stream for writing to files.
void compile_llvm_module_to_assembly(llvm::Module &module, Internal::LLVMOStream &out)
void compile_llvm_module_to_object(llvm::Module &module, Internal::LLVMOStream &out)
Compile an LLVM module to native targets (objects, native assembly).
void compile_llvm_module_to_llvm_bitcode(llvm::Module &module, Internal::LLVMOStream &out)
Compile an LLVM module to LLVM targets (bitcode, LLVM assembly).
A struct representing a target machine and os to generate code for.