OpenADFortTk (including Open64 and OpenAnalysis references)
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
sexp2whirl.h
Go to the documentation of this file.
1
// ##########################################################
2
// # This file is part of OpenADFortTk. #
3
// # The full COPYRIGHT notice can be found in the top #
4
// # level directory of the OpenADFortTk source tree. #
5
// # For more information visit #
6
// # http://www.mcs.anl.gov/openad #
7
// ##########################################################
8
9
#ifndef sexp2whirl_h
10
#define sexp2whirl_h
11
12
#include <sexp.h>
13
14
#include "
Open64IRInterface/Open64BasicTypes.h
"
15
16
namespace
sexp2whirl {
17
18
namespace
XlateFlags {
19
enum
Flags
{
20
NONE
= 0x00000000,
//
21
FOO1
= 0x00000001,
//
22
FOO2
= 0x00000002,
//
23
FOO3
= 0x00000004,
//
24
FOO4
= 0x00000008,
//
25
};
26
};
27
28
29
// Translate the whole WHIRL_IR, return a PU_FOREST and set GBL_SYMTAB state.
30
extern
PU_Info
*
31
TranslateIR
(sexp_t* ir,
int
flags = 0);
32
33
34
// Dump to std::cout
35
extern
void
DumpIR
(sexp_t* ir,
int
flags);
36
37
// Convert to a diagnostic message string
38
extern
const
char
*
ErrIR
(sexp_t* ir,
int
flags = 0);
39
40
};
41
#endif
nfs
mercurial
ad
OpenADFortTk
src
sexp2whirl
sexp2whirl.h
Generated on Fri Mar 14 2014 04:22:51 for OpenADFortTk (including Open64 and OpenAnalysis references) by
1.8.4