Revision 47378ee5bd7cb304be9d61e0a636982c8a2623d0 authored by Steven Johnson on 29 January 2024, 01:28:13 UTC, committed by GitHub on 29 January 2024, 01:28:13 UTC
* Upgrade clang-format and clang-tidy to use LLVM 17 * trigger buildbots * trigger buildbots * trigger buildbots * trigger buildbots * Enable `bugprone-switch-missing-default-case` ...and fix existing warnings. * Update .clang-tidy * Update Parameter.cpp * Update .clang-tidy * Update .clang-tidy * Update .clang-tidy * Update .clang-tidy * Update CPlusPlusMangle.cpp
1 parent 4b2d211
EarlyFree.h
#ifndef HALIDE_EARLY_FREE_H
#define HALIDE_EARLY_FREE_H
/** \file
* Defines the lowering pass that injects markers just after
* the last use of each buffer so that they can potentially be freed
* earlier.
*/
#include "Expr.h"
namespace Halide {
namespace Internal {
/** Take a statement with allocations and inject markers (of the form
* of calls to "mark buffer dead") after the last use of each
* allocation. Targets may use this to free buffers earlier than the
* close of their Allocate node. */
Stmt inject_early_frees(const Stmt &s);
} // namespace Internal
} // namespace Halide
#endif
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...