https://github.com/halide/Halide
Raw File
Tip revision: 5919b14eea78c52df561d738a1f7c51be7fd0fdf authored by Derek Gerstmann on 09 February 2024, 22:57:21 UTC
Formatting pass
Tip revision: 5919b14
OptimizeShuffles.h
#ifndef OPTIMIZE_SHUFFLES_H
#define OPTIMIZE_SHUFFLES_H

/** \file
 * Defines a lowering pass that replace indirect
 * loads with dynamic_shuffle intrinsics where possible.
 */

#include "Expr.h"

namespace Halide {
namespace Internal {

/* Replace indirect loads with dynamic_shuffle intrinsics where
possible. */
Stmt optimize_shuffles(Stmt s, int lut_alignment);

}  // namespace Internal
}  // namespace Halide

#endif
back to top