similar to: [LLVMdev] I try to compile to LLVM code

Displaying 20 results from an estimated 30000 matches similar to: "[LLVMdev] I try to compile to LLVM code"

2010 Aug 12
0
[LLVMdev] I try to compile to LLVM code
Hello Borneq, If you want to compile bitcode into assembly, you need to invoke the llvm-as and llc commands on it to convert it from LLVM Assembly source to bitcode and then native assembly source instead of llvm-gcc. If that doesn't work, post back here, --Sam ----- Original Message ---- > From: Borneq <borneq at wp.pl> > To: llvmdev at cs.uiuc.edu > Sent: Wed, August
2010 Aug 13
1
[LLVMdev] I try to compile to LLVM code
Samuel Crow wrote: > > If you want to compile bitcode into assembly, you need to invoke the > llvm-as and > llc commands on it to convert it from LLVM Assembly source to bitcode and > then > native assembly source instead of llvm-gcc. > llvm-as compiled hello.s to hello.s.bc. How link it with stdio - I use printf llc is virtual machine? If I call llc with hello.s.bc it do
2011 Jun 01
5
[LLVMdev] Thinking about "whacky" backends
I've been tossing around some ideas about high-level backends. Say, have LLVM emit Perl code. Sounds whacky but isn't. It's good for the first bootstrapping phase in environments where you don't have a C compiler, where you don't have a cross-compiled binary for download, but you can execute Perl. It also makes a great inspect-the-sources-with-an-editor stage for aspiring
2010 Sep 29
1
[LLVMdev] Fwd: bitcode / bytecode
Anyone, can you say what was the reason 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
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:
2013 Mar 08
0
[LLVMdev] Tool to convert to backend assembly instruction file
Teja, Your mention of .s being bytecode confuses me, but if you're asking how to lower a bitcode (.bc) or IR file (.ll) to assembly (.s) than llc is the tool you are looking for. llc -O2 path/to/bitcode/input.bc -o output.s -Chris On Mar 7, 2013, at 10:39 PM, teja tamboli wrote: > Hello, > > I am looking for tool to convert file from either (.s) bytecode or (.bc) bitcode to
2013 Mar 13
2
[LLVMdev] Generating IR bytecode files of httpd source code
Hi, I want to compile apache httpd using LLVM compiler. However, I am interested in generating llvm bytecode files [.s or .ll] files along with its executables. I followed steps mentioned in link : http://stackoverflow.com/questions/13851661/compiling-apache-httpd-into-llvm-bytecode-using-clang However after following all instructions when I compile httpd with following options I get directly
2013 Mar 08
2
[LLVMdev] Tool to convert to backend assembly instruction file
Hello, I am looking for tool to convert file from either (.s) bytecode or (.bc) bitcode to .asm file. Basically assembly instruction file for my x86 backend. I think so we can use llvm-objdump. However I am not able to figure out its exact options. Could you please tell me how to do that? -- Thanks, Teja -------------- next part -------------- An HTML attachment was scrubbed... URL:
2012 Nov 19
2
[LLVMdev] Inserting dead code in IR byte code
Hi all, I am working on my Master's project in security and for this I need to do following things : 1. I have a IR bytecode of the main program. I want to insert dead code from other source files (e.g. cygwin files or the Linux files) in main program's IR byte code. 2. In order to insert code, I can try following two ways : (i) I have observed that these IR bytecode files are just
2007 Jul 05
2
[LLVMdev] PATCH (rest of code changes) "bytecode" --> "bitcode"
Here is the bulk of the sanitizing. My residual doubts center around the question whether we still do/want to support (un)compressed *byte*code in 2.0/2.1. I need a definitive word on this to proceed. My understanding is that bytecode is already gone, but there are still some functions/enums that really deal with *byte*code (instead of *bit*code). I did not touch those areas, so the attached
2011 Jun 01
2
[LLVMdev] Fw: Thinking about "whacky" backends
Sorry, forgot to CC the list. ----- Forwarded Message ----- > From: Samuel Crow <samuraileumas at yahoo.com> > To: Joachim Durchholz <jo at durchholz.org> > Cc: > Sent: Tuesday, May 31, 2011 9:35 PM > Subject: Re: [LLVMdev] Thinking about "whacky" backends > > Hello, > > > ----- Original Message ----- >> From: Joachim Durchholz
2007 Sep 27
1
[LLVMdev] (external) library issues
Hello, I'm considering LLVM for a project, and I wanted to take a look at its bytecode representation/instruction set. So I decided to try to compile the /bin/ls command as bytecode (no particular reason to use ls) and look at it. So I got GNU coreutils from http://ftp.gnu.org/gnu/coreutils/coreutils-5.0.tar.gz, built it to make sure it works, then replaced gcc, ld, ar and ranlib with
2012 Nov 19
0
[LLVMdev] Inserting dead code in IR byte code
Hi Teja, > I am working on my Master's project in security and for this I need to do > following things : > > 1. I have a IR bytecode of the main program. I want to insert dead code from > other source files (e.g. cygwin files or the Linux files) in main program's IR > byte code. do you mean adding additional functions? Or do you mean adding extra instructions to
2013 Mar 13
0
[LLVMdev] Generating IR bytecode files of httpd source code
On 3/12/13 7:16 PM, teja tamboli wrote: > Hi, > > I want to compile apache httpd using LLVM compiler. However, I am > interested in generating llvm bytecode files [.s or .ll] files along > with its executables. I followed steps mentioned in link : > http://stackoverflow.com/questions/13851661/compiling-apache-httpd-into-llvm-bytecode-using-clang > > However after
2011 Sep 12
2
[LLVMdev] llvm-gfortran problems
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 source code compilation process builds a static library (.a archive file), I need a means to link the `.a' file statically into the application. So if the
2011 Jul 10
0
[LLVMdev] How to get line number of a function in a bitcode file?
I tried to install the SAFECode in LLVM 2.6 following the instruction in Install.html. But when I do the step: # cd projects/poolalloc # make I get the errore below: llvm[2]: Compiling qsort.c for Release build (bytecode) llvm[2]: Compiling strdup.c for Release build (bytecode) llvm[2]: Compiling qsort.c for Release build llvm[2]: Compiling strdup.c for Release build llvm[2]: Compiling qsort.ll
2018 Feb 26
2
Compiling a benchmark to IR (either from test-suite, or other benchmarks)
Hello all. I'm in need of a benchmark that can be compiled to IR or bytecode. I found the test-suite project (https://llvm.org/docs/TestSuiteMakefileGuide.html) and thought a benchmark in that project might work. However, I'm having trouble figuring out how to actually compile any of the benchmarks to IR or bytecode. Using cmake and make I can compile them to binaries, but at no point do
2010 Sep 29
0
[LLVMdev] Fwd: bitcode / bytecode
Chris rewrote the original LLVM bytecode into it's present bitcode form. The newer code is much smaller than the previous form. That would be my guess for why he chose to call it bitcode. Of course, he can say for himself. :-) -bw On Sep 29, 2010, at 5:15 AM, Ariel Feinerman wrote: > Anyone, > > can you say what was the reason to rename bytecode? I am still interesting in >
2018 Aug 24
3
OpaqueType:: get()
I have code that uses OpaqueType::get(), it was used to be in llvm/IR/DerivedType.h , but it is removed now. What should I use for it replacement. Also, it is using #include <llvm/Bytecode/WriteBytecodePass.h> , but I do not found any WriteBytecodePass.h in my source code. Please tell me, what should I use in replacement of these. Thanks& Regards, Ratnesh Tiwari -------------- next
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