https://github.com/halide/Halide
Raw File
Tip revision: 1c94a0110ed4df34a2c2136cc7062b4681497ec5 authored by Aelphy on 13 July 2023, 12:29:18 UTC
[xtensa] Added support for a TcmBumpAllocator for Xtensa
Tip revision: 1c94a01
DebugArguments.h
#ifndef HALIDE_INTERNAL_DEBUG_ARGUMENTS_H
#define HALIDE_INTERNAL_DEBUG_ARGUMENTS_H

#include "Target.h"

/** \file
 *
 * Defines a lowering pass that injects debug statements inside a
 * LoweredFunc. Intended to be used when Target::Debug is on.
 */

namespace Halide {
namespace Internal {

struct LoweredFunc;

/** Injects debug prints in a LoweredFunc that describe the target and
 * arguments. Mutates the given func. */
void debug_arguments(LoweredFunc *func, const Target &t);

}  // namespace Internal
}  // namespace Halide

#endif
back to top