Displaying 20 results from an estimated 9000 matches similar to: "[LLVMdev] Compiling glibc with LLVM"
2012 Jan 26
0
[LLVMdev] Compiling glibc with LLVM
Hi Nipun,
As you say, glibc is rather GCC -oriented. I certainly haven't tried this
myself, but have you thought of using an alternate C library such as RedHat
newlib? That can certainly be compiled by clang (we do it every night).
Cheers,
James
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On
Behalf Of Nipun Arora
Sent: 26 January 2012 15:54
To:
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
2012 Jan 26
0
[LLVMdev] Compiling glibc with LLVM
Hi James,
I will look into the RedHat newlib library, however, we def are looking for
a solution for GCC as well, but maybe newlib would be a good way to go to
test our complete workflow before putting an effort to use 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
sort of alias analysis
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
2011 Apr 01
2
[LLVMdev] compiling bitccode to executable binary/LLI
Hi,
Could anyone tell me how exactly can one convert a .bc file (bitcode file)
to an executable in the native program.
I was trying an instrumentation transform with the following workflow
opt -insert-edge-profiling input.bc -o output.bc
and then try and execute output.bc using
lli output.bc
however the program gives the following error : Program used external
function
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
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>
2008 Oct 31
0
[LLVMdev] No of Datastructures
Hi Nipun,
On Oct 30, 2008, at 9:31 PM, Nipun Arora wrote:
> 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?
What are you trying to achieve here with this information ?
You can iterate over types to collect the info you need. For
2008 Nov 02
0
[LLVMdev] No of Datastructures
How do you define a data structure for this purpose? Do you mean
individual data types like structs or arrays? Or higher-level
"logical" structures like lists, trees, or hash tables? The former is
obviously easier but even the latter is possible, in some cases.
--Vikram
Associate Professor, Computer Science
University of Illinois at Urbana-Champaign
http://llvm.org/~vadve
On
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
2008 Oct 30
2
[LLVMdev] Error in registration of Pass
Hi ,
I get the following error when I try and load a certain pass I have made.
Can anyone help me out? What could be the problem? And how can I remove it?
opt: Pass.cpp:147:
void<unnamed>::PassRegistrar::RegisterPass(llvm::PassInfo&): Assertion
`Inserted && "Pass registered multiple times!"' failed.
Aborted (core dumped)
Thanks
Nipun
--------------
2008 Nov 05
1
[LLVMdev] No of Datastructures
Hi
I was having just one more problem. I would like to find these
datastructures/ primitive types etc inside a block, however the valuesymbol
table is available only at a functional level. What can I do so as to get
the number + type of datastructs(eg. arrays etc) inside a single block?
Thanks
Nipun
On Fri, Oct 31, 2008 at 12:05 PM, Devang Patel <dpatel at apple.com> wrote:
> Hi
2009 Feb 04
2
[LLVMdev] Creating AST
Hi all,
Does LLVM provide any way to parse and extract the AST from C++ source
files?
Thanks
Nipun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090204/7dffd376/attachment.html>
2011 Dec 07
2
[LLVMdev] LLVM instrumentation overhead
Hi,
I need to write a transform pass which instruments the target program to
output the name of each function executed, and the rdtsc counter along
with it.
Can anyone give me an idea of how to go about it?(I've worked around
with LLVM pass framework and opt to do static analysis, but would like
to do a lightweight instrumentation). Also can anyone give an
approximate idea of the
2008 Dec 04
2
[LLVMdev] Data Dependency graph
Hi,
I need to generate a data dependancy graph. Is there any functionality
available in LLVM which can help me? Or if anyone can point to the correct
place?
Thanks
Nipun Arora
Graduate Research Assistant
Dept of Computer Science
Columbia University
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
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 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.