21 #include "llvm/IR/LLVMContext.h"
22 #include "llvm/IR/Module.h"
23 #include "llvm/Target/TargetMachine.h"
25 #include "Halide/Halide.h"
28 namespace polyhedral {
31 std::unique_ptr<llvm::Module> emitLLVMKernel(
32 const std::string& specializedName,
34 const llvm::DataLayout& dataLayout);
38 static inline void initialize_llvm() {
39 Halide::Internal::CodeGen_LLVM::initialize_llvm();