GCC Middle and Back End API Reference
|
#include <vec.h>
Public Types | |
using | value_type = T |
using | iterator = T * |
using | const_iterator = const T * |
Public Member Functions | |
array_slice () | |
template<typename OtherT > | |
array_slice (array_slice< OtherT > other) | |
array_slice (iterator base, unsigned int size) | |
template<size_t N> | |
array_slice (T(&array)[N]) | |
template<typename OtherT > | |
array_slice (const vec< OtherT > &v) | |
template<typename OtherT > | |
array_slice (vec< OtherT > &v) | |
template<typename OtherT , typename A > | |
array_slice (const vec< OtherT, A, vl_embed > *v) | |
template<typename OtherT , typename A > | |
array_slice (vec< OtherT, A, vl_embed > *v) | |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
value_type & | front () |
value_type & | back () |
value_type & | operator[] (unsigned int i) |
const value_type & | front () const |
const value_type & | back () const |
const value_type & | operator[] (unsigned int i) const |
size_t | size () const |
size_t | size_bytes () const |
bool | empty () const |
bool | is_valid () const |
Static Public Member Functions | |
static array_slice | invalid () |
Private Attributes | |
iterator | m_base |
unsigned int | m_size |
Friends | |
template<typename OtherT > | |
class | array_slice |
using array_slice< T >::const_iterator = const T * |
using array_slice< T >::iterator = T * |
using array_slice< T >::value_type = T |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References gcc_checking_assert, array_slice< T >::m_base, and array_slice< T >::m_size.
|
inline |
References gcc_checking_assert, array_slice< T >::m_base, and array_slice< T >::m_size.
|
inline |
References array_slice< T >::m_base.
Referenced by ipa_argagg_value_list::get_elt(), and ipa_argagg_value_list::get_elt_for_index().
|
inline |
References array_slice< T >::m_base.
|
inline |
References array_slice< T >::m_size.
|
inline |
References array_slice< T >::m_base, and array_slice< T >::m_size.
Referenced by ipa_argagg_value_list::get_elt(), ipa_argagg_value_list::get_elt_for_index(), and ipa_argagg_value_list::push_adjusted_values().
|
inline |
References array_slice< T >::m_base, and array_slice< T >::m_size.
|
inline |
References gcc_checking_assert, array_slice< T >::m_base, and array_slice< T >::m_size.
|
inline |
References gcc_checking_assert, array_slice< T >::m_base, and array_slice< T >::m_size.
|
inlinestatic |
Referenced by cov_blocks(), cov_maps(), and cov_masks().
|
inline |
References array_slice< T >::m_base, and array_slice< T >::m_size.
Referenced by branch_prob().
|
inline |
References gcc_checking_assert, i, array_slice< T >::m_base, and array_slice< T >::m_size.
|
inline |
References gcc_checking_assert, i, array_slice< T >::m_base, and array_slice< T >::m_size.
|
inline |
|
inline |
References array_slice< T >::m_size, and T.
Referenced by make_array_slice().
|
private |
Referenced by array_slice< T >::back(), array_slice< T >::back(), array_slice< T >::begin(), array_slice< T >::begin(), array_slice< T >::end(), array_slice< T >::end(), array_slice< T >::front(), array_slice< T >::front(), array_slice< T >::is_valid(), array_slice< T >::operator[](), and array_slice< T >::operator[]().
|
private |
Referenced by array_slice< T >::back(), array_slice< T >::back(), array_slice< T >::empty(), array_slice< T >::end(), array_slice< T >::end(), array_slice< T >::front(), array_slice< T >::front(), array_slice< T >::is_valid(), array_slice< T >::operator[](), array_slice< T >::operator[](), array_slice< T >::size(), and array_slice< T >::size_bytes().