ROSE 0.11.145.354
SgAsmJvmModule.h
1
2#ifndef ROSE_SgAsmJvmModule_H
3#define ROSE_SgAsmJvmModule_H
4#include <RoseFirst.h>
5#include <Cxx_GrammarDeclarations.h>
6#include <SgAsmJvmAttribute.h>
7
8
9
10/* #line 1 "/workspace/src/ROSETTA/Grammar/grammarClassDeclarationMacros.macro" */
11
12// WARNING -- GENERATED CODE -- DO NOT MODIFY THIS CODE -- WARNING!
13// This code is automatically generated for each
14// terminal and non-terminal within the defined
15// grammar. There is a simple way to change the
16// code to fix bugs etc. See the ROSE README file
17// for directions.
18
19// tps: (02/22/2010): Adding DLL export requirements
20#include "rosedll.h"
21
22// predeclarations for SgAsmJvmModule
23
24/* #line 25 "../../../src/frontend/SageIII//SgAsmJvmModule.h" */
25/* #line 11127 "/workspace/src/ROSETTA/src/binaryInstruction.C" */
26
27#include <sageContainer.h>
28
29
30/* #line 13 "/workspace/src/ROSETTA/Grammar/grammarClassDeclarationMacros.macro after subst for $PREDECLARATIONS" */
31
32/* #line 14 "/workspace/src/ROSETTA/Grammar/grammarClassDeclarationMacros.macro" */
33
34#if !defined(DOCUMENTATION)
35// Class Definition for SgAsmJvmModule
36class ROSE_DLL_API SgAsmJvmModule : public SgAsmJvmAttribute
37 {
38 public:
39
40
41/* #line 42 "../../../src/frontend/SageIII//SgAsmJvmModule.h" */
42
43 virtual SgNode* copy ( SgCopyHelp& help) const override;
44// Start of memberFunctionString
45/* #line 11190 "/workspace/src/ROSETTA/src/binaryInstruction.C" */
46
47
48 //----------------------- Boost serialization for SgAsmJvmModule -----------------------
49#ifdef ROSE_ENABLE_BOOST_SERIALIZATION
50private:
51 friend class boost::serialization::access;
52
53 template<class S>
54 void serialize(S &s, const unsigned /*version*/) {
55 debugSerializationBegin("SgAsmJvmModule");
56 s & BOOST_SERIALIZATION_BASE_OBJECT_NVP(SgAsmJvmAttribute);
57 s & BOOST_SERIALIZATION_NVP(p_module_name_index);
58 s & BOOST_SERIALIZATION_NVP(p_module_flags);
59 s & BOOST_SERIALIZATION_NVP(p_module_version_index);
60 s & BOOST_SERIALIZATION_NVP(p_requires);
61 s & BOOST_SERIALIZATION_NVP(p_exports);
62 s & BOOST_SERIALIZATION_NVP(p_opens);
63 s & BOOST_SERIALIZATION_NVP(p_uses_index);
64 s & BOOST_SERIALIZATION_NVP(p_provides);
65 debugSerializationEnd("SgAsmJvmModule");
66 }
67#endif // ROSE_ENABLE_BOOST_SERIALIZATION
69 // Local types
71public:
75 struct Requires {
76 uint16_t requires_index;
77 uint16_t requires_flags;
78 uint16_t requires_version_index;
79
80#ifdef ROSE_ENABLE_BOOST_SERIALIZATION
81 template<class S>
82 void serialize(S &s, const unsigned /*version*/) {
83 s & BOOST_SERIALIZATION_NVP(requires_index);
84 s & BOOST_SERIALIZATION_NVP(requires_flags);
85 s & BOOST_SERIALIZATION_NVP(requires_version_index);
86 }
87#endif
88 };
89
93 struct Exports {
94 uint16_t exports_index;
95 uint16_t exports_flags;
96 std::vector<uint16_t> exports_to_index;
97
98#ifdef ROSE_ENABLE_BOOST_SERIALIZATION
99 template<class S>
100 void serialize(S &s, const unsigned /*version*/) {
101 s & BOOST_SERIALIZATION_NVP(exports_index);
102 s & BOOST_SERIALIZATION_NVP(exports_flags);
103 s & BOOST_SERIALIZATION_NVP(exports_to_index);
104 }
105#endif
106 };
107
111 struct Opens {
112 uint16_t opens_index;
113 uint16_t opens_flags;
114 std::vector<uint16_t> opens_to_index;
115
116#ifdef ROSE_ENABLE_BOOST_SERIALIZATION
117 template<class S>
118 void serialize(S &s, const unsigned /*version*/) {
119 s & BOOST_SERIALIZATION_NVP(opens_index);
120 s & BOOST_SERIALIZATION_NVP(opens_flags);
121 s & BOOST_SERIALIZATION_NVP(opens_to_index);
122 }
123#endif
124 };
125
129 struct Provides {
130 uint16_t provides_index;
131 std::vector<uint16_t> provides_with_index;
132
133#ifdef ROSE_ENABLE_BOOST_SERIALIZATION
134 template<class S>
135 void serialize(S &s, const unsigned /*version*/) {
136 s & BOOST_SERIALIZATION_NVP(provides_index);
137 s & BOOST_SERIALIZATION_NVP(provides_with_index);
138 }
139#endif
140 };
141
143 // Properties
145public:
146public:
154 uint16_t const& get_module_name_index() const;
155 void set_module_name_index(uint16_t const&);
158public:
167 uint16_t const& get_module_flags() const;
168 void set_module_flags(uint16_t const&);
171public:
179 uint16_t const& get_module_version_index() const;
180 void set_module_version_index(uint16_t const&);
183public:
189 std::vector<SgAsmJvmModule::Requires*> const& get_requires() const;
190 std::vector<SgAsmJvmModule::Requires*>& get_requires();
191 void set_requires(std::vector<SgAsmJvmModule::Requires*> const&);
194public:
202 std::vector<SgAsmJvmModule::Exports*> const& get_exports() const;
203 std::vector<SgAsmJvmModule::Exports*>& get_exports();
204 void set_exports(std::vector<SgAsmJvmModule::Exports*> const&);
207public:
215 std::vector<SgAsmJvmModule::Opens*> const& get_opens() const;
216 std::vector<SgAsmJvmModule::Opens*>& get_opens();
217 void set_opens(std::vector<SgAsmJvmModule::Opens*> const&);
220public:
228 std::vector<uint16_t> const& get_uses_index() const;
229 std::vector<uint16_t>& get_uses_index();
230 void set_uses_index(std::vector<uint16_t> const&);
233public:
239 std::vector<SgAsmJvmModule::Provides*> const& get_provides() const;
240 std::vector<SgAsmJvmModule::Provides*>& get_provides();
241 void set_provides(std::vector<SgAsmJvmModule::Provides*> const&);
243public:
247 explicit SgAsmJvmModule(SgAsmJvmAttributeTable* table);
248
250 virtual SgAsmJvmModule* parse(SgAsmJvmConstantPool* pool) override;
251
253 virtual void unparse(std::ostream&) const override;
254
256 virtual void dump(FILE*, const char *prefix, ssize_t idx) const override;
257public:
259 virtual ~SgAsmJvmModule();
260
261public:
264
265protected:
273
274
275// End of memberFunctionString
276// Start of memberFunctionString
277/* #line 1 "/workspace/src/ROSETTA/Grammar/Common.code" */
278
279// *** COMMON CODE SECTION BEGINS HERE ***
280
281 public:
282
283 // DQ (3/25/3006): I put this back in because it had the logic for where the copy function required
284 // and not required which is required to match the other aspects of the copy mechanism code generation.
285 // Specifically it is a problem to declare the copy function everywhere because it is not implemented
286 // for the SgSymbol IR nodes. I'm not clear why it is not implemented for these IR nodes.
287 /* \brief Copies AST (whole subtree, depending on the SgCopyHelp class */
288 // virtual SgNode* copy ( const SgCopyHelp & help) const;
289
291 virtual std::string class_name() const override;
292
294 virtual VariantT variantT() const override; // MS: new variant used in tree traversal
295
297 // King84 (2010.08.16): Moved this to an enum to save space, since it's only used at compiler-time anyway.
298 // static const VariantT static_variant = V_SgAsmJvmModule;
299 enum { static_variant = V_SgAsmJvmModule };
300
301 /* the generated cast function */
303 ROSE_DLL_API friend SgAsmJvmModule* isSgAsmJvmModule( SgNode * s );
304
306 ROSE_DLL_API friend const SgAsmJvmModule* isSgAsmJvmModule( const SgNode * s );
307
308 // ******************************************
309 // * Memory Pool / New / Delete
310 // ******************************************
311
312 public:
314 static const unsigned pool_size; //
316 static std::vector<unsigned char *> pools; //
318 static SgAsmJvmModule * next_node; //
319
321 static unsigned long initializeStorageClassArray(SgAsmJvmModuleStorageClass *); //
322
324 static void clearMemoryPool(); //
325 static void deleteMemoryPool(); //
326
328 static void extendMemoryPoolForFileIO(); //
329
331 static SgAsmJvmModule * getPointerFromGlobalIndex(unsigned long); //
333 static SgAsmJvmModule * getPointerFromGlobalIndex(AstSpecificDataManagingClass *, unsigned long); //
334
336 static unsigned long getNumberOfValidNodesAndSetGlobalIndexInFreepointer(unsigned long); //
338 static void resetValidFreepointers(); //
340 static unsigned long getNumberOfLastValidPointer(); //
341
342
343#if defined(INLINE_FUNCTIONS)
345 inline void *operator new (size_t size);
346#else
348 void *operator new (size_t size);
349#endif
351 void operator delete (void* pointer, size_t size);
352
353 // DQ (4/5/2007): This is not the correct operator that we want, but appears to be required to compile ROSE with ROSE.
354 void operator delete (void* pointer)
355 {
356 // This is the generated delete operator...
357 SgAsmJvmModule::operator delete (pointer,sizeof(SgAsmJvmModule));
358 }
359
361 static size_t numberOfNodes();
362
364 static size_t memoryUsage();
365
366 // End of scope which started in IR nodes specific code
367 /* */
368
369 /* name Internal Functions
370 \brief Internal functions ... incomplete-documentation
371
372 These functions have been made public as part of the design, but they are suggested for internal use
373 or by particularly knowledgeable users for specialized tools or applications.
374
375 \internal We could not make these private because they are required by user for special purposes. And
376 it would be unwieldy to have many of the internal classes in ROSE be explicitly defined as friends.
377
378 */
379
380 // MS: 02/12/02 container of pointers to AST successor nodes used in the traversal
381 // overridden in every class by *generated* implementation
383 virtual std::vector<SgNode*> get_traversalSuccessorContainer() const override;
384 // MS: 06/28/02 container of names of variables or container indices
385 // used used in the traversal to access AST successor nodes
386 // overridden in every class by *generated* implementation
389 virtual std::vector<std::string> get_traversalSuccessorNamesContainer() const override;
390
391 // GB (09/25/2007): Functions for index-based access to traversal successors; these are hopefully a lot faster
392 // than all the vector copies. The implementation for these functions is generated for each class.
394 virtual size_t get_numberOfTraversalSuccessors() const override;
396 virtual SgNode *get_traversalSuccessorByIndex(size_t idx) const override;
398 virtual size_t get_childIndex(SgNode *child) const override;
399
400#ifndef ROSE_USE_INTERNAL_FRONTEND_DEVELOPMENT
401 // MS: 08/16/2002 method for generating RTI information
403 virtual RTIReturnType roseRTI() override;
404#endif
405 /* */
406
407
408
409 /* name Deprecated Functions
410 \brief Deprecated functions ... incomplete-documentation
411
412 These functions have been deprecated from use.
413 */
414 /* */
415
417 virtual const char* sage_class_name() const override ROSE_DEPRECATED_FUNCTION;
418
419 // JJW (10/16/2008): Changed to a single function in Node.code, and put
420 // getVariant() in #if 0 block to prevent confusing Doxygen
421#if 0
423 virtual int variant() const ROSE_DEPRECATED_FUNCTION;
425 // virtual int getVariant() const ROSE_DEPRECATED_FUNCTION;
426#endif
427 /* */
428
429
430
431
432 public:
433 /* name Traversal Support Functions
434 \brief Traversal support functions ... incomplete-documentation
435
436 These functions have been made public as part of the design, but they are suggested for internal use
437 or by particularly knowledgable users for specialized tools or applications.
438 */
439 /* */
440
441 // DQ (11/26/2005): Support for visitor pattern mechanims
442 // (inferior to ROSE traversal mechanism, experimental).
446
447 /* DXN (08/09/2010): support for the classic visitor pattern done in GoF */
449 virtual void accept (ROSE_VisitorPattern & visitor) override;
450
451 // DQ (12/26/2005): Support for traversal based on the memory pool
454 static void traverseMemoryPoolNodes(ROSE_VisitTraversal & visit);
455
459
460 // DQ (2/9/2006): Added to support traversal over single representative of each IR node
461 // This traversal helps support internal tools that call static member functions.
462 // note: this function operates on the memory pools.
465 static void visitRepresentativeNode (ROSE_VisitTraversal & visit);
466 /* */
467
468 public:
469 /* NodeId support functions */
471 static SgNode* getNodeByNodeId(VariantT variantT, size_t poolIdx, size_t itemIdx);
474 static SgAsmJvmModule* getNodeByNodeIdInternal(size_t poolIdx, size_t itemIdx);
477 static std::string getNodeIdString(SgAsmJvmModule* sgnode);
478 static std::string getNodeIdStringInternal(SgAsmJvmModule* sgnode);
479
480 public:
481 /* name Memory Allocation Functions
482 \brief Memory allocations functions ... incomplete-documentation
483
484 These functions have been made public as part of the design, but they are suggested for internal use
485 or by particularly knowledgable users for specialized tools or applications.
486 */
487 /* */
488
499 virtual bool isInMemoryPool() override;
500
511 virtual void checkDataMemberPointersIfInMemoryPool() override;
512
513 // DQ (4/30/2006): Modified to be a const function.
528 virtual std::vector<std::pair<SgNode*,std::string> > returnDataMemberPointers() const override;
529
540
552 virtual long getChildIndex( SgNode* childNode ) const override;
553
554 // DQ (9/2/2015): Since this function is generated by ROSETTA, we can't define the
555 // comment here (changed to be a C style comment and not be a doxygen comment).
556 /* \brief Constructor for use by AST File I/O Mechanism
557
558 This constructor permits the IR node to be rebuilt from the contiguously arranged data in memory
559 which obtained via fast binary file I/O from disk.
560 */
561 // SgAsmJvmModule( SgAsmJvmModuleStorageClass& source );
562
563
564
565
566
567 // JH (10/24/2005): methods added to support the ast file IO
568 private:
569
570 /* name AST Memory Allocation Support Functions
571 \brief Memory allocations support....
572
573 These functions handle the low leve support of the memory allocation scheme which permits IR nodes to be allocated
574 in large contiguous blocks to reduce memory fragmentation, improve performance, support specialized access (AST traversals),
575 and support the AST File I/O Mechanism.
576 */
577 /* */
578
579 /* JH (10/24/2005): Two typedefs. The TestType notes the type every pointer is cast to before
580 we compare them. Since I had several problems with this, I decided to make a typdef to ensure
581 that I use the same type everywhere, if any changes are made. THe second one declares the type
582 (actually unsigned long) where teh pointer address gets converted to. On 64 bit platforms this
583 might got changed, but unfortunatly, the return types are still unsigned longs. There exists
584 a correspinding one in the AST_FILE_IO class!
585 */
586 // DQ (9/2/2015): This typedef is no longer used, we can't define the
587 // comment here (changed to be a C style comment and not be a doxygen comment).
588 /* \brief Typedef used for low level memory access.
589 */
590 // typedef unsigned char* TestType;
591
592 // DQ (9/2/2015): This typedef is no longer used, we can't define the
593 // comment here (changed to be a C style comment and not be a doxygen comment).
594 /* \brief Typedef used to hold memory addresses as values.
595 */
596 // typedef unsigned long AddressType;
597
598
599
600 // necessary, to have direct access to the p_freepointer and the private methods !
602 friend class AST_FILE_IO;
603
605 friend class SgAsmJvmModuleStorageClass;
606
608 friend class AstSpecificDataManagingClass;
609
611 friend class AstSpecificDataManagingClassStorageClass;
612 public:
614 SgAsmJvmModule( const SgAsmJvmModuleStorageClass& source );
615
616 // private: // JJW hack
617 /*
618 name AST Memory Allocation Support Variables
619 Memory allocations support variables
620
621 These variables handle the low level support of the memory allocation scheme which permits IR nodes to be allocated
622 in large contiguous blocks to reduce memory fragmentation, improve performance, support specialized access (AST traversals),
623 and support the AST File I/O Mechanism.
624 */
625 /* */
626
627 public:
628
629 // DQ (11/21/2009): Added function to add new Regular Expression attributes and return pointer
630 // to current node (so that it will work cleanly with build functions to specify patterns).
631 // virtual SgNode* addRegExpAttribute();
638
639#ifndef _MSC_VER
640// Rasmussen (04/17/2019): Support for ATerms has been deprecated as it is no longer needed
641// and likely never fully implemented nor tested. Files remain in the src tree but are no
642// longer built.
643#define BUILD_ATERM_SUPPORT 0
644 #if BUILD_ATERM_SUPPORT
645 #ifdef ROSE_USE_ROSE_ATERM_SUPPORT
646 // DQ (10/4/2014): Adding ATerm support to ROSE.
656 // Rasmussen (1/7/2019): Added override to kill warning messages of overridden virtual function
657 virtual ATerm generate_ATerm() override;
658
660 virtual void generate_ATerm_Annotation(ATerm & term) override;
661 #endif
662 #endif // BUILD_ATERM_SUPPORT
663#endif
664 // These can't be virtual functions since we don't yet know what IR node to build (until we have read the aterm).
665 // virtual generate_AST(ATerm & term);
666 // virtual void read_ATerm_Annotation(ATerm & term);
667
668// *** COMMON CODE SECTION ENDS HERE ***
669
670
671// End of memberFunctionString
672// Start of memberFunctionString
673/* #line 670 "/workspace/src/ROSETTA/Grammar/Node.code" */
674
675 // the generated cast function
676 // friend ROSE_DLL_API SgAsmJvmModule* isSgAsmJvmModule ( SgNode* s );
677
678 typedef SgAsmJvmAttribute base_node_type;
679
680
681// End of memberFunctionString
682
683
684
685
686
687
688
689
690
691 protected:
692// Start of memberFunctionString
693uint16_t p_module_name_index;
694
695// End of memberFunctionString
696// Start of memberFunctionString
697uint16_t p_module_flags;
698
699// End of memberFunctionString
700// Start of memberFunctionString
701uint16_t p_module_version_index;
702
703// End of memberFunctionString
704// Start of memberFunctionString
705std::vector<SgAsmJvmModule::Requires*> p_requires;
706
707// End of memberFunctionString
708// Start of memberFunctionString
709std::vector<SgAsmJvmModule::Exports*> p_exports;
710
711// End of memberFunctionString
712// Start of memberFunctionString
713std::vector<SgAsmJvmModule::Opens*> p_opens;
714
715// End of memberFunctionString
716// Start of memberFunctionString
717std::vector<uint16_t> p_uses_index;
718
719// End of memberFunctionString
720// Start of memberFunctionString
721std::vector<SgAsmJvmModule::Provides*> p_provides;
722
723// End of memberFunctionString
724
726 friend struct Rose::Traits::generated::describe_field_t<SgAsmJvmModule, uint16_t,&SgAsmJvmModule::p_module_name_index>;
727 friend struct Rose::Traits::generated::describe_field_t<SgAsmJvmModule, uint16_t,&SgAsmJvmModule::p_module_flags>;
728 friend struct Rose::Traits::generated::describe_field_t<SgAsmJvmModule, uint16_t,&SgAsmJvmModule::p_module_version_index>;
729 friend struct Rose::Traits::generated::describe_field_t<SgAsmJvmModule, std::vector<SgAsmJvmModule::Requires*>,&SgAsmJvmModule::p_requires>;
730 friend struct Rose::Traits::generated::describe_field_t<SgAsmJvmModule, std::vector<SgAsmJvmModule::Exports*>,&SgAsmJvmModule::p_exports>;
731 friend struct Rose::Traits::generated::describe_field_t<SgAsmJvmModule, std::vector<SgAsmJvmModule::Opens*>,&SgAsmJvmModule::p_opens>;
732 friend struct Rose::Traits::generated::describe_field_t<SgAsmJvmModule, std::vector<uint16_t>,&SgAsmJvmModule::p_uses_index>;
733 friend struct Rose::Traits::generated::describe_field_t<SgAsmJvmModule, std::vector<SgAsmJvmModule::Provides*>,&SgAsmJvmModule::p_provides>;
734
735/* #line 21 "/workspace/src/ROSETTA/Grammar/grammarClassDeclarationMacros.macro" */
736
737
738 };
739#endif
740
741// postdeclarations for SgAsmJvmModule
742
743/* #line 744 "../../../src/frontend/SageIII//SgAsmJvmModule.h" */
744
745/* #line 27 "/workspace/src/ROSETTA/Grammar/grammarClassDeclarationMacros.macro after subst for $POSTDECLARATIONS" */
746
747/* #line 28 "/workspace/src/ROSETTA/Grammar/grammarClassDeclarationMacros.macro" */
748
749
750/* #line 751 "../../../src/frontend/SageIII//SgAsmJvmModule.h" */
751
752#endif // ROSE_SgAsmJvmModule_H
753
Class holding static data and functions supporting File I/O.
Definition AST_FILE_IO.h:19
Attribute containing a regex expression as a string.
Represents a JVM attribute_info table/array.
Base class for a JVM attribute.
virtual void dump(FILE *, const char *prefix, ssize_t idx) const override
Print some debugging information.
void initializeProperties()
Initialize all properties that have explicit initial values.
virtual void unparse(std::ostream &) const override
Write attribute to a binary file.
Represents an JVM constant pool.
JVM Module attribute.
Supporting class from copy mechanism within ROSE.
Definition sageCopy.h:26
This class represents the base class for all IR nodes within Sage III.
virtual RTIReturnType roseRTI()
return C++ Runtime-Time-Information
virtual size_t get_numberOfTraversalSuccessors() const
return number of children in the traversal successor list
virtual std::vector< std::string > get_traversalSuccessorNamesContainer() const
container of names of variables or container indices used used in the traversal to access AST success...
virtual void debugSerializationEnd(const char *className)
Called by generated serializers.
static std::string getNodeIdString(SgNode *sgnode)
compute the NodeId for a particular SgNode*.
virtual bool isInMemoryPool()
FOR INTERNAL USE This is used in internal tests to verify that all IR nodes are allocated from the he...
int variant() const
Older version function returns enum value "NODE".
virtual void processDataMemberReferenceToPointers(ReferenceToPointerHandler *)
FOR INTERNAL USE Processes pairs of references to SgNode* and strings for use in AST tools
virtual size_t get_childIndex(SgNode *child) const
index-based access to traversal successors by child node
virtual std::vector< SgNode * > get_traversalSuccessorContainer() const
container of pointers to AST successor nodes used in the traversal overridden in every class by gener...
virtual VariantT variantT() const
returns new style SageIII enum values
virtual long getChildIndex(SgNode *childNode) const
FOR INTERNAL USE Returns a unique index value for the childNode in the list of children at this IR no...
virtual void debugSerializationBegin(const char *className)
Called by generated serializers.
virtual SgNode * get_traversalSuccessorByIndex(size_t idx) const
index-based access to traversal successors by index number
virtual std::string class_name() const
returns a string representing the class name
static void visitRepresentativeNode(ROSE_VisitTraversal &visit)
FOR INTERNAL USE Support for type-based traversal.
virtual void checkDataMemberPointersIfInMemoryPool()
FOR INTERNAL USE This is used in internal tests to verify that all IR nodes are allocated from the he...
static size_t numberOfNodes()
Returns the total number of IR nodes of this type.
virtual void accept(ROSE_VisitorPattern &visitor)
support for the classic visitor pattern done in GoF
static void traverseMemoryPoolVisitorPattern(ROSE_VisitorPattern &visitor)
FOR INTERNAL USE Support for visitor pattern.
void executeVisitorMemberFunction(ROSE_VisitorPattern &visitor)
FOR INTERNAL USE Support for visitor pattern.
static SgNode * getNodeByNodeId(VariantT variantT, size_t poolIdx, size_t itemIdx)
Find a node by its variant type, pool index, and item index.
static size_t memoryUsage()
Returns the size in bytes of the total memory allocated for all IR nodes of this type.
static void traverseMemoryPoolNodes(ROSE_VisitTraversal &visit)
FOR INTERNAL USE Support for visitor pattern over all IR nodes by type of IR node.
virtual const char * sage_class_name() const
generates string representing the class name: (e.g. for SgNode returns "SgNode").
virtual std::vector< std::pair< SgNode *, std::string > > returnDataMemberPointers() const
FOR INTERNAL USE Returns STL vector of pairs of SgNode* and strings for use in AST tools
static SgNode * getNodeByNodeIdInternal(size_t poolIdx, size_t itemIdx)
FOR INTERNAL USE Find an SgNode from its memory pool and location therin.
SgNode * addRegExpAttribute(std::string s, AstRegExAttribute *a)
Support for AST matching using regular expression.
void parse(SgAsmGenericFile *)
Main function to parse DWARF information.
void serialize(std::ostream &output, Graph &graph)
Serialize a graph into a stream of bytes.
void copy(const Word *src, const BitRange &srcRange, Word *dst, const BitRange &dstRange)
Copy some bits.