Halide
|
#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. More... | |
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::Runtime::Internal::aligned_offset(), Halide::Internal::IRHandle::as(), internal_assert, Halide::Type::is_vector(), Halide::Internal::IRMatcher::ramp(), and Halide::Expr::type().
|
inline |
Definition at line 56 of file HexagonAlignment.h.
References Halide::Runtime::Internal::aligned_offset(), Halide::Type::bytes(), and Halide::Internal::BaseExprNode::type.
|
inline |
Definition at line 61 of file HexagonAlignment.h.
References Halide::Runtime::Internal::aligned_offset(), Halide::Type::bytes(), Halide::Expr::type(), and Halide::Internal::Store::value.