Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
llvm_vecsmall::SmallVectorBase Class Reference

This is all the non-templated stuff common to all SmallVectors. More...

#include <SmallVector.h>

Inheritance diagram for llvm_vecsmall::SmallVectorBase:
Inheritance graph
[legend]

Public Member Functions

size_t capacity_in_bytes () const
 capacity_in_bytes - This returns capacity()*sizeof(T). More...
 
LLVM_VECSMALL_NODISCARD bool empty () const
 
size_t size_in_bytes () const
 This returns size()*sizeof(T). More...
 

Protected Member Functions

void grow_pod (void *FirstEl, size_t MinSizeInBytes, size_t TSize)
 
 SmallVectorBase (void *FirstEl, size_t Size)
 

Protected Attributes

void * BeginX
 
void * CapacityX
 
void * EndX
 

Detailed Description

This is all the non-templated stuff common to all SmallVectors.

Definition at line 62 of file SmallVector.h.

Constructor & Destructor Documentation

◆ SmallVectorBase()

llvm_vecsmall::SmallVectorBase::SmallVectorBase ( void *  FirstEl,
size_t  Size 
)
inlineprotected

Definition at line 68 of file SmallVector.h.

Member Function Documentation

◆ capacity_in_bytes()

size_t llvm_vecsmall::SmallVectorBase::capacity_in_bytes ( ) const
inline

capacity_in_bytes - This returns capacity()*sizeof(T).

Definition at line 85 of file SmallVector.h.

◆ empty()

LLVM_VECSMALL_NODISCARD bool llvm_vecsmall::SmallVectorBase::empty ( ) const
inline

Definition at line 90 of file SmallVector.h.

◆ grow_pod()

void llvm_vecsmall::SmallVectorBase::grow_pod ( void *  FirstEl,
size_t  MinSizeInBytes,
size_t  TSize 
)
inlineprotected

This is an implementation of the grow() method which only works on POD-like data types and is out of line to reduce code duplication.

grow_pod - This is an implementation of the grow() method which only works on POD-like datatypes and is out of line to reduce code duplication.

Definition at line 1137 of file SmallVector.h.

◆ size_in_bytes()

size_t llvm_vecsmall::SmallVectorBase::size_in_bytes ( ) const
inline

This returns size()*sizeof(T).

Definition at line 79 of file SmallVector.h.

Member Data Documentation

◆ BeginX

void* llvm_vecsmall::SmallVectorBase::BeginX
protected

Definition at line 65 of file SmallVector.h.

◆ CapacityX

void * llvm_vecsmall::SmallVectorBase::CapacityX
protected

Definition at line 65 of file SmallVector.h.

◆ EndX

void * llvm_vecsmall::SmallVectorBase::EndX
protected

Definition at line 65 of file SmallVector.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Aug 11 2024 02:24:30