search for: kshitiz

Displaying 20 results from an estimated 22 matches for "kshitiz".

2009 May 07
3
[LLVMdev] obtaining IR for CellBE code
...lvm-gcc -emit-llvm -S or marking $CC as llvm-gcc in the makefile did not work for me. I am using the standard makefile format supplied with the example codes of CellSDK. Is there any alternate way / intrinsic which can be called to introduce calls to the Cell C intrinsic functions?? TIA, regards, Kshitiz -- Kshitiz Garg Graduate Student Department of Computer Science & Engineering IIT Kanpur http://home.iitk.ac.in/~kshitizg
2009 May 07
2
[LLVMdev] obtaining IR for CellBE code
On Thu, May 7, 2009 at 10:12 PM, Eli Friedman <eli.friedman at gmail.com> wrote: > On Thu, May 7, 2009 at 9:25 AM, Kshitiz Garg <ksh.cseiitk at gmail.com> wrote: >>> Can you give a couple examples of error messages you're getting? >>  llvm-gcc -emit-llvm -S        -W -Wall -Winline -Wno-main  -I.  -I >> /opt/cell/sysroot/usr/spu/include -I >> /opt/cell/sysroot/opt/cell/sdk/usr/spu/i...
2009 Apr 22
2
[LLVMdev] Adding structures in a loop pass
...the loop. A second alternative could be I run a module pass and go through the loop inside that. Is there a way to call the loop pass from inside the module pass or obtain information about the loops present inside the module and individually call the loop pass on them. Thanks in Advance, -- Kshitiz Garg Graduate Student Department of Computer Science & Engineering IIT Kanpur http://home.iitk.ac.in/~kshitizg
2009 Apr 22
0
[LLVMdev] Adding structures in a loop pass
On Wed, Apr 22, 2009 at 12:10 AM, Kshitiz Garg <ksh.cseiitk at gmail.com> wrote: > Hello, >     I wanted to do some speculative execution on a loop for which I > require some data storage structure for book keeping. The exact > structure of this storage buffer can only be determined after loop > analysis. Is there a cl...
2009 Apr 23
1
[LLVMdev] Adding structures in a loop pass
.... From what I know it is not allowed to modify anything outside the loop's scope in a loop pass. A runonFunction method will run on functions and probably able to add this new struct type to the module. Can you provide me pointers towards obtaining loops inside runOnFunction method? Thanks, Kshitiz On Wed, Apr 22, 2009 at 11:26 PM, Devang Patel <devang.patel at gmail.com> wrote: > On Wed, Apr 22, 2009 at 12:10 AM, Kshitiz Garg <ksh.cseiitk at gmail.com> wrote: >> Hello, >>     I wanted to do some speculative execution on a loop for which I >> require some dat...
2009 May 08
3
[LLVMdev] problem with analysis required
...(); AU.addPreserved<LoopInfo> (); } I picked this from the LPPassManager class which has a similar structure and its runOnFunction iterates over loop list from LoopInfo. I think I am missing some line to add. Can someone please point out the cause of the error?? Thanks regards, Kshitiz -- Kshitiz Garg Graduate Student Department of Computer Science & Engineering IIT Kanpur http://home.iitk.ac.in/~kshitizg
2009 Apr 08
3
[LLVMdev] help using indvars pass
...a = 0; a != 25; ++a) but the generated IR does not reflect this.the loop still goes from 7 to 99. Neither is there a Phinode for a I am using the following commands llvm-gcc -emit-llvm -c hello.c opt -indvars hello.o >hello.bc llvm-dis hello.bc Is there something I am missing? Thanks, -- Kshitiz Garg Graduate Student Department of Computer Science & Engineering IIT Kanpur http://home.iitk.ac.in/~kshitizg -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090408/1fcb97e2/attachment.html>
2009 May 07
2
[LLVMdev] obtaining IR for CellBE code
On Thu, May 7, 2009 at 9:39 PM, Eli Friedman <eli.friedman at gmail.com> wrote: > On Thu, May 7, 2009 at 9:03 AM, Kshitiz Garg <ksh.cseiitk at gmail.com> wrote: >>    I was trying to extract out the IR for some CELLBE code. However i >> was not able to compile with llvm-gcc. > > Can you give a couple examples of error messages you're getting? llvm-gcc -emit-llvm -S -W -Wall -Winline...
2009 Apr 01
2
[LLVMdev] adding header files to code
...e header files by a transformation pass and able to use the types defined in the header file in the pass itself. A similar scenario can arise in a parallelizing transformation where one is trying to create threads but this requires inclusion of pthread.h to access the types like pthread_t. etc. -- Kshitiz Garg Graduate Student Department of Computer Science & Engineering IIT Kanpur -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090401/066db204/attachment.html>
2009 Apr 08
0
[LLVMdev] help using indvars pass
On Wed, Apr 8, 2009 at 10:26 AM, Kshitiz Garg <ksh.cseiitk at gmail.com> wrote: > Neither is there a Phinode for a Maybe you need to run mem2reg first? -Eli
2009 May 08
0
[LLVMdev] problem with analysis required
Kshitiz Garg wrote: > Hello, > I was trying to get the loop info in a module pass to be able to > iterate over the loops int the module itself. Since my pass requires > to make module level changes including adding new types to module > hence a looppass cannot be used here. > I am get...
2009 Apr 03
2
[LLVMdev] GSoC 2009 application
...8 41st IEEE/ACM International Symposium *330-341<http://ieeexplore.ieee.org/xpl/RecentCon.jsp?punumber=4757685> [2]The Compiler Design Handbook Y. N. Srikant, Priti Shankar 143 - 171 On Fri, Mar 27, 2009 at 6:43 PM, Anton Korobeynikov <anton at korobeynikov.info > wrote: > Hello, Kshitiz > > > I was interested in taking up the project ideas on adding profile > driven > > optimization passes and improving alias analysis as this would give me a > > chance to carry forward and improve my current work and also contribute > > significantly in terms of ta...
2009 Apr 03
0
[LLVMdev] GSoC 2009 application
On Apr 3, 2009, at 12:52 AM, Kshitiz Garg wrote: > Here is my formal proposal i have submitted in gsoc. Comments invited. > This sounds like a very interesting proposal. Many compilers clone loops and use dynamic checks to enforce invariants in one copy of the loop. Is this intended to be similar to that style of approac...
2009 Mar 26
2
[LLVMdev] GSoC 2009 application
...programming language from scratch. I was wondering if someone is willing to mentor me on the above projects. It would be a great help if i could get to interact with the project mentor in order to identify the project miles stones and goals before making the formal proposal. with best regards, Kshitiz -- Kshitiz Garg Graduate Student Department of Computer Science & Engineering IIT Kanpur http://home.iitk.ac.in/~kshitizg <http://home.iitk.ac.in/%7Ekshitizg> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/atta...
2009 May 07
0
[LLVMdev] obtaining IR for CellBE code
On Thu, May 7, 2009 at 9:03 AM, Kshitiz Garg <ksh.cseiitk at gmail.com> wrote: >    I was trying to extract out the IR for some CELLBE code. However i > was not able to compile with llvm-gcc. Can you give a couple examples of error messages you're getting? -Eli
2009 May 07
0
[LLVMdev] obtaining IR for CellBE code
On Thu, May 7, 2009 at 9:25 AM, Kshitiz Garg <ksh.cseiitk at gmail.com> wrote: >> Can you give a couple examples of error messages you're getting? >  llvm-gcc -emit-llvm -S        -W -Wall -Winline -Wno-main  -I.  -I > /opt/cell/sysroot/usr/spu/include -I > /opt/cell/sysroot/opt/cell/sdk/usr/spu/include  -O3 -c s...
2009 May 09
1
[LLVMdev] inserting #pragmas and comments?
...uced by llc has those pragmas which can be used later by another tool?. Say for example I have a pass that shall do some analysis and modifications to provided source code. Then I wish to parallelize the modified loop using open-MP by inserting openmp pragmas in the generated c code. regards, Kshitiz -- Kshitiz Garg Graduate Student Department of Computer Science & Engineering IIT Kanpur http://home.iitk.ac.in/~kshitizg
2009 May 09
1
[LLVMdev] Codegen error with instrinsic
...nnotation.i32'! llc -march=x86 ham1_seq.bc3 Cannot yet select: intrinsic %llvm.annotation As per the language reference codegen simply ignores the intrinsics. The value returned by these intrinsics is not being used anywhere inside the code. Am i missing something or is this a bug?? regards, Kshitiz -- Kshitiz Garg Graduate Student Department of Computer Science & Engineering IIT Kanpur http://home.iitk.ac.in/~kshitizg
2009 Mar 27
0
[LLVMdev] GSoC 2009 application
Hello, Kshitiz > I was interested in taking up the project ideas on adding profile driven > optimization passes and improving alias analysis as this would give me a > chance to carry forward and improve my current work and also contribute > significantly in terms of tangibles. This sounds like a g...
2009 Mar 27
0
[LLVMdev] Shared objects not being built on OS X
...o.lo. Is this normal? I'm > fairly sure all of my Makefiles are correct when checked against the > documentation. > the .so file gets build in the directory <path to llvm installation>/llvm-2.4/Release/lib/ for the 2.4 release. I think i should be similar for other releases -- Kshitiz Garg Graduate Student Department of Computer Science & Engineering IIT Kanpur http://home.iitk.ac.in/~kshitizg -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090328/ca7c33e5/attachment.html>