GCC Middle and Back End API Reference
vrange_allocator Class Reference

#include <value-range-storage.h>

Collaboration diagram for vrange_allocator:

Public Member Functions

 vrange_allocator (bool gc=false)
 
 ~vrange_allocator ()
 
class vrange_storageclone (const vrange &r)
 
vrange_storageclone_varying (tree type)
 
vrange_storageclone_undefined (tree type)
 
void * alloc (size_t size)
 
void free (void *)
 

Private Member Functions

 DISABLE_COPY_AND_ASSIGN (vrange_allocator)
 

Private Attributes

class vrange_internal_allocm_alloc
 

Detailed Description

Support routines for vrange storage.
   Copyright (C) 2022-2025 Free Software Foundation, Inc.
   Contributed by Aldy Hernandez <aldyh@redhat.com>.

This file is part of GCC.

GCC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3, or (at your option)
any later version.

GCC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3.  If not see
<http://www.gnu.org/licenses/>.   

Constructor & Destructor Documentation

◆ vrange_allocator()

vrange_allocator::vrange_allocator ( bool gc = false)

References m_alloc.

Referenced by DISABLE_COPY_AND_ASSIGN().

◆ ~vrange_allocator()

vrange_allocator::~vrange_allocator ( )

References m_alloc.

Member Function Documentation

◆ alloc()

void * vrange_allocator::alloc ( size_t size)

References m_alloc.

Referenced by sbr_vector::sbr_vector().

◆ clone()

vrange_storage * vrange_allocator::clone ( const vrange & r)

References vrange_storage::alloc(), m_alloc, and r.

◆ clone_undefined()

◆ clone_varying()

◆ DISABLE_COPY_AND_ASSIGN()

vrange_allocator::DISABLE_COPY_AND_ASSIGN ( vrange_allocator )
private

References vrange_allocator().

◆ free()

void vrange_allocator::free ( void * p)

References m_alloc.

Field Documentation

◆ m_alloc

class vrange_internal_alloc* vrange_allocator::m_alloc
private

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