Displaying 3 results from an estimated 3 matches for "pass_2".
Did you mean:
pass2
2010 Jul 19
2
[LLVMdev] How to use data structure of another pass
...other 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 --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100720/cc042b61/attachment.html>
2010 Jul 19
1
[LLVMdev] How to use data structure of another pass
...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 that returns the array of
> expressions (or a reference to it). The pass_2 pass can then use
> getAnalysis<pass_1>() to get a reference to...
2010 Jul 19
0
[LLVMdev] How to use data structure of another pass
...ng 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 that returns the array
of expressions (or a reference to it). The pass_2 pass can then use
getAnalysis<pass_1>() to get a reference to the pass_1 object and call
t...