ROSE
0.9.6a
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
rwAccessLabeler.h
Go to the documentation of this file.
1
#ifndef RW_ACCESS_LABELER_H
2
#define RW_ACCESS_LABELER_H
3
4
#include <string>
5
6
class
SgNode
;
7
8
namespace
rwAccessLabeler {
9
10
typedef
enum
{
readAccess
=0,
writeAccess
=1,
rwAccess
=2}
accessType
;
11
12
// labels the portion of the AST rooted at root with annotations that identify the various portions
13
// the read/write sides of SgAssignOp nodes (if they are)
14
void
addRWAnnotations
(
SgNode
* root);
15
16
// returns the type of access being performed at the given node
17
accessType
getAccessType
(
SgNode
* n);
18
19
// copies the access type annotation from src to tgt
20
void
cloneAccessType
(
SgNode
* tgt,
SgNode
* src);
21
22
// returns a string representation of the given accessType
23
std::string
accessTypeToStr
(
accessType
t);
24
25
}
26
27
#endif
rose-edg4x
src
midend
programAnalysis
genericDataflow
rwAccessLabeler
rwAccessLabeler.h
Generated on Mon May 5 2014 17:29:26 for ROSE by
1.8.4