search for: ashay

Displaying 20 results from an estimated 37 matches for "ashay".

Did you mean: akshay
2011 Sep 12
1
[LLVMdev] llvm-gfortran problems
No, I am running the LLVM pass at the compilation step. So by the time I reach the link step, the transformed bitcode has been generated. Ashay On Mon, Sep 12, 2011 at 4:12 PM, Dmitry N. Mikushin <maemarcus at gmail.com>wrote: > I see. And what's the purpose for outputting bitcode into *.o and *.a > files? Do you want to perform an LLVM pass on linking step? > > 2011/9/13 Ashay Rane <ashay.rane at tacc.utexas.ed...
2011 Sep 12
2
[LLVMdev] llvm-gfortran problems
...n -- UNQUOTE -- But the part that deals with `.a' files is a bit ugly. llvm-ld handles the archive (.a) files without any manual extraction but I fear that because llvm-ld is not a full-featured linker, I might run into a wall because of incompatible options between gfortran/gcc and llvm-ld. Ashay On Mon, Sep 12, 2011 at 3:38 PM, Dmitry N. Mikushin <maemarcus at gmail.com>wrote: > Sorry, at what step do you need archive? llc emits binary, it does not > perform any linking, thus it does not need anything except the input > bytecode file. Then during linking you can link what...
2011 Sep 12
0
[LLVMdev] llvm-gfortran problems
I see. And what's the purpose for outputting bitcode into *.o and *.a files? Do you want to perform an LLVM pass on linking step? 2011/9/13 Ashay Rane <ashay.rane at tacc.utexas.edu>: > Hmm.. I didn't explain the problem completely last time. I am creating a > drop-in replacement for gcc and gfortran that runs an additional pass on the > bitcode before generating the native binary. Here's whats happening: If the > s...
2011 Mar 17
0
[LLVMdev] Operating on contents of virtual registers
On Wed, Mar 16, 2011 at 9:33 PM, Ashay Rane <ashay.rane at asu.edu> wrote: > Hi Eli, > Thanks for the reply. The problem is that getOperand() returns an > llvm::Instruction (that refers to the definition of the operand). What I am > trying to find out is how to get the value of the operand. When you refer to > bitca...
2011 Sep 12
2
[LLVMdev] llvm-gfortran problems
Thats correct. But using llc becomes a problem when I have archives (.a files). I could, in theory, extract its contents to a tempdir and then use llc and link but just wondering if there is a more elegant solution. Ashay On Mon, Sep 12, 2011 at 3:00 PM, Dmitry N. Mikushin <maemarcus at gmail.com>wrote: > Ashay, > > If I understand correctly, in hw.o you would have llvm bytecode, while > linker expects regular object binary. Probably first you need to emit > asm out of bytecode using llc? &gt...
2011 Mar 17
1
[LLVMdev] Operating on contents of virtual registers
...like: Instruction referencing instruction not embedded in a basic block! %retval = alloca i32 <badref> = bitcast i32* %retval to i8* and sometimes: Instruction does not dominate all uses! That makes me curious to ask, what does the choice of i32 or i8 depend on? Is it the architecture? Ashay On Wed, Mar 16, 2011 at 11:40 PM, Eli Friedman <eli.friedman at gmail.com>wrote: > On Wed, Mar 16, 2011 at 9:33 PM, Ashay Rane <ashay.rane at asu.edu> wrote: > > Hi Eli, > > Thanks for the reply. The problem is that getOperand() returns an > > llvm::Instruction (...
2011 Sep 12
0
[LLVMdev] llvm-gfortran problems
Sorry, at what step do you need archive? llc emits binary, it does not perform any linking, thus it does not need anything except the input bytecode file. Then during linking you can link whatever archives of binaries you want. 2011/9/13 Ashay Rane <ashay.rane at tacc.utexas.edu>: > Thats correct. But using llc becomes a problem when I have archives (.a > files). I could, in theory, extract its contents to a tempdir and then use > llc and link but just wondering if there is a more elegant solution. > Ashay > > On...
2012 Feb 29
4
[LLVMdev] Recovering variable names from bitcode
...bug metadata does not seem possible. In the other case, I am noticing some extra fields present in the `omp_data_s' structure (these fields are not present in the source code) and hence the `alloca' does not match the metadata definition. Here are the details: http://users.ices.utexas.edu/~ashay/tmp/llvm.html Does lldb have similar goals? If yes, which files should I be looking at? Any pointers are appreciated! Thanks! Ashay -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120229/844b11ef/attachmen...
2011 Mar 17
2
[LLVMdev] Operating on contents of virtual registers
...anks for the reply. The problem is that getOperand() returns an llvm::Instruction (that refers to the definition of the operand). What I am trying to find out is how to get the value of the operand. When you refer to bitcasting to i8*, do you mean casting the return value from getOperand() itself? Ashay On Wed, Mar 16, 2011 at 11:03 PM, Eli Friedman <eli.friedman at gmail.com>wrote: > On Wed, Mar 16, 2011 at 6:00 PM, Ashay Rane <ashay.rane at asu.edu> wrote: > > Hello, > > I was facing some difficulty in implementing a transform and I was > wondering > > if I...
2011 Mar 17
0
[LLVMdev] Operating on contents of virtual registers
On Wed, Mar 16, 2011 at 10:44 PM, Ashay Rane <ashay.rane at tacc.utexas.edu> wrote: > Thanks Eli, that worked! > For the record, I had to make one change though. I had to bitcast to i32* > (instead of i8*) otherwise I was seeing errors like: > Instruction referencing instruction not embedded in a basic block! >   %re...
2011 Sep 12
0
[LLVMdev] llvm-gfortran problems
Ashay, If I understand correctly, in hw.o you would have llvm bytecode, while linker expects regular object binary. Probably first you need to emit asm out of bytecode using llc? - D. 2011/9/12 Ashay Rane <ashay.rane at tacc.utexas.edu>: > Hello, > Sorry for the late reply. Using dragonegg...
2011 Sep 12
3
[LLVMdev] llvm-gfortran problems
...hw.o: data Instead, using llvm-ld: $ ${LLVM_2_9}/bin/llvm-ld -native hw.o -o hw ${GCC_4_5_0}/lib64/libgfortran.a -lm llvm-gcc had the gold plugin. I wonder if there is any equivalent of that for dragonegg to be able to compile bitcode and native object code in a transparent manner. Thanks again! Ashay On Wed, Aug 31, 2011 at 4:29 PM, Anton Korobeynikov <anton at korobeynikov.info > wrote: > Hello > > > I am not very familiar with Fortran programs. I saw a few programs that > had > > a "MAIN" subroutine defined, some others that did not. Am I missing > &...
2011 Aug 31
0
[LLVMdev] llvm-gfortran problems
Hi Ashay, Do you need specifically llvm-gfortran that is based on gcc 4.2? Since that, DragonEgg has been introduced - a powerful plugin to gcc that makes it possible to utilize regular gcc compilers as frontends to llvm: http://dragonegg.llvm.org/ It generates Fortran90 programs for me very well. - D....
2011 Aug 31
4
[LLVMdev] llvm-gfortran problems
...us llvm-ld: I am not very familiar with Fortran programs. I saw a few programs that had a "MAIN" subroutine defined, some others that did not. Am I missing something while compiling the code? Is there a different way to compile bitcode (from Fortran programs) to a native binary? Thanks, Ashay -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110831/13dc93ea/attachment.html>
2011 Aug 09
2
[LLVMdev] llvm-gcc with static libraries
...and I suppose fixing that would require place LLVMgold.so into /usr/lib/bfd-plugins. Is there any way to make this work without requiring root access to the machine? Also, just to confirm, is the gold plugin required even when all of the files have been compiled/built using llvm-gcc and llvm-ar? Ashay On Tue, Aug 9, 2011 at 1:33 PM, Eli Friedman <eli.friedman at gmail.com> wrote: > On Tue, Aug 9, 2011 at 11:16 AM, Ashay Rane <ashay.rane at asu.edu> wrote: > > Hello, > > While linking programs against static libraries built using llvm-ar and > > llvm-ranlib, I...
2011 Mar 17
2
[LLVMdev] Operating on contents of virtual registers
...ay that I can think of is to directly insert the LLVM IR (e.g. call void @my_function(%old)) but because I am using Module::getOrInsertFunction(), I have to have a function type. So alternatively, is there a way to insert direct LLVM instructions (without going through the type hierarchy)? Thanks, Ashay --- Ashay Rane Research Associate The University of Texas at Austin http://www.public.asu.edu/~asrane/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110316/2265bf14/attachment.html>
2011 Aug 09
0
[LLVMdev] llvm-gcc with static libraries
On Tue, Aug 9, 2011 at 12:03 PM, Ashay Rane <ashay.rane at asu.edu> wrote: > `/usr/bin/ld -v' says it is not running gold and I suppose fixing that would > require place LLVMgold.so into /usr/lib/bfd-plugins. Is there any way to > make this work without requiring root access to the machine? If you install your own ve...
2011 Aug 09
0
[LLVMdev] llvm-gcc with static libraries
On Tue, Aug 9, 2011 at 11:16 AM, Ashay Rane <ashay.rane at asu.edu> wrote: > Hello, > While linking programs against static libraries built using llvm-ar and > llvm-ranlib, I see an error message: > could not read symbols: Archive has no index; run ranlib to add one > collect2: ld returned 1 exit status > Using e...
2011 Mar 17
0
[LLVMdev] Operating on contents of virtual registers
On Wed, Mar 16, 2011 at 6:00 PM, Ashay Rane <ashay.rane at asu.edu> wrote: > Hello, > I was facing some difficulty in implementing a transform and I was wondering > if I could get some help please. > The transform needs to operate on the operands of certain instructions. For > example, given an instruction, say &quo...
2011 Aug 09
1
[LLVMdev] llvm-gcc with static libraries
...-x86_64-linux/bin/ld.gold -plugin ${HOME}/apps/llvm/LLVMgold.so $* $ But the output from llvm-gcc does not change. Any clue whats wrong? There is no /usr/lib/bfd-plugins nor is there a lib/bfd-plugins in the location where the new binutils was installed. Where is this file supposed to be copied? Ashay On Tue, Aug 9, 2011 at 2:12 PM, Eli Friedman <eli.friedman at gmail.com> wrote: > On Tue, Aug 9, 2011 at 12:03 PM, Ashay Rane <ashay.rane at asu.edu> wrote: > > `/usr/bin/ld -v' says it is not running gold and I suppose fixing that > would > > require place LLVM...