1 #ifndef HALIDE_REMOVE_DEAD_ALLOCATIONS_H 2 #define HALIDE_REMOVE_DEAD_ALLOCATIONS_H This file defines the class FunctionDAG, which is our representation of a Halide pipeline, and contains methods to using Halide's bounds tools to query properties of it.
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt) ...
Stmt remove_dead_allocations(const Stmt &s)
Find Allocate/Free pairs that are never loaded from or stored to, and remove them from the Stmt...
Not visible externally, similar to 'static' linkage in C.