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_transitive_calls(const Function &f)
Construct a map from name to Function definition object for all Halide functions called directly in t...
std::map< std::string, Function > build_environment(const std::vector< Function > &funcs)
Find all Functions transitively referenced by any Function in funcs and return a map of them.
std::vector< Function > called_funcs_in_order_found(const std::vector< Function > &funcs)
Returns the same Functions as build_environment, but returns a vector of Functions instead,...
std::map< std::string, Function > find_direct_calls(const Function &f)
Construct a map from name to Function definition object for all Halide functions called directly in 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.