Loading...
Searching...
No Matches
CodeGen_Targets.h
Go to the documentation of this file.
#ifndef HALIDE_CODEGEN_TARGETS_H
#define HALIDE_CODEGEN_TARGETS_H
/** \file
* Provides constructors for code generators for various targets.
*/
#include <memory>
namespace Halide {
struct Target;
namespace Internal {
class CodeGen_Posix;
/** Construct CodeGen object for a variety of targets. */
std::unique_ptr<CodeGen_Posix> new_CodeGen_ARM(const Target &target);
std::unique_ptr<CodeGen_Posix> new_CodeGen_Hexagon(const Target &target);
std::unique_ptr<CodeGen_Posix> new_CodeGen_PowerPC(const Target &target);
std::unique_ptr<CodeGen_Posix> new_CodeGen_RISCV(const Target &target);
std::unique_ptr<CodeGen_Posix> new_CodeGen_X86(const Target &target);
std::unique_ptr<CodeGen_Posix> new_CodeGen_WebAssembly(const Target &target);
} // namespace Internal
} // namespace Halide
#endif
Halide::Internal::CodeGen_Posix
A code generator that emits posix code from a given Halide stmt.
Definition CodeGen_Posix.h:14
Halide::Internal
Definition AbstractGenerator.h:24
Halide::Internal::new_CodeGen_X86
std::unique_ptr< CodeGen_Posix > new_CodeGen_X86(const Target &target)
Halide::Internal::new_CodeGen_Hexagon
std::unique_ptr< CodeGen_Posix > new_CodeGen_Hexagon(const Target &target)
Halide::Internal::new_CodeGen_RISCV
std::unique_ptr< CodeGen_Posix > new_CodeGen_RISCV(const Target &target)
Halide::Internal::new_CodeGen_WebAssembly
std::unique_ptr< CodeGen_Posix > new_CodeGen_WebAssembly(const Target &target)
Halide::Internal::new_CodeGen_ARM
std::unique_ptr< CodeGen_Posix > new_CodeGen_ARM(const Target &target)
Construct CodeGen object for a variety of targets.
Halide::Internal::new_CodeGen_PowerPC
std::unique_ptr< CodeGen_Posix > new_CodeGen_PowerPC(const Target &target)
Halide
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
Definition AbstractGenerator.h:19
Halide::Target
A struct representing a target machine and os to generate code for.
Definition Target.h:19