GCC Middle and Back End API Reference
copyid_allocator Struct Reference

#include <hierarchical_discriminator.h>

Collaboration diagram for copyid_allocator:

Data Fields

hash_map< int_hash< location_t, UNKNOWN_LOCATION, UNKNOWN_LOCATION >, unsigned int > * location_map
bool initialized

Detailed Description

Copy ID allocator for tracking unique copy_id assignments per location.
This ensures that nested code duplication (e.g., unroll + vectorize) gets
unique copy_ids even when the same location is duplicated
multiple times.   

Field Documentation

◆ initialized

bool copyid_allocator::initialized

Referenced by init_copyid_allocator().

◆ location_map

hash_map<int_hash<location_t, UNKNOWN_LOCATION, UNKNOWN_LOCATION>, unsigned int>* copyid_allocator::location_map

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