similar to: [LLVMdev] Help Required for LLVM

Displaying 20 results from an estimated 3000 matches similar to: "[LLVMdev] Help Required for LLVM"

2010 Jan 04
0
[LLVMdev] Help Required for LLVM
Hi Ambika, > 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
2010 Jan 04
1
[LLVMdev] Help Required for LLVM
Hi Ambika, Could you check if you have bison and flex installed on your machine? Nicolas On Mon, Jan 4, 2010 at 9:31 AM, Duncan Sands <baldrick at free.fr> wrote: > Hi Ambika, > > > 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
2010 Jun 04
4
[LLVMdev] Duplicating a Basic Block
Hi, I had asked earlier from my another ID about duplicating a basic block, but that server is down for moment. I was given suggestion to use CloneBasicBlock, but when I used it I get an error : While deleting: i32* %a Use still stuck around after Def is destroyed: store i32* %a, i32** %p, align 4 opt: /home/ambika/llvm_3/llvm-2.6/lib/VMCore/Value.cpp:81: virtual llvm::Value::~Value():
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
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
2011 Jul 28
2
[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 Sep 25
6
[LLVMdev] JIT on ARM
Hello. My goal is to use LLVM with JIT compiler for ARM on Android device. Currently I have successfully built and executed LLVM bitcode with interpreter on Android. Speed is not so great, that is why I want to use JIT. I tried building bitcode on windows with llvm-gcc that is provided on llvm home page. Resulting bitcode runs great in interpreter, but it doesn't use JIT. From what I
2009 Oct 14
0
[LLVMdev] JIT on ARM
Forgot to mention. I don't know how well the canadian cross compile stuff works in 2.5. We made some improvements in that area for 2.6. If you have trouble with it, I'd suggest trying 2.6 (or even better, ToT svn) and seeing if things are improved there. -Jim On Sep 25, 2009, at 2:04 AM, Martins Mozeiko wrote: > Hello. > > My goal is to use LLVM with JIT compiler for ARM
2010 Aug 12
2
[LLVMdev] Trying to build llvm-gcc no x86_64 linux
Hello all, I am trying to build the latest version of llvm-gcc on a x86_64 architecture running a Linux distribution. Using the READM.LLVM I have managed to run ./configure using appropriate options, but when I try to build using make, it shows the following error message after a few seconds: ../../llvm-gcc/gcc/gengtype-lex.l:31:27: fatal error: gengtype-yacc.h: No such file or directory. This
2009 Oct 14
0
[LLVMdev] Fwd: JIT on ARM
Hi. Sorry for reposting my mail, but can somebody at lest give some general ideas for what to look to solve my problem? -- Martins Mozeiko Begin forwarded message: > From: Martins Mozeiko <49640f8a at gmail.com> > Date: September 25, 2009 12:04:04 GMT+03:00 > To: llvmdev at cs.uiuc.edu > Subject: JIT on ARM > > Hello. > > My goal is to use LLVM with JIT compiler
2010 Aug 12
2
[LLVMdev] Trying to build llvm-gcc no x86_64 linux
I need to add, also you'll need bison+flex. Rajika On Thu, Aug 12, 2010 at 6:41 PM, Rajika Kumarasiri <rajika at wso2.com> wrote: > You'll need to install the dev packages for gcc 4.2. > > Rajika > > On Thu, Aug 12, 2010 at 1:27 PM, Romain Pechayre <rpechayr at gmail.com>wrote: > >> Hello all, >> >> I am trying to build the latest version
2007 Sep 18
1
[LLVMdev] 2.1 Pre-Release Available (testers needed)
More bison woes. llvm-2.1 + the patch Chris mentioned builds without bison, but llvm-gcc4 doesn't: /home/emil/ll/llvm-gcc4.0-2.1.source/missing bison -d -o gengtype-yacc.c ../../llvm-gcc4.0-2.1.source/gcc/gengtype-yacc.y WARNING: `bison' missing on your system. You should only need it if you modified a `.y' file. You may need the `Bison' package in order for
2010 Aug 12
0
[LLVMdev] Trying to build llvm-gcc no x86_64 linux
You'll need to install the dev packages for gcc 4.2. Rajika On Thu, Aug 12, 2010 at 1:27 PM, Romain Pechayre <rpechayr at gmail.com> wrote: > Hello all, > > I am trying to build the latest version of llvm-gcc on a x86_64 > architecture running a Linux distribution. Using the READM.LLVM I have > managed to run ./configure using appropriate options, but when I try to >
2010 Aug 12
2
[LLVMdev] Trying to build llvm-gcc no x86_64 linux
On Thu, Aug 12, 2010 at 6:56 PM, Romain Pechayre <rpechayr at gmail.com> wrote: > Ok. Thank you for your input. New questions :) : > - Is the dev package basically the source code of gcc 4.2 ? Isn't it > already fully included in llvm-gcc code base ? > AFAIR, you need to have the set of headers, gcc-dev.( Some one else may provide you with this information) > - How
2010 Aug 12
0
[LLVMdev] Trying to build llvm-gcc no x86_64 linux
Ok. Thank you for your input. New questions :) : - Is the dev package basically the source code of gcc 4.2 ? Isn't it already fully included in llvm-gcc code base ? - How should I include bison+flex when I have installed Do I need to put additional flags to configure script ? Cheers, Romain On Thu, Aug 12, 2010 at 3:13 PM, Rajika Kumarasiri <rajika at wso2.com> wrote: > I need to
2010 Aug 12
0
[LLVMdev] Trying to build llvm-gcc no x86_64 linux
Thanks. It worked for a few more compilation lines. I now get the following linker error: undefined reference to llvm::MemoryBuffer::getNewMemBuffer(unsigned long, llvm::StringRef) I am surprised since the linker compile line already links with a whole bunch of llvm libraries ... Thanks for your help Romain On Thu, Aug 12, 2010 at 4:03 PM, Rajika Kumarasiri <rajika at wso2.com> wrote:
2010 Aug 12
1
[LLVMdev] Trying to build llvm-gcc no x86_64 linux
I got this one fixed by rebuilding llvm Debug (oups). I had an old version. I now seem to have a classical message: version GLIBCXX_3.4.14 not found. I am indeed building llvm-gcc using gcc4.5. Is this the problem ? The fix to this problem indicated in README.LLVM does not help .. Thanks Romain On Thu, Aug 12, 2010 at 6:43 PM, Romain Pechayre <rpechayr at gmail.com> wrote: > Thanks.
2012 Nov 11
1
[LLVMdev] Find size of memory pointer is pointing to
Hi, Can we find the size of memory a pointer is pointing to in LLVM. For example type *p = (type *)malloc(sizeof(type)*20); then it should give us size as sizeof(type) * 20. -- Sunil Rathee MTech IIT Delhi Not going along with the crowd can help you stand out in the crowd -------------- next part -------------- An HTML attachment was scrubbed... URL:
2012 Nov 11
1
[LLVMdev] Get size of operand
Hi, Within the basic block I got the instructions and so the operands i got the operands. Can we get the size of the operands. Specifically, if operand is of type structure, Can we get size of this operand? -- Sunil Rathee MTech IIT Delhi Not going along with the crowd can help you stand out in the crowd -------------- next part -------------- An HTML attachment was scrubbed... URL:
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 --------------