1#ifndef HALIDE_REMOVE_DEAD_ALLOCATIONS_H
2#define HALIDE_REMOVE_DEAD_ALLOCATIONS_H
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.
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
@ Internal
Not visible externally, similar to 'static' linkage in C.
A reference-counted handle to a statement node.