Cxx_GrammarMemoryPoolSupport.h

Go to the documentation of this file.
00001 // MACHINE GENERATED SOURCE FILE --- DO NOT MODIFY! (Grammar.C) 
00002 
00003 
00004 // generated file
00005 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
00006 
00007 #include <semaphore.h>
00008 // DQ (9/21/2005): Static variables supporting memory pools
00015 extern int SgNode_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
00016 
00021 extern SgNode* SgNode_Current_Link;              // = NULL;
00022 
00023 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
00024 // This is was one of the things on the todo list (above).
00025 
00030 extern std::vector < unsigned char* > SgNode_Memory_Block_List;
00031 /* */
00032 
00033 // DQ (4/6/2006): Newer code from Jochen
00034 // Methods to find the pointer to a global and local index
00035 SgNode* SgNode_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
00036 SgNode* SgNode_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
00037 
00038 // Methods for computing the total size of the memory pool. It actually returns the
00039 // size of the whole blocks allocated, no matter they contain valid pointers or not
00040 unsigned long SgNode_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
00041 void SgNode_clearMemoryPool ( );
00042 void SgNode_extendMemoryPoolForFileIO ( );
00043 unsigned long SgNode_initializeStorageClassArray( SgNodeStorageClass *storageArray );
00044 void SgNode_resetValidFreepointers( );
00045 unsigned long SgNode_getNumberOfLastValidPointer();
00046 
00047 
00048 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
00049 
00050 #include <semaphore.h>
00051 // DQ (9/21/2005): Static variables supporting memory pools
00058 extern int SgSupport_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
00059 
00064 extern SgSupport* SgSupport_Current_Link;              // = NULL;
00065 
00066 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
00067 // This is was one of the things on the todo list (above).
00068 
00073 extern std::vector < unsigned char* > SgSupport_Memory_Block_List;
00074 /* */
00075 
00076 // DQ (4/6/2006): Newer code from Jochen
00077 // Methods to find the pointer to a global and local index
00078 SgSupport* SgSupport_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
00079 SgSupport* SgSupport_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
00080 
00081 // Methods for computing the total size of the memory pool. It actually returns the
00082 // size of the whole blocks allocated, no matter they contain valid pointers or not
00083 unsigned long SgSupport_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
00084 void SgSupport_clearMemoryPool ( );
00085 void SgSupport_extendMemoryPoolForFileIO ( );
00086 unsigned long SgSupport_initializeStorageClassArray( SgSupportStorageClass *storageArray );
00087 void SgSupport_resetValidFreepointers( );
00088 unsigned long SgSupport_getNumberOfLastValidPointer();
00089 
00090 
00091 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
00092 
00093 #include <semaphore.h>
00094 // DQ (9/21/2005): Static variables supporting memory pools
00101 extern int SgModifier_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
00102 
00107 extern SgModifier* SgModifier_Current_Link;              // = NULL;
00108 
00109 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
00110 // This is was one of the things on the todo list (above).
00111 
00116 extern std::vector < unsigned char* > SgModifier_Memory_Block_List;
00117 /* */
00118 
00119 // DQ (4/6/2006): Newer code from Jochen
00120 // Methods to find the pointer to a global and local index
00121 SgModifier* SgModifier_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
00122 SgModifier* SgModifier_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
00123 
00124 // Methods for computing the total size of the memory pool. It actually returns the
00125 // size of the whole blocks allocated, no matter they contain valid pointers or not
00126 unsigned long SgModifier_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
00127 void SgModifier_clearMemoryPool ( );
00128 void SgModifier_extendMemoryPoolForFileIO ( );
00129 unsigned long SgModifier_initializeStorageClassArray( SgModifierStorageClass *storageArray );
00130 void SgModifier_resetValidFreepointers( );
00131 unsigned long SgModifier_getNumberOfLastValidPointer();
00132 
00133 
00134 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
00135 
00136 #include <semaphore.h>
00137 // DQ (9/21/2005): Static variables supporting memory pools
00144 extern int SgModifierNodes_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
00145 
00150 extern SgModifierNodes* SgModifierNodes_Current_Link;              // = NULL;
00151 
00152 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
00153 // This is was one of the things on the todo list (above).
00154 
00159 extern std::vector < unsigned char* > SgModifierNodes_Memory_Block_List;
00160 /* */
00161 
00162 // DQ (4/6/2006): Newer code from Jochen
00163 // Methods to find the pointer to a global and local index
00164 SgModifierNodes* SgModifierNodes_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
00165 SgModifierNodes* SgModifierNodes_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
00166 
00167 // Methods for computing the total size of the memory pool. It actually returns the
00168 // size of the whole blocks allocated, no matter they contain valid pointers or not
00169 unsigned long SgModifierNodes_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
00170 void SgModifierNodes_clearMemoryPool ( );
00171 void SgModifierNodes_extendMemoryPoolForFileIO ( );
00172 unsigned long SgModifierNodes_initializeStorageClassArray( SgModifierNodesStorageClass *storageArray );
00173 void SgModifierNodes_resetValidFreepointers( );
00174 unsigned long SgModifierNodes_getNumberOfLastValidPointer();
00175 
00176 
00177 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
00178 
00179 #include <semaphore.h>
00180 // DQ (9/21/2005): Static variables supporting memory pools
00187 extern int SgConstVolatileModifier_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
00188 
00193 extern SgConstVolatileModifier* SgConstVolatileModifier_Current_Link;              // = NULL;
00194 
00195 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
00196 // This is was one of the things on the todo list (above).
00197 
00202 extern std::vector < unsigned char* > SgConstVolatileModifier_Memory_Block_List;
00203 /* */
00204 
00205 // DQ (4/6/2006): Newer code from Jochen
00206 // Methods to find the pointer to a global and local index
00207 SgConstVolatileModifier* SgConstVolatileModifier_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
00208 SgConstVolatileModifier* SgConstVolatileModifier_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
00209 
00210 // Methods for computing the total size of the memory pool. It actually returns the
00211 // size of the whole blocks allocated, no matter they contain valid pointers or not
00212 unsigned long SgConstVolatileModifier_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
00213 void SgConstVolatileModifier_clearMemoryPool ( );
00214 void SgConstVolatileModifier_extendMemoryPoolForFileIO ( );
00215 unsigned long SgConstVolatileModifier_initializeStorageClassArray( SgConstVolatileModifierStorageClass *storageArray );
00216 void SgConstVolatileModifier_resetValidFreepointers( );
00217 unsigned long SgConstVolatileModifier_getNumberOfLastValidPointer();
00218 
00219 
00220 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
00221 
00222 #include <semaphore.h>
00223 // DQ (9/21/2005): Static variables supporting memory pools
00230 extern int SgStorageModifier_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
00231 
00236 extern SgStorageModifier* SgStorageModifier_Current_Link;              // = NULL;
00237 
00238 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
00239 // This is was one of the things on the todo list (above).
00240 
00245 extern std::vector < unsigned char* > SgStorageModifier_Memory_Block_List;
00246 /* */
00247 
00248 // DQ (4/6/2006): Newer code from Jochen
00249 // Methods to find the pointer to a global and local index
00250 SgStorageModifier* SgStorageModifier_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
00251 SgStorageModifier* SgStorageModifier_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
00252 
00253 // Methods for computing the total size of the memory pool. It actually returns the
00254 // size of the whole blocks allocated, no matter they contain valid pointers or not
00255 unsigned long SgStorageModifier_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
00256 void SgStorageModifier_clearMemoryPool ( );
00257 void SgStorageModifier_extendMemoryPoolForFileIO ( );
00258 unsigned long SgStorageModifier_initializeStorageClassArray( SgStorageModifierStorageClass *storageArray );
00259 void SgStorageModifier_resetValidFreepointers( );
00260 unsigned long SgStorageModifier_getNumberOfLastValidPointer();
00261 
00262 
00263 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
00264 
00265 #include <semaphore.h>
00266 // DQ (9/21/2005): Static variables supporting memory pools
00273 extern int SgAccessModifier_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
00274 
00279 extern SgAccessModifier* SgAccessModifier_Current_Link;              // = NULL;
00280 
00281 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
00282 // This is was one of the things on the todo list (above).
00283 
00288 extern std::vector < unsigned char* > SgAccessModifier_Memory_Block_List;
00289 /* */
00290 
00291 // DQ (4/6/2006): Newer code from Jochen
00292 // Methods to find the pointer to a global and local index
00293 SgAccessModifier* SgAccessModifier_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
00294 SgAccessModifier* SgAccessModifier_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
00295 
00296 // Methods for computing the total size of the memory pool. It actually returns the
00297 // size of the whole blocks allocated, no matter they contain valid pointers or not
00298 unsigned long SgAccessModifier_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
00299 void SgAccessModifier_clearMemoryPool ( );
00300 void SgAccessModifier_extendMemoryPoolForFileIO ( );
00301 unsigned long SgAccessModifier_initializeStorageClassArray( SgAccessModifierStorageClass *storageArray );
00302 void SgAccessModifier_resetValidFreepointers( );
00303 unsigned long SgAccessModifier_getNumberOfLastValidPointer();
00304 
00305 
00306 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
00307 
00308 #include <semaphore.h>
00309 // DQ (9/21/2005): Static variables supporting memory pools
00316 extern int SgFunctionModifier_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
00317 
00322 extern SgFunctionModifier* SgFunctionModifier_Current_Link;              // = NULL;
00323 
00324 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
00325 // This is was one of the things on the todo list (above).
00326 
00331 extern std::vector < unsigned char* > SgFunctionModifier_Memory_Block_List;
00332 /* */
00333 
00334 // DQ (4/6/2006): Newer code from Jochen
00335 // Methods to find the pointer to a global and local index
00336 SgFunctionModifier* SgFunctionModifier_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
00337 SgFunctionModifier* SgFunctionModifier_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
00338 
00339 // Methods for computing the total size of the memory pool. It actually returns the
00340 // size of the whole blocks allocated, no matter they contain valid pointers or not
00341 unsigned long SgFunctionModifier_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
00342 void SgFunctionModifier_clearMemoryPool ( );
00343 void SgFunctionModifier_extendMemoryPoolForFileIO ( );
00344 unsigned long SgFunctionModifier_initializeStorageClassArray( SgFunctionModifierStorageClass *storageArray );
00345 void SgFunctionModifier_resetValidFreepointers( );
00346 unsigned long SgFunctionModifier_getNumberOfLastValidPointer();
00347 
00348 
00349 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
00350 
00351 #include <semaphore.h>
00352 // DQ (9/21/2005): Static variables supporting memory pools
00359 extern int SgUPC_AccessModifier_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
00360 
00365 extern SgUPC_AccessModifier* SgUPC_AccessModifier_Current_Link;              // = NULL;
00366 
00367 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
00368 // This is was one of the things on the todo list (above).
00369 
00374 extern std::vector < unsigned char* > SgUPC_AccessModifier_Memory_Block_List;
00375 /* */
00376 
00377 // DQ (4/6/2006): Newer code from Jochen
00378 // Methods to find the pointer to a global and local index
00379 SgUPC_AccessModifier* SgUPC_AccessModifier_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
00380 SgUPC_AccessModifier* SgUPC_AccessModifier_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
00381 
00382 // Methods for computing the total size of the memory pool. It actually returns the
00383 // size of the whole blocks allocated, no matter they contain valid pointers or not
00384 unsigned long SgUPC_AccessModifier_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
00385 void SgUPC_AccessModifier_clearMemoryPool ( );
00386 void SgUPC_AccessModifier_extendMemoryPoolForFileIO ( );
00387 unsigned long SgUPC_AccessModifier_initializeStorageClassArray( SgUPC_AccessModifierStorageClass *storageArray );
00388 void SgUPC_AccessModifier_resetValidFreepointers( );
00389 unsigned long SgUPC_AccessModifier_getNumberOfLastValidPointer();
00390 
00391 
00392 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
00393 
00394 #include <semaphore.h>
00395 // DQ (9/21/2005): Static variables supporting memory pools
00402 extern int SgSpecialFunctionModifier_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
00403 
00408 extern SgSpecialFunctionModifier* SgSpecialFunctionModifier_Current_Link;              // = NULL;
00409 
00410 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
00411 // This is was one of the things on the todo list (above).
00412 
00417 extern std::vector < unsigned char* > SgSpecialFunctionModifier_Memory_Block_List;
00418 /* */
00419 
00420 // DQ (4/6/2006): Newer code from Jochen
00421 // Methods to find the pointer to a global and local index
00422 SgSpecialFunctionModifier* SgSpecialFunctionModifier_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
00423 SgSpecialFunctionModifier* SgSpecialFunctionModifier_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
00424 
00425 // Methods for computing the total size of the memory pool. It actually returns the
00426 // size of the whole blocks allocated, no matter they contain valid pointers or not
00427 unsigned long SgSpecialFunctionModifier_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
00428 void SgSpecialFunctionModifier_clearMemoryPool ( );
00429 void SgSpecialFunctionModifier_extendMemoryPoolForFileIO ( );
00430 unsigned long SgSpecialFunctionModifier_initializeStorageClassArray( SgSpecialFunctionModifierStorageClass *storageArray );
00431 void SgSpecialFunctionModifier_resetValidFreepointers( );
00432 unsigned long SgSpecialFunctionModifier_getNumberOfLastValidPointer();
00433 
00434 
00435 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
00436 
00437 #include <semaphore.h>
00438 // DQ (9/21/2005): Static variables supporting memory pools
00445 extern int SgElaboratedTypeModifier_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
00446 
00451 extern SgElaboratedTypeModifier* SgElaboratedTypeModifier_Current_Link;              // = NULL;
00452 
00453 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
00454 // This is was one of the things on the todo list (above).
00455 
00460 extern std::vector < unsigned char* > SgElaboratedTypeModifier_Memory_Block_List;
00461 /* */
00462 
00463 // DQ (4/6/2006): Newer code from Jochen
00464 // Methods to find the pointer to a global and local index
00465 SgElaboratedTypeModifier* SgElaboratedTypeModifier_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
00466 SgElaboratedTypeModifier* SgElaboratedTypeModifier_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
00467 
00468 // Methods for computing the total size of the memory pool. It actually returns the
00469 // size of the whole blocks allocated, no matter they contain valid pointers or not
00470 unsigned long SgElaboratedTypeModifier_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
00471 void SgElaboratedTypeModifier_clearMemoryPool ( );
00472 void SgElaboratedTypeModifier_extendMemoryPoolForFileIO ( );
00473 unsigned long SgElaboratedTypeModifier_initializeStorageClassArray( SgElaboratedTypeModifierStorageClass *storageArray );
00474 void SgElaboratedTypeModifier_resetValidFreepointers( );
00475 unsigned long SgElaboratedTypeModifier_getNumberOfLastValidPointer();
00476 
00477 
00478 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
00479 
00480 #include <semaphore.h>
00481 // DQ (9/21/2005): Static variables supporting memory pools
00488 extern int SgLinkageModifier_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
00489 
00494 extern SgLinkageModifier* SgLinkageModifier_Current_Link;              // = NULL;
00495 
00496 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
00497 // This is was one of the things on the todo list (above).
00498 
00503 extern std::vector < unsigned char* > SgLinkageModifier_Memory_Block_List;
00504 /* */
00505 
00506 // DQ (4/6/2006): Newer code from Jochen
00507 // Methods to find the pointer to a global and local index
00508 SgLinkageModifier* SgLinkageModifier_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
00509 SgLinkageModifier* SgLinkageModifier_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
00510 
00511 // Methods for computing the total size of the memory pool. It actually returns the
00512 // size of the whole blocks allocated, no matter they contain valid pointers or not
00513 unsigned long SgLinkageModifier_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
00514 void SgLinkageModifier_clearMemoryPool ( );
00515 void SgLinkageModifier_extendMemoryPoolForFileIO ( );
00516 unsigned long SgLinkageModifier_initializeStorageClassArray( SgLinkageModifierStorageClass *storageArray );
00517 void SgLinkageModifier_resetValidFreepointers( );
00518 unsigned long SgLinkageModifier_getNumberOfLastValidPointer();
00519 
00520 
00521 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
00522 
00523 #include <semaphore.h>
00524 // DQ (9/21/2005): Static variables supporting memory pools
00531 extern int SgBaseClassModifier_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
00532 
00537 extern SgBaseClassModifier* SgBaseClassModifier_Current_Link;              // = NULL;
00538 
00539 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
00540 // This is was one of the things on the todo list (above).
00541 
00546 extern std::vector < unsigned char* > SgBaseClassModifier_Memory_Block_List;
00547 /* */
00548 
00549 // DQ (4/6/2006): Newer code from Jochen
00550 // Methods to find the pointer to a global and local index
00551 SgBaseClassModifier* SgBaseClassModifier_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
00552 SgBaseClassModifier* SgBaseClassModifier_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
00553 
00554 // Methods for computing the total size of the memory pool. It actually returns the
00555 // size of the whole blocks allocated, no matter they contain valid pointers or not
00556 unsigned long SgBaseClassModifier_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
00557 void SgBaseClassModifier_clearMemoryPool ( );
00558 void SgBaseClassModifier_extendMemoryPoolForFileIO ( );
00559 unsigned long SgBaseClassModifier_initializeStorageClassArray( SgBaseClassModifierStorageClass *storageArray );
00560 void SgBaseClassModifier_resetValidFreepointers( );
00561 unsigned long SgBaseClassModifier_getNumberOfLastValidPointer();
00562 
00563 
00564 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
00565 
00566 #include <semaphore.h>
00567 // DQ (9/21/2005): Static variables supporting memory pools
00574 extern int SgTypeModifier_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
00575 
00580 extern SgTypeModifier* SgTypeModifier_Current_Link;              // = NULL;
00581 
00582 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
00583 // This is was one of the things on the todo list (above).
00584 
00589 extern std::vector < unsigned char* > SgTypeModifier_Memory_Block_List;
00590 /* */
00591 
00592 // DQ (4/6/2006): Newer code from Jochen
00593 // Methods to find the pointer to a global and local index
00594 SgTypeModifier* SgTypeModifier_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
00595 SgTypeModifier* SgTypeModifier_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
00596 
00597 // Methods for computing the total size of the memory pool. It actually returns the
00598 // size of the whole blocks allocated, no matter they contain valid pointers or not
00599 unsigned long SgTypeModifier_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
00600 void SgTypeModifier_clearMemoryPool ( );
00601 void SgTypeModifier_extendMemoryPoolForFileIO ( );
00602 unsigned long SgTypeModifier_initializeStorageClassArray( SgTypeModifierStorageClass *storageArray );
00603 void SgTypeModifier_resetValidFreepointers( );
00604 unsigned long SgTypeModifier_getNumberOfLastValidPointer();
00605 
00606 
00607 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
00608 
00609 #include <semaphore.h>
00610 // DQ (9/21/2005): Static variables supporting memory pools
00617 extern int SgDeclarationModifier_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
00618 
00623 extern SgDeclarationModifier* SgDeclarationModifier_Current_Link;              // = NULL;
00624 
00625 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
00626 // This is was one of the things on the todo list (above).
00627 
00632 extern std::vector < unsigned char* > SgDeclarationModifier_Memory_Block_List;
00633 /* */
00634 
00635 // DQ (4/6/2006): Newer code from Jochen
00636 // Methods to find the pointer to a global and local index
00637 SgDeclarationModifier* SgDeclarationModifier_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
00638 SgDeclarationModifier* SgDeclarationModifier_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
00639 
00640 // Methods for computing the total size of the memory pool. It actually returns the
00641 // size of the whole blocks allocated, no matter they contain valid pointers or not
00642 unsigned long SgDeclarationModifier_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
00643 void SgDeclarationModifier_clearMemoryPool ( );
00644 void SgDeclarationModifier_extendMemoryPoolForFileIO ( );
00645 unsigned long SgDeclarationModifier_initializeStorageClassArray( SgDeclarationModifierStorageClass *storageArray );
00646 void SgDeclarationModifier_resetValidFreepointers( );
00647 unsigned long SgDeclarationModifier_getNumberOfLastValidPointer();
00648 
00649 
00650 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
00651 
00652 #include <semaphore.h>
00653 // DQ (9/21/2005): Static variables supporting memory pools
00660 extern int SgOpenclAccessModeModifier_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
00661 
00666 extern SgOpenclAccessModeModifier* SgOpenclAccessModeModifier_Current_Link;              // = NULL;
00667 
00668 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
00669 // This is was one of the things on the todo list (above).
00670 
00675 extern std::vector < unsigned char* > SgOpenclAccessModeModifier_Memory_Block_List;
00676 /* */
00677 
00678 // DQ (4/6/2006): Newer code from Jochen
00679 // Methods to find the pointer to a global and local index
00680 SgOpenclAccessModeModifier* SgOpenclAccessModeModifier_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
00681 SgOpenclAccessModeModifier* SgOpenclAccessModeModifier_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
00682 
00683 // Methods for computing the total size of the memory pool. It actually returns the
00684 // size of the whole blocks allocated, no matter they contain valid pointers or not
00685 unsigned long SgOpenclAccessModeModifier_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
00686 void SgOpenclAccessModeModifier_clearMemoryPool ( );
00687 void SgOpenclAccessModeModifier_extendMemoryPoolForFileIO ( );
00688 unsigned long SgOpenclAccessModeModifier_initializeStorageClassArray( SgOpenclAccessModeModifierStorageClass *storageArray );
00689 void SgOpenclAccessModeModifier_resetValidFreepointers( );
00690 unsigned long SgOpenclAccessModeModifier_getNumberOfLastValidPointer();
00691 
00692 
00693 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
00694 
00695 #include <semaphore.h>
00696 // DQ (9/21/2005): Static variables supporting memory pools
00703 extern int SgName_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
00704 
00709 extern SgName* SgName_Current_Link;              // = NULL;
00710 
00711 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
00712 // This is was one of the things on the todo list (above).
00713 
00718 extern std::vector < unsigned char* > SgName_Memory_Block_List;
00719 /* */
00720 
00721 // DQ (4/6/2006): Newer code from Jochen
00722 // Methods to find the pointer to a global and local index
00723 SgName* SgName_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
00724 SgName* SgName_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
00725 
00726 // Methods for computing the total size of the memory pool. It actually returns the
00727 // size of the whole blocks allocated, no matter they contain valid pointers or not
00728 unsigned long SgName_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
00729 void SgName_clearMemoryPool ( );
00730 void SgName_extendMemoryPoolForFileIO ( );
00731 unsigned long SgName_initializeStorageClassArray( SgNameStorageClass *storageArray );
00732 void SgName_resetValidFreepointers( );
00733 unsigned long SgName_getNumberOfLastValidPointer();
00734 
00735 
00736 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
00737 
00738 #include <semaphore.h>
00739 // DQ (9/21/2005): Static variables supporting memory pools
00746 extern int SgSymbolTable_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
00747 
00752 extern SgSymbolTable* SgSymbolTable_Current_Link;              // = NULL;
00753 
00754 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
00755 // This is was one of the things on the todo list (above).
00756 
00761 extern std::vector < unsigned char* > SgSymbolTable_Memory_Block_List;
00762 /* */
00763 
00764 // DQ (4/6/2006): Newer code from Jochen
00765 // Methods to find the pointer to a global and local index
00766 SgSymbolTable* SgSymbolTable_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
00767 SgSymbolTable* SgSymbolTable_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
00768 
00769 // Methods for computing the total size of the memory pool. It actually returns the
00770 // size of the whole blocks allocated, no matter they contain valid pointers or not
00771 unsigned long SgSymbolTable_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
00772 void SgSymbolTable_clearMemoryPool ( );
00773 void SgSymbolTable_extendMemoryPoolForFileIO ( );
00774 unsigned long SgSymbolTable_initializeStorageClassArray( SgSymbolTableStorageClass *storageArray );
00775 void SgSymbolTable_resetValidFreepointers( );
00776 unsigned long SgSymbolTable_getNumberOfLastValidPointer();
00777 
00778 
00779 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
00780 
00781 #include <semaphore.h>
00782 // DQ (9/21/2005): Static variables supporting memory pools
00789 extern int SgAttribute_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
00790 
00795 extern SgAttribute* SgAttribute_Current_Link;              // = NULL;
00796 
00797 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
00798 // This is was one of the things on the todo list (above).
00799 
00804 extern std::vector < unsigned char* > SgAttribute_Memory_Block_List;
00805 /* */
00806 
00807 // DQ (4/6/2006): Newer code from Jochen
00808 // Methods to find the pointer to a global and local index
00809 SgAttribute* SgAttribute_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
00810 SgAttribute* SgAttribute_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
00811 
00812 // Methods for computing the total size of the memory pool. It actually returns the
00813 // size of the whole blocks allocated, no matter they contain valid pointers or not
00814 unsigned long SgAttribute_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
00815 void SgAttribute_clearMemoryPool ( );
00816 void SgAttribute_extendMemoryPoolForFileIO ( );
00817 unsigned long SgAttribute_initializeStorageClassArray( SgAttributeStorageClass *storageArray );
00818 void SgAttribute_resetValidFreepointers( );
00819 unsigned long SgAttribute_getNumberOfLastValidPointer();
00820 
00821 
00822 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
00823 
00824 #include <semaphore.h>
00825 // DQ (9/21/2005): Static variables supporting memory pools
00832 extern int SgPragma_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
00833 
00838 extern SgPragma* SgPragma_Current_Link;              // = NULL;
00839 
00840 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
00841 // This is was one of the things on the todo list (above).
00842 
00847 extern std::vector < unsigned char* > SgPragma_Memory_Block_List;
00848 /* */
00849 
00850 // DQ (4/6/2006): Newer code from Jochen
00851 // Methods to find the pointer to a global and local index
00852 SgPragma* SgPragma_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
00853 SgPragma* SgPragma_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
00854 
00855 // Methods for computing the total size of the memory pool. It actually returns the
00856 // size of the whole blocks allocated, no matter they contain valid pointers or not
00857 unsigned long SgPragma_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
00858 void SgPragma_clearMemoryPool ( );
00859 void SgPragma_extendMemoryPoolForFileIO ( );
00860 unsigned long SgPragma_initializeStorageClassArray( SgPragmaStorageClass *storageArray );
00861 void SgPragma_resetValidFreepointers( );
00862 unsigned long SgPragma_getNumberOfLastValidPointer();
00863 
00864 
00865 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
00866 
00867 #include <semaphore.h>
00868 // DQ (9/21/2005): Static variables supporting memory pools
00875 extern int SgBitAttribute_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
00876 
00881 extern SgBitAttribute* SgBitAttribute_Current_Link;              // = NULL;
00882 
00883 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
00884 // This is was one of the things on the todo list (above).
00885 
00890 extern std::vector < unsigned char* > SgBitAttribute_Memory_Block_List;
00891 /* */
00892 
00893 // DQ (4/6/2006): Newer code from Jochen
00894 // Methods to find the pointer to a global and local index
00895 SgBitAttribute* SgBitAttribute_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
00896 SgBitAttribute* SgBitAttribute_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
00897 
00898 // Methods for computing the total size of the memory pool. It actually returns the
00899 // size of the whole blocks allocated, no matter they contain valid pointers or not
00900 unsigned long SgBitAttribute_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
00901 void SgBitAttribute_clearMemoryPool ( );
00902 void SgBitAttribute_extendMemoryPoolForFileIO ( );
00903 unsigned long SgBitAttribute_initializeStorageClassArray( SgBitAttributeStorageClass *storageArray );
00904 void SgBitAttribute_resetValidFreepointers( );
00905 unsigned long SgBitAttribute_getNumberOfLastValidPointer();
00906 
00907 
00908 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
00909 
00910 #include <semaphore.h>
00911 // DQ (9/21/2005): Static variables supporting memory pools
00918 extern int SgFuncDecl_attr_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
00919 
00924 extern SgFuncDecl_attr* SgFuncDecl_attr_Current_Link;              // = NULL;
00925 
00926 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
00927 // This is was one of the things on the todo list (above).
00928 
00933 extern std::vector < unsigned char* > SgFuncDecl_attr_Memory_Block_List;
00934 /* */
00935 
00936 // DQ (4/6/2006): Newer code from Jochen
00937 // Methods to find the pointer to a global and local index
00938 SgFuncDecl_attr* SgFuncDecl_attr_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
00939 SgFuncDecl_attr* SgFuncDecl_attr_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
00940 
00941 // Methods for computing the total size of the memory pool. It actually returns the
00942 // size of the whole blocks allocated, no matter they contain valid pointers or not
00943 unsigned long SgFuncDecl_attr_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
00944 void SgFuncDecl_attr_clearMemoryPool ( );
00945 void SgFuncDecl_attr_extendMemoryPoolForFileIO ( );
00946 unsigned long SgFuncDecl_attr_initializeStorageClassArray( SgFuncDecl_attrStorageClass *storageArray );
00947 void SgFuncDecl_attr_resetValidFreepointers( );
00948 unsigned long SgFuncDecl_attr_getNumberOfLastValidPointer();
00949 
00950 
00951 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
00952 
00953 #include <semaphore.h>
00954 // DQ (9/21/2005): Static variables supporting memory pools
00961 extern int SgClassDecl_attr_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
00962 
00967 extern SgClassDecl_attr* SgClassDecl_attr_Current_Link;              // = NULL;
00968 
00969 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
00970 // This is was one of the things on the todo list (above).
00971 
00976 extern std::vector < unsigned char* > SgClassDecl_attr_Memory_Block_List;
00977 /* */
00978 
00979 // DQ (4/6/2006): Newer code from Jochen
00980 // Methods to find the pointer to a global and local index
00981 SgClassDecl_attr* SgClassDecl_attr_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
00982 SgClassDecl_attr* SgClassDecl_attr_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
00983 
00984 // Methods for computing the total size of the memory pool. It actually returns the
00985 // size of the whole blocks allocated, no matter they contain valid pointers or not
00986 unsigned long SgClassDecl_attr_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
00987 void SgClassDecl_attr_clearMemoryPool ( );
00988 void SgClassDecl_attr_extendMemoryPoolForFileIO ( );
00989 unsigned long SgClassDecl_attr_initializeStorageClassArray( SgClassDecl_attrStorageClass *storageArray );
00990 void SgClassDecl_attr_resetValidFreepointers( );
00991 unsigned long SgClassDecl_attr_getNumberOfLastValidPointer();
00992 
00993 
00994 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
00995 
00996 #include <semaphore.h>
00997 // DQ (9/21/2005): Static variables supporting memory pools
01004 extern int Sg_File_Info_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
01005 
01010 extern Sg_File_Info* Sg_File_Info_Current_Link;              // = NULL;
01011 
01012 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
01013 // This is was one of the things on the todo list (above).
01014 
01019 extern std::vector < unsigned char* > Sg_File_Info_Memory_Block_List;
01020 /* */
01021 
01022 // DQ (4/6/2006): Newer code from Jochen
01023 // Methods to find the pointer to a global and local index
01024 Sg_File_Info* Sg_File_Info_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
01025 Sg_File_Info* Sg_File_Info_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
01026 
01027 // Methods for computing the total size of the memory pool. It actually returns the
01028 // size of the whole blocks allocated, no matter they contain valid pointers or not
01029 unsigned long Sg_File_Info_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
01030 void Sg_File_Info_clearMemoryPool ( );
01031 void Sg_File_Info_extendMemoryPoolForFileIO ( );
01032 unsigned long Sg_File_Info_initializeStorageClassArray( Sg_File_InfoStorageClass *storageArray );
01033 void Sg_File_Info_resetValidFreepointers( );
01034 unsigned long Sg_File_Info_getNumberOfLastValidPointer();
01035 
01036 
01037 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
01038 
01039 #include <semaphore.h>
01040 // DQ (9/21/2005): Static variables supporting memory pools
01047 extern int SgFile_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
01048 
01053 extern SgFile* SgFile_Current_Link;              // = NULL;
01054 
01055 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
01056 // This is was one of the things on the todo list (above).
01057 
01062 extern std::vector < unsigned char* > SgFile_Memory_Block_List;
01063 /* */
01064 
01065 // DQ (4/6/2006): Newer code from Jochen
01066 // Methods to find the pointer to a global and local index
01067 SgFile* SgFile_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
01068 SgFile* SgFile_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
01069 
01070 // Methods for computing the total size of the memory pool. It actually returns the
01071 // size of the whole blocks allocated, no matter they contain valid pointers or not
01072 unsigned long SgFile_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
01073 void SgFile_clearMemoryPool ( );
01074 void SgFile_extendMemoryPoolForFileIO ( );
01075 unsigned long SgFile_initializeStorageClassArray( SgFileStorageClass *storageArray );
01076 void SgFile_resetValidFreepointers( );
01077 unsigned long SgFile_getNumberOfLastValidPointer();
01078 
01079 
01080 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
01081 
01082 #include <semaphore.h>
01083 // DQ (9/21/2005): Static variables supporting memory pools
01090 extern int SgSourceFile_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
01091 
01096 extern SgSourceFile* SgSourceFile_Current_Link;              // = NULL;
01097 
01098 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
01099 // This is was one of the things on the todo list (above).
01100 
01105 extern std::vector < unsigned char* > SgSourceFile_Memory_Block_List;
01106 /* */
01107 
01108 // DQ (4/6/2006): Newer code from Jochen
01109 // Methods to find the pointer to a global and local index
01110 SgSourceFile* SgSourceFile_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
01111 SgSourceFile* SgSourceFile_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
01112 
01113 // Methods for computing the total size of the memory pool. It actually returns the
01114 // size of the whole blocks allocated, no matter they contain valid pointers or not
01115 unsigned long SgSourceFile_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
01116 void SgSourceFile_clearMemoryPool ( );
01117 void SgSourceFile_extendMemoryPoolForFileIO ( );
01118 unsigned long SgSourceFile_initializeStorageClassArray( SgSourceFileStorageClass *storageArray );
01119 void SgSourceFile_resetValidFreepointers( );
01120 unsigned long SgSourceFile_getNumberOfLastValidPointer();
01121 
01122 
01123 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
01124 
01125 #include <semaphore.h>
01126 // DQ (9/21/2005): Static variables supporting memory pools
01133 extern int SgBinaryComposite_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
01134 
01139 extern SgBinaryComposite* SgBinaryComposite_Current_Link;              // = NULL;
01140 
01141 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
01142 // This is was one of the things on the todo list (above).
01143 
01148 extern std::vector < unsigned char* > SgBinaryComposite_Memory_Block_List;
01149 /* */
01150 
01151 // DQ (4/6/2006): Newer code from Jochen
01152 // Methods to find the pointer to a global and local index
01153 SgBinaryComposite* SgBinaryComposite_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
01154 SgBinaryComposite* SgBinaryComposite_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
01155 
01156 // Methods for computing the total size of the memory pool. It actually returns the
01157 // size of the whole blocks allocated, no matter they contain valid pointers or not
01158 unsigned long SgBinaryComposite_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
01159 void SgBinaryComposite_clearMemoryPool ( );
01160 void SgBinaryComposite_extendMemoryPoolForFileIO ( );
01161 unsigned long SgBinaryComposite_initializeStorageClassArray( SgBinaryCompositeStorageClass *storageArray );
01162 void SgBinaryComposite_resetValidFreepointers( );
01163 unsigned long SgBinaryComposite_getNumberOfLastValidPointer();
01164 
01165 
01166 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
01167 
01168 #include <semaphore.h>
01169 // DQ (9/21/2005): Static variables supporting memory pools
01176 extern int SgUnknownFile_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
01177 
01182 extern SgUnknownFile* SgUnknownFile_Current_Link;              // = NULL;
01183 
01184 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
01185 // This is was one of the things on the todo list (above).
01186 
01191 extern std::vector < unsigned char* > SgUnknownFile_Memory_Block_List;
01192 /* */
01193 
01194 // DQ (4/6/2006): Newer code from Jochen
01195 // Methods to find the pointer to a global and local index
01196 SgUnknownFile* SgUnknownFile_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
01197 SgUnknownFile* SgUnknownFile_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
01198 
01199 // Methods for computing the total size of the memory pool. It actually returns the
01200 // size of the whole blocks allocated, no matter they contain valid pointers or not
01201 unsigned long SgUnknownFile_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
01202 void SgUnknownFile_clearMemoryPool ( );
01203 void SgUnknownFile_extendMemoryPoolForFileIO ( );
01204 unsigned long SgUnknownFile_initializeStorageClassArray( SgUnknownFileStorageClass *storageArray );
01205 void SgUnknownFile_resetValidFreepointers( );
01206 unsigned long SgUnknownFile_getNumberOfLastValidPointer();
01207 
01208 
01209 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
01210 
01211 #include <semaphore.h>
01212 // DQ (9/21/2005): Static variables supporting memory pools
01219 extern int SgProject_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
01220 
01225 extern SgProject* SgProject_Current_Link;              // = NULL;
01226 
01227 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
01228 // This is was one of the things on the todo list (above).
01229 
01234 extern std::vector < unsigned char* > SgProject_Memory_Block_List;
01235 /* */
01236 
01237 // DQ (4/6/2006): Newer code from Jochen
01238 // Methods to find the pointer to a global and local index
01239 SgProject* SgProject_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
01240 SgProject* SgProject_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
01241 
01242 // Methods for computing the total size of the memory pool. It actually returns the
01243 // size of the whole blocks allocated, no matter they contain valid pointers or not
01244 unsigned long SgProject_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
01245 void SgProject_clearMemoryPool ( );
01246 void SgProject_extendMemoryPoolForFileIO ( );
01247 unsigned long SgProject_initializeStorageClassArray( SgProjectStorageClass *storageArray );
01248 void SgProject_resetValidFreepointers( );
01249 unsigned long SgProject_getNumberOfLastValidPointer();
01250 
01251 
01252 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
01253 
01254 #include <semaphore.h>
01255 // DQ (9/21/2005): Static variables supporting memory pools
01262 extern int SgOptions_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
01263 
01268 extern SgOptions* SgOptions_Current_Link;              // = NULL;
01269 
01270 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
01271 // This is was one of the things on the todo list (above).
01272 
01277 extern std::vector < unsigned char* > SgOptions_Memory_Block_List;
01278 /* */
01279 
01280 // DQ (4/6/2006): Newer code from Jochen
01281 // Methods to find the pointer to a global and local index
01282 SgOptions* SgOptions_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
01283 SgOptions* SgOptions_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
01284 
01285 // Methods for computing the total size of the memory pool. It actually returns the
01286 // size of the whole blocks allocated, no matter they contain valid pointers or not
01287 unsigned long SgOptions_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
01288 void SgOptions_clearMemoryPool ( );
01289 void SgOptions_extendMemoryPoolForFileIO ( );
01290 unsigned long SgOptions_initializeStorageClassArray( SgOptionsStorageClass *storageArray );
01291 void SgOptions_resetValidFreepointers( );
01292 unsigned long SgOptions_getNumberOfLastValidPointer();
01293 
01294 
01295 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
01296 
01297 #include <semaphore.h>
01298 // DQ (9/21/2005): Static variables supporting memory pools
01305 extern int SgUnparse_Info_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
01306 
01311 extern SgUnparse_Info* SgUnparse_Info_Current_Link;              // = NULL;
01312 
01313 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
01314 // This is was one of the things on the todo list (above).
01315 
01320 extern std::vector < unsigned char* > SgUnparse_Info_Memory_Block_List;
01321 /* */
01322 
01323 // DQ (4/6/2006): Newer code from Jochen
01324 // Methods to find the pointer to a global and local index
01325 SgUnparse_Info* SgUnparse_Info_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
01326 SgUnparse_Info* SgUnparse_Info_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
01327 
01328 // Methods for computing the total size of the memory pool. It actually returns the
01329 // size of the whole blocks allocated, no matter they contain valid pointers or not
01330 unsigned long SgUnparse_Info_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
01331 void SgUnparse_Info_clearMemoryPool ( );
01332 void SgUnparse_Info_extendMemoryPoolForFileIO ( );
01333 unsigned long SgUnparse_Info_initializeStorageClassArray( SgUnparse_InfoStorageClass *storageArray );
01334 void SgUnparse_Info_resetValidFreepointers( );
01335 unsigned long SgUnparse_Info_getNumberOfLastValidPointer();
01336 
01337 
01338 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
01339 
01340 #include <semaphore.h>
01341 // DQ (9/21/2005): Static variables supporting memory pools
01348 extern int SgBaseClass_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
01349 
01354 extern SgBaseClass* SgBaseClass_Current_Link;              // = NULL;
01355 
01356 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
01357 // This is was one of the things on the todo list (above).
01358 
01363 extern std::vector < unsigned char* > SgBaseClass_Memory_Block_List;
01364 /* */
01365 
01366 // DQ (4/6/2006): Newer code from Jochen
01367 // Methods to find the pointer to a global and local index
01368 SgBaseClass* SgBaseClass_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
01369 SgBaseClass* SgBaseClass_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
01370 
01371 // Methods for computing the total size of the memory pool. It actually returns the
01372 // size of the whole blocks allocated, no matter they contain valid pointers or not
01373 unsigned long SgBaseClass_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
01374 void SgBaseClass_clearMemoryPool ( );
01375 void SgBaseClass_extendMemoryPoolForFileIO ( );
01376 unsigned long SgBaseClass_initializeStorageClassArray( SgBaseClassStorageClass *storageArray );
01377 void SgBaseClass_resetValidFreepointers( );
01378 unsigned long SgBaseClass_getNumberOfLastValidPointer();
01379 
01380 
01381 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
01382 
01383 #include <semaphore.h>
01384 // DQ (9/21/2005): Static variables supporting memory pools
01391 extern int SgExpBaseClass_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
01392 
01397 extern SgExpBaseClass* SgExpBaseClass_Current_Link;              // = NULL;
01398 
01399 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
01400 // This is was one of the things on the todo list (above).
01401 
01406 extern std::vector < unsigned char* > SgExpBaseClass_Memory_Block_List;
01407 /* */
01408 
01409 // DQ (4/6/2006): Newer code from Jochen
01410 // Methods to find the pointer to a global and local index
01411 SgExpBaseClass* SgExpBaseClass_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
01412 SgExpBaseClass* SgExpBaseClass_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
01413 
01414 // Methods for computing the total size of the memory pool. It actually returns the
01415 // size of the whole blocks allocated, no matter they contain valid pointers or not
01416 unsigned long SgExpBaseClass_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
01417 void SgExpBaseClass_clearMemoryPool ( );
01418 void SgExpBaseClass_extendMemoryPoolForFileIO ( );
01419 unsigned long SgExpBaseClass_initializeStorageClassArray( SgExpBaseClassStorageClass *storageArray );
01420 void SgExpBaseClass_resetValidFreepointers( );
01421 unsigned long SgExpBaseClass_getNumberOfLastValidPointer();
01422 
01423 
01424 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
01425 
01426 #include <semaphore.h>
01427 // DQ (9/21/2005): Static variables supporting memory pools
01434 extern int SgTypedefSeq_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
01435 
01440 extern SgTypedefSeq* SgTypedefSeq_Current_Link;              // = NULL;
01441 
01442 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
01443 // This is was one of the things on the todo list (above).
01444 
01449 extern std::vector < unsigned char* > SgTypedefSeq_Memory_Block_List;
01450 /* */
01451 
01452 // DQ (4/6/2006): Newer code from Jochen
01453 // Methods to find the pointer to a global and local index
01454 SgTypedefSeq* SgTypedefSeq_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
01455 SgTypedefSeq* SgTypedefSeq_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
01456 
01457 // Methods for computing the total size of the memory pool. It actually returns the
01458 // size of the whole blocks allocated, no matter they contain valid pointers or not
01459 unsigned long SgTypedefSeq_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
01460 void SgTypedefSeq_clearMemoryPool ( );
01461 void SgTypedefSeq_extendMemoryPoolForFileIO ( );
01462 unsigned long SgTypedefSeq_initializeStorageClassArray( SgTypedefSeqStorageClass *storageArray );
01463 void SgTypedefSeq_resetValidFreepointers( );
01464 unsigned long SgTypedefSeq_getNumberOfLastValidPointer();
01465 
01466 
01467 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
01468 
01469 #include <semaphore.h>
01470 // DQ (9/21/2005): Static variables supporting memory pools
01477 extern int SgTemplateParameter_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
01478 
01483 extern SgTemplateParameter* SgTemplateParameter_Current_Link;              // = NULL;
01484 
01485 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
01486 // This is was one of the things on the todo list (above).
01487 
01492 extern std::vector < unsigned char* > SgTemplateParameter_Memory_Block_List;
01493 /* */
01494 
01495 // DQ (4/6/2006): Newer code from Jochen
01496 // Methods to find the pointer to a global and local index
01497 SgTemplateParameter* SgTemplateParameter_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
01498 SgTemplateParameter* SgTemplateParameter_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
01499 
01500 // Methods for computing the total size of the memory pool. It actually returns the
01501 // size of the whole blocks allocated, no matter they contain valid pointers or not
01502 unsigned long SgTemplateParameter_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
01503 void SgTemplateParameter_clearMemoryPool ( );
01504 void SgTemplateParameter_extendMemoryPoolForFileIO ( );
01505 unsigned long SgTemplateParameter_initializeStorageClassArray( SgTemplateParameterStorageClass *storageArray );
01506 void SgTemplateParameter_resetValidFreepointers( );
01507 unsigned long SgTemplateParameter_getNumberOfLastValidPointer();
01508 
01509 
01510 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
01511 
01512 #include <semaphore.h>
01513 // DQ (9/21/2005): Static variables supporting memory pools
01520 extern int SgTemplateArgument_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
01521 
01526 extern SgTemplateArgument* SgTemplateArgument_Current_Link;              // = NULL;
01527 
01528 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
01529 // This is was one of the things on the todo list (above).
01530 
01535 extern std::vector < unsigned char* > SgTemplateArgument_Memory_Block_List;
01536 /* */
01537 
01538 // DQ (4/6/2006): Newer code from Jochen
01539 // Methods to find the pointer to a global and local index
01540 SgTemplateArgument* SgTemplateArgument_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
01541 SgTemplateArgument* SgTemplateArgument_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
01542 
01543 // Methods for computing the total size of the memory pool. It actually returns the
01544 // size of the whole blocks allocated, no matter they contain valid pointers or not
01545 unsigned long SgTemplateArgument_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
01546 void SgTemplateArgument_clearMemoryPool ( );
01547 void SgTemplateArgument_extendMemoryPoolForFileIO ( );
01548 unsigned long SgTemplateArgument_initializeStorageClassArray( SgTemplateArgumentStorageClass *storageArray );
01549 void SgTemplateArgument_resetValidFreepointers( );
01550 unsigned long SgTemplateArgument_getNumberOfLastValidPointer();
01551 
01552 
01553 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
01554 
01555 #include <semaphore.h>
01556 // DQ (9/21/2005): Static variables supporting memory pools
01563 extern int SgDirectory_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
01564 
01569 extern SgDirectory* SgDirectory_Current_Link;              // = NULL;
01570 
01571 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
01572 // This is was one of the things on the todo list (above).
01573 
01578 extern std::vector < unsigned char* > SgDirectory_Memory_Block_List;
01579 /* */
01580 
01581 // DQ (4/6/2006): Newer code from Jochen
01582 // Methods to find the pointer to a global and local index
01583 SgDirectory* SgDirectory_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
01584 SgDirectory* SgDirectory_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
01585 
01586 // Methods for computing the total size of the memory pool. It actually returns the
01587 // size of the whole blocks allocated, no matter they contain valid pointers or not
01588 unsigned long SgDirectory_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
01589 void SgDirectory_clearMemoryPool ( );
01590 void SgDirectory_extendMemoryPoolForFileIO ( );
01591 unsigned long SgDirectory_initializeStorageClassArray( SgDirectoryStorageClass *storageArray );
01592 void SgDirectory_resetValidFreepointers( );
01593 unsigned long SgDirectory_getNumberOfLastValidPointer();
01594 
01595 
01596 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
01597 
01598 #include <semaphore.h>
01599 // DQ (9/21/2005): Static variables supporting memory pools
01606 extern int SgFileList_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
01607 
01612 extern SgFileList* SgFileList_Current_Link;              // = NULL;
01613 
01614 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
01615 // This is was one of the things on the todo list (above).
01616 
01621 extern std::vector < unsigned char* > SgFileList_Memory_Block_List;
01622 /* */
01623 
01624 // DQ (4/6/2006): Newer code from Jochen
01625 // Methods to find the pointer to a global and local index
01626 SgFileList* SgFileList_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
01627 SgFileList* SgFileList_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
01628 
01629 // Methods for computing the total size of the memory pool. It actually returns the
01630 // size of the whole blocks allocated, no matter they contain valid pointers or not
01631 unsigned long SgFileList_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
01632 void SgFileList_clearMemoryPool ( );
01633 void SgFileList_extendMemoryPoolForFileIO ( );
01634 unsigned long SgFileList_initializeStorageClassArray( SgFileListStorageClass *storageArray );
01635 void SgFileList_resetValidFreepointers( );
01636 unsigned long SgFileList_getNumberOfLastValidPointer();
01637 
01638 
01639 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
01640 
01641 #include <semaphore.h>
01642 // DQ (9/21/2005): Static variables supporting memory pools
01649 extern int SgDirectoryList_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
01650 
01655 extern SgDirectoryList* SgDirectoryList_Current_Link;              // = NULL;
01656 
01657 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
01658 // This is was one of the things on the todo list (above).
01659 
01664 extern std::vector < unsigned char* > SgDirectoryList_Memory_Block_List;
01665 /* */
01666 
01667 // DQ (4/6/2006): Newer code from Jochen
01668 // Methods to find the pointer to a global and local index
01669 SgDirectoryList* SgDirectoryList_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
01670 SgDirectoryList* SgDirectoryList_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
01671 
01672 // Methods for computing the total size of the memory pool. It actually returns the
01673 // size of the whole blocks allocated, no matter they contain valid pointers or not
01674 unsigned long SgDirectoryList_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
01675 void SgDirectoryList_clearMemoryPool ( );
01676 void SgDirectoryList_extendMemoryPoolForFileIO ( );
01677 unsigned long SgDirectoryList_initializeStorageClassArray( SgDirectoryListStorageClass *storageArray );
01678 void SgDirectoryList_resetValidFreepointers( );
01679 unsigned long SgDirectoryList_getNumberOfLastValidPointer();
01680 
01681 
01682 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
01683 
01684 #include <semaphore.h>
01685 // DQ (9/21/2005): Static variables supporting memory pools
01692 extern int SgFunctionParameterTypeList_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
01693 
01698 extern SgFunctionParameterTypeList* SgFunctionParameterTypeList_Current_Link;              // = NULL;
01699 
01700 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
01701 // This is was one of the things on the todo list (above).
01702 
01707 extern std::vector < unsigned char* > SgFunctionParameterTypeList_Memory_Block_List;
01708 /* */
01709 
01710 // DQ (4/6/2006): Newer code from Jochen
01711 // Methods to find the pointer to a global and local index
01712 SgFunctionParameterTypeList* SgFunctionParameterTypeList_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
01713 SgFunctionParameterTypeList* SgFunctionParameterTypeList_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
01714 
01715 // Methods for computing the total size of the memory pool. It actually returns the
01716 // size of the whole blocks allocated, no matter they contain valid pointers or not
01717 unsigned long SgFunctionParameterTypeList_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
01718 void SgFunctionParameterTypeList_clearMemoryPool ( );
01719 void SgFunctionParameterTypeList_extendMemoryPoolForFileIO ( );
01720 unsigned long SgFunctionParameterTypeList_initializeStorageClassArray( SgFunctionParameterTypeListStorageClass *storageArray );
01721 void SgFunctionParameterTypeList_resetValidFreepointers( );
01722 unsigned long SgFunctionParameterTypeList_getNumberOfLastValidPointer();
01723 
01724 
01725 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
01726 
01727 #include <semaphore.h>
01728 // DQ (9/21/2005): Static variables supporting memory pools
01735 extern int SgQualifiedName_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
01736 
01741 extern SgQualifiedName* SgQualifiedName_Current_Link;              // = NULL;
01742 
01743 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
01744 // This is was one of the things on the todo list (above).
01745 
01750 extern std::vector < unsigned char* > SgQualifiedName_Memory_Block_List;
01751 /* */
01752 
01753 // DQ (4/6/2006): Newer code from Jochen
01754 // Methods to find the pointer to a global and local index
01755 SgQualifiedName* SgQualifiedName_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
01756 SgQualifiedName* SgQualifiedName_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
01757 
01758 // Methods for computing the total size of the memory pool. It actually returns the
01759 // size of the whole blocks allocated, no matter they contain valid pointers or not
01760 unsigned long SgQualifiedName_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
01761 void SgQualifiedName_clearMemoryPool ( );
01762 void SgQualifiedName_extendMemoryPoolForFileIO ( );
01763 unsigned long SgQualifiedName_initializeStorageClassArray( SgQualifiedNameStorageClass *storageArray );
01764 void SgQualifiedName_resetValidFreepointers( );
01765 unsigned long SgQualifiedName_getNumberOfLastValidPointer();
01766 
01767 
01768 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
01769 
01770 #include <semaphore.h>
01771 // DQ (9/21/2005): Static variables supporting memory pools
01778 extern int SgTemplateArgumentList_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
01779 
01784 extern SgTemplateArgumentList* SgTemplateArgumentList_Current_Link;              // = NULL;
01785 
01786 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
01787 // This is was one of the things on the todo list (above).
01788 
01793 extern std::vector < unsigned char* > SgTemplateArgumentList_Memory_Block_List;
01794 /* */
01795 
01796 // DQ (4/6/2006): Newer code from Jochen
01797 // Methods to find the pointer to a global and local index
01798 SgTemplateArgumentList* SgTemplateArgumentList_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
01799 SgTemplateArgumentList* SgTemplateArgumentList_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
01800 
01801 // Methods for computing the total size of the memory pool. It actually returns the
01802 // size of the whole blocks allocated, no matter they contain valid pointers or not
01803 unsigned long SgTemplateArgumentList_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
01804 void SgTemplateArgumentList_clearMemoryPool ( );
01805 void SgTemplateArgumentList_extendMemoryPoolForFileIO ( );
01806 unsigned long SgTemplateArgumentList_initializeStorageClassArray( SgTemplateArgumentListStorageClass *storageArray );
01807 void SgTemplateArgumentList_resetValidFreepointers( );
01808 unsigned long SgTemplateArgumentList_getNumberOfLastValidPointer();
01809 
01810 
01811 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
01812 
01813 #include <semaphore.h>
01814 // DQ (9/21/2005): Static variables supporting memory pools
01821 extern int SgTemplateParameterList_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
01822 
01827 extern SgTemplateParameterList* SgTemplateParameterList_Current_Link;              // = NULL;
01828 
01829 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
01830 // This is was one of the things on the todo list (above).
01831 
01836 extern std::vector < unsigned char* > SgTemplateParameterList_Memory_Block_List;
01837 /* */
01838 
01839 // DQ (4/6/2006): Newer code from Jochen
01840 // Methods to find the pointer to a global and local index
01841 SgTemplateParameterList* SgTemplateParameterList_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
01842 SgTemplateParameterList* SgTemplateParameterList_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
01843 
01844 // Methods for computing the total size of the memory pool. It actually returns the
01845 // size of the whole blocks allocated, no matter they contain valid pointers or not
01846 unsigned long SgTemplateParameterList_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
01847 void SgTemplateParameterList_clearMemoryPool ( );
01848 void SgTemplateParameterList_extendMemoryPoolForFileIO ( );
01849 unsigned long SgTemplateParameterList_initializeStorageClassArray( SgTemplateParameterListStorageClass *storageArray );
01850 void SgTemplateParameterList_resetValidFreepointers( );
01851 unsigned long SgTemplateParameterList_getNumberOfLastValidPointer();
01852 
01853 
01854 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
01855 
01856 #include <semaphore.h>
01857 // DQ (9/21/2005): Static variables supporting memory pools
01864 extern int SgGraph_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
01865 
01870 extern SgGraph* SgGraph_Current_Link;              // = NULL;
01871 
01872 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
01873 // This is was one of the things on the todo list (above).
01874 
01879 extern std::vector < unsigned char* > SgGraph_Memory_Block_List;
01880 /* */
01881 
01882 // DQ (4/6/2006): Newer code from Jochen
01883 // Methods to find the pointer to a global and local index
01884 SgGraph* SgGraph_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
01885 SgGraph* SgGraph_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
01886 
01887 // Methods for computing the total size of the memory pool. It actually returns the
01888 // size of the whole blocks allocated, no matter they contain valid pointers or not
01889 unsigned long SgGraph_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
01890 void SgGraph_clearMemoryPool ( );
01891 void SgGraph_extendMemoryPoolForFileIO ( );
01892 unsigned long SgGraph_initializeStorageClassArray( SgGraphStorageClass *storageArray );
01893 void SgGraph_resetValidFreepointers( );
01894 unsigned long SgGraph_getNumberOfLastValidPointer();
01895 
01896 
01897 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
01898 
01899 #include <semaphore.h>
01900 // DQ (9/21/2005): Static variables supporting memory pools
01907 extern int SgIncidenceDirectedGraph_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
01908 
01913 extern SgIncidenceDirectedGraph* SgIncidenceDirectedGraph_Current_Link;              // = NULL;
01914 
01915 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
01916 // This is was one of the things on the todo list (above).
01917 
01922 extern std::vector < unsigned char* > SgIncidenceDirectedGraph_Memory_Block_List;
01923 /* */
01924 
01925 // DQ (4/6/2006): Newer code from Jochen
01926 // Methods to find the pointer to a global and local index
01927 SgIncidenceDirectedGraph* SgIncidenceDirectedGraph_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
01928 SgIncidenceDirectedGraph* SgIncidenceDirectedGraph_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
01929 
01930 // Methods for computing the total size of the memory pool. It actually returns the
01931 // size of the whole blocks allocated, no matter they contain valid pointers or not
01932 unsigned long SgIncidenceDirectedGraph_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
01933 void SgIncidenceDirectedGraph_clearMemoryPool ( );
01934 void SgIncidenceDirectedGraph_extendMemoryPoolForFileIO ( );
01935 unsigned long SgIncidenceDirectedGraph_initializeStorageClassArray( SgIncidenceDirectedGraphStorageClass *storageArray );
01936 void SgIncidenceDirectedGraph_resetValidFreepointers( );
01937 unsigned long SgIncidenceDirectedGraph_getNumberOfLastValidPointer();
01938 
01939 
01940 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
01941 
01942 #include <semaphore.h>
01943 // DQ (9/21/2005): Static variables supporting memory pools
01950 extern int SgBidirectionalGraph_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
01951 
01956 extern SgBidirectionalGraph* SgBidirectionalGraph_Current_Link;              // = NULL;
01957 
01958 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
01959 // This is was one of the things on the todo list (above).
01960 
01965 extern std::vector < unsigned char* > SgBidirectionalGraph_Memory_Block_List;
01966 /* */
01967 
01968 // DQ (4/6/2006): Newer code from Jochen
01969 // Methods to find the pointer to a global and local index
01970 SgBidirectionalGraph* SgBidirectionalGraph_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
01971 SgBidirectionalGraph* SgBidirectionalGraph_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
01972 
01973 // Methods for computing the total size of the memory pool. It actually returns the
01974 // size of the whole blocks allocated, no matter they contain valid pointers or not
01975 unsigned long SgBidirectionalGraph_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
01976 void SgBidirectionalGraph_clearMemoryPool ( );
01977 void SgBidirectionalGraph_extendMemoryPoolForFileIO ( );
01978 unsigned long SgBidirectionalGraph_initializeStorageClassArray( SgBidirectionalGraphStorageClass *storageArray );
01979 void SgBidirectionalGraph_resetValidFreepointers( );
01980 unsigned long SgBidirectionalGraph_getNumberOfLastValidPointer();
01981 
01982 
01983 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
01984 
01985 #include <semaphore.h>
01986 // DQ (9/21/2005): Static variables supporting memory pools
01993 extern int SgStringKeyedBidirectionalGraph_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
01994 
01999 extern SgStringKeyedBidirectionalGraph* SgStringKeyedBidirectionalGraph_Current_Link;              // = NULL;
02000 
02001 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
02002 // This is was one of the things on the todo list (above).
02003 
02008 extern std::vector < unsigned char* > SgStringKeyedBidirectionalGraph_Memory_Block_List;
02009 /* */
02010 
02011 // DQ (4/6/2006): Newer code from Jochen
02012 // Methods to find the pointer to a global and local index
02013 SgStringKeyedBidirectionalGraph* SgStringKeyedBidirectionalGraph_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
02014 SgStringKeyedBidirectionalGraph* SgStringKeyedBidirectionalGraph_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
02015 
02016 // Methods for computing the total size of the memory pool. It actually returns the
02017 // size of the whole blocks allocated, no matter they contain valid pointers or not
02018 unsigned long SgStringKeyedBidirectionalGraph_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
02019 void SgStringKeyedBidirectionalGraph_clearMemoryPool ( );
02020 void SgStringKeyedBidirectionalGraph_extendMemoryPoolForFileIO ( );
02021 unsigned long SgStringKeyedBidirectionalGraph_initializeStorageClassArray( SgStringKeyedBidirectionalGraphStorageClass *storageArray );
02022 void SgStringKeyedBidirectionalGraph_resetValidFreepointers( );
02023 unsigned long SgStringKeyedBidirectionalGraph_getNumberOfLastValidPointer();
02024 
02025 
02026 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
02027 
02028 #include <semaphore.h>
02029 // DQ (9/21/2005): Static variables supporting memory pools
02036 extern int SgIntKeyedBidirectionalGraph_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
02037 
02042 extern SgIntKeyedBidirectionalGraph* SgIntKeyedBidirectionalGraph_Current_Link;              // = NULL;
02043 
02044 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
02045 // This is was one of the things on the todo list (above).
02046 
02051 extern std::vector < unsigned char* > SgIntKeyedBidirectionalGraph_Memory_Block_List;
02052 /* */
02053 
02054 // DQ (4/6/2006): Newer code from Jochen
02055 // Methods to find the pointer to a global and local index
02056 SgIntKeyedBidirectionalGraph* SgIntKeyedBidirectionalGraph_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
02057 SgIntKeyedBidirectionalGraph* SgIntKeyedBidirectionalGraph_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
02058 
02059 // Methods for computing the total size of the memory pool. It actually returns the
02060 // size of the whole blocks allocated, no matter they contain valid pointers or not
02061 unsigned long SgIntKeyedBidirectionalGraph_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
02062 void SgIntKeyedBidirectionalGraph_clearMemoryPool ( );
02063 void SgIntKeyedBidirectionalGraph_extendMemoryPoolForFileIO ( );
02064 unsigned long SgIntKeyedBidirectionalGraph_initializeStorageClassArray( SgIntKeyedBidirectionalGraphStorageClass *storageArray );
02065 void SgIntKeyedBidirectionalGraph_resetValidFreepointers( );
02066 unsigned long SgIntKeyedBidirectionalGraph_getNumberOfLastValidPointer();
02067 
02068 
02069 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
02070 
02071 #include <semaphore.h>
02072 // DQ (9/21/2005): Static variables supporting memory pools
02079 extern int SgIncidenceUndirectedGraph_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
02080 
02085 extern SgIncidenceUndirectedGraph* SgIncidenceUndirectedGraph_Current_Link;              // = NULL;
02086 
02087 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
02088 // This is was one of the things on the todo list (above).
02089 
02094 extern std::vector < unsigned char* > SgIncidenceUndirectedGraph_Memory_Block_List;
02095 /* */
02096 
02097 // DQ (4/6/2006): Newer code from Jochen
02098 // Methods to find the pointer to a global and local index
02099 SgIncidenceUndirectedGraph* SgIncidenceUndirectedGraph_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
02100 SgIncidenceUndirectedGraph* SgIncidenceUndirectedGraph_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
02101 
02102 // Methods for computing the total size of the memory pool. It actually returns the
02103 // size of the whole blocks allocated, no matter they contain valid pointers or not
02104 unsigned long SgIncidenceUndirectedGraph_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
02105 void SgIncidenceUndirectedGraph_clearMemoryPool ( );
02106 void SgIncidenceUndirectedGraph_extendMemoryPoolForFileIO ( );
02107 unsigned long SgIncidenceUndirectedGraph_initializeStorageClassArray( SgIncidenceUndirectedGraphStorageClass *storageArray );
02108 void SgIncidenceUndirectedGraph_resetValidFreepointers( );
02109 unsigned long SgIncidenceUndirectedGraph_getNumberOfLastValidPointer();
02110 
02111 
02112 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
02113 
02114 #include <semaphore.h>
02115 // DQ (9/21/2005): Static variables supporting memory pools
02122 extern int SgGraphNode_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
02123 
02128 extern SgGraphNode* SgGraphNode_Current_Link;              // = NULL;
02129 
02130 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
02131 // This is was one of the things on the todo list (above).
02132 
02137 extern std::vector < unsigned char* > SgGraphNode_Memory_Block_List;
02138 /* */
02139 
02140 // DQ (4/6/2006): Newer code from Jochen
02141 // Methods to find the pointer to a global and local index
02142 SgGraphNode* SgGraphNode_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
02143 SgGraphNode* SgGraphNode_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
02144 
02145 // Methods for computing the total size of the memory pool. It actually returns the
02146 // size of the whole blocks allocated, no matter they contain valid pointers or not
02147 unsigned long SgGraphNode_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
02148 void SgGraphNode_clearMemoryPool ( );
02149 void SgGraphNode_extendMemoryPoolForFileIO ( );
02150 unsigned long SgGraphNode_initializeStorageClassArray( SgGraphNodeStorageClass *storageArray );
02151 void SgGraphNode_resetValidFreepointers( );
02152 unsigned long SgGraphNode_getNumberOfLastValidPointer();
02153 
02154 
02155 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
02156 
02157 #include <semaphore.h>
02158 // DQ (9/21/2005): Static variables supporting memory pools
02165 extern int SgGraphEdge_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
02166 
02171 extern SgGraphEdge* SgGraphEdge_Current_Link;              // = NULL;
02172 
02173 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
02174 // This is was one of the things on the todo list (above).
02175 
02180 extern std::vector < unsigned char* > SgGraphEdge_Memory_Block_List;
02181 /* */
02182 
02183 // DQ (4/6/2006): Newer code from Jochen
02184 // Methods to find the pointer to a global and local index
02185 SgGraphEdge* SgGraphEdge_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
02186 SgGraphEdge* SgGraphEdge_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
02187 
02188 // Methods for computing the total size of the memory pool. It actually returns the
02189 // size of the whole blocks allocated, no matter they contain valid pointers or not
02190 unsigned long SgGraphEdge_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
02191 void SgGraphEdge_clearMemoryPool ( );
02192 void SgGraphEdge_extendMemoryPoolForFileIO ( );
02193 unsigned long SgGraphEdge_initializeStorageClassArray( SgGraphEdgeStorageClass *storageArray );
02194 void SgGraphEdge_resetValidFreepointers( );
02195 unsigned long SgGraphEdge_getNumberOfLastValidPointer();
02196 
02197 
02198 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
02199 
02200 #include <semaphore.h>
02201 // DQ (9/21/2005): Static variables supporting memory pools
02208 extern int SgDirectedGraphEdge_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
02209 
02214 extern SgDirectedGraphEdge* SgDirectedGraphEdge_Current_Link;              // = NULL;
02215 
02216 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
02217 // This is was one of the things on the todo list (above).
02218 
02223 extern std::vector < unsigned char* > SgDirectedGraphEdge_Memory_Block_List;
02224 /* */
02225 
02226 // DQ (4/6/2006): Newer code from Jochen
02227 // Methods to find the pointer to a global and local index
02228 SgDirectedGraphEdge* SgDirectedGraphEdge_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
02229 SgDirectedGraphEdge* SgDirectedGraphEdge_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
02230 
02231 // Methods for computing the total size of the memory pool. It actually returns the
02232 // size of the whole blocks allocated, no matter they contain valid pointers or not
02233 unsigned long SgDirectedGraphEdge_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
02234 void SgDirectedGraphEdge_clearMemoryPool ( );
02235 void SgDirectedGraphEdge_extendMemoryPoolForFileIO ( );
02236 unsigned long SgDirectedGraphEdge_initializeStorageClassArray( SgDirectedGraphEdgeStorageClass *storageArray );
02237 void SgDirectedGraphEdge_resetValidFreepointers( );
02238 unsigned long SgDirectedGraphEdge_getNumberOfLastValidPointer();
02239 
02240 
02241 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
02242 
02243 #include <semaphore.h>
02244 // DQ (9/21/2005): Static variables supporting memory pools
02251 extern int SgUndirectedGraphEdge_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
02252 
02257 extern SgUndirectedGraphEdge* SgUndirectedGraphEdge_Current_Link;              // = NULL;
02258 
02259 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
02260 // This is was one of the things on the todo list (above).
02261 
02266 extern std::vector < unsigned char* > SgUndirectedGraphEdge_Memory_Block_List;
02267 /* */
02268 
02269 // DQ (4/6/2006): Newer code from Jochen
02270 // Methods to find the pointer to a global and local index
02271 SgUndirectedGraphEdge* SgUndirectedGraphEdge_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
02272 SgUndirectedGraphEdge* SgUndirectedGraphEdge_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
02273 
02274 // Methods for computing the total size of the memory pool. It actually returns the
02275 // size of the whole blocks allocated, no matter they contain valid pointers or not
02276 unsigned long SgUndirectedGraphEdge_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
02277 void SgUndirectedGraphEdge_clearMemoryPool ( );
02278 void SgUndirectedGraphEdge_extendMemoryPoolForFileIO ( );
02279 unsigned long SgUndirectedGraphEdge_initializeStorageClassArray( SgUndirectedGraphEdgeStorageClass *storageArray );
02280 void SgUndirectedGraphEdge_resetValidFreepointers( );
02281 unsigned long SgUndirectedGraphEdge_getNumberOfLastValidPointer();
02282 
02283 
02284 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
02285 
02286 #include <semaphore.h>
02287 // DQ (9/21/2005): Static variables supporting memory pools
02294 extern int SgGraphNodeList_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
02295 
02300 extern SgGraphNodeList* SgGraphNodeList_Current_Link;              // = NULL;
02301 
02302 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
02303 // This is was one of the things on the todo list (above).
02304 
02309 extern std::vector < unsigned char* > SgGraphNodeList_Memory_Block_List;
02310 /* */
02311 
02312 // DQ (4/6/2006): Newer code from Jochen
02313 // Methods to find the pointer to a global and local index
02314 SgGraphNodeList* SgGraphNodeList_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
02315 SgGraphNodeList* SgGraphNodeList_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
02316 
02317 // Methods for computing the total size of the memory pool. It actually returns the
02318 // size of the whole blocks allocated, no matter they contain valid pointers or not
02319 unsigned long SgGraphNodeList_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
02320 void SgGraphNodeList_clearMemoryPool ( );
02321 void SgGraphNodeList_extendMemoryPoolForFileIO ( );
02322 unsigned long SgGraphNodeList_initializeStorageClassArray( SgGraphNodeListStorageClass *storageArray );
02323 void SgGraphNodeList_resetValidFreepointers( );
02324 unsigned long SgGraphNodeList_getNumberOfLastValidPointer();
02325 
02326 
02327 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
02328 
02329 #include <semaphore.h>
02330 // DQ (9/21/2005): Static variables supporting memory pools
02337 extern int SgGraphEdgeList_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
02338 
02343 extern SgGraphEdgeList* SgGraphEdgeList_Current_Link;              // = NULL;
02344 
02345 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
02346 // This is was one of the things on the todo list (above).
02347 
02352 extern std::vector < unsigned char* > SgGraphEdgeList_Memory_Block_List;
02353 /* */
02354 
02355 // DQ (4/6/2006): Newer code from Jochen
02356 // Methods to find the pointer to a global and local index
02357 SgGraphEdgeList* SgGraphEdgeList_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
02358 SgGraphEdgeList* SgGraphEdgeList_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
02359 
02360 // Methods for computing the total size of the memory pool. It actually returns the
02361 // size of the whole blocks allocated, no matter they contain valid pointers or not
02362 unsigned long SgGraphEdgeList_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
02363 void SgGraphEdgeList_clearMemoryPool ( );
02364 void SgGraphEdgeList_extendMemoryPoolForFileIO ( );
02365 unsigned long SgGraphEdgeList_initializeStorageClassArray( SgGraphEdgeListStorageClass *storageArray );
02366 void SgGraphEdgeList_resetValidFreepointers( );
02367 unsigned long SgGraphEdgeList_getNumberOfLastValidPointer();
02368 
02369 
02370 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
02371 
02372 #include <semaphore.h>
02373 // DQ (9/21/2005): Static variables supporting memory pools
02380 extern int SgTypeTable_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
02381 
02386 extern SgTypeTable* SgTypeTable_Current_Link;              // = NULL;
02387 
02388 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
02389 // This is was one of the things on the todo list (above).
02390 
02395 extern std::vector < unsigned char* > SgTypeTable_Memory_Block_List;
02396 /* */
02397 
02398 // DQ (4/6/2006): Newer code from Jochen
02399 // Methods to find the pointer to a global and local index
02400 SgTypeTable* SgTypeTable_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
02401 SgTypeTable* SgTypeTable_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
02402 
02403 // Methods for computing the total size of the memory pool. It actually returns the
02404 // size of the whole blocks allocated, no matter they contain valid pointers or not
02405 unsigned long SgTypeTable_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
02406 void SgTypeTable_clearMemoryPool ( );
02407 void SgTypeTable_extendMemoryPoolForFileIO ( );
02408 unsigned long SgTypeTable_initializeStorageClassArray( SgTypeTableStorageClass *storageArray );
02409 void SgTypeTable_resetValidFreepointers( );
02410 unsigned long SgTypeTable_getNumberOfLastValidPointer();
02411 
02412 
02413 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
02414 
02415 #include <semaphore.h>
02416 // DQ (9/21/2005): Static variables supporting memory pools
02423 extern int SgNameGroup_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
02424 
02429 extern SgNameGroup* SgNameGroup_Current_Link;              // = NULL;
02430 
02431 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
02432 // This is was one of the things on the todo list (above).
02433 
02438 extern std::vector < unsigned char* > SgNameGroup_Memory_Block_List;
02439 /* */
02440 
02441 // DQ (4/6/2006): Newer code from Jochen
02442 // Methods to find the pointer to a global and local index
02443 SgNameGroup* SgNameGroup_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
02444 SgNameGroup* SgNameGroup_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
02445 
02446 // Methods for computing the total size of the memory pool. It actually returns the
02447 // size of the whole blocks allocated, no matter they contain valid pointers or not
02448 unsigned long SgNameGroup_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
02449 void SgNameGroup_clearMemoryPool ( );
02450 void SgNameGroup_extendMemoryPoolForFileIO ( );
02451 unsigned long SgNameGroup_initializeStorageClassArray( SgNameGroupStorageClass *storageArray );
02452 void SgNameGroup_resetValidFreepointers( );
02453 unsigned long SgNameGroup_getNumberOfLastValidPointer();
02454 
02455 
02456 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
02457 
02458 #include <semaphore.h>
02459 // DQ (9/21/2005): Static variables supporting memory pools
02466 extern int SgDimensionObject_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
02467 
02472 extern SgDimensionObject* SgDimensionObject_Current_Link;              // = NULL;
02473 
02474 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
02475 // This is was one of the things on the todo list (above).
02476 
02481 extern std::vector < unsigned char* > SgDimensionObject_Memory_Block_List;
02482 /* */
02483 
02484 // DQ (4/6/2006): Newer code from Jochen
02485 // Methods to find the pointer to a global and local index
02486 SgDimensionObject* SgDimensionObject_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
02487 SgDimensionObject* SgDimensionObject_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
02488 
02489 // Methods for computing the total size of the memory pool. It actually returns the
02490 // size of the whole blocks allocated, no matter they contain valid pointers or not
02491 unsigned long SgDimensionObject_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
02492 void SgDimensionObject_clearMemoryPool ( );
02493 void SgDimensionObject_extendMemoryPoolForFileIO ( );
02494 unsigned long SgDimensionObject_initializeStorageClassArray( SgDimensionObjectStorageClass *storageArray );
02495 void SgDimensionObject_resetValidFreepointers( );
02496 unsigned long SgDimensionObject_getNumberOfLastValidPointer();
02497 
02498 
02499 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
02500 
02501 #include <semaphore.h>
02502 // DQ (9/21/2005): Static variables supporting memory pools
02509 extern int SgFormatItem_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
02510 
02515 extern SgFormatItem* SgFormatItem_Current_Link;              // = NULL;
02516 
02517 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
02518 // This is was one of the things on the todo list (above).
02519 
02524 extern std::vector < unsigned char* > SgFormatItem_Memory_Block_List;
02525 /* */
02526 
02527 // DQ (4/6/2006): Newer code from Jochen
02528 // Methods to find the pointer to a global and local index
02529 SgFormatItem* SgFormatItem_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
02530 SgFormatItem* SgFormatItem_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
02531 
02532 // Methods for computing the total size of the memory pool. It actually returns the
02533 // size of the whole blocks allocated, no matter they contain valid pointers or not
02534 unsigned long SgFormatItem_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
02535 void SgFormatItem_clearMemoryPool ( );
02536 void SgFormatItem_extendMemoryPoolForFileIO ( );
02537 unsigned long SgFormatItem_initializeStorageClassArray( SgFormatItemStorageClass *storageArray );
02538 void SgFormatItem_resetValidFreepointers( );
02539 unsigned long SgFormatItem_getNumberOfLastValidPointer();
02540 
02541 
02542 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
02543 
02544 #include <semaphore.h>
02545 // DQ (9/21/2005): Static variables supporting memory pools
02552 extern int SgFormatItemList_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
02553 
02558 extern SgFormatItemList* SgFormatItemList_Current_Link;              // = NULL;
02559 
02560 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
02561 // This is was one of the things on the todo list (above).
02562 
02567 extern std::vector < unsigned char* > SgFormatItemList_Memory_Block_List;
02568 /* */
02569 
02570 // DQ (4/6/2006): Newer code from Jochen
02571 // Methods to find the pointer to a global and local index
02572 SgFormatItemList* SgFormatItemList_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
02573 SgFormatItemList* SgFormatItemList_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
02574 
02575 // Methods for computing the total size of the memory pool. It actually returns the
02576 // size of the whole blocks allocated, no matter they contain valid pointers or not
02577 unsigned long SgFormatItemList_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
02578 void SgFormatItemList_clearMemoryPool ( );
02579 void SgFormatItemList_extendMemoryPoolForFileIO ( );
02580 unsigned long SgFormatItemList_initializeStorageClassArray( SgFormatItemListStorageClass *storageArray );
02581 void SgFormatItemList_resetValidFreepointers( );
02582 unsigned long SgFormatItemList_getNumberOfLastValidPointer();
02583 
02584 
02585 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
02586 
02587 #include <semaphore.h>
02588 // DQ (9/21/2005): Static variables supporting memory pools
02595 extern int SgDataStatementGroup_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
02596 
02601 extern SgDataStatementGroup* SgDataStatementGroup_Current_Link;              // = NULL;
02602 
02603 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
02604 // This is was one of the things on the todo list (above).
02605 
02610 extern std::vector < unsigned char* > SgDataStatementGroup_Memory_Block_List;
02611 /* */
02612 
02613 // DQ (4/6/2006): Newer code from Jochen
02614 // Methods to find the pointer to a global and local index
02615 SgDataStatementGroup* SgDataStatementGroup_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
02616 SgDataStatementGroup* SgDataStatementGroup_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
02617 
02618 // Methods for computing the total size of the memory pool. It actually returns the
02619 // size of the whole blocks allocated, no matter they contain valid pointers or not
02620 unsigned long SgDataStatementGroup_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
02621 void SgDataStatementGroup_clearMemoryPool ( );
02622 void SgDataStatementGroup_extendMemoryPoolForFileIO ( );
02623 unsigned long SgDataStatementGroup_initializeStorageClassArray( SgDataStatementGroupStorageClass *storageArray );
02624 void SgDataStatementGroup_resetValidFreepointers( );
02625 unsigned long SgDataStatementGroup_getNumberOfLastValidPointer();
02626 
02627 
02628 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
02629 
02630 #include <semaphore.h>
02631 // DQ (9/21/2005): Static variables supporting memory pools
02638 extern int SgDataStatementObject_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
02639 
02644 extern SgDataStatementObject* SgDataStatementObject_Current_Link;              // = NULL;
02645 
02646 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
02647 // This is was one of the things on the todo list (above).
02648 
02653 extern std::vector < unsigned char* > SgDataStatementObject_Memory_Block_List;
02654 /* */
02655 
02656 // DQ (4/6/2006): Newer code from Jochen
02657 // Methods to find the pointer to a global and local index
02658 SgDataStatementObject* SgDataStatementObject_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
02659 SgDataStatementObject* SgDataStatementObject_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
02660 
02661 // Methods for computing the total size of the memory pool. It actually returns the
02662 // size of the whole blocks allocated, no matter they contain valid pointers or not
02663 unsigned long SgDataStatementObject_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
02664 void SgDataStatementObject_clearMemoryPool ( );
02665 void SgDataStatementObject_extendMemoryPoolForFileIO ( );
02666 unsigned long SgDataStatementObject_initializeStorageClassArray( SgDataStatementObjectStorageClass *storageArray );
02667 void SgDataStatementObject_resetValidFreepointers( );
02668 unsigned long SgDataStatementObject_getNumberOfLastValidPointer();
02669 
02670 
02671 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
02672 
02673 #include <semaphore.h>
02674 // DQ (9/21/2005): Static variables supporting memory pools
02681 extern int SgDataStatementValue_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
02682 
02687 extern SgDataStatementValue* SgDataStatementValue_Current_Link;              // = NULL;
02688 
02689 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
02690 // This is was one of the things on the todo list (above).
02691 
02696 extern std::vector < unsigned char* > SgDataStatementValue_Memory_Block_List;
02697 /* */
02698 
02699 // DQ (4/6/2006): Newer code from Jochen
02700 // Methods to find the pointer to a global and local index
02701 SgDataStatementValue* SgDataStatementValue_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
02702 SgDataStatementValue* SgDataStatementValue_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
02703 
02704 // Methods for computing the total size of the memory pool. It actually returns the
02705 // size of the whole blocks allocated, no matter they contain valid pointers or not
02706 unsigned long SgDataStatementValue_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
02707 void SgDataStatementValue_clearMemoryPool ( );
02708 void SgDataStatementValue_extendMemoryPoolForFileIO ( );
02709 unsigned long SgDataStatementValue_initializeStorageClassArray( SgDataStatementValueStorageClass *storageArray );
02710 void SgDataStatementValue_resetValidFreepointers( );
02711 unsigned long SgDataStatementValue_getNumberOfLastValidPointer();
02712 
02713 
02714 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
02715 
02716 #include <semaphore.h>
02717 // DQ (9/21/2005): Static variables supporting memory pools
02724 extern int SgType_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
02725 
02730 extern SgType* SgType_Current_Link;              // = NULL;
02731 
02732 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
02733 // This is was one of the things on the todo list (above).
02734 
02739 extern std::vector < unsigned char* > SgType_Memory_Block_List;
02740 /* */
02741 
02742 // DQ (4/6/2006): Newer code from Jochen
02743 // Methods to find the pointer to a global and local index
02744 SgType* SgType_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
02745 SgType* SgType_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
02746 
02747 // Methods for computing the total size of the memory pool. It actually returns the
02748 // size of the whole blocks allocated, no matter they contain valid pointers or not
02749 unsigned long SgType_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
02750 void SgType_clearMemoryPool ( );
02751 void SgType_extendMemoryPoolForFileIO ( );
02752 unsigned long SgType_initializeStorageClassArray( SgTypeStorageClass *storageArray );
02753 void SgType_resetValidFreepointers( );
02754 unsigned long SgType_getNumberOfLastValidPointer();
02755 
02756 
02757 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
02758 
02759 #include <semaphore.h>
02760 // DQ (9/21/2005): Static variables supporting memory pools
02767 extern int SgTypeUnknown_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
02768 
02773 extern SgTypeUnknown* SgTypeUnknown_Current_Link;              // = NULL;
02774 
02775 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
02776 // This is was one of the things on the todo list (above).
02777 
02782 extern std::vector < unsigned char* > SgTypeUnknown_Memory_Block_List;
02783 /* */
02784 
02785 // DQ (4/6/2006): Newer code from Jochen
02786 // Methods to find the pointer to a global and local index
02787 SgTypeUnknown* SgTypeUnknown_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
02788 SgTypeUnknown* SgTypeUnknown_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
02789 
02790 // Methods for computing the total size of the memory pool. It actually returns the
02791 // size of the whole blocks allocated, no matter they contain valid pointers or not
02792 unsigned long SgTypeUnknown_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
02793 void SgTypeUnknown_clearMemoryPool ( );
02794 void SgTypeUnknown_extendMemoryPoolForFileIO ( );
02795 unsigned long SgTypeUnknown_initializeStorageClassArray( SgTypeUnknownStorageClass *storageArray );
02796 void SgTypeUnknown_resetValidFreepointers( );
02797 unsigned long SgTypeUnknown_getNumberOfLastValidPointer();
02798 
02799 
02800 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
02801 
02802 #include <semaphore.h>
02803 // DQ (9/21/2005): Static variables supporting memory pools
02810 extern int SgTypeChar_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
02811 
02816 extern SgTypeChar* SgTypeChar_Current_Link;              // = NULL;
02817 
02818 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
02819 // This is was one of the things on the todo list (above).
02820 
02825 extern std::vector < unsigned char* > SgTypeChar_Memory_Block_List;
02826 /* */
02827 
02828 // DQ (4/6/2006): Newer code from Jochen
02829 // Methods to find the pointer to a global and local index
02830 SgTypeChar* SgTypeChar_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
02831 SgTypeChar* SgTypeChar_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
02832 
02833 // Methods for computing the total size of the memory pool. It actually returns the
02834 // size of the whole blocks allocated, no matter they contain valid pointers or not
02835 unsigned long SgTypeChar_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
02836 void SgTypeChar_clearMemoryPool ( );
02837 void SgTypeChar_extendMemoryPoolForFileIO ( );
02838 unsigned long SgTypeChar_initializeStorageClassArray( SgTypeCharStorageClass *storageArray );
02839 void SgTypeChar_resetValidFreepointers( );
02840 unsigned long SgTypeChar_getNumberOfLastValidPointer();
02841 
02842 
02843 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
02844 
02845 #include <semaphore.h>
02846 // DQ (9/21/2005): Static variables supporting memory pools
02853 extern int SgTypeSignedChar_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
02854 
02859 extern SgTypeSignedChar* SgTypeSignedChar_Current_Link;              // = NULL;
02860 
02861 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
02862 // This is was one of the things on the todo list (above).
02863 
02868 extern std::vector < unsigned char* > SgTypeSignedChar_Memory_Block_List;
02869 /* */
02870 
02871 // DQ (4/6/2006): Newer code from Jochen
02872 // Methods to find the pointer to a global and local index
02873 SgTypeSignedChar* SgTypeSignedChar_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
02874 SgTypeSignedChar* SgTypeSignedChar_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
02875 
02876 // Methods for computing the total size of the memory pool. It actually returns the
02877 // size of the whole blocks allocated, no matter they contain valid pointers or not
02878 unsigned long SgTypeSignedChar_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
02879 void SgTypeSignedChar_clearMemoryPool ( );
02880 void SgTypeSignedChar_extendMemoryPoolForFileIO ( );
02881 unsigned long SgTypeSignedChar_initializeStorageClassArray( SgTypeSignedCharStorageClass *storageArray );
02882 void SgTypeSignedChar_resetValidFreepointers( );
02883 unsigned long SgTypeSignedChar_getNumberOfLastValidPointer();
02884 
02885 
02886 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
02887 
02888 #include <semaphore.h>
02889 // DQ (9/21/2005): Static variables supporting memory pools
02896 extern int SgTypeUnsignedChar_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
02897 
02902 extern SgTypeUnsignedChar* SgTypeUnsignedChar_Current_Link;              // = NULL;
02903 
02904 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
02905 // This is was one of the things on the todo list (above).
02906 
02911 extern std::vector < unsigned char* > SgTypeUnsignedChar_Memory_Block_List;
02912 /* */
02913 
02914 // DQ (4/6/2006): Newer code from Jochen
02915 // Methods to find the pointer to a global and local index
02916 SgTypeUnsignedChar* SgTypeUnsignedChar_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
02917 SgTypeUnsignedChar* SgTypeUnsignedChar_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
02918 
02919 // Methods for computing the total size of the memory pool. It actually returns the
02920 // size of the whole blocks allocated, no matter they contain valid pointers or not
02921 unsigned long SgTypeUnsignedChar_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
02922 void SgTypeUnsignedChar_clearMemoryPool ( );
02923 void SgTypeUnsignedChar_extendMemoryPoolForFileIO ( );
02924 unsigned long SgTypeUnsignedChar_initializeStorageClassArray( SgTypeUnsignedCharStorageClass *storageArray );
02925 void SgTypeUnsignedChar_resetValidFreepointers( );
02926 unsigned long SgTypeUnsignedChar_getNumberOfLastValidPointer();
02927 
02928 
02929 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
02930 
02931 #include <semaphore.h>
02932 // DQ (9/21/2005): Static variables supporting memory pools
02939 extern int SgTypeShort_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
02940 
02945 extern SgTypeShort* SgTypeShort_Current_Link;              // = NULL;
02946 
02947 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
02948 // This is was one of the things on the todo list (above).
02949 
02954 extern std::vector < unsigned char* > SgTypeShort_Memory_Block_List;
02955 /* */
02956 
02957 // DQ (4/6/2006): Newer code from Jochen
02958 // Methods to find the pointer to a global and local index
02959 SgTypeShort* SgTypeShort_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
02960 SgTypeShort* SgTypeShort_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
02961 
02962 // Methods for computing the total size of the memory pool. It actually returns the
02963 // size of the whole blocks allocated, no matter they contain valid pointers or not
02964 unsigned long SgTypeShort_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
02965 void SgTypeShort_clearMemoryPool ( );
02966 void SgTypeShort_extendMemoryPoolForFileIO ( );
02967 unsigned long SgTypeShort_initializeStorageClassArray( SgTypeShortStorageClass *storageArray );
02968 void SgTypeShort_resetValidFreepointers( );
02969 unsigned long SgTypeShort_getNumberOfLastValidPointer();
02970 
02971 
02972 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
02973 
02974 #include <semaphore.h>
02975 // DQ (9/21/2005): Static variables supporting memory pools
02982 extern int SgTypeSignedShort_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
02983 
02988 extern SgTypeSignedShort* SgTypeSignedShort_Current_Link;              // = NULL;
02989 
02990 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
02991 // This is was one of the things on the todo list (above).
02992 
02997 extern std::vector < unsigned char* > SgTypeSignedShort_Memory_Block_List;
02998 /* */
02999 
03000 // DQ (4/6/2006): Newer code from Jochen
03001 // Methods to find the pointer to a global and local index
03002 SgTypeSignedShort* SgTypeSignedShort_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
03003 SgTypeSignedShort* SgTypeSignedShort_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
03004 
03005 // Methods for computing the total size of the memory pool. It actually returns the
03006 // size of the whole blocks allocated, no matter they contain valid pointers or not
03007 unsigned long SgTypeSignedShort_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
03008 void SgTypeSignedShort_clearMemoryPool ( );
03009 void SgTypeSignedShort_extendMemoryPoolForFileIO ( );
03010 unsigned long SgTypeSignedShort_initializeStorageClassArray( SgTypeSignedShortStorageClass *storageArray );
03011 void SgTypeSignedShort_resetValidFreepointers( );
03012 unsigned long SgTypeSignedShort_getNumberOfLastValidPointer();
03013 
03014 
03015 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
03016 
03017 #include <semaphore.h>
03018 // DQ (9/21/2005): Static variables supporting memory pools
03025 extern int SgTypeUnsignedShort_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
03026 
03031 extern SgTypeUnsignedShort* SgTypeUnsignedShort_Current_Link;              // = NULL;
03032 
03033 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
03034 // This is was one of the things on the todo list (above).
03035 
03040 extern std::vector < unsigned char* > SgTypeUnsignedShort_Memory_Block_List;
03041 /* */
03042 
03043 // DQ (4/6/2006): Newer code from Jochen
03044 // Methods to find the pointer to a global and local index
03045 SgTypeUnsignedShort* SgTypeUnsignedShort_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
03046 SgTypeUnsignedShort* SgTypeUnsignedShort_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
03047 
03048 // Methods for computing the total size of the memory pool. It actually returns the
03049 // size of the whole blocks allocated, no matter they contain valid pointers or not
03050 unsigned long SgTypeUnsignedShort_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
03051 void SgTypeUnsignedShort_clearMemoryPool ( );
03052 void SgTypeUnsignedShort_extendMemoryPoolForFileIO ( );
03053 unsigned long SgTypeUnsignedShort_initializeStorageClassArray( SgTypeUnsignedShortStorageClass *storageArray );
03054 void SgTypeUnsignedShort_resetValidFreepointers( );
03055 unsigned long SgTypeUnsignedShort_getNumberOfLastValidPointer();
03056 
03057 
03058 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
03059 
03060 #include <semaphore.h>
03061 // DQ (9/21/2005): Static variables supporting memory pools
03068 extern int SgTypeInt_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
03069 
03074 extern SgTypeInt* SgTypeInt_Current_Link;              // = NULL;
03075 
03076 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
03077 // This is was one of the things on the todo list (above).
03078 
03083 extern std::vector < unsigned char* > SgTypeInt_Memory_Block_List;
03084 /* */
03085 
03086 // DQ (4/6/2006): Newer code from Jochen
03087 // Methods to find the pointer to a global and local index
03088 SgTypeInt* SgTypeInt_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
03089 SgTypeInt* SgTypeInt_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
03090 
03091 // Methods for computing the total size of the memory pool. It actually returns the
03092 // size of the whole blocks allocated, no matter they contain valid pointers or not
03093 unsigned long SgTypeInt_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
03094 void SgTypeInt_clearMemoryPool ( );
03095 void SgTypeInt_extendMemoryPoolForFileIO ( );
03096 unsigned long SgTypeInt_initializeStorageClassArray( SgTypeIntStorageClass *storageArray );
03097 void SgTypeInt_resetValidFreepointers( );
03098 unsigned long SgTypeInt_getNumberOfLastValidPointer();
03099 
03100 
03101 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
03102 
03103 #include <semaphore.h>
03104 // DQ (9/21/2005): Static variables supporting memory pools
03111 extern int SgTypeSignedInt_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
03112 
03117 extern SgTypeSignedInt* SgTypeSignedInt_Current_Link;              // = NULL;
03118 
03119 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
03120 // This is was one of the things on the todo list (above).
03121 
03126 extern std::vector < unsigned char* > SgTypeSignedInt_Memory_Block_List;
03127 /* */
03128 
03129 // DQ (4/6/2006): Newer code from Jochen
03130 // Methods to find the pointer to a global and local index
03131 SgTypeSignedInt* SgTypeSignedInt_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
03132 SgTypeSignedInt* SgTypeSignedInt_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
03133 
03134 // Methods for computing the total size of the memory pool. It actually returns the
03135 // size of the whole blocks allocated, no matter they contain valid pointers or not
03136 unsigned long SgTypeSignedInt_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
03137 void SgTypeSignedInt_clearMemoryPool ( );
03138 void SgTypeSignedInt_extendMemoryPoolForFileIO ( );
03139 unsigned long SgTypeSignedInt_initializeStorageClassArray( SgTypeSignedIntStorageClass *storageArray );
03140 void SgTypeSignedInt_resetValidFreepointers( );
03141 unsigned long SgTypeSignedInt_getNumberOfLastValidPointer();
03142 
03143 
03144 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
03145 
03146 #include <semaphore.h>
03147 // DQ (9/21/2005): Static variables supporting memory pools
03154 extern int SgTypeUnsignedInt_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
03155 
03160 extern SgTypeUnsignedInt* SgTypeUnsignedInt_Current_Link;              // = NULL;
03161 
03162 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
03163 // This is was one of the things on the todo list (above).
03164 
03169 extern std::vector < unsigned char* > SgTypeUnsignedInt_Memory_Block_List;
03170 /* */
03171 
03172 // DQ (4/6/2006): Newer code from Jochen
03173 // Methods to find the pointer to a global and local index
03174 SgTypeUnsignedInt* SgTypeUnsignedInt_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
03175 SgTypeUnsignedInt* SgTypeUnsignedInt_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
03176 
03177 // Methods for computing the total size of the memory pool. It actually returns the
03178 // size of the whole blocks allocated, no matter they contain valid pointers or not
03179 unsigned long SgTypeUnsignedInt_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
03180 void SgTypeUnsignedInt_clearMemoryPool ( );
03181 void SgTypeUnsignedInt_extendMemoryPoolForFileIO ( );
03182 unsigned long SgTypeUnsignedInt_initializeStorageClassArray( SgTypeUnsignedIntStorageClass *storageArray );
03183 void SgTypeUnsignedInt_resetValidFreepointers( );
03184 unsigned long SgTypeUnsignedInt_getNumberOfLastValidPointer();
03185 
03186 
03187 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
03188 
03189 #include <semaphore.h>
03190 // DQ (9/21/2005): Static variables supporting memory pools
03197 extern int SgTypeLong_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
03198 
03203 extern SgTypeLong* SgTypeLong_Current_Link;              // = NULL;
03204 
03205 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
03206 // This is was one of the things on the todo list (above).
03207 
03212 extern std::vector < unsigned char* > SgTypeLong_Memory_Block_List;
03213 /* */
03214 
03215 // DQ (4/6/2006): Newer code from Jochen
03216 // Methods to find the pointer to a global and local index
03217 SgTypeLong* SgTypeLong_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
03218 SgTypeLong* SgTypeLong_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
03219 
03220 // Methods for computing the total size of the memory pool. It actually returns the
03221 // size of the whole blocks allocated, no matter they contain valid pointers or not
03222 unsigned long SgTypeLong_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
03223 void SgTypeLong_clearMemoryPool ( );
03224 void SgTypeLong_extendMemoryPoolForFileIO ( );
03225 unsigned long SgTypeLong_initializeStorageClassArray( SgTypeLongStorageClass *storageArray );
03226 void SgTypeLong_resetValidFreepointers( );
03227 unsigned long SgTypeLong_getNumberOfLastValidPointer();
03228 
03229 
03230 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
03231 
03232 #include <semaphore.h>
03233 // DQ (9/21/2005): Static variables supporting memory pools
03240 extern int SgTypeSignedLong_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
03241 
03246 extern SgTypeSignedLong* SgTypeSignedLong_Current_Link;              // = NULL;
03247 
03248 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
03249 // This is was one of the things on the todo list (above).
03250 
03255 extern std::vector < unsigned char* > SgTypeSignedLong_Memory_Block_List;
03256 /* */
03257 
03258 // DQ (4/6/2006): Newer code from Jochen
03259 // Methods to find the pointer to a global and local index
03260 SgTypeSignedLong* SgTypeSignedLong_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
03261 SgTypeSignedLong* SgTypeSignedLong_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
03262 
03263 // Methods for computing the total size of the memory pool. It actually returns the
03264 // size of the whole blocks allocated, no matter they contain valid pointers or not
03265 unsigned long SgTypeSignedLong_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
03266 void SgTypeSignedLong_clearMemoryPool ( );
03267 void SgTypeSignedLong_extendMemoryPoolForFileIO ( );
03268 unsigned long SgTypeSignedLong_initializeStorageClassArray( SgTypeSignedLongStorageClass *storageArray );
03269 void SgTypeSignedLong_resetValidFreepointers( );
03270 unsigned long SgTypeSignedLong_getNumberOfLastValidPointer();
03271 
03272 
03273 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
03274 
03275 #include <semaphore.h>
03276 // DQ (9/21/2005): Static variables supporting memory pools
03283 extern int SgTypeUnsignedLong_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
03284 
03289 extern SgTypeUnsignedLong* SgTypeUnsignedLong_Current_Link;              // = NULL;
03290 
03291 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
03292 // This is was one of the things on the todo list (above).
03293 
03298 extern std::vector < unsigned char* > SgTypeUnsignedLong_Memory_Block_List;
03299 /* */
03300 
03301 // DQ (4/6/2006): Newer code from Jochen
03302 // Methods to find the pointer to a global and local index
03303 SgTypeUnsignedLong* SgTypeUnsignedLong_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
03304 SgTypeUnsignedLong* SgTypeUnsignedLong_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
03305 
03306 // Methods for computing the total size of the memory pool. It actually returns the
03307 // size of the whole blocks allocated, no matter they contain valid pointers or not
03308 unsigned long SgTypeUnsignedLong_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
03309 void SgTypeUnsignedLong_clearMemoryPool ( );
03310 void SgTypeUnsignedLong_extendMemoryPoolForFileIO ( );
03311 unsigned long SgTypeUnsignedLong_initializeStorageClassArray( SgTypeUnsignedLongStorageClass *storageArray );
03312 void SgTypeUnsignedLong_resetValidFreepointers( );
03313 unsigned long SgTypeUnsignedLong_getNumberOfLastValidPointer();
03314 
03315 
03316 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
03317 
03318 #include <semaphore.h>
03319 // DQ (9/21/2005): Static variables supporting memory pools
03326 extern int SgTypeVoid_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
03327 
03332 extern SgTypeVoid* SgTypeVoid_Current_Link;              // = NULL;
03333 
03334 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
03335 // This is was one of the things on the todo list (above).
03336 
03341 extern std::vector < unsigned char* > SgTypeVoid_Memory_Block_List;
03342 /* */
03343 
03344 // DQ (4/6/2006): Newer code from Jochen
03345 // Methods to find the pointer to a global and local index
03346 SgTypeVoid* SgTypeVoid_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
03347 SgTypeVoid* SgTypeVoid_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
03348 
03349 // Methods for computing the total size of the memory pool. It actually returns the
03350 // size of the whole blocks allocated, no matter they contain valid pointers or not
03351 unsigned long SgTypeVoid_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
03352 void SgTypeVoid_clearMemoryPool ( );
03353 void SgTypeVoid_extendMemoryPoolForFileIO ( );
03354 unsigned long SgTypeVoid_initializeStorageClassArray( SgTypeVoidStorageClass *storageArray );
03355 void SgTypeVoid_resetValidFreepointers( );
03356 unsigned long SgTypeVoid_getNumberOfLastValidPointer();
03357 
03358 
03359 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
03360 
03361 #include <semaphore.h>
03362 // DQ (9/21/2005): Static variables supporting memory pools
03369 extern int SgTypeGlobalVoid_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
03370 
03375 extern SgTypeGlobalVoid* SgTypeGlobalVoid_Current_Link;              // = NULL;
03376 
03377 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
03378 // This is was one of the things on the todo list (above).
03379 
03384 extern std::vector < unsigned char* > SgTypeGlobalVoid_Memory_Block_List;
03385 /* */
03386 
03387 // DQ (4/6/2006): Newer code from Jochen
03388 // Methods to find the pointer to a global and local index
03389 SgTypeGlobalVoid* SgTypeGlobalVoid_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
03390 SgTypeGlobalVoid* SgTypeGlobalVoid_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
03391 
03392 // Methods for computing the total size of the memory pool. It actually returns the
03393 // size of the whole blocks allocated, no matter they contain valid pointers or not
03394 unsigned long SgTypeGlobalVoid_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
03395 void SgTypeGlobalVoid_clearMemoryPool ( );
03396 void SgTypeGlobalVoid_extendMemoryPoolForFileIO ( );
03397 unsigned long SgTypeGlobalVoid_initializeStorageClassArray( SgTypeGlobalVoidStorageClass *storageArray );
03398 void SgTypeGlobalVoid_resetValidFreepointers( );
03399 unsigned long SgTypeGlobalVoid_getNumberOfLastValidPointer();
03400 
03401 
03402 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
03403 
03404 #include <semaphore.h>
03405 // DQ (9/21/2005): Static variables supporting memory pools
03412 extern int SgTypeWchar_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
03413 
03418 extern SgTypeWchar* SgTypeWchar_Current_Link;              // = NULL;
03419 
03420 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
03421 // This is was one of the things on the todo list (above).
03422 
03427 extern std::vector < unsigned char* > SgTypeWchar_Memory_Block_List;
03428 /* */
03429 
03430 // DQ (4/6/2006): Newer code from Jochen
03431 // Methods to find the pointer to a global and local index
03432 SgTypeWchar* SgTypeWchar_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
03433 SgTypeWchar* SgTypeWchar_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
03434 
03435 // Methods for computing the total size of the memory pool. It actually returns the
03436 // size of the whole blocks allocated, no matter they contain valid pointers or not
03437 unsigned long SgTypeWchar_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
03438 void SgTypeWchar_clearMemoryPool ( );
03439 void SgTypeWchar_extendMemoryPoolForFileIO ( );
03440 unsigned long SgTypeWchar_initializeStorageClassArray( SgTypeWcharStorageClass *storageArray );
03441 void SgTypeWchar_resetValidFreepointers( );
03442 unsigned long SgTypeWchar_getNumberOfLastValidPointer();
03443 
03444 
03445 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
03446 
03447 #include <semaphore.h>
03448 // DQ (9/21/2005): Static variables supporting memory pools
03455 extern int SgTypeFloat_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
03456 
03461 extern SgTypeFloat* SgTypeFloat_Current_Link;              // = NULL;
03462 
03463 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
03464 // This is was one of the things on the todo list (above).
03465 
03470 extern std::vector < unsigned char* > SgTypeFloat_Memory_Block_List;
03471 /* */
03472 
03473 // DQ (4/6/2006): Newer code from Jochen
03474 // Methods to find the pointer to a global and local index
03475 SgTypeFloat* SgTypeFloat_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
03476 SgTypeFloat* SgTypeFloat_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
03477 
03478 // Methods for computing the total size of the memory pool. It actually returns the
03479 // size of the whole blocks allocated, no matter they contain valid pointers or not
03480 unsigned long SgTypeFloat_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
03481 void SgTypeFloat_clearMemoryPool ( );
03482 void SgTypeFloat_extendMemoryPoolForFileIO ( );
03483 unsigned long SgTypeFloat_initializeStorageClassArray( SgTypeFloatStorageClass *storageArray );
03484 void SgTypeFloat_resetValidFreepointers( );
03485 unsigned long SgTypeFloat_getNumberOfLastValidPointer();
03486 
03487 
03488 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
03489 
03490 #include <semaphore.h>
03491 // DQ (9/21/2005): Static variables supporting memory pools
03498 extern int SgTypeDouble_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
03499 
03504 extern SgTypeDouble* SgTypeDouble_Current_Link;              // = NULL;
03505 
03506 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
03507 // This is was one of the things on the todo list (above).
03508 
03513 extern std::vector < unsigned char* > SgTypeDouble_Memory_Block_List;
03514 /* */
03515 
03516 // DQ (4/6/2006): Newer code from Jochen
03517 // Methods to find the pointer to a global and local index
03518 SgTypeDouble* SgTypeDouble_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
03519 SgTypeDouble* SgTypeDouble_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
03520 
03521 // Methods for computing the total size of the memory pool. It actually returns the
03522 // size of the whole blocks allocated, no matter they contain valid pointers or not
03523 unsigned long SgTypeDouble_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
03524 void SgTypeDouble_clearMemoryPool ( );
03525 void SgTypeDouble_extendMemoryPoolForFileIO ( );
03526 unsigned long SgTypeDouble_initializeStorageClassArray( SgTypeDoubleStorageClass *storageArray );
03527 void SgTypeDouble_resetValidFreepointers( );
03528 unsigned long SgTypeDouble_getNumberOfLastValidPointer();
03529 
03530 
03531 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
03532 
03533 #include <semaphore.h>
03534 // DQ (9/21/2005): Static variables supporting memory pools
03541 extern int SgTypeLongLong_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
03542 
03547 extern SgTypeLongLong* SgTypeLongLong_Current_Link;              // = NULL;
03548 
03549 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
03550 // This is was one of the things on the todo list (above).
03551 
03556 extern std::vector < unsigned char* > SgTypeLongLong_Memory_Block_List;
03557 /* */
03558 
03559 // DQ (4/6/2006): Newer code from Jochen
03560 // Methods to find the pointer to a global and local index
03561 SgTypeLongLong* SgTypeLongLong_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
03562 SgTypeLongLong* SgTypeLongLong_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
03563 
03564 // Methods for computing the total size of the memory pool. It actually returns the
03565 // size of the whole blocks allocated, no matter they contain valid pointers or not
03566 unsigned long SgTypeLongLong_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
03567 void SgTypeLongLong_clearMemoryPool ( );
03568 void SgTypeLongLong_extendMemoryPoolForFileIO ( );
03569 unsigned long SgTypeLongLong_initializeStorageClassArray( SgTypeLongLongStorageClass *storageArray );
03570 void SgTypeLongLong_resetValidFreepointers( );
03571 unsigned long SgTypeLongLong_getNumberOfLastValidPointer();
03572 
03573 
03574 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
03575 
03576 #include <semaphore.h>
03577 // DQ (9/21/2005): Static variables supporting memory pools
03584 extern int SgTypeSignedLongLong_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
03585 
03590 extern SgTypeSignedLongLong* SgTypeSignedLongLong_Current_Link;              // = NULL;
03591 
03592 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
03593 // This is was one of the things on the todo list (above).
03594 
03599 extern std::vector < unsigned char* > SgTypeSignedLongLong_Memory_Block_List;
03600 /* */
03601 
03602 // DQ (4/6/2006): Newer code from Jochen
03603 // Methods to find the pointer to a global and local index
03604 SgTypeSignedLongLong* SgTypeSignedLongLong_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
03605 SgTypeSignedLongLong* SgTypeSignedLongLong_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
03606 
03607 // Methods for computing the total size of the memory pool. It actually returns the
03608 // size of the whole blocks allocated, no matter they contain valid pointers or not
03609 unsigned long SgTypeSignedLongLong_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
03610 void SgTypeSignedLongLong_clearMemoryPool ( );
03611 void SgTypeSignedLongLong_extendMemoryPoolForFileIO ( );
03612 unsigned long SgTypeSignedLongLong_initializeStorageClassArray( SgTypeSignedLongLongStorageClass *storageArray );
03613 void SgTypeSignedLongLong_resetValidFreepointers( );
03614 unsigned long SgTypeSignedLongLong_getNumberOfLastValidPointer();
03615 
03616 
03617 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
03618 
03619 #include <semaphore.h>
03620 // DQ (9/21/2005): Static variables supporting memory pools
03627 extern int SgTypeUnsignedLongLong_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
03628 
03633 extern SgTypeUnsignedLongLong* SgTypeUnsignedLongLong_Current_Link;              // = NULL;
03634 
03635 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
03636 // This is was one of the things on the todo list (above).
03637 
03642 extern std::vector < unsigned char* > SgTypeUnsignedLongLong_Memory_Block_List;
03643 /* */
03644 
03645 // DQ (4/6/2006): Newer code from Jochen
03646 // Methods to find the pointer to a global and local index
03647 SgTypeUnsignedLongLong* SgTypeUnsignedLongLong_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
03648 SgTypeUnsignedLongLong* SgTypeUnsignedLongLong_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
03649 
03650 // Methods for computing the total size of the memory pool. It actually returns the
03651 // size of the whole blocks allocated, no matter they contain valid pointers or not
03652 unsigned long SgTypeUnsignedLongLong_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
03653 void SgTypeUnsignedLongLong_clearMemoryPool ( );
03654 void SgTypeUnsignedLongLong_extendMemoryPoolForFileIO ( );
03655 unsigned long SgTypeUnsignedLongLong_initializeStorageClassArray( SgTypeUnsignedLongLongStorageClass *storageArray );
03656 void SgTypeUnsignedLongLong_resetValidFreepointers( );
03657 unsigned long SgTypeUnsignedLongLong_getNumberOfLastValidPointer();
03658 
03659 
03660 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
03661 
03662 #include <semaphore.h>
03663 // DQ (9/21/2005): Static variables supporting memory pools
03670 extern int SgTypeLongDouble_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
03671 
03676 extern SgTypeLongDouble* SgTypeLongDouble_Current_Link;              // = NULL;
03677 
03678 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
03679 // This is was one of the things on the todo list (above).
03680 
03685 extern std::vector < unsigned char* > SgTypeLongDouble_Memory_Block_List;
03686 /* */
03687 
03688 // DQ (4/6/2006): Newer code from Jochen
03689 // Methods to find the pointer to a global and local index
03690 SgTypeLongDouble* SgTypeLongDouble_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
03691 SgTypeLongDouble* SgTypeLongDouble_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
03692 
03693 // Methods for computing the total size of the memory pool. It actually returns the
03694 // size of the whole blocks allocated, no matter they contain valid pointers or not
03695 unsigned long SgTypeLongDouble_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
03696 void SgTypeLongDouble_clearMemoryPool ( );
03697 void SgTypeLongDouble_extendMemoryPoolForFileIO ( );
03698 unsigned long SgTypeLongDouble_initializeStorageClassArray( SgTypeLongDoubleStorageClass *storageArray );
03699 void SgTypeLongDouble_resetValidFreepointers( );
03700 unsigned long SgTypeLongDouble_getNumberOfLastValidPointer();
03701 
03702 
03703 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
03704 
03705 #include <semaphore.h>
03706 // DQ (9/21/2005): Static variables supporting memory pools
03713 extern int SgTypeString_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
03714 
03719 extern SgTypeString* SgTypeString_Current_Link;              // = NULL;
03720 
03721 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
03722 // This is was one of the things on the todo list (above).
03723 
03728 extern std::vector < unsigned char* > SgTypeString_Memory_Block_List;
03729 /* */
03730 
03731 // DQ (4/6/2006): Newer code from Jochen
03732 // Methods to find the pointer to a global and local index
03733 SgTypeString* SgTypeString_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
03734 SgTypeString* SgTypeString_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
03735 
03736 // Methods for computing the total size of the memory pool. It actually returns the
03737 // size of the whole blocks allocated, no matter they contain valid pointers or not
03738 unsigned long SgTypeString_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
03739 void SgTypeString_clearMemoryPool ( );
03740 void SgTypeString_extendMemoryPoolForFileIO ( );
03741 unsigned long SgTypeString_initializeStorageClassArray( SgTypeStringStorageClass *storageArray );
03742 void SgTypeString_resetValidFreepointers( );
03743 unsigned long SgTypeString_getNumberOfLastValidPointer();
03744 
03745 
03746 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
03747 
03748 #include <semaphore.h>
03749 // DQ (9/21/2005): Static variables supporting memory pools
03756 extern int SgTypeBool_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
03757 
03762 extern SgTypeBool* SgTypeBool_Current_Link;              // = NULL;
03763 
03764 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
03765 // This is was one of the things on the todo list (above).
03766 
03771 extern std::vector < unsigned char* > SgTypeBool_Memory_Block_List;
03772 /* */
03773 
03774 // DQ (4/6/2006): Newer code from Jochen
03775 // Methods to find the pointer to a global and local index
03776 SgTypeBool* SgTypeBool_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
03777 SgTypeBool* SgTypeBool_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
03778 
03779 // Methods for computing the total size of the memory pool. It actually returns the
03780 // size of the whole blocks allocated, no matter they contain valid pointers or not
03781 unsigned long SgTypeBool_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
03782 void SgTypeBool_clearMemoryPool ( );
03783 void SgTypeBool_extendMemoryPoolForFileIO ( );
03784 unsigned long SgTypeBool_initializeStorageClassArray( SgTypeBoolStorageClass *storageArray );
03785 void SgTypeBool_resetValidFreepointers( );
03786 unsigned long SgTypeBool_getNumberOfLastValidPointer();
03787 
03788 
03789 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
03790 
03791 #include <semaphore.h>
03792 // DQ (9/21/2005): Static variables supporting memory pools
03799 extern int SgPointerType_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
03800 
03805 extern SgPointerType* SgPointerType_Current_Link;              // = NULL;
03806 
03807 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
03808 // This is was one of the things on the todo list (above).
03809 
03814 extern std::vector < unsigned char* > SgPointerType_Memory_Block_List;
03815 /* */
03816 
03817 // DQ (4/6/2006): Newer code from Jochen
03818 // Methods to find the pointer to a global and local index
03819 SgPointerType* SgPointerType_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
03820 SgPointerType* SgPointerType_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
03821 
03822 // Methods for computing the total size of the memory pool. It actually returns the
03823 // size of the whole blocks allocated, no matter they contain valid pointers or not
03824 unsigned long SgPointerType_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
03825 void SgPointerType_clearMemoryPool ( );
03826 void SgPointerType_extendMemoryPoolForFileIO ( );
03827 unsigned long SgPointerType_initializeStorageClassArray( SgPointerTypeStorageClass *storageArray );
03828 void SgPointerType_resetValidFreepointers( );
03829 unsigned long SgPointerType_getNumberOfLastValidPointer();
03830 
03831 
03832 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
03833 
03834 #include <semaphore.h>
03835 // DQ (9/21/2005): Static variables supporting memory pools
03842 extern int SgPointerMemberType_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
03843 
03848 extern SgPointerMemberType* SgPointerMemberType_Current_Link;              // = NULL;
03849 
03850 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
03851 // This is was one of the things on the todo list (above).
03852 
03857 extern std::vector < unsigned char* > SgPointerMemberType_Memory_Block_List;
03858 /* */
03859 
03860 // DQ (4/6/2006): Newer code from Jochen
03861 // Methods to find the pointer to a global and local index
03862 SgPointerMemberType* SgPointerMemberType_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
03863 SgPointerMemberType* SgPointerMemberType_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
03864 
03865 // Methods for computing the total size of the memory pool. It actually returns the
03866 // size of the whole blocks allocated, no matter they contain valid pointers or not
03867 unsigned long SgPointerMemberType_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
03868 void SgPointerMemberType_clearMemoryPool ( );
03869 void SgPointerMemberType_extendMemoryPoolForFileIO ( );
03870 unsigned long SgPointerMemberType_initializeStorageClassArray( SgPointerMemberTypeStorageClass *storageArray );
03871 void SgPointerMemberType_resetValidFreepointers( );
03872 unsigned long SgPointerMemberType_getNumberOfLastValidPointer();
03873 
03874 
03875 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
03876 
03877 #include <semaphore.h>
03878 // DQ (9/21/2005): Static variables supporting memory pools
03885 extern int SgReferenceType_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
03886 
03891 extern SgReferenceType* SgReferenceType_Current_Link;              // = NULL;
03892 
03893 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
03894 // This is was one of the things on the todo list (above).
03895 
03900 extern std::vector < unsigned char* > SgReferenceType_Memory_Block_List;
03901 /* */
03902 
03903 // DQ (4/6/2006): Newer code from Jochen
03904 // Methods to find the pointer to a global and local index
03905 SgReferenceType* SgReferenceType_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
03906 SgReferenceType* SgReferenceType_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
03907 
03908 // Methods for computing the total size of the memory pool. It actually returns the
03909 // size of the whole blocks allocated, no matter they contain valid pointers or not
03910 unsigned long SgReferenceType_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
03911 void SgReferenceType_clearMemoryPool ( );
03912 void SgReferenceType_extendMemoryPoolForFileIO ( );
03913 unsigned long SgReferenceType_initializeStorageClassArray( SgReferenceTypeStorageClass *storageArray );
03914 void SgReferenceType_resetValidFreepointers( );
03915 unsigned long SgReferenceType_getNumberOfLastValidPointer();
03916 
03917 
03918 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
03919 
03920 #include <semaphore.h>
03921 // DQ (9/21/2005): Static variables supporting memory pools
03928 extern int SgNamedType_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
03929 
03934 extern SgNamedType* SgNamedType_Current_Link;              // = NULL;
03935 
03936 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
03937 // This is was one of the things on the todo list (above).
03938 
03943 extern std::vector < unsigned char* > SgNamedType_Memory_Block_List;
03944 /* */
03945 
03946 // DQ (4/6/2006): Newer code from Jochen
03947 // Methods to find the pointer to a global and local index
03948 SgNamedType* SgNamedType_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
03949 SgNamedType* SgNamedType_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
03950 
03951 // Methods for computing the total size of the memory pool. It actually returns the
03952 // size of the whole blocks allocated, no matter they contain valid pointers or not
03953 unsigned long SgNamedType_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
03954 void SgNamedType_clearMemoryPool ( );
03955 void SgNamedType_extendMemoryPoolForFileIO ( );
03956 unsigned long SgNamedType_initializeStorageClassArray( SgNamedTypeStorageClass *storageArray );
03957 void SgNamedType_resetValidFreepointers( );
03958 unsigned long SgNamedType_getNumberOfLastValidPointer();
03959 
03960 
03961 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
03962 
03963 #include <semaphore.h>
03964 // DQ (9/21/2005): Static variables supporting memory pools
03971 extern int SgClassType_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
03972 
03977 extern SgClassType* SgClassType_Current_Link;              // = NULL;
03978 
03979 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
03980 // This is was one of the things on the todo list (above).
03981 
03986 extern std::vector < unsigned char* > SgClassType_Memory_Block_List;
03987 /* */
03988 
03989 // DQ (4/6/2006): Newer code from Jochen
03990 // Methods to find the pointer to a global and local index
03991 SgClassType* SgClassType_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
03992 SgClassType* SgClassType_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
03993 
03994 // Methods for computing the total size of the memory pool. It actually returns the
03995 // size of the whole blocks allocated, no matter they contain valid pointers or not
03996 unsigned long SgClassType_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
03997 void SgClassType_clearMemoryPool ( );
03998 void SgClassType_extendMemoryPoolForFileIO ( );
03999 unsigned long SgClassType_initializeStorageClassArray( SgClassTypeStorageClass *storageArray );
04000 void SgClassType_resetValidFreepointers( );
04001 unsigned long SgClassType_getNumberOfLastValidPointer();
04002 
04003 
04004 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
04005 
04006 #include <semaphore.h>
04007 // DQ (9/21/2005): Static variables supporting memory pools
04014 extern int SgJavaParameterizedType_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
04015 
04020 extern SgJavaParameterizedType* SgJavaParameterizedType_Current_Link;              // = NULL;
04021 
04022 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
04023 // This is was one of the things on the todo list (above).
04024 
04029 extern std::vector < unsigned char* > SgJavaParameterizedType_Memory_Block_List;
04030 /* */
04031 
04032 // DQ (4/6/2006): Newer code from Jochen
04033 // Methods to find the pointer to a global and local index
04034 SgJavaParameterizedType* SgJavaParameterizedType_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
04035 SgJavaParameterizedType* SgJavaParameterizedType_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
04036 
04037 // Methods for computing the total size of the memory pool. It actually returns the
04038 // size of the whole blocks allocated, no matter they contain valid pointers or not
04039 unsigned long SgJavaParameterizedType_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
04040 void SgJavaParameterizedType_clearMemoryPool ( );
04041 void SgJavaParameterizedType_extendMemoryPoolForFileIO ( );
04042 unsigned long SgJavaParameterizedType_initializeStorageClassArray( SgJavaParameterizedTypeStorageClass *storageArray );
04043 void SgJavaParameterizedType_resetValidFreepointers( );
04044 unsigned long SgJavaParameterizedType_getNumberOfLastValidPointer();
04045 
04046 
04047 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
04048 
04049 #include <semaphore.h>
04050 // DQ (9/21/2005): Static variables supporting memory pools
04057 extern int SgEnumType_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
04058 
04063 extern SgEnumType* SgEnumType_Current_Link;              // = NULL;
04064 
04065 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
04066 // This is was one of the things on the todo list (above).
04067 
04072 extern std::vector < unsigned char* > SgEnumType_Memory_Block_List;
04073 /* */
04074 
04075 // DQ (4/6/2006): Newer code from Jochen
04076 // Methods to find the pointer to a global and local index
04077 SgEnumType* SgEnumType_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
04078 SgEnumType* SgEnumType_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
04079 
04080 // Methods for computing the total size of the memory pool. It actually returns the
04081 // size of the whole blocks allocated, no matter they contain valid pointers or not
04082 unsigned long SgEnumType_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
04083 void SgEnumType_clearMemoryPool ( );
04084 void SgEnumType_extendMemoryPoolForFileIO ( );
04085 unsigned long SgEnumType_initializeStorageClassArray( SgEnumTypeStorageClass *storageArray );
04086 void SgEnumType_resetValidFreepointers( );
04087 unsigned long SgEnumType_getNumberOfLastValidPointer();
04088 
04089 
04090 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
04091 
04092 #include <semaphore.h>
04093 // DQ (9/21/2005): Static variables supporting memory pools
04100 extern int SgTypedefType_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
04101 
04106 extern SgTypedefType* SgTypedefType_Current_Link;              // = NULL;
04107 
04108 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
04109 // This is was one of the things on the todo list (above).
04110 
04115 extern std::vector < unsigned char* > SgTypedefType_Memory_Block_List;
04116 /* */
04117 
04118 // DQ (4/6/2006): Newer code from Jochen
04119 // Methods to find the pointer to a global and local index
04120 SgTypedefType* SgTypedefType_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
04121 SgTypedefType* SgTypedefType_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
04122 
04123 // Methods for computing the total size of the memory pool. It actually returns the
04124 // size of the whole blocks allocated, no matter they contain valid pointers or not
04125 unsigned long SgTypedefType_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
04126 void SgTypedefType_clearMemoryPool ( );
04127 void SgTypedefType_extendMemoryPoolForFileIO ( );
04128 unsigned long SgTypedefType_initializeStorageClassArray( SgTypedefTypeStorageClass *storageArray );
04129 void SgTypedefType_resetValidFreepointers( );
04130 unsigned long SgTypedefType_getNumberOfLastValidPointer();
04131 
04132 
04133 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
04134 
04135 #include <semaphore.h>
04136 // DQ (9/21/2005): Static variables supporting memory pools
04143 extern int SgModifierType_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
04144 
04149 extern SgModifierType* SgModifierType_Current_Link;              // = NULL;
04150 
04151 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
04152 // This is was one of the things on the todo list (above).
04153 
04158 extern std::vector < unsigned char* > SgModifierType_Memory_Block_List;
04159 /* */
04160 
04161 // DQ (4/6/2006): Newer code from Jochen
04162 // Methods to find the pointer to a global and local index
04163 SgModifierType* SgModifierType_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
04164 SgModifierType* SgModifierType_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
04165 
04166 // Methods for computing the total size of the memory pool. It actually returns the
04167 // size of the whole blocks allocated, no matter they contain valid pointers or not
04168 unsigned long SgModifierType_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
04169 void SgModifierType_clearMemoryPool ( );
04170 void SgModifierType_extendMemoryPoolForFileIO ( );
04171 unsigned long SgModifierType_initializeStorageClassArray( SgModifierTypeStorageClass *storageArray );
04172 void SgModifierType_resetValidFreepointers( );
04173 unsigned long SgModifierType_getNumberOfLastValidPointer();
04174 
04175 
04176 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
04177 
04178 #include <semaphore.h>
04179 // DQ (9/21/2005): Static variables supporting memory pools
04186 extern int SgFunctionType_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
04187 
04192 extern SgFunctionType* SgFunctionType_Current_Link;              // = NULL;
04193 
04194 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
04195 // This is was one of the things on the todo list (above).
04196 
04201 extern std::vector < unsigned char* > SgFunctionType_Memory_Block_List;
04202 /* */
04203 
04204 // DQ (4/6/2006): Newer code from Jochen
04205 // Methods to find the pointer to a global and local index
04206 SgFunctionType* SgFunctionType_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
04207 SgFunctionType* SgFunctionType_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
04208 
04209 // Methods for computing the total size of the memory pool. It actually returns the
04210 // size of the whole blocks allocated, no matter they contain valid pointers or not
04211 unsigned long SgFunctionType_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
04212 void SgFunctionType_clearMemoryPool ( );
04213 void SgFunctionType_extendMemoryPoolForFileIO ( );
04214 unsigned long SgFunctionType_initializeStorageClassArray( SgFunctionTypeStorageClass *storageArray );
04215 void SgFunctionType_resetValidFreepointers( );
04216 unsigned long SgFunctionType_getNumberOfLastValidPointer();
04217 
04218 
04219 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
04220 
04221 #include <semaphore.h>
04222 // DQ (9/21/2005): Static variables supporting memory pools
04229 extern int SgMemberFunctionType_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
04230 
04235 extern SgMemberFunctionType* SgMemberFunctionType_Current_Link;              // = NULL;
04236 
04237 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
04238 // This is was one of the things on the todo list (above).
04239 
04244 extern std::vector < unsigned char* > SgMemberFunctionType_Memory_Block_List;
04245 /* */
04246 
04247 // DQ (4/6/2006): Newer code from Jochen
04248 // Methods to find the pointer to a global and local index
04249 SgMemberFunctionType* SgMemberFunctionType_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
04250 SgMemberFunctionType* SgMemberFunctionType_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
04251 
04252 // Methods for computing the total size of the memory pool. It actually returns the
04253 // size of the whole blocks allocated, no matter they contain valid pointers or not
04254 unsigned long SgMemberFunctionType_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
04255 void SgMemberFunctionType_clearMemoryPool ( );
04256 void SgMemberFunctionType_extendMemoryPoolForFileIO ( );
04257 unsigned long SgMemberFunctionType_initializeStorageClassArray( SgMemberFunctionTypeStorageClass *storageArray );
04258 void SgMemberFunctionType_resetValidFreepointers( );
04259 unsigned long SgMemberFunctionType_getNumberOfLastValidPointer();
04260 
04261 
04262 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
04263 
04264 #include <semaphore.h>
04265 // DQ (9/21/2005): Static variables supporting memory pools
04272 extern int SgPartialFunctionType_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
04273 
04278 extern SgPartialFunctionType* SgPartialFunctionType_Current_Link;              // = NULL;
04279 
04280 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
04281 // This is was one of the things on the todo list (above).
04282 
04287 extern std::vector < unsigned char* > SgPartialFunctionType_Memory_Block_List;
04288 /* */
04289 
04290 // DQ (4/6/2006): Newer code from Jochen
04291 // Methods to find the pointer to a global and local index
04292 SgPartialFunctionType* SgPartialFunctionType_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
04293 SgPartialFunctionType* SgPartialFunctionType_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
04294 
04295 // Methods for computing the total size of the memory pool. It actually returns the
04296 // size of the whole blocks allocated, no matter they contain valid pointers or not
04297 unsigned long SgPartialFunctionType_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
04298 void SgPartialFunctionType_clearMemoryPool ( );
04299 void SgPartialFunctionType_extendMemoryPoolForFileIO ( );
04300 unsigned long SgPartialFunctionType_initializeStorageClassArray( SgPartialFunctionTypeStorageClass *storageArray );
04301 void SgPartialFunctionType_resetValidFreepointers( );
04302 unsigned long SgPartialFunctionType_getNumberOfLastValidPointer();
04303 
04304 
04305 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
04306 
04307 #include <semaphore.h>
04308 // DQ (9/21/2005): Static variables supporting memory pools
04315 extern int SgPartialFunctionModifierType_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
04316 
04321 extern SgPartialFunctionModifierType* SgPartialFunctionModifierType_Current_Link;              // = NULL;
04322 
04323 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
04324 // This is was one of the things on the todo list (above).
04325 
04330 extern std::vector < unsigned char* > SgPartialFunctionModifierType_Memory_Block_List;
04331 /* */
04332 
04333 // DQ (4/6/2006): Newer code from Jochen
04334 // Methods to find the pointer to a global and local index
04335 SgPartialFunctionModifierType* SgPartialFunctionModifierType_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
04336 SgPartialFunctionModifierType* SgPartialFunctionModifierType_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
04337 
04338 // Methods for computing the total size of the memory pool. It actually returns the
04339 // size of the whole blocks allocated, no matter they contain valid pointers or not
04340 unsigned long SgPartialFunctionModifierType_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
04341 void SgPartialFunctionModifierType_clearMemoryPool ( );
04342 void SgPartialFunctionModifierType_extendMemoryPoolForFileIO ( );
04343 unsigned long SgPartialFunctionModifierType_initializeStorageClassArray( SgPartialFunctionModifierTypeStorageClass *storageArray );
04344 void SgPartialFunctionModifierType_resetValidFreepointers( );
04345 unsigned long SgPartialFunctionModifierType_getNumberOfLastValidPointer();
04346 
04347 
04348 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
04349 
04350 #include <semaphore.h>
04351 // DQ (9/21/2005): Static variables supporting memory pools
04358 extern int SgArrayType_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
04359 
04364 extern SgArrayType* SgArrayType_Current_Link;              // = NULL;
04365 
04366 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
04367 // This is was one of the things on the todo list (above).
04368 
04373 extern std::vector < unsigned char* > SgArrayType_Memory_Block_List;
04374 /* */
04375 
04376 // DQ (4/6/2006): Newer code from Jochen
04377 // Methods to find the pointer to a global and local index
04378 SgArrayType* SgArrayType_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
04379 SgArrayType* SgArrayType_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
04380 
04381 // Methods for computing the total size of the memory pool. It actually returns the
04382 // size of the whole blocks allocated, no matter they contain valid pointers or not
04383 unsigned long SgArrayType_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
04384 void SgArrayType_clearMemoryPool ( );
04385 void SgArrayType_extendMemoryPoolForFileIO ( );
04386 unsigned long SgArrayType_initializeStorageClassArray( SgArrayTypeStorageClass *storageArray );
04387 void SgArrayType_resetValidFreepointers( );
04388 unsigned long SgArrayType_getNumberOfLastValidPointer();
04389 
04390 
04391 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
04392 
04393 #include <semaphore.h>
04394 // DQ (9/21/2005): Static variables supporting memory pools
04401 extern int SgTypeEllipse_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
04402 
04407 extern SgTypeEllipse* SgTypeEllipse_Current_Link;              // = NULL;
04408 
04409 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
04410 // This is was one of the things on the todo list (above).
04411 
04416 extern std::vector < unsigned char* > SgTypeEllipse_Memory_Block_List;
04417 /* */
04418 
04419 // DQ (4/6/2006): Newer code from Jochen
04420 // Methods to find the pointer to a global and local index
04421 SgTypeEllipse* SgTypeEllipse_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
04422 SgTypeEllipse* SgTypeEllipse_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
04423 
04424 // Methods for computing the total size of the memory pool. It actually returns the
04425 // size of the whole blocks allocated, no matter they contain valid pointers or not
04426 unsigned long SgTypeEllipse_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
04427 void SgTypeEllipse_clearMemoryPool ( );
04428 void SgTypeEllipse_extendMemoryPoolForFileIO ( );
04429 unsigned long SgTypeEllipse_initializeStorageClassArray( SgTypeEllipseStorageClass *storageArray );
04430 void SgTypeEllipse_resetValidFreepointers( );
04431 unsigned long SgTypeEllipse_getNumberOfLastValidPointer();
04432 
04433 
04434 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
04435 
04436 #include <semaphore.h>
04437 // DQ (9/21/2005): Static variables supporting memory pools
04444 extern int SgTemplateType_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
04445 
04450 extern SgTemplateType* SgTemplateType_Current_Link;              // = NULL;
04451 
04452 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
04453 // This is was one of the things on the todo list (above).
04454 
04459 extern std::vector < unsigned char* > SgTemplateType_Memory_Block_List;
04460 /* */
04461 
04462 // DQ (4/6/2006): Newer code from Jochen
04463 // Methods to find the pointer to a global and local index
04464 SgTemplateType* SgTemplateType_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
04465 SgTemplateType* SgTemplateType_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
04466 
04467 // Methods for computing the total size of the memory pool. It actually returns the
04468 // size of the whole blocks allocated, no matter they contain valid pointers or not
04469 unsigned long SgTemplateType_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
04470 void SgTemplateType_clearMemoryPool ( );
04471 void SgTemplateType_extendMemoryPoolForFileIO ( );
04472 unsigned long SgTemplateType_initializeStorageClassArray( SgTemplateTypeStorageClass *storageArray );
04473 void SgTemplateType_resetValidFreepointers( );
04474 unsigned long SgTemplateType_getNumberOfLastValidPointer();
04475 
04476 
04477 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
04478 
04479 #include <semaphore.h>
04480 // DQ (9/21/2005): Static variables supporting memory pools
04487 extern int SgQualifiedNameType_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
04488 
04493 extern SgQualifiedNameType* SgQualifiedNameType_Current_Link;              // = NULL;
04494 
04495 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
04496 // This is was one of the things on the todo list (above).
04497 
04502 extern std::vector < unsigned char* > SgQualifiedNameType_Memory_Block_List;
04503 /* */
04504 
04505 // DQ (4/6/2006): Newer code from Jochen
04506 // Methods to find the pointer to a global and local index
04507 SgQualifiedNameType* SgQualifiedNameType_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
04508 SgQualifiedNameType* SgQualifiedNameType_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
04509 
04510 // Methods for computing the total size of the memory pool. It actually returns the
04511 // size of the whole blocks allocated, no matter they contain valid pointers or not
04512 unsigned long SgQualifiedNameType_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
04513 void SgQualifiedNameType_clearMemoryPool ( );
04514 void SgQualifiedNameType_extendMemoryPoolForFileIO ( );
04515 unsigned long SgQualifiedNameType_initializeStorageClassArray( SgQualifiedNameTypeStorageClass *storageArray );
04516 void SgQualifiedNameType_resetValidFreepointers( );
04517 unsigned long SgQualifiedNameType_getNumberOfLastValidPointer();
04518 
04519 
04520 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
04521 
04522 #include <semaphore.h>
04523 // DQ (9/21/2005): Static variables supporting memory pools
04530 extern int SgTypeComplex_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
04531 
04536 extern SgTypeComplex* SgTypeComplex_Current_Link;              // = NULL;
04537 
04538 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
04539 // This is was one of the things on the todo list (above).
04540 
04545 extern std::vector < unsigned char* > SgTypeComplex_Memory_Block_List;
04546 /* */
04547 
04548 // DQ (4/6/2006): Newer code from Jochen
04549 // Methods to find the pointer to a global and local index
04550 SgTypeComplex* SgTypeComplex_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
04551 SgTypeComplex* SgTypeComplex_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
04552 
04553 // Methods for computing the total size of the memory pool. It actually returns the
04554 // size of the whole blocks allocated, no matter they contain valid pointers or not
04555 unsigned long SgTypeComplex_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
04556 void SgTypeComplex_clearMemoryPool ( );
04557 void SgTypeComplex_extendMemoryPoolForFileIO ( );
04558 unsigned long SgTypeComplex_initializeStorageClassArray( SgTypeComplexStorageClass *storageArray );
04559 void SgTypeComplex_resetValidFreepointers( );
04560 unsigned long SgTypeComplex_getNumberOfLastValidPointer();
04561 
04562 
04563 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
04564 
04565 #include <semaphore.h>
04566 // DQ (9/21/2005): Static variables supporting memory pools
04573 extern int SgTypeImaginary_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
04574 
04579 extern SgTypeImaginary* SgTypeImaginary_Current_Link;              // = NULL;
04580 
04581 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
04582 // This is was one of the things on the todo list (above).
04583 
04588 extern std::vector < unsigned char* > SgTypeImaginary_Memory_Block_List;
04589 /* */
04590 
04591 // DQ (4/6/2006): Newer code from Jochen
04592 // Methods to find the pointer to a global and local index
04593 SgTypeImaginary* SgTypeImaginary_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
04594 SgTypeImaginary* SgTypeImaginary_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
04595 
04596 // Methods for computing the total size of the memory pool. It actually returns the
04597 // size of the whole blocks allocated, no matter they contain valid pointers or not
04598 unsigned long SgTypeImaginary_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
04599 void SgTypeImaginary_clearMemoryPool ( );
04600 void SgTypeImaginary_extendMemoryPoolForFileIO ( );
04601 unsigned long SgTypeImaginary_initializeStorageClassArray( SgTypeImaginaryStorageClass *storageArray );
04602 void SgTypeImaginary_resetValidFreepointers( );
04603 unsigned long SgTypeImaginary_getNumberOfLastValidPointer();
04604 
04605 
04606 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
04607 
04608 #include <semaphore.h>
04609 // DQ (9/21/2005): Static variables supporting memory pools
04616 extern int SgTypeDefault_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
04617 
04622 extern SgTypeDefault* SgTypeDefault_Current_Link;              // = NULL;
04623 
04624 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
04625 // This is was one of the things on the todo list (above).
04626 
04631 extern std::vector < unsigned char* > SgTypeDefault_Memory_Block_List;
04632 /* */
04633 
04634 // DQ (4/6/2006): Newer code from Jochen
04635 // Methods to find the pointer to a global and local index
04636 SgTypeDefault* SgTypeDefault_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
04637 SgTypeDefault* SgTypeDefault_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
04638 
04639 // Methods for computing the total size of the memory pool. It actually returns the
04640 // size of the whole blocks allocated, no matter they contain valid pointers or not
04641 unsigned long SgTypeDefault_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
04642 void SgTypeDefault_clearMemoryPool ( );
04643 void SgTypeDefault_extendMemoryPoolForFileIO ( );
04644 unsigned long SgTypeDefault_initializeStorageClassArray( SgTypeDefaultStorageClass *storageArray );
04645 void SgTypeDefault_resetValidFreepointers( );
04646 unsigned long SgTypeDefault_getNumberOfLastValidPointer();
04647 
04648 
04649 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
04650 
04651 #include <semaphore.h>
04652 // DQ (9/21/2005): Static variables supporting memory pools
04659 extern int SgTypeCAFTeam_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
04660 
04665 extern SgTypeCAFTeam* SgTypeCAFTeam_Current_Link;              // = NULL;
04666 
04667 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
04668 // This is was one of the things on the todo list (above).
04669 
04674 extern std::vector < unsigned char* > SgTypeCAFTeam_Memory_Block_List;
04675 /* */
04676 
04677 // DQ (4/6/2006): Newer code from Jochen
04678 // Methods to find the pointer to a global and local index
04679 SgTypeCAFTeam* SgTypeCAFTeam_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
04680 SgTypeCAFTeam* SgTypeCAFTeam_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
04681 
04682 // Methods for computing the total size of the memory pool. It actually returns the
04683 // size of the whole blocks allocated, no matter they contain valid pointers or not
04684 unsigned long SgTypeCAFTeam_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
04685 void SgTypeCAFTeam_clearMemoryPool ( );
04686 void SgTypeCAFTeam_extendMemoryPoolForFileIO ( );
04687 unsigned long SgTypeCAFTeam_initializeStorageClassArray( SgTypeCAFTeamStorageClass *storageArray );
04688 void SgTypeCAFTeam_resetValidFreepointers( );
04689 unsigned long SgTypeCAFTeam_getNumberOfLastValidPointer();
04690 
04691 
04692 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
04693 
04694 #include <semaphore.h>
04695 // DQ (9/21/2005): Static variables supporting memory pools
04702 extern int SgTypeCrayPointer_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
04703 
04708 extern SgTypeCrayPointer* SgTypeCrayPointer_Current_Link;              // = NULL;
04709 
04710 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
04711 // This is was one of the things on the todo list (above).
04712 
04717 extern std::vector < unsigned char* > SgTypeCrayPointer_Memory_Block_List;
04718 /* */
04719 
04720 // DQ (4/6/2006): Newer code from Jochen
04721 // Methods to find the pointer to a global and local index
04722 SgTypeCrayPointer* SgTypeCrayPointer_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
04723 SgTypeCrayPointer* SgTypeCrayPointer_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
04724 
04725 // Methods for computing the total size of the memory pool. It actually returns the
04726 // size of the whole blocks allocated, no matter they contain valid pointers or not
04727 unsigned long SgTypeCrayPointer_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
04728 void SgTypeCrayPointer_clearMemoryPool ( );
04729 void SgTypeCrayPointer_extendMemoryPoolForFileIO ( );
04730 unsigned long SgTypeCrayPointer_initializeStorageClassArray( SgTypeCrayPointerStorageClass *storageArray );
04731 void SgTypeCrayPointer_resetValidFreepointers( );
04732 unsigned long SgTypeCrayPointer_getNumberOfLastValidPointer();
04733 
04734 
04735 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
04736 
04737 #include <semaphore.h>
04738 // DQ (9/21/2005): Static variables supporting memory pools
04745 extern int SgTypeLabel_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
04746 
04751 extern SgTypeLabel* SgTypeLabel_Current_Link;              // = NULL;
04752 
04753 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
04754 // This is was one of the things on the todo list (above).
04755 
04760 extern std::vector < unsigned char* > SgTypeLabel_Memory_Block_List;
04761 /* */
04762 
04763 // DQ (4/6/2006): Newer code from Jochen
04764 // Methods to find the pointer to a global and local index
04765 SgTypeLabel* SgTypeLabel_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
04766 SgTypeLabel* SgTypeLabel_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
04767 
04768 // Methods for computing the total size of the memory pool. It actually returns the
04769 // size of the whole blocks allocated, no matter they contain valid pointers or not
04770 unsigned long SgTypeLabel_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
04771 void SgTypeLabel_clearMemoryPool ( );
04772 void SgTypeLabel_extendMemoryPoolForFileIO ( );
04773 unsigned long SgTypeLabel_initializeStorageClassArray( SgTypeLabelStorageClass *storageArray );
04774 void SgTypeLabel_resetValidFreepointers( );
04775 unsigned long SgTypeLabel_getNumberOfLastValidPointer();
04776 
04777 
04778 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
04779 
04780 #include <semaphore.h>
04781 // DQ (9/21/2005): Static variables supporting memory pools
04788 extern int SgLocatedNode_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
04789 
04794 extern SgLocatedNode* SgLocatedNode_Current_Link;              // = NULL;
04795 
04796 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
04797 // This is was one of the things on the todo list (above).
04798 
04803 extern std::vector < unsigned char* > SgLocatedNode_Memory_Block_List;
04804 /* */
04805 
04806 // DQ (4/6/2006): Newer code from Jochen
04807 // Methods to find the pointer to a global and local index
04808 SgLocatedNode* SgLocatedNode_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
04809 SgLocatedNode* SgLocatedNode_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
04810 
04811 // Methods for computing the total size of the memory pool. It actually returns the
04812 // size of the whole blocks allocated, no matter they contain valid pointers or not
04813 unsigned long SgLocatedNode_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
04814 void SgLocatedNode_clearMemoryPool ( );
04815 void SgLocatedNode_extendMemoryPoolForFileIO ( );
04816 unsigned long SgLocatedNode_initializeStorageClassArray( SgLocatedNodeStorageClass *storageArray );
04817 void SgLocatedNode_resetValidFreepointers( );
04818 unsigned long SgLocatedNode_getNumberOfLastValidPointer();
04819 
04820 
04821 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
04822 
04823 #include <semaphore.h>
04824 // DQ (9/21/2005): Static variables supporting memory pools
04831 extern int SgLocatedNodeSupport_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
04832 
04837 extern SgLocatedNodeSupport* SgLocatedNodeSupport_Current_Link;              // = NULL;
04838 
04839 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
04840 // This is was one of the things on the todo list (above).
04841 
04846 extern std::vector < unsigned char* > SgLocatedNodeSupport_Memory_Block_List;
04847 /* */
04848 
04849 // DQ (4/6/2006): Newer code from Jochen
04850 // Methods to find the pointer to a global and local index
04851 SgLocatedNodeSupport* SgLocatedNodeSupport_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
04852 SgLocatedNodeSupport* SgLocatedNodeSupport_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
04853 
04854 // Methods for computing the total size of the memory pool. It actually returns the
04855 // size of the whole blocks allocated, no matter they contain valid pointers or not
04856 unsigned long SgLocatedNodeSupport_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
04857 void SgLocatedNodeSupport_clearMemoryPool ( );
04858 void SgLocatedNodeSupport_extendMemoryPoolForFileIO ( );
04859 unsigned long SgLocatedNodeSupport_initializeStorageClassArray( SgLocatedNodeSupportStorageClass *storageArray );
04860 void SgLocatedNodeSupport_resetValidFreepointers( );
04861 unsigned long SgLocatedNodeSupport_getNumberOfLastValidPointer();
04862 
04863 
04864 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
04865 
04866 #include <semaphore.h>
04867 // DQ (9/21/2005): Static variables supporting memory pools
04874 extern int SgCommonBlockObject_CLASS_ALLOCATION_POOL_SIZE;        // = DEFAULT_CLASS_ALLOCATION_POOL_SIZE;
04875 
04880 extern SgCommonBlockObject* SgCommonBlockObject_Current_Link;              // = NULL;
04881 
04882 // DQ (12/15/2005): This is Jochen's implementation of the memory allocation pools.
04883 // This is was one of the things on the todo list (above).
04884 
04889 extern std::vector < unsigned char* > SgCommonBlockObject_Memory_Block_List;
04890 /* */
04891 
04892 // DQ (4/6/2006): Newer code from Jochen
04893 // Methods to find the pointer to a global and local index
04894 SgCommonBlockObject* SgCommonBlockObject_getPointerFromGlobalIndex ( unsigned long globalIndex ) ;
04895 SgCommonBlockObject* SgCommonBlockObject_getPointerFromGlobalIndex ( AstSpecificDataManagingClass* astInPool, unsigned long globalIndex ) ;
04896 
04897 // Methods for computing the total size of the memory pool. It actually returns the
04898 // size of the whole blocks allocated, no matter they contain valid pointers or not
04899 unsigned long SgCommonBlockObject_getNumberOfValidNodesAndSetGlobalIndexInFreepointer( unsigned long );
04900 void SgCommonBlockObject_clearMemoryPool ( );
04901 void SgCommonBlockObject_extendMemoryPoolForFileIO ( );
04902 unsigned long SgCommonBlockObject_initializeStorageClassArray( SgCommonBlockObjectStorageClass *storageArray );
04903 void SgCommonBlockObject_resetValidFreepointers( );
04904 unsigned long SgCommonBlockObject_getNumberOfLastValidPointer();
04905 
04906 
04907 /* #line 1 "/export/tmp.hudson-rose/hudson/workspace/a90-ROSE-daily-release/label/amd64-linux/src/ROSETTA/Grammar/grammarMemoryPoolSupport.macro" */
04908 
04909