Revision 1644e64926892ded4bb05e7f457783ec2639b96a authored by Fangrui Song on 07 September 2022, 18:28:08 UTC, committed by GitHub on 07 September 2022, 18:28:08 UTC
https://github.com/llvm/llvm-project/commit/93600eb50ceeec83c488ded24fa0fd25f997fec6 renamed ModuleAddressSanitizerPass to AddressSanitizerPass. https://github.com/llvm/llvm-project/commit/4c18670776cd6ac31099a455b2b22b38b0408006 renamed ModuleSanitizerCoveragePass.
1 parent cbe2e63
AddImageChecks.h
#ifndef HALIDE_INTERNAL_ADD_IMAGE_CHECKS_H
#define HALIDE_INTERNAL_ADD_IMAGE_CHECKS_H
/** \file
*
* Defines the lowering pass that adds the assertions that validate
* input and output buffers.
*/
#include <map>
#include <string>
#include <vector>
#include "Bounds.h"
#include "Expr.h"
namespace Halide {
struct Target;
namespace Internal {
class Function;
/** Insert checks to make sure a statement doesn't read out of bounds
* on inputs or outputs, and that the inputs and outputs conform to
* the format required (e.g. stride.0 must be 1).
*/
Stmt add_image_checks(const Stmt &s,
const std::vector<Function> &outputs,
const Target &t,
const std::vector<std::string> &order,
const std::map<std::string, Function> &env,
const FuncValueBounds &fb,
bool will_inject_host_copies);
} // namespace Internal
} // namespace Halide
#endif
Computing file changes ...