similar to: [LLVMdev] number of static paths

Displaying 20 results from an estimated 900 matches similar to: "[LLVMdev] number of static paths"

2011 Jul 28
0
[LLVMdev] number of static paths
Hi, I am a student at IIT Kanpur. I am working on Path Profiling, i just came with a need to know about the number of static paths in a program(actually in a function) before it's actually get run. As i saw in PathProfiling.c file in llvm\runtime\libprofile they are just storing the path information at run time and dynamically adding entries for the new path. But i need to know the number of
2009 Apr 08
3
[LLVMdev] help using indvars pass
I am trying to use the indvars pass on a simple loop but it does not seem to have any effect The sample code i am using is #include <stdio.h> int test (int p); int main(){ int a,b=3; for(a=7;a*a<100;++a){ if(b >3) test(3); b++; } return 1; } int test(int p){ return p; } According to documentation
2009 Apr 03
2
[LLVMdev] GSoC 2009 application
Here is my formal proposal i have submitted in gsoc. Comments invited. About me: I am a final semester Dual Degree( B.Tech. M.Tech.) student from Indian Institute of Technology, Kanpur. I was looking forward to participate in this year's GSoC 2009.Starting Fall 2009 i shall be pursuing a Phd in compilers. I am having a good background in compilers. My current masters thesis is aimed at
2013 Aug 11
2
[LLVMdev] pbqp register allocator-need help
Hello Sir, Im trying to test run pbqp register allocator for small C programs. by llc -regalloc=pbqp -debug <bitcode of the file> It is giving me segmentation fault for even very simple programs having loops or if statements. Please tell me where I'm going wrong. -- Regards, Smriti Jaiswal MTech Dept of Computer Science and Engg, IIT Kanpur -------------- next part --------------
2009 Mar 26
2
[LLVMdev] GSoC 2009 application
Hello, I am a final semester Dual Degree( B.Tech. M.Tech.) student from Indian Institute of Technology, Kanpur. I was looking forward to participate in this year's GSoC 2009.Starting Fall 2009 i shall be pursuing a Phd in compilers. I am having a good background in compilers. My current masters thesis is aimed at automatic parallel code from c programs target for the Cell Processor using
2013 Aug 12
1
[LLVMdev] pbqp register allocator-need help
The simple C code on which im running the allocator is attached. And these are the set of commands. I dont understand ..guess i might be doing something very silly. Please help *Commands:* clang -emit-llvm -c test.c -o test.bc opt -mem2reg test.bc -o testssa.bc llc -regalloc=pbqp testssa.bc On Mon, Aug 12, 2013 at 7:59 AM, David Blaikie <dblaikie at gmail.com> wrote: > > > >
2009 May 07
3
[LLVMdev] obtaining IR for CellBE code
Hello, I was trying to extract out the IR for some CELLBE code. However i was not able to compile with llvm-gcc. Has someone who has tried this shed some light on the changes required to use llvm-gcc instead of gcc or xlc. A simple replacement of gcc with llvm-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
2009 Apr 22
2
[LLVMdev] Adding structures in a loop pass
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 clean way to add this new structure to the module. Since this structure is to be used for each loop iteration I do not want to allocate it inside the loop. A second
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 approach? -Chris > > About me: > > I am a final
2009 May 08
3
[LLVMdev] problem with analysis required
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 getting the following error on running opt. opt: /root/llvm-2.4/include/llvm/PassAnalysisSupport.h:199: AnalysisType&
2013 Aug 12
0
[LLVMdev] pbqp register allocator-need help
On Sun, Aug 11, 2013 at 12:36 AM, Smriti Jaiswal <jaiswal.smriti at gmail.com>wrote: > Hello Sir, > > Im trying to test run pbqp register allocator for small C programs. > > by > > llc -regalloc=pbqp -debug <bitcode of the file> > > It is giving me segmentation fault for even very simple programs having > loops or if statements. > Please tell me where
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 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 great idea. LLVM definitely lacks some profile-driven optimizations. -- With best
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 clean way to add this new structure to the > module. Since
2009 Mar 27
3
[LLVMdev] Shared objects not being built on OS X
Hi again everyone... After following the "Writing an LLVM Pass" tutorial using LLVM 2.5, there is a part that states that: "This makefile specifies that all of the .cpp files in the current directory are to be compiled and linked together into a Debug/lib/Hello.so shared object that can be dynamically loaded by the opt or bugpoint tools via their -load options."
2009 Apr 01
2
[LLVMdev] adding header files to code
Hi, I was wondering how to add header files to code in LLVM. I am trying to create a small profiler to track the actual time spent in functions. For this i am adding call to clock() in the C code of the given program. However this will require adding the file time.h to C code. Can some tell me a way to do so. I have tried using Module.addLibrary("time.h"); but this doesn't seem
2003 Mar 07
2
[Bug 503] Password is echoed when running passwd via ssh
http://bugzilla.mindrot.org/show_bug.cgi?id=503 kj at uue.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From kj at uue.org 2003-03-08 02:04 ------- just
2016 Dec 27
1
Running grep with LLI
Hi everyone, I compiled grep with llvm-3.4(because consumer tool uses llvm3.4 bit code) and generate bit-code for this. When I am running with lli output is pseudo instructions should be removed before code emission UNREACHABLE executed at /home/awanish/llvm/llvm-3.4.2/lib/Target/X86/X86CodeEmitter.cpp:1176! 0 libLLVM-3.4.so 0x00007f1250f655d5 llvm::sys::PrintStackTrace(_IO_FILE*) + 37 1
2010 Jan 03
2
[LLVMdev] Help Required for LLVM
Sir/Ma'am, I am a MTech student at IIT Bombay, doing my thesis in compiler optimization. I am working on "Profile Based Pointer Analysis to Perform Optimization", and would like to implement the optimization in llvm for performing experiments. When I was trying to build and install the compiler after configuring llvm-gcc I got the following error: gcc: gengtype-lex.c: No such
2011 Mar 28
2
[LLVMdev] regarding function pointer pass
Hi, I am a Mtech student at IIT,Bombay and presently studying llvm as a part of my Seminar work.Currently,i am writing a simple pass that would detect function pointer call,use and declarations in the src program. I could detect function pointer calls using the getCalledFunction(). However,i am stuck in identifying function pointer declaration and use. is there a way one can distinguish between