search for: bitecod

Displaying 20 results from an estimated 27 matches for "bitecod".

Did you mean: bitecode
2011 Nov 02
0
[LLVMdev] debugger doesn't go inside the bitecode file
...ass. The steps I followed were: 1. gdb opt 2. break llvm::PassManager::run 3. run -stats -analyze -instcount filename.bc I got the bc file using -emit-llvm option as following: llvm-gcc -O3 -emit-llvm filename.c -c -o filename.bc But when I started debugging, the debugger never really went into my bitecode file, filename.bc and it returned me the statistics regarding different number of instructions. I am wondering how it did all those calculations without even going into the bitecode file? -- Thanks, *HIMANSHU SHEKHAR* -------------- next part -------------- An HTML attachment was scrubbed... UR...
2012 Mar 06
2
[LLVMdev] Assembly Mips from bitecode llvm
...benchmarks from Mibench suite with the application of the all LLVM's tranformation passes. Moreover, I'm trying to generate assembly code for Mips architecture for extraction of energy and performance metrics. For this, for example, initially I compile the sources and link them generating a bitecode file. After, I apply each optimization using opt tool: *opt -$i file.bc -o file.opt.bc* where $i is each one of the LLVM's tranformation pass. After, to generate assembly MIPS, I do: *llc -march=mipsel file.opt.bc -o file.opt.s* * * I configured the LLVM with --build=mipsel, mips and --enable...
2012 Jun 12
2
[LLVMdev] output -stats to file.txt
Yes, I've tried and it did not work On Tue, Jun 12, 2012 at 4:03 PM, Villmow, Micah <Micah.Villmow at amd.com>wrote: > Have you tried "opt -stats bitecode.bc > test.txt"?**** > > ** ** > > *From:* llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] *On > Behalf Of *Rafael Parizi > *Sent:* Tuesday, June 12, 2012 11:36 AM > *To:* llvmdev at cs.uiuc.edu > *Subject:* [LLVMdev] output -stats to file.txt*...
2012 Mar 06
0
[LLVMdev] Assembly Mips from bitecode llvm
Hello > For this, for example, initially I compile the sources How have you made this step? -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
2012 Mar 06
0
[LLVMdev] Assembly Mips from bitecode llvm
> llvm-gcc (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2.9) > Copyright (C) 2007 Free Software Foundation, Inc. Here I assume that your llvm-gcc is for x86-64-linux, since there was no MIPS release. So, you're feeding x86-oriented IR to MIPS backend. This won't work, you will need to provide MIPS-aware IR. Also, in 2.9 the MIPS was definitely not so mature. Hopefully
2012 Jun 12
2
[LLVMdev] output -stats to file.txt
Hi! I'm estimating the number of basic blocks of the a program using "opt -stats bitecode.bc" I would like to save the output of the -stats opt into a file .txt. How can I do this? -- *Rafael Parizi* -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120612/cc314c37/attachment.html>
2012 Mar 06
0
[LLVMdev] Assembly Mips from bitecode llvm
Ok. And what does llvm-gcc --version show? --- With best regards, Anton Korobeynikov On Mar 6, 2012 5:22 PM, "Rafael Parizi" <parizi.computacao at gmail.com> wrote: > > For compile and link Basicmath files (using shell script): > > llvm-gcc -emit-llvm basicmath_small.c -c -o basicmath_small.bc > llvm-gcc -emit-llvm cubic.c -c -o cubic.bc > llvm-gcc -emit-llvm
2010 Sep 29
4
[LLVMdev] bitcode / bytecode
Hi list, As long as I know English the word "bit" is a "small pice", . Why in set of documentation ir is "bytecode", in other set or llvm source is "bitecode"? What is the right? Different people call the same thing such differently. -- best regards Ariel -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100929/6137be2f/attachment.html>
2012 Mar 06
2
[LLVMdev] Assembly Mips from bitecode llvm
llvm-gcc (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2.9) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. llc --version: Low Level Virtual Machine (http://llvm.org/): llvm version 2.9 Optimized build. Built Mar 5 2012
2012 Jun 12
0
[LLVMdev] output -stats to file.txt
Have you tried "opt -stats bitecode.bc > test.txt"? From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Rafael Parizi Sent: Tuesday, June 12, 2012 11:36 AM To: llvmdev at cs.uiuc.edu Subject: [LLVMdev] output -stats to file.txt Hi! I'm estimating the number of basic blocks of the...
2012 Mar 06
2
[LLVMdev] Assembly Mips from bitecode llvm
For compile and link Basicmath files (using shell script): llvm-gcc -emit-llvm basicmath_small.c -c -o basicmath_small.bc llvm-gcc -emit-llvm cubic.c -c -o cubic.bc llvm-gcc -emit-llvm isqrt.c -c -o isqrt.bc llvm-gcc -emit-llvm rad2deg.c -c -o rad2deg.bc llvm-link basicmath_small.bc cubic.bc isqrt.bc rad2deg.bc -o basicmath.bc
2012 Jun 12
0
[LLVMdev] output -stats to file.txt
...7 PM To: Villmow, Micah Cc: llvmdev at cs.uiuc.edu Subject: Re: [LLVMdev] output -stats to file.txt Yes, I've tried and it did not work On Tue, Jun 12, 2012 at 4:03 PM, Villmow, Micah <Micah.Villmow at amd.com<mailto:Micah.Villmow at amd.com>> wrote: Have you tried "opt -stats bitecode.bc > test.txt"? From: llvmdev-bounces at cs.uiuc.edu<mailto:llvmdev-bounces at cs.uiuc.edu> [mailto:llvmdev-bounces at cs.uiuc.edu<mailto:llvmdev-bounces at cs.uiuc.edu>] On Behalf Of Rafael Parizi Sent: Tuesday, June 12, 2012 11:36 AM To: llvmdev at cs.uiuc.edu<mailto:llvm...
2012 Jun 12
1
[LLVMdev] output -stats to file.txt
...mdev at cs.uiuc.edu > *Subject:* Re: [LLVMdev] output -stats to file.txt**** > > ** ** > > Yes, I've tried and it did not work **** > > On Tue, Jun 12, 2012 at 4:03 PM, Villmow, Micah <Micah.Villmow at amd.com> > wrote:**** > > Have you tried "opt -stats bitecode.bc > test.txt"?**** > > **** > > *From:* llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] *On > Behalf Of *Rafael Parizi > *Sent:* Tuesday, June 12, 2012 11:36 AM > *To:* llvmdev at cs.uiuc.edu > *Subject:* [LLVMdev] output -stats to file.txt*...
2009 Jun 11
0
[LLVMdev] Output to a DLL
...art though. Does LLVM already offer some support for > this? Nope. Don't hold your breadth waiting for it. It is far from trivial to do. I don't know your requirements, but mine is to avoid compilation every time the hosting application starts. I was thinking on: 1. Compile and spit bitecode from the JIT the first time, load it on subsequent sessions. Seems doable. Doesn't work if your goal is using code on non-LLVM-aware applications, but if you want to do this the JIT is of no use anyways. 2. Act as a traditional compiler and generate a shared library via llvmc + assembler...
2009 Jun 11
1
[LLVMdev] Output to a DLL
When you say "spit bitecode from the JIT the first time, load it on subsequent sessions" : - do you want to write the IR in a file via BitcodeWriter and re-read it via BitcodeReader ? (you will pay the cost of native code emission on each load ?) - do you want to write the native code ? In that case, how do you retrieve...
2009 Jun 11
5
[LLVMdev] Output to a DLL
Hi all, I'd like to be able to write JIT-compiled code to a Windows DLL. I have no idea where to start though. Does LLVM already offer some support for this? Or would it be straightforward to write my own DLL writer (no advanced features needed)? Or maybe I could use an external linker? All help highly appreciated! Cheers, Nicolas -------------- next part -------------- An HTML
2010 Sep 29
1
[LLVMdev] Fwd: bitcode / bytecode
...eason to rename bytecode? I am still interesting in 2010/9/29 Duncan Sands <baldrick at free.fr> Hi Ariel, > As long as I know English the word "bit" is a "small pice", . Why in set of > documentation ir is "bytecode", in other set or llvm source is "bitecode"? > What is the right? Different people call the same thing such differently. it used to be called bytecode, now it is called bitcode, but not all documents were updated it seems. Ciao, Duncan. ______________________________ > > _________________ > LLVM Developers mailing list...
2011 Oct 31
1
[LLVMdev] Runtime optimization using llvm
...ation (say EdgeProfiling.cpp), then what all do I have to do to see the changes done in the pass. Please help me with the required steps. And is there any tool available which I use to see the control flow(step by step execution of the code) when I execute say the -insert-edge-profiling pass on my bitecode. If there is one, it would help me a lot to understand how the pass works and also in writing a new pass for my purpose. Thanks Himanshu -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111101/558ae320/atta...
2011 Nov 14
0
[LLVMdev] llvm-gcc-i686-pc-linux-gnu-cross-arm-eabi-soft-float
Hello Devang, Please find attached the preprocessed source file and the LLVM bitecode. Hope this will help. Thanks Galina On Mon, Nov 14, 2011 at 9:48 AM, Devang Patel <dpatel at apple.com> wrote: > The buildbot > @ http://lab.llvm.org:8011/builders/llvm-gcc-i686-pc-linux-gnu-cross-arm-eabi-soft-float/builds/850 > is failing with following assertion failure. Is...
2011 Nov 15
2
[LLVMdev] llvm-gcc-i686-pc-linux-gnu-cross-arm-eabi-soft-float
I filed PR 11378. Thanks! - Devang On Nov 14, 2011, at 1:27 PM, Galina Kistanova wrote: > Hello Devang, > > Please find attached the preprocessed source file and the LLVM > bitecode. Hope this will help. > > Thanks > > Galina > > > > On Mon, Nov 14, 2011 at 9:48 AM, Devang Patel <dpatel at apple.com> wrote: >> The buildbot >> @ http://lab.llvm.org:8011/builders/llvm-gcc-i686-pc-linux-gnu-cross-arm-eabi-soft-float/builds/850 >&...