Halide 22.0.0 Halide compiler and libraries

OptimizeShuffles.h
Go to the documentation of this file.
1#ifndef OPTIMIZE_SHUFFLES_H
2#define OPTIMIZE_SHUFFLES_H
3
4/** \file
5 * Defines a lowering pass that replace indirect
6 * loads with dynamic_shuffle intrinsics where possible.
7 */
8
9#include "Expr.h"
10
11namespace Halide {
12namespace Internal {
13
14/* Replace indirect loads with dynamic_shuffle intrinsics where
15possible. */
16 Stmt optimize_shuffles(Stmt s, int lut_alignment);
17
18} // namespace Internal
19} // namespace Halide
20
21#endif
Expr.h
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt)
Halide::Internal::optimize_shuffles
Stmt optimize_shuffles(Stmt s, int lut_alignment)
Halide
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
Definition: AbstractGenerator.h:19
Halide::LinkageType::Internal
@ Internal
Not visible externally, similar to 'static' linkage in C.
Halide::Internal::Stmt
A reference-counted handle to a statement node.
Definition: Expr.h:427