Displaying 15 results from an estimated 15 matches for "rujoshi".
Did you mean:
joshi
2003 May 27
0
[LLVMdev] Getting access to LLVM
Hi,
How can I get access to LLVM source code?
Thanks,
Rahul
2003 Jun 03
1
[LLVMdev] Problem with `as'
Hi,
I am trying to assemble a preety simple program, but the
assembler is giving parse errors:
===========================
%.LC0 = internal constant [17 x sbyte] c"Hello World %d \0A\00"
%.LC1 = internal constant [17 x sbyte] c"yyyyyyyyyyyyyyy\0a\00"
declare int "puts"(sbyte*)
int "main"() {
%cast1 = getelementptr [17 x sbyte]* %.LC0, long 0, long 0
2003 Jun 29
1
[LLVMdev] LLVM as a library
Hi,
I am trying to use LLVM as a library with some other code base. My problem is with the directory structure of 'include'. My original code base has include/Support and include/boost directories. So I cannot just replicate the entire llvm/include directory structure under the original 'include' directory. If I create a sym link llvm in the include/ directory, then various
2003 Aug 13
1
[LLVMdev] Running a pass
Hi,
I want to run the Mem2Reg pass on a function without using the the LLVM opt utility. I wrote some code, which I am not sure is correct:
TS_ASSERT(!verifyFunction(*function));
// find the dominance frontier of the CFG
DominanceFrontier DF;
DF.runOnFunction(*function);
// try to promote stack allocated variables
PromoteMemToReg(function->getRegAllocas(), DF, *tgt_data);
2003 Aug 13
1
[LLVMdev] Running a pass
Hi,
I assume that since each pass is in its own anonymous
namespace, we cannot directly create a new pass object;
looking at the code for 'opt' utility, it seems we need a
PassInfo object, using which we create a new pass object.
I tried the following code (which I wrote after looking at
the code for bugpoint), but the list of passes seems to be
empty:
// Create a list of all the
2003 Sep 25
1
[LLVMdev] basic block tracing
Hi,
I have a question about tracing BB's in LLVM. When tracing
BB's, does LLVM insert instrumentation code in each BB?
Thanks,
Rahul
2003 Oct 27
2
[LLVMdev] A small doubt
Hi LLVMDev,
The GCC frontend for LLVM inserts a call to a __main() in the
main() function. Whats the purpose of this? And which LLVM
library do I need to link to satisfy the reference?
Thanks,
Rahul
2004 Feb 23
2
[LLVMdev] linking time
Hi LLVMdev,
The stuff I am working on requires linking 9-10 LLVM
libraries, along with a few libs of my own. The linker is
taking a long time to do that, about 6 mins (on a P4 with
512 MB mem). I tried the latest (2.14) release of binutils,
but that didn't help. Is anyone aware of any solution to this?
Thanks,
Rahul
2004 Mar 19
2
[LLVMdev] Annotations on IR
Hi,
I checked out the LLVM code today, and it seems Value is
no longer a subclass of Annotable. Is IR annotation still
supported? Right now, I just need to annotate global variables.
Thanks
Rahul
2004 Mar 26
0
[LLVMdev] Extending LLVM
I would also find this extension framework useful.
Particularly, I would like to add intrinsics (without
checking them into the LLVM source), and an "opaque"
instruction which does not write to memory (and hence can
be DCEliminated). Just a thought...
Rahul
---- Original message ----
>Date: Fri, 26 Mar 2004 14:41:17 -0800
>From: Reid Spencer <reid at x10sys.com>
2003 Nov 29
1
[LLVMdev] Reverse Optimization?
I have been working on something along similar lines:
translating Alpha machine code into LLVM. It is probably
much more simple to handle Alpha instructions than x86
instructions. Translating individual instructions is easy,
more analysis is needed to eliminate things like register allocated variables, function call setup/prolog/epilogue etc.
Machine specific operations can be encoded using
2003 Nov 11
4
[LLVMdev] assert failure
Hi LLVMdev,
I am trying to add declarations of some functions in a module,
and the following assert is failing
test_task_inst: Type.cpp:130: const Type* Type::getForwardedTypeInternal() const: Assertion `ForwardType && "This type is not being forwarded to another type!"' failed.
Any idea what the bug might be? The code was working about
3 months ago, and I am not aware of
2003 Nov 03
4
[LLVMdev] large linking time
Hello,
I have observed that the LLVM build takes pretty long time
to link executables (i.e. tools). Is that a normal behavior?
Thanks,
Rahul
2003 Dec 14
2
[LLVMdev] An assembly level interface for LLVM
Hi LLVMdev,
Sorry about the bad title, but I hope you will get my idea. I
think that in many LLVM programs that create/modify the LLVM
IR (like say a language frontend/profiler etc), and in other
cases too, some of the code is just "mechanical", for example
creating function types takes like 4-5 lines of code, but
nothing interesting goes on there. I think we can get rid of
such code by
2003 Nov 09
4
[LLVMdev] LLVM namespac'ification
Coming back to the issues that I had integrating LLVM with
MSSP, will the code in include/Support also be put in the
llvm namespace? That will solve many problems and help prevent
others.
Rahul
---- Original message ----
>Date: Sun, 9 Nov 2003 10:13:03 -0600 (CST)
>From: Chris Lattner <sabre at nondot.org>
>Subject: [LLVMdev] LLVM namespac'ification
>To: LLVMdev List