search for: bhamidipati

Displaying 13 results from an estimated 13 matches for "bhamidipati".

Did you mean: bhamidipaty
2006 Nov 12
4
[LLVMdev] need help understanding getelementptr assembler instruction
I am trying to understand the hello word assember example. This is my version: %str1 = internal constant [13 x sbyte] c"Hello World\0a\00" declare int %printf(sbyte*, ...) implementation ; Functions: int %main() { %str2 = getelementptr [13 x sbyte]* %str1, long 0, long 0 call int(sbyte*, ...) *%printf(sbyte* %str2) ret int 0 } Why is getelementptr being given two "long
2006 Dec 09
2
[LLVMdev] jit with external functions
On 12/8/06, Chris Lattner <sabre at nondot.org> wrote: > On Fri, 8 Dec 2006, Ram Bhamidipaty wrote: > > Can I place references to external functions in the assembler files? For example > > I if my application has a function called fred() I would like to place > > calls to fred > > in the assembler text file. Can I do that and have the external function call >
2006 Nov 13
2
[LLVMdev] need help understanding getelementptr assembler instruction
Hi, I must say I also was in need of this document but never knew it existed. It seems to be linked from the faq page only. I only read that the first day I came to LLVM. Maybe linking it from the GetElementPtr instruction in LangRef.html would make sense. cheers Eric On Nov 12, 2006, at 8:47 PM, Reid Spencer wrote: > Ram, > > Please read and understand the GetElementPtr FAQ
2006 Nov 12
0
[LLVMdev] need help understanding getelementptr assembler instruction
Ram, Please read and understand the GetElementPtr FAQ available here: http://llvm.org/docs/GetElementPtr.html That will help you understand how it works. We wrote that document specifically because this question comes up all the time. Reid. On Sun, 2006-11-12 at 11:13 -0800, Ram Bhamidipaty wrote: > I am trying to understand the hello word assember example. This is > my version: >
2006 Dec 03
0
[LLVMdev] problem building gcc4 front end on fedora core 5
There was a patch that went thru for this recently from Rafael Espindola. The fix is on the mirror. Index: gcc/dwarf2out.c =================================================================== --- gcc/dwarf2out.c (revision 120589) +++ gcc/dwarf2out.c (working copy) @@ -14361,9 +14361,8 @@ s->refcount++; /* Avoid unnecessarily putting strings that are used less than twice in the hash
2006 Dec 09
2
[LLVMdev] jit with external functions
I have an application that is generating llvm assembler text files, these are then loaded with ParseAssemblyFile. I am also using ExecutionEngine::runFunction to call functions in the loaded/created modules. Can I place references to external functions in the assembler files? For example I if my application has a function called fred() I would like to place calls to fred in the assembler text
2006 Dec 09
0
[LLVMdev] jit with external functions
On Fri, 8 Dec 2006, Ram Bhamidipaty wrote: > Can I place references to external functions in the assembler files? For example > I if my application has a function called fred() I would like to place > calls to fred > in the assembler text file. Can I do that and have the external function call > resolve to the address of fred() in my application? Yes, you can do this. The JIT will
2006 Dec 09
0
[LLVMdev] jit with external functions
On Sat, 9 Dec 2006, Ram Bhamidipaty wrote: > Will it also handle symbols that are in shared libraries loaded into > the process? I'm not sure, but I thought so. > I am creating a python module that has the llvm functionality. This > module is loaded > into the process as a shared library. I want to generate llvm assembler that has > calls to functions in this shared
2006 Nov 13
2
[LLVMdev] need help understanding getelementptr assembler instruction
On Mon, 2006-11-13 at 01:10 -0800, Chris Lattner wrote: > On Mon, 13 Nov 2006, Eric van Riet Paap wrote: > > I must say I also was in need of this document but never knew it > > existed. It seems to be linked from the faq page only. I only read > > that the first day I came to LLVM. Maybe linking it from the > > GetElementPtr instruction in LangRef.html would make sense.
2006 Dec 03
3
[LLVMdev] problem building gcc4 front end on fedora core 5
I'm getting a build error when trying to build gcc4 from sources. This is for the recent 1.9 release. How I built llvm-1.9: ----------------------------- tar zxf llvm-1.9.tar.gz cd llvm-1.9/ ./configure --prefix=/custom/llvm-1.9 make ENABLE_OPTIMIZED=1 OPTIMIZE_OPTION='-O2' tools-only make install How I built gcc4: ----------------------------- export
2006 Nov 13
0
[LLVMdev] need help understanding getelementptr assembler instruction
Ram: Let me explain and hopefully Reid or Chris will correct if I have it wrong. The first 0 is the index into a possible array of sbyte[13] arrays that this pointer points to. I expect GetElementPtr works this way is to keep down the proliferation of arrays of arrays in the type table. So you are pointing at the zeroth, and in this case only, array of sbyte[13]. The next 0 actually
2006 Nov 13
0
[LLVMdev] need help understanding getelementptr assembler instruction
On Mon, 13 Nov 2006, Eric van Riet Paap wrote: > I must say I also was in need of this document but never knew it > existed. It seems to be linked from the faq page only. I only read > that the first day I came to LLVM. Maybe linking it from the > GetElementPtr instruction in LangRef.html would make sense. That makes a tremendous amount of sense to me! -Chris > On Nov 12, 2006,
2006 Nov 13
0
[LLVMdev] need help understanding getelementptr assembler instruction
On Nov 13, 2006, at 9:01 AM, Reid Spencer wrote: > On Mon, 2006-11-13 at 01:10 -0800, Chris Lattner wrote: >> On Mon, 13 Nov 2006, Eric van Riet Paap wrote: >>> I must say I also was in need of this document but never knew it >>> existed. It seems to be linked from the faq page only. I only read >>> that the first day I came to LLVM. Maybe linking it from the