Displaying 3 results from an estimated 3 matches for "pass_1".
Did you mean:
pass1
2010 Jul 19
1
[LLVMdev] How to use data structure of another pass
Can you tell me where pass_1 is defined? You have used it inside
getAnalysis<pass_1>(). Is it the name we generally give to a pass while
registry? In this case, don't I need to use getAnalysisUsage (AnalysisUsage
&AU) function?
On 20 July 2010 02:55, John Criswell <criswell at uiuc.edu> wrote:
> Sou...
2010 Jul 19
2
[LLVMdev] How to use data structure of another pass
In LLVM, we generally use data structure of another pass by
implementing getAnalysisUsage (AnalysisUsage &AU) method. Suppose
SOURCE/lib/Transform directory I have added one pass named as pass_1, which
calculates all expressions in a program and stores all of them in an Expr
array(take it now for granted). Now I added another pass named as pass_2 in
the same directory to print all these expression. How do I do this?
--
regards,
soumya prasad ukil
-------------- next part --------------...
2010 Jul 19
0
[LLVMdev] How to use data structure of another pass
Soumya_Prasad_Ukil wrote:
>
> In LLVM, we generally use data structure of another pass by
> implementing getAnalysisUsage (AnalysisUsage &AU) method. Suppose
> SOURCE/lib/Transform directory I have added one pass named as pass_1,
> which calculates all expressions in a program and stores all of them
> in an Expr array(take it now for granted). Now I added another pass
> named as pass_2 in the same directory to print all these expression.
> How do I do this?
The pass_1 pass will need to implement a method t...