Halide
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 
10 namespace Halide {
11 
12 struct Target;
13 
14 namespace Internal {
15 
16 class CodeGen_Posix;
17 
18 /** Construct CodeGen object for a variety of targets. */
19 std::unique_ptr<CodeGen_Posix> new_CodeGen_ARM(const Target &target);
20 std::unique_ptr<CodeGen_Posix> new_CodeGen_Hexagon(const Target &target);
21 std::unique_ptr<CodeGen_Posix> new_CodeGen_PowerPC(const Target &target);
22 std::unique_ptr<CodeGen_Posix> new_CodeGen_RISCV(const Target &target);
23 std::unique_ptr<CodeGen_Posix> new_CodeGen_X86(const Target &target);
24 std::unique_ptr<CodeGen_Posix> new_CodeGen_WebAssembly(const Target &target);
25 
26 } // namespace Internal
27 } // namespace Halide
28 
29 #endif
Halide::Internal::new_CodeGen_WebAssembly
std::unique_ptr< CodeGen_Posix > new_CodeGen_WebAssembly(const Target &target)
Halide::Internal::new_CodeGen_Hexagon
std::unique_ptr< CodeGen_Posix > new_CodeGen_Hexagon(const Target &target)
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::LinkageType::Internal
@ Internal
Not visible externally, similar to 'static' linkage in C.
Halide::Internal::new_CodeGen_X86
std::unique_ptr< CodeGen_Posix > new_CodeGen_X86(const Target &target)
Halide::Internal::new_CodeGen_RISCV
std::unique_ptr< CodeGen_Posix > new_CodeGen_RISCV(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.