Halide 19.0.0
Halide compiler and libraries
|
#include <HexagonAlignment.h>
Public Member Functions | |
HexagonAlignmentAnalyzer (int required_alignment) | |
template<typename T > | |
bool | is_aligned_impl (const T *op, int native_lanes, int64_t *aligned_offset) |
Analyze the index of a load/store instruction for alignment Returns true if it can determing that the address of the store or load is aligned, false otherwise. | |
bool | is_aligned (const Load *op, int64_t *aligned_offset) |
bool | is_aligned (const Store *op, int64_t *aligned_offset) |
Definition at line 14 of file HexagonAlignment.h.
|
inline |
Definition at line 18 of file HexagonAlignment.h.
References internal_assert.
|
inline |
Analyze the index of a load/store instruction for alignment Returns true if it can determing that the address of the store or load is aligned, false otherwise.
Definition at line 27 of file HexagonAlignment.h.
References Halide::Internal::IRHandle::as(), internal_assert, Halide::Type::is_vector(), and Halide::Expr::type().
Referenced by is_aligned(), and is_aligned().
|
inline |
Definition at line 56 of file HexagonAlignment.h.
References Halide::Type::bytes(), is_aligned_impl(), and Halide::Internal::BaseExprNode::type.
|
inline |
Definition at line 61 of file HexagonAlignment.h.
References Halide::Type::bytes(), is_aligned_impl(), Halide::Expr::type(), and Halide::Internal::Store::value.