Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
#include <algorithm>
#include <vector>
#include <list>
#include "errors.h"
#include "mempool.h"
#include "segmented_array.h"
#include "mempool_allocator.h"
Go to the source code of this file.
Classes | |
class | growing_table |
class | RELATED_SEGMENTED_ARRAY< T, block_size > |
Defines | |
#define | NOT_FOUND ((UINT) -1) |
Functions | |
template<class T , UINT block_size, class OP > | |
void | For_all_entries (RELATED_SEGMENTED_ARRAY< T, block_size > &array, const OP &op, UINT32 first=0) |
template<class T , UINT block_size, class OP > | |
void | For_all_blocks (RELATED_SEGMENTED_ARRAY< T, block_size > &array, const OP &op) |
template<class T , UINT block_size, class PREDICATE > | |
UINT | Find_entry_if (const RELATED_SEGMENTED_ARRAY< T, block_size > &array, const PREDICATE &pred, UINT i=0) |
template<class T , UINT block_size> | |
UINT32 | Copy_array_range (const RELATED_SEGMENTED_ARRAY< T, block_size > &from_array, RELATED_SEGMENTED_ARRAY< T, block_size > &to_array, UINT32 first_idx=0, UINT32 last_idx=(UINT32)-1) |
Definition at line 699 of file cmplr_segmented_array.h.
Referenced by Find_entry_if(), and For_all_until().
UINT32 Copy_array_range | ( | const RELATED_SEGMENTED_ARRAY< T, block_size > & | from_array, |
RELATED_SEGMENTED_ARRAY< T, block_size > & | to_array, | ||
UINT32 | first_idx = 0 , |
||
UINT32 | last_idx = (UINT32) -1 |
||
) |
Definition at line 726 of file cmplr_segmented_array.h.
References RELATED_SEGMENTED_ARRAY< T, block_size >::Get_block_size(), RELATED_SEGMENTED_ARRAY< T, block_size >::Insert(), Is_True, RELATED_SEGMENTED_ARRAY< T, block_size >::Reserve(), size, RELATED_SEGMENTED_ARRAY< T, block_size >::Size(), and T.
Referenced by IPO_SYMTAB::Copy_Local_Tables().
UINT Find_entry_if | ( | const RELATED_SEGMENTED_ARRAY< T, block_size > & | array, |
const PREDICATE & | pred, | ||
UINT | i = 0 |
||
) | [inline] |
Definition at line 703 of file cmplr_segmented_array.h.
References block, RELATED_SEGMENTED_ARRAY< T, block_size >::Get_block_size(), NOT_FOUND, size, RELATED_SEGMENTED_ARRAY< T, block_size >::Size(), and T.
Referenced by For_all_until().
void For_all_blocks | ( | RELATED_SEGMENTED_ARRAY< T, block_size > & | array, |
const OP & | op | ||
) | [inline] |
Definition at line 685 of file cmplr_segmented_array.h.
References RELATED_SEGMENTED_ARRAY< T, block_size >::Get_block_size(), size, RELATED_SEGMENTED_ARRAY< T, block_size >::Size(), and T.
Referenced by write_table().
void For_all_entries | ( | RELATED_SEGMENTED_ARRAY< T, block_size > & | array, |
const OP & | op, | ||
UINT32 | first = 0 |
||
) | [inline] |
Definition at line 644 of file cmplr_segmented_array.h.
References block, RELATED_SEGMENTED_ARRAY< T, block_size >::Get_block_size(), size, RELATED_SEGMENTED_ARRAY< T, block_size >::Size(), and T.
Referenced by Change_Type_To_Shared(), IPO_SYMTAB::Copy_Local_Tables(), For_all(), Print_local_symtab(), Update_Pointer_Map(), and Verify_LOCAL_SYMTAB().