similar to: [LLVMdev] compiling bitccode to executable binary/LLI

Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] compiling bitccode to executable binary/LLI"

2011 Apr 01
0
[LLVMdev] compiling bitccode to executable binary/LLI
Hi, I was able to figure out this one, by checking out profile.pl. However, I am still interested in getting to know if there is anyway to compile from bitcode to a normal executable? Maybe I am missing something obvious... :P ? Thanks Nipun On Fri, Apr 1, 2011 at 1:34 PM, Nipun Arora <nipun2512 at gmail.com> wrote: > Hi, > > Could anyone tell me how exactly can one convert a
2011 Apr 01
1
[LLVMdev] compiling bitccode to executable binary/LLI
The easiest way is just to invoke clang on the .bc file, since it understands it. clang file.bc -o file llc will get you native assembly, which you can assemble and link with gcc. llc file.bc -o file.s && gcc file.s -o file I couldn't find a way to convince llc to use MC to generate an object file. In any case, you'll need to invoke the system linker to produce the executable.
2009 Jan 31
2
[LLVMdev] Optimized code analysis problems
Hii, Thanks for the response, yes I couldn't find any way to extract the names through any of the passes. Where could I potentially insert a hack so that any function call to intrinsic functions or library functions can be retrieved? Could you gimme any ideas for the start? -Nipun On Fri, Jan 30, 2009 at 10:39 PM, Eli Friedman <eli.friedman at gmail.com>wrote: > On Fri, Jan 30,
2009 Jan 31
2
[LLVMdev] Optimized code analysis problems
Hi all, I am trying to do an analysis of a parallelized code using sse optimizations. The problem I am encountering is that I need to do some matching based on the analysis and I would like to extract the names of the functions as is rather than llvm intrinsics with an llvm. representation. Essentially I would like to extract the control flow graph representation with function names (eg.
2012 Jan 26
1
[LLVMdev] Compiling glibc with LLVM
Hi James, I will look into the RedHat newlib library, however, we def are looking for a solution for glibc, but maybe newlib would be a good way to go to test our complete workflow before putting an effort to generate control flow graphs for glibc. btw. I did have another question, hopefully you would be able to answer, what we are looking to do is to get the control flow graph including some
2009 Jan 31
0
[LLVMdev] Optimized code analysis problems
On Fri, Jan 30, 2009 at 7:10 PM, Nipun Arora <nipun2512 at gmail.com> wrote: > Essentially I would like to extract the control flow graph representation > with function names (eg. _mm_cvtsi32_si128) instead of the functions being > replaced by 'llvm.*' > Is there anyway to extract these names directly as function calls? The names disappear in an unrecoverable way once
2009 Mar 11
0
[LLVMdev] Wiki?
I agree. Being a newbie myself, I can relate to what problems someone new to llvm would have.While I think most of the stuff I have tried will be useful, I wouldn't be entirely sure if its the best way to go about it. Thanks Nipun Arora Columbia University On Wed, Mar 11, 2009 at 11:01 AM, Anthony Danalis <adanalis at eecs.utk.edu>wrote: > > On Mar 11, 2009, at 10:53 AM, Jon
2009 Mar 11
3
[LLVMdev] Wiki?
On Mar 11, 2009, at 10:53 AM, Jon Harrop wrote: > On Wednesday 11 March 2009 14:19:28 Vikram S. Adve wrote: >> In principle, having a Wiki like this would be valuable. In >> practice, >> I think there will need to be some sanity checking to make sure >> incorrect or misleading information is not added to it. > > Yes, I think a Wiki would be extremely valuable.
2009 Jan 31
0
[LLVMdev] Optimized code analysis problems
On Sat, Jan 31, 2009 at 1:14 PM, Nipun Arora <nipun2512 at gmail.com> wrote: > Hii, > > Thanks for the response, yes I couldn't find any way to extract the names > through any of the passes. > Where could I potentially insert a hack so that any function call to > intrinsic functions or library functions can be retrieved? > Could you gimme any ideas for the start?
2009 Feb 01
1
[LLVMdev] Optimized code analysis problems
Hi Eli, Well I think a way to hack it might be better for my purposes, can you suggest any ways of getting started on that and where. Essentially I'm developing an IDE and need to extract the dependency graphs while retaining the actual function names rather than them being converted to llvm.* names. If I go for the other option you suggested. I'd have to do a one-to one mapping of all
2011 Feb 09
1
[LLVMdev] x86 to LLVM-IR
Hi, I was looking into ways to convert an x86 executable(ELF), to an LLVM-IR representation. To the best of my knowledge llvm-mc seems to be the tool which can be used... It would be great if anyone could give pointers in the same direction... Thanks Nipun -------------- next part -------------- An HTML attachment was scrubbed... URL:
2011 Mar 22
0
[LLVMdev] Parallelization
Hi, I am looking into something similar as well for auto-parallelization i.e. some sort of low level support at the IR level for parallelization. I'd be interested in collaborating with anyone who is working on the same. >From a brief look at the architectural overview of Polly, it seems as if the parallel code generation is being done at the IR level since the input file is an LLVM IR
2011 Mar 22
2
[LLVMdev] Parallelization
On 03/22/2011 01:56 PM, Reid Kleckner wrote: > On Tue, Mar 22, 2011 at 1:36 PM, Gokul Ramaswamy > <gokulhcramaswamy at gmail.com <mailto:gokulhcramaswamy at gmail.com>> wrote: > > Hi Duncan Sands, > > As I have understood, GOMP and OpenMP provides support for > parallelizing program at source program level. But I am at the IR > level. That
2008 Nov 02
2
[LLVMdev] No of Datastructures
Hey Devang, Thanks for the assist, I'm trying to extract a signature which uniquely identifies a block of code.... this is required for a project I am doing. The no of data structures is one of the identifying features of this signature. Thanks Nipun On Fri, Oct 31, 2008 at 1:05 PM, Devang Patel <dpatel at apple.com> wrote: > Hi Nipun, > On Oct 30, 2008, at 9:31 PM, Nipun
2008 Oct 31
3
[LLVMdev] No of Datastructures
Hi I am trying to count the no of datastructures and the type, say for example the number of arrays in a given code. Which pass would give me this info? And what do I need to use in it? Thanks for the help Cheers Nipun :) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20081031/ffceddee/attachment.html>
2011 Mar 28
0
[LLVMdev] Memory Dependence Analysis
On 03/28/2011 12:15 PM, Nipun Arora wrote: > Hi, > > I have been trying to run the memdep analysis using opt with the > following command: opt -analyze -memdep <*.bc>. > However, I keep getting the following error: Pass::print not implemented > for pass: 'Memory Dependence Analysis' ! . > I get similar errors for a lot of the analyses passes, which seem as if
2008 Nov 03
1
[LLVMdev] No of Datastructures
Right now I am writing passes just to look for arrays & structs I am trying to identify the array by parsing the memory description(use regex's) ex./ { [20 x i8], i32 } *- for a struct. is a structure with a character array of size 20 and an integer. I'm not sure if llvm provides an easier way to do this? The type id for most arrays comes out to be a pointer rather than an array, its
2012 Jan 26
3
[LLVMdev] Compiling glibc with LLVM
Hi, I read on the gentoo website http://en.gentoo-wiki.com/wiki/Llvm that glibc cannot be compiled using llvm because of some GNU extensions which LLVM does not support. Has there been any success in compiling glibc using LLVM so as to get the bytecode? We are looking to do whole program analysis to look at control flows including those in libc... we were hoping that we could get the control
2011 Mar 28
3
[LLVMdev] Memory Dependence Analysis
Hi, I have been trying to run the memdep analysis using opt with the following command: opt -analyze -memdep <*.bc>. However, I keep getting the following error: Pass::print not implemented for pass: 'Memory Dependence Analysis' ! . I get similar errors for a lot of the analyses passes, which seem as if they should have a print out? Is there any other memory dependence analysis
2009 Feb 11
3
[LLVMdev] Operand, instruction
Hi, How can one extract the operand of an instruction in an LLVM pass? Like I can get the opcode bt I'd like to get the operands as well Thanks Nipun -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090211/3a073512/attachment.html>