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
reshape.h
Go to the documentation of this file.
1
/*
2
3
Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved.
4
5
This program is free software; you can redistribute it and/or modify it
6
under the terms of version 2 of the GNU General Public License as
7
published by the Free Software Foundation.
8
9
This program is distributed in the hope that it would be useful, but
10
WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12
13
Further, this software is distributed without any warranty that it is
14
free of the rightful claim of any third person regarding infringement
15
or the like. Any license provided herein, whether implied or
16
otherwise, applies only to this software file. Patent licenses, if
17
any, provided herein do not apply to combinations of this program with
18
other software, or any other product whatsoever.
19
20
You should have received a copy of the GNU General Public License along
21
with this program; if not, write the Free Software Foundation, Inc., 59
22
Temple Place - Suite 330, Boston MA 02111-1307, USA.
23
24
Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pky,
25
Mountain View, CA 94043, or:
26
27
http://www.sgi.com
28
29
For further information regarding this notice, see:
30
31
http://oss.sgi.com/projects/GenInfo/NoticeExplan
32
33
*/
34
35
36
#ifndef reshape_INCLUDED
37
#define reshape_INCLUDED "ipa_reshape.h"
38
39
class
RESHAPE
40
{
41
42
private
:
43
PROJECTED_REGION
*
_callee_proj_region
;
44
PROJECTED_REGION
*
_callsite_region
;
45
PROJECTED_REGION
*
_caller_shape_proj_region
;
46
PROJECTED_REGION
*
_callee_shape_proj_region
;
47
PROJECTED_REGION
*
_callee_proj_reshaped_region
;
48
MEM_POOL
*
_m
;
49
50
public
:
51
52
BOOL
Constant_Type_Reshape
();
53
54
PROJECTED_REGION
*
Reshape_Constant_Shape
(
BOOL
trace =
FALSE
);
55
56
RESHAPE
(
PROJECTED_REGION
* caller_shape_proj_region,
57
PROJECTED_REGION
* callee_shape_proj_region,
58
PROJECTED_REGION
* callee_proj_region,
59
PROJECTED_REGION
* callsite_region,
60
MEM_POOL
*m,
61
BOOL
trace =
FALSE
);
62
63
PROJECTED_REGION
*
Reshape_Callee_To_Caller
(
BOOL
trace =
FALSE
);
64
65
BOOL
Reshapeable_Passed_Section
(
BOOL
trace =
FALSE
);
66
67
void
Reshape_Passed_Section
(
PROJECTED_REGION
* pr,
BOOL
trace =
FALSE
);
68
69
void
Set_callee_proj_reshaped_region
(
PROJECTED_REGION
* pr)
70
{
_callee_proj_reshaped_region
= pr;};
71
72
~RESHAPE
() {};
73
};
74
75
#endif
/* reshape_INCLUDED */
76
Open64
osprey1.0
be
com
reshape.h
Generated on Fri Mar 14 2014 04:22:56 for OpenADFortTk (including Open64 and OpenAnalysis references) by
1.8.4