Halide
Halide::Outputs Struct Reference

A struct specifying a collection of outputs. More...

#include <Outputs.h>

Public Member Functions

Outputs object (const std::string &object_name) const
 Make a new Outputs struct that emits everything this one does and also an object file with the given name. More...
 
Outputs assembly (const std::string &assembly_name) const
 Make a new Outputs struct that emits everything this one does and also an assembly file with the given name. More...
 
Outputs bitcode (const std::string &bitcode_name) const
 Make a new Outputs struct that emits everything this one does and also an llvm bitcode file with the given name. More...
 
Outputs llvm_assembly (const std::string &llvm_assembly_name) const
 Make a new Outputs struct that emits everything this one does and also an llvm assembly file with the given name. More...
 
Outputs c_header (const std::string &c_header_name) const
 Make a new Outputs struct that emits everything this one does and also a C header file with the given name. More...
 
Outputs c_source (const std::string &c_source_name) const
 Make a new Outputs struct that emits everything this one does and also a C source file with the given name. More...
 
Outputs stmt (const std::string &stmt_name) const
 Make a new Outputs struct that emits everything this one does and also a stmt file with the given name. More...
 
Outputs stmt_html (const std::string &stmt_html_name) const
 Make a new Outputs struct that emits everything this one does and also a stmt.html file with the given name. More...
 
Outputs static_library (const std::string &static_library_name) const
 Make a new Outputs struct that emits everything this one does and also a static library file with the given name. More...
 
Outputs schedule (const std::string &schedule_name) const
 Make a new Outputs struct that emits everything this one does and also an auto-schedule output file with the given name. More...
 

Public Attributes

std::string object_name
 The name of the emitted object file. More...
 
std::string assembly_name
 The name of the emitted text assembly file. More...
 
std::string bitcode_name
 The name of the emitted llvm bitcode. More...
 
std::string llvm_assembly_name
 The name of the emitted llvm assembly. More...
 
std::string c_header_name
 The name of the emitted C header file. More...
 
std::string c_source_name
 The name of the emitted C source file. More...
 
std::string stmt_name
 The name of the emitted stmt file. More...
 
std::string stmt_html_name
 The name of the emitted stmt.html file. More...
 
std::string static_library_name
 The name of the emitted static library file. More...
 
std::string schedule_name
 The name of the emitted auto-schedule output file. More...
 

Detailed Description

A struct specifying a collection of outputs.

Used as an argument to Pipeline::compile_to and Func::compile_to and Module::compile.

Definition at line 16 of file Outputs.h.

Member Function Documentation

◆ object()

Outputs Halide::Outputs::object ( const std::string &  object_name) const
inline

Make a new Outputs struct that emits everything this one does and also an object file with the given name.

Definition at line 59 of file Outputs.h.

References object_name.

◆ assembly()

Outputs Halide::Outputs::assembly ( const std::string &  assembly_name) const
inline

Make a new Outputs struct that emits everything this one does and also an assembly file with the given name.

Definition at line 67 of file Outputs.h.

References assembly_name.

◆ bitcode()

Outputs Halide::Outputs::bitcode ( const std::string &  bitcode_name) const
inline

Make a new Outputs struct that emits everything this one does and also an llvm bitcode file with the given name.

Definition at line 75 of file Outputs.h.

References bitcode_name.

◆ llvm_assembly()

Outputs Halide::Outputs::llvm_assembly ( const std::string &  llvm_assembly_name) const
inline

Make a new Outputs struct that emits everything this one does and also an llvm assembly file with the given name.

Definition at line 83 of file Outputs.h.

References llvm_assembly_name.

◆ c_header()

Outputs Halide::Outputs::c_header ( const std::string &  c_header_name) const
inline

Make a new Outputs struct that emits everything this one does and also a C header file with the given name.

Definition at line 91 of file Outputs.h.

References c_header_name.

◆ c_source()

Outputs Halide::Outputs::c_source ( const std::string &  c_source_name) const
inline

Make a new Outputs struct that emits everything this one does and also a C source file with the given name.

Definition at line 99 of file Outputs.h.

References c_source_name.

◆ stmt()

Outputs Halide::Outputs::stmt ( const std::string &  stmt_name) const
inline

Make a new Outputs struct that emits everything this one does and also a stmt file with the given name.

Definition at line 107 of file Outputs.h.

References stmt_name.

◆ stmt_html()

Outputs Halide::Outputs::stmt_html ( const std::string &  stmt_html_name) const
inline

Make a new Outputs struct that emits everything this one does and also a stmt.html file with the given name.

Definition at line 115 of file Outputs.h.

References stmt_html_name.

◆ static_library()

Outputs Halide::Outputs::static_library ( const std::string &  static_library_name) const
inline

Make a new Outputs struct that emits everything this one does and also a static library file with the given name.

Definition at line 123 of file Outputs.h.

References static_library_name.

◆ schedule()

Outputs Halide::Outputs::schedule ( const std::string &  schedule_name) const
inline

Make a new Outputs struct that emits everything this one does and also an auto-schedule output file with the given name.

Definition at line 131 of file Outputs.h.

References schedule_name.

Member Data Documentation

◆ object_name

std::string Halide::Outputs::object_name

The name of the emitted object file.

Empty if no object file output is desired.

Definition at line 19 of file Outputs.h.

Referenced by object().

◆ assembly_name

std::string Halide::Outputs::assembly_name

The name of the emitted text assembly file.

Empty if no assembly file output is desired.

Definition at line 23 of file Outputs.h.

Referenced by assembly().

◆ bitcode_name

std::string Halide::Outputs::bitcode_name

The name of the emitted llvm bitcode.

Empty if no llvm bitcode output is desired.

Definition at line 27 of file Outputs.h.

Referenced by bitcode().

◆ llvm_assembly_name

std::string Halide::Outputs::llvm_assembly_name

The name of the emitted llvm assembly.

Empty if no llvm assembly output is desired.

Definition at line 31 of file Outputs.h.

Referenced by llvm_assembly().

◆ c_header_name

std::string Halide::Outputs::c_header_name

The name of the emitted C header file.

Empty if no C header file output is desired.

Definition at line 35 of file Outputs.h.

Referenced by c_header().

◆ c_source_name

std::string Halide::Outputs::c_source_name

The name of the emitted C source file.

Empty if no C source file output is desired.

Definition at line 39 of file Outputs.h.

Referenced by c_source().

◆ stmt_name

std::string Halide::Outputs::stmt_name

The name of the emitted stmt file.

Empty if no stmt file output is desired.

Definition at line 43 of file Outputs.h.

Referenced by stmt().

◆ stmt_html_name

std::string Halide::Outputs::stmt_html_name

The name of the emitted stmt.html file.

Empty if no stmt.html file output is desired.

Definition at line 47 of file Outputs.h.

Referenced by stmt_html().

◆ static_library_name

std::string Halide::Outputs::static_library_name

The name of the emitted static library file.

Empty if no static library output is desired.

Definition at line 51 of file Outputs.h.

Referenced by static_library().

◆ schedule_name

std::string Halide::Outputs::schedule_name

The name of the emitted auto-schedule output file.

Empty if no auto-schedule output is desired.

Definition at line 55 of file Outputs.h.

Referenced by schedule().


The documentation for this struct was generated from the following file: