Siddhartha Jana
2012-08-20 00:56:26 UTC
Hello again,
As a beginner at Open64 development, I had a few queries:
I would really appreciate some help on understanding this:
*********************************************************
1. Using BE Nystrom Analyzer immediately after IPA -- is this a correct
move?
In nystrom_alias_analyzer.cxx, function -->
NystromAliasAnalyzer::aliasedWithCall (ST *call, AliasTag symTag, BOOL
&mod, BOOL &ref)
This function appears to set the mod and ref bools to true without using
any POINTS TO Analysis info.
Could someone please explain this?
I notice that Do_Simple_IPAA ( *IPA_Call_Graph ) is called within IPA
[inside Perform_Interprocedural_analysis()] to migrate the mod/ref info
bottom up through the
call graph. Shouldn't the BE Nystrom Alias Analyzer be able to determine
aliasing between the symbol of a CALL WN and the Alias tag of the target
WN.
Isn't this what the function aliasedWithCall() should do?
*********************************************************
2. Want to use Alias manager with IPA Nystrom Alias Analyzer?
I have been trying to extract interprocedural alias information.
[ I having been ussing ipa_preopt.cxx and the nystom_alais_analyzer.cxx for
my reference. ]
I traverse each node of the IPA_CALL_GRAPH
and set the IPA_context for every node. After this, for every PU, I create
the alias manager and use the BE Nystrom
Alias Analysis to determine the aliasing between two WNs within a PU.
Because of the issue discussed in pt (1) above,
isn't using the IPA Nystrom Alias Analyze a cleaner approach?
If so.... this is where I am stuck...
I understand that ALIAS MANAGER can be used to access Aliasing information
through ALIAS TAG support.
I want to access information at IPA (with -ipa turned on) and not the BE
(with -O2) turned ON.
I observe that the BE Nystrom Alias Analyzer inherits from AliasAnalyzer
class.
However, IPA Nystrom Alias Analyzer does not.
Is there something I am missing....
I would like to mention that I want to use the alias information at the end
of IPA.
*********************************************************
Could someone please help me out?
Many thanks,
Sincerely,
-- Siddhartha Jana
University of Houston
As a beginner at Open64 development, I had a few queries:
I would really appreciate some help on understanding this:
*********************************************************
1. Using BE Nystrom Analyzer immediately after IPA -- is this a correct
move?
In nystrom_alias_analyzer.cxx, function -->
NystromAliasAnalyzer::aliasedWithCall (ST *call, AliasTag symTag, BOOL
&mod, BOOL &ref)
This function appears to set the mod and ref bools to true without using
any POINTS TO Analysis info.
Could someone please explain this?
I notice that Do_Simple_IPAA ( *IPA_Call_Graph ) is called within IPA
[inside Perform_Interprocedural_analysis()] to migrate the mod/ref info
bottom up through the
call graph. Shouldn't the BE Nystrom Alias Analyzer be able to determine
aliasing between the symbol of a CALL WN and the Alias tag of the target
WN.
Isn't this what the function aliasedWithCall() should do?
*********************************************************
2. Want to use Alias manager with IPA Nystrom Alias Analyzer?
I have been trying to extract interprocedural alias information.
[ I having been ussing ipa_preopt.cxx and the nystom_alais_analyzer.cxx for
my reference. ]
I traverse each node of the IPA_CALL_GRAPH
and set the IPA_context for every node. After this, for every PU, I create
the alias manager and use the BE Nystrom
Alias Analysis to determine the aliasing between two WNs within a PU.
Because of the issue discussed in pt (1) above,
isn't using the IPA Nystrom Alias Analyze a cleaner approach?
If so.... this is where I am stuck...
I understand that ALIAS MANAGER can be used to access Aliasing information
through ALIAS TAG support.
I want to access information at IPA (with -ipa turned on) and not the BE
(with -O2) turned ON.
I observe that the BE Nystrom Alias Analyzer inherits from AliasAnalyzer
class.
However, IPA Nystrom Alias Analyzer does not.
Is there something I am missing....
I would like to mention that I want to use the alias information at the end
of IPA.
*********************************************************
Could someone please help me out?
Many thanks,
Sincerely,
-- Siddhartha Jana
University of Houston