Halide 22.0.0 Halide compiler and libraries

Loading...
Searching...
No Matches
Namespaces | Functions
FindIntrinsics.h File Reference

Tools to replace common patterns with more readily recognizable intrinsics. More...

`#include "IR.h"`

Go to the source code of this file.

## Namespaces
namespace | Halide
| This file defines the class FunctionDAG, which is our representation of a Halide pipeline, and contains methods to using Halide's bounds tools to query properties of it.
namespace | Halide::Internal

## Functions
Expr | Halide::Internal::lower_widen_right_add (const Expr &a, const Expr &b)
| Implement intrinsics with non-intrinsic using equivalents.
Expr | Halide::Internal::lower_widen_right_mul (const Expr &a, const Expr &b)
Expr | Halide::Internal::lower_widen_right_sub (const Expr &a, const Expr &b)
Expr | Halide::Internal::lower_widening_add (const Expr &a, const Expr &b)
Expr | Halide::Internal::lower_widening_mul (const Expr &a, const Expr &b)
Expr | Halide::Internal::lower_widening_sub (const Expr &a, const Expr &b)
Expr | Halide::Internal::lower_widening_shift_left (const Expr &a, const Expr &b)
Expr | Halide::Internal::lower_widening_shift_right (const Expr &a, const Expr &b)
Expr | Halide::Internal::lower_rounding_shift_left (const Expr &a, const Expr &b)
Expr | Halide::Internal::lower_rounding_shift_right (const Expr &a, const Expr &b)
Expr | Halide::Internal::lower_saturating_add (const Expr &a, const Expr &b)
Expr | Halide::Internal::lower_saturating_sub (const Expr &a, const Expr &b)
Expr | Halide::Internal::lower_saturating_cast (const Type &t, const Expr &a)
Expr | Halide::Internal::lower_halving_add (const Expr &a, const Expr &b)
Expr | Halide::Internal::lower_halving_sub (const Expr &a, const Expr &b)
Expr | Halide::Internal::lower_rounding_halving_add (const Expr &a, const Expr &b)
Expr | Halide::Internal::lower_sorted_avg (const Expr &a, const Expr &b)
Expr | Halide::Internal::lower_mul_shift_right (const Expr &a, const Expr &b, const Expr &q)
Expr | Halide::Internal::lower_rounding_mul_shift_right (const Expr &a, const Expr &b, const Expr &q)
Expr | Halide::Internal::lower_intrinsic (const Call *op)
| Replace one of the above ops with equivalent arithmetic.
Stmt | Halide::Internal::find_intrinsics (const Stmt &s)
| Replace common arithmetic patterns with intrinsics.
Expr | Halide::Internal::find_intrinsics (const Expr &e)
Expr | Halide::Internal::lower_intrinsics (const Expr &e)
| The reverse of find_intrinsics.
Stmt | Halide::Internal::lower_intrinsics (const Stmt &s)

## Detailed Description

Tools to replace common patterns with more readily recognizable intrinsics.

Definition in file FindIntrinsics.h.