similar to: [LLVMdev] Fwd: bytecode file

Displaying 20 results from an estimated 4000 matches similar to: "[LLVMdev] Fwd: bytecode file"

2005 Feb 07
0
[LLVMdev] Segmentation Fault(Modifying BasicBlockPlacement.cpp)
Thanks a lot for replying Chris, I m trying to randomize the blocks in a program.I generate a random number( between the current "InsertPos" and the last block), and then iterate through the list of basicblocks , picking up block with position equal to that of the random number and place it into the current InsertPos and increment InsertPos. Running it like this:
2004 Nov 30
0
[LLVMdev] Trouble using llvm tools
Thanks for replying, Yes, I think too that the bytecode file is corrupted. This is the file : -------------------------------------------------------------------------------------------------------------------------
2005 Mar 09
2
[LLVMdev] Question
This is exactly what i m trying : opt -load /home/tsharma/ankur/llvm/Debug/lib/LLVMHello.so -hello <helloprog.bc> /dev/null Tanu Chris Lattner <sabre at nondot.org> wrote: On Wed, 9 Mar 2005, Tanu Sharma wrote: > I wrote a pass which randomizes basic blocks and insert new block.But > when i run another pass over it which simply lists all basic blocks I > don't get
2005 Feb 07
2
[LLVMdev] Segmentation Fault(Modifying BasicBlockPlacement.cpp)
On Mon, 7 Feb 2005, Tanu Sharma wrote: > I have been trying to randomize blocks in a program and modified > "BasicBlockPlacement.cpp" for the purpose but getting segmentation > fault.I am not able to determine the problem.Can anyone please decrypt > these error messages or suggest what might be the possible cause of > failure? I'd be happy to fix this, but I need
2005 Jun 13
1
[LLVMdev] Compiling SPEC
Hello, I have been trying to compile spec benchmark with llvm.I am trying the 2 methods suggested but have not succeeded yet . 1) Setting the flags -Wl,-native-cbe or -Wl,-native flags to llvm-gcc. This results in successful compilation with llvm BUT it doesn't create .bc files (?)which I need for my experimentation.Any other significant modification/addition missing ?? 2) Using llvm-test :
2005 Mar 09
0
[LLVMdev] Question
OOps.. I overlooked :-) Thanks Tanu Misha Brukman <brukman at uiuc.edu> wrote: On Wed, Mar 09, 2005 at 12:18:33PM -0800, Tanu Sharma wrote: > This is exactly what i m trying : > > opt -load /home/tsharma/ankur/llvm/Debug/lib/LLVMHello.so -hello /dev/null Well, you're not saving the output of your pass, it's going to /dev/null. Try: opt -load ... < input.bc >
2004 Nov 30
0
[LLVMdev] Trouble using llvm tools
I have trouble using the llvm tools.Some of the errors are : $ llvm-dis prog.bc $ llvm-dis: Invalid Top Level Block Length! Type:1, Size:456 (Vers=0, Pos=12) ------------------------------------- $ extract -o=outprog prog.bc $ extract: bytecode didn't read correctly. Where am I doing wrong ?I wish to get human readable form of my bytecode file.The tool giving similar error. Thanks Tanu
2005 Feb 07
0
[LLVMdev] Segmentation Fault(Modifying BasicBlockPlacement.cpp)
Hi, I have been trying to randomize blocks in a program and modified "BasicBlockPlacement.cpp" for the purpose but getting segmentation fault.I am not able to determine the problem.Can anyone please decrypt these error messages or suggest what might be the possible cause of failure? -----------------------------------------------------------------------------------------------------
2004 Nov 30
4
[LLVMdev] Trouble using llvm tools
On Tue, 30 Nov 2004, Tanu Sharma wrote: > I have trouble using the llvm tools.Some of the errors are : > > $ llvm-dis prog.bc > $ llvm-dis: Invalid Top Level Block Length! Type:1, Size:456 (Vers=0, Pos=12) Can you explain how you generated this bytecode file? It looks corrupted or something. Also, can you send the actual bytecode file itself? Thanks! -Chris >
2005 Sep 05
0
[LLVMdev] Doubt
On Sun, 4 Sep 2005, Tanu Sharma wrote: > > I have a doubt. > > This is an excerpt of the raw report I get after running Spec benchmarks > through llvm-test.I am trying to calculate the program execution > time.Does the output result in bold corresponds to "lli time" in > Makefile.spec ? I am not interested in llc, jit or cbe.I simply need the > normal
2005 Jun 02
0
[LLVMdev] Error while compiling spec benchmark
On Mon, 30 May 2005, Tanu Sharma wrote: > I have been trying to compile the SPEC benchmark but have failed even > after several attempts.The first error I get while trying to run is : There are two ways to do this: 1. Use the llvm-test harness 2. Use the official spec harness with -Wl,-native-cbe or -Wl,-native flags to llvm-gcc. -Chris >
2004 Nov 30
0
[LLVMdev] Trouble using llvm tools
On Tue, 2004-11-30 at 08:58, Chris Lattner wrote: > On Tue, 30 Nov 2004, Tanu Sharma wrote: > > > I have trouble using the llvm tools.Some of the errors are : > > > > $ llvm-dis prog.bc > > $ llvm-dis: Invalid Top Level Block Length! Type:1, Size:456 (Vers=0, Pos=12) > > Can you explain how you generated this bytecode file? It looks corrupted > or
2005 Apr 26
1
[LLVMdev] Compilation without optimization
Thanks !! But if i generate a .bc file like this and then run my pass over it like this : opt -load /home/llvm-cvs/llvm/Debug/lib/LLVMHello.so -hello <helloprog.bc> class_prog.bc Will the new .bc file (class_prog.bc) be also without optimizations ?opt also does some optimizations.Can I control them ? Thanks Tanu Chris Lattner <sabre at nondot.org> wrote: On Mon, 25 Apr 2005,
2005 Apr 25
0
[LLVMdev] Compilation without optimization
On Mon, 25 Apr 2005, Tanu Sharma wrote: > Thanks for the reply. > > I wish to compile without optimizations ( the option being turned off ) > but still generate bytecode file. > > Options -S , -c removes optimizations but I also need .bc file to > experiment and use further. Passing "-Wa,-disable-opt -Wl,-disable-opt" will disable *all* cleanup and optimizations
2005 Jun 02
0
[LLVMdev] Randomizing Functions & Global variables
Tanu, You've seen ? :- http://www.st.cs.uni-sb.de/~lindig/src/quest/ Don't know whether it is applicable to what you are trying to achieve but I thought I should point it out in case it is useful to you and you have not seen it. Aaron ----- Original Message ----- From: Tanu Sharma To: LLVM Developers Mailing List Sent: Thursday, June 02, 2005 9:53 PM Subject:
2005 Feb 17
0
[LLVMdev] Branching to Entry block
Thanks a lot for replying...but I am not doing any deleting or removing node ...I am trying to insert a "new" entry node in an existing list. In another reply I understood (also mentioned on the site) that no other block can branch to the entry block. How do I achieve this ? Is it feasible?Let me know if there is any example. Thanks again, Tanu Chris Lattner <sabre at
2005 Apr 08
2
[LLVMdev] Questions !!
Thanks a lot Chris. Regarding basic block size I wish to calculate both: - The number of bytecode bytes - The number of machine code bytes for some target? TS Chris Lattner <sabre at nondot.org> wrote: On Thu, 7 Apr 2005, Tanu Sharma wrote: > Thanks for the reply, > > Actually I m aiming towards determining two values: > > - number of basic blocks in a program For
2005 Jul 01
0
[LLVMdev] execution time of bytecode and native
On Thu, 30 Jun 2005, Tanu Sharma wrote: > I am compiling SPEC 2000 benchmarks with llvm .Got stuck with > calculating "execution time" of all the .bc and native files. > > The log for nightly test itself gives execution times but I am passing > the bytecode files to my pass which gives another bytecode file.I have > to calculate execution time of such bytecode and
2005 Feb 28
1
[LLVMdev] Problem in compilation (native option)
On Sun, 27 Feb 2005, Tanu Sharma wrote: > Thanks for replying . > I came across another problem while trying it. > The following compilation is not working: ( with the native option) > > llvmgcc x.c -o a.out -Wl,-native > > I get this error: > > gccld: a.out.s: Can't destroy file: ut.s > > How can I fix that ? This bug has been fixed in CVS, please update your
2005 Feb 27
0
[LLVMdev] Measuring performance overhead
On Sat, 26 Feb 2005, Tanu Sharma wrote: > Thanks for the reply :-) > I am actually looking for ways to determine "size" of code segment when the program is in native code. > Any suggestions to do that ? Compile it with llvm to a native .o or .exe file, then run 'size' on it? E.g.: llvm-gcc x.c -o a.out -Wl,-native size ./a.out -Chris > Chris Lattner <sabre