Halide 21.0.0
Halide compiler and libraries
Loading...
Searching...
No Matches
Halide::Internal::Simplify::ExprInfo Struct Reference

#include <Simplify_Internal.h>

Classes

struct  BitsKnown

Public Member Functions

void trim_bounds_using_alignment ()
uint64_t largest_power_of_two_factor (uint64_t x) const
void cast_to (Type t)
void intersect (const ExprInfo &other)
BitsKnown to_bits_known (const Type &type) const
void from_bits_known (BitsKnown known, const Type &type)

Public Attributes

ConstantInterval bounds
ModulusRemainder alignment

Detailed Description

Definition at line 39 of file Simplify_Internal.h.

Member Function Documentation

◆ trim_bounds_using_alignment()

◆ largest_power_of_two_factor()

uint64_t Halide::Internal::Simplify::ExprInfo::largest_power_of_two_factor ( uint64_t x) const
inline

Definition at line 83 of file Simplify_Internal.h.

References Halide::Internal::Simplify::x.

Referenced by cast_to().

◆ cast_to()

void Halide::Internal::Simplify::ExprInfo::cast_to ( Type t)
inline

◆ intersect()

void Halide::Internal::Simplify::ExprInfo::intersect ( const ExprInfo & other)
inline

◆ to_bits_known()

BitsKnown Halide::Internal::Simplify::ExprInfo::to_bits_known ( const Type & type) const

◆ from_bits_known()

void Halide::Internal::Simplify::ExprInfo::from_bits_known ( BitsKnown known,
const Type & type )

Member Data Documentation

◆ bounds

◆ alignment


The documentation for this struct was generated from the following file: