Halide 19.0.0
Halide compiler and libraries
Loading...
Searching...
No Matches
CodeGen_Targets.h
Go to the documentation of this file.
1#ifndef HALIDE_CODEGEN_TARGETS_H
2#define HALIDE_CODEGEN_TARGETS_H
3
4/** \file
5 * Provides constructors for code generators for various targets.
6 */
7
8#include <memory>
9
10namespace Halide {
11
12struct Target;
13
14namespace Internal {
15
16class CodeGen_Posix;
17
18/** Construct CodeGen object for a variety of targets. */
19std::unique_ptr<CodeGen_Posix> new_CodeGen_ARM(const Target &target);
20std::unique_ptr<CodeGen_Posix> new_CodeGen_Hexagon(const Target &target);
21std::unique_ptr<CodeGen_Posix> new_CodeGen_PowerPC(const Target &target);
22std::unique_ptr<CodeGen_Posix> new_CodeGen_RISCV(const Target &target);
23std::unique_ptr<CodeGen_Posix> new_CodeGen_X86(const Target &target);
24std::unique_ptr<CodeGen_Posix> new_CodeGen_WebAssembly(const Target &target);
25
26} // namespace Internal
27} // namespace Halide
28
29#endif
std::unique_ptr< CodeGen_Posix > new_CodeGen_X86(const Target &target)
std::unique_ptr< CodeGen_Posix > new_CodeGen_Hexagon(const Target &target)
std::unique_ptr< CodeGen_Posix > new_CodeGen_RISCV(const Target &target)
std::unique_ptr< CodeGen_Posix > new_CodeGen_WebAssembly(const Target &target)
std::unique_ptr< CodeGen_Posix > new_CodeGen_ARM(const Target &target)
Construct CodeGen object for a variety of targets.
std::unique_ptr< CodeGen_Posix > new_CodeGen_PowerPC(const Target &target)
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
@ Internal
Not visible externally, similar to 'static' linkage in C.
A struct representing a target machine and os to generate code for.
Definition Target.h:19