Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt)
A reference-counted handle to Halide's internal representation of a function.
std::map< std::string, Function > find_direct_calls(Function f)
Construct a map from name to Function definition object for all Halide functions called directly in t...
std::map< std::string, Function > find_transitive_calls(Function f)
Construct a map from name to Function definition object for all Halide functions called directly in t...
void populate_environment(Function f, std::map< std::string, Function > &env)
Find all Functions transitively referenced by f in any way and add them to the given map.
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
@ Internal
Not visible externally, similar to 'static' linkage in C.