60 std::cerr << std::forward<T>(x);
84template<
typename StreamT,
typename T>
88 for (
const auto &e : wrapper.
span) {
118template<
typename StreamT,
typename T>
121 for (
const auto &e : wrapper.
span) {
122 stream <<
"\t" << e <<
",\n";
For optional debugging during codegen, use the debug class as follows:
debug & operator<<(T &&x)
PrintSpanLn(const T &) -> PrintSpanLn< T >
ConstantInterval operator<<(const ConstantInterval &a, const ConstantInterval &b)
PrintSpan(const T &) -> PrintSpan< T >
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
@ Internal
Not visible externally, similar to 'static' linkage in C.
std::ostream & operator<<(std::ostream &stream, const Expr &)
Emit an expression on an output stream (such as std::cout) in human-readable form.
A fragment of Halide syntax.
Definition of a lowered function.
Allow easily printing the contents of containers, or std::vector-like containers, in debug output.
Allow easily printing the contents of spans, or std::vector-like spans, in debug output.
PrintSpanLn(const T &span)
A reference-counted handle to a statement node.
A struct representing a target machine and os to generate code for.
Types in the halide type system.