similar to: [LLVMdev] instruction description

Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] instruction description"

2008 Jul 13
0
[LLVMdev] instruction description
On Jul 13, 2008, at 1:32 PM, Le Anh Quang wrote: > Hi, > I need the description of LLVM instructions on bitcode file. I can't > find it > on any document. Reading the code costs much time. Does a > description like > this exist ? It should look like the JVM Instruction set on the link > bellow: >
2008 Jul 13
1
[LLVMdev] instruction description
Hi Chris, Owen Thank for your answers. I have read it before. I mean something different. For example, I read a burst of bytes from a bitcode, which corresponds a LOAD instruction: [0,3,0], it actually means something like "%tmp1 = load i32* @x,align 4" Is there a document, that describes how the information in instructions decoded was ? In the case of JVM, it was described detail,
2008 Jul 13
0
[LLVMdev] instruction description
Hi, I need the description of LLVM instructions on bitcode file. I can't find it on any document. Reading the code costs much time. Does a description like this exist ? It should look like the JVM Instruction set on the link bellow: http://java.sun.com/docs/books/jvms/second_edition/html/Instructions2.doc.html Thanks for any advise. Quang -------------- next part -------------- An HTML
2008 Apr 21
3
[LLVMdev] Implementing try/catch/finally
Duncan Sands wrote: >> One approach would be to simply duplicate the code in the 'finally' >> block for each exit, but that seems sub-optimal. It would be better, I >> think, to set a state variable before entering the 'finally' block, and >> then have it do a switch instruction at the end and transfer to the >> appropriate block. >>
2010 Feb 09
2
[LLVMdev] Mapping bitcode to source code
Hi, I'm looking for a way to map bitcode to the source code (C/C++) from which it was generated. For example, the Java class file format has an optional LineNumberTable attribute that maps each bytecode instruction to a source code line number: http://java.sun.com/docs/books/jvms/second_edition/html/ClassFile.doc.html#22856 Is there something analogous in the LLVM environment? Thanks,
2008 Jul 01
3
[LLVMdev] build on windows
Hi Jean-Daniel, Thank I use VC++ 9 (express version). I have also an error in TableGen: The "strtoll" could not be found under win32. Have you fixed it ? Regards Quang -----Ursprüngliche Nachricht----- Von: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] Im Auftrag von Jean-Daniel Dupas Gesendet: Montag, 30. Juni 2008 22:00 An: LLVM Developers Mailing List
2008 Jul 01
2
[LLVMdev] build on windows
Hi Jean-Daniel, thank for ur fast answer, i have fixed this error, another function was defined inside llvm source code. So, my only problem now is, I cannot create the file "configure.lib" (belongs to project "Configure"). I can build this project without error, but it didn't generate the lib data ?! Can you build this file ? if yes, I will be very happy if you send it to
2008 Jun 30
4
[LLVMdev] build on windows
Hi, I have tried to compile LLVM with Visual C++. Some subprojects work now. Other subprojects require the file "configure.lib". So I tried to compile the project "Configure". It could be built successfully, but the file "configure.lib" is not generated. So, what is the problem here ? Can somebody help me to fix that ? Thanks and regards Quang
2008 Jul 01
0
[LLVMdev] build on windows
AFAK, the Configuration project does not generate any output. It just patch and generate some required header file. Le 1 juil. 08 à 17:32, Le Anh Quang a écrit : > Hi Jean-Daniel, > thank for ur fast answer, i have fixed this error, another function > was > defined inside llvm source code. > So, my only problem now is, I cannot create the file "configure.lib" >
2008 Jul 01
2
[LLVMdev] build on windows
Hi, but on some other project, they require "configure.lib". What is this one ? Thanks -----Ursprüngliche Nachricht----- Von: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] Im Auftrag von Jean-Daniel Dupas Gesendet: Dienstag, 1. Juli 2008 17:58 An: LLVM Developers Mailing List Betreff: Re: [LLVMdev] build on windows AFAK, the Configuration project does not
2008 Jun 30
0
[LLVMdev] build on windows
Le 30 juin 08 à 21:28, Le Anh Quang a écrit : > Hi, > I have tried to compile LLVM with Visual C++. Some subprojects work > now. > > Other subprojects require the file "configure.lib". So I tried to > compile > the project "Configure". It could be built successfully, but the file > "configure.lib" is not generated. So, what is the problem
2008 Jul 01
0
[LLVMdev] build on windows
Not this one, I have a different error here. One related to hasmap and pair templates. I will check this on my Windows machine later. Le 1 juil. 08 à 16:44, Le Anh Quang a écrit : > Hi Jean-Daniel, > Thank > I use VC++ 9 (express version). I have also an error in TableGen: The > "strtoll" could not be found under win32. Have you fixed it ? > > Regards > Quang
2008 Oct 06
3
[LLVMdev] sext..to instruction
Hi, I have a question about the "sext..to" instruction. In the document, I found two examples: %x = sext i8 -1 to i16 It means: i8 -1 = 1111 1111 --> 1111 1111 1111 1111 = i16 how can it determinate, that the i16 value %x positive is (65535)? And the second example: %y = sext i1 true to i32 1 --> 1111 1111 1111 1111 1111 1111 1111 1111 In this example, %y is -1 I'm not sure
2008 Oct 10
1
[LLVMdev] global constant integer and pointer
Hi all, I have tried to use llvm to translate some programs. Today I saw a weird thing: - My program has a global pointer @ptr1 = 0. And the constant integer '0' is stored in value memory at index 64. "@ptr = weak global i32 0; <i32*>" - Somewhere in my program, there is a store instruction: "store i32 %tmp31, i32* @ptr" it writes %tmp32 into memory, where
2008 Jul 01
0
[LLVMdev] build on windows
Le Anh Quang wrote: > Hi, > but on some other project, they require "configure.lib". What is this one ? > Thanks Hi Le Anh, What project are you talking about, and how did you determine that it requires "configure.lib" ? AFAIK, all LLVM projects have dependency on the configure project but this is only so that some include files are created, no
2008 Jun 30
1
[LLVMdev] build on windows
So far, I'm building largely clean too. I had to change which llvmAsmParser it was looking at since it needs to look at the generated file under the win32\AsmParser directory rather than ...\lib\AsmParser where no such file exists. After that, it compiles clean on debug. Working on release now and then I'll check that change in. Quang, do you have flex and bison on your system and in
2008 Jul 23
1
[LLVMdev] weird function
llvm-gcc is the C compiler, but you're trying to compile a C++ file. "@_Znwj" looks like part of a C++ symbol. Try llvm-g++ instead, that should help. - Simon 2008/7/23 Le Anh Quang <anh_quang.le at mailbox.tu-dresden.de>: > Hi, > I have tried to compile a simple cpp file with llvm-gcc. I have attached > the assemble file here. > I see a weird thing there.
2008 Jul 01
2
[LLVMdev] build on windows
Hi Argiris, It was for example the project TableGen, llvm-dis... I saw it under Properties/Linker/Command Line And the output is also: Linking... Starting pass 1 LINK : fatal error LNK1181: cannot open input file '..\configure\configure\configure.lib' Build log was saved at "file://d:\Studium\Diplom\Download\llvm-2.3\win32\TableGen\Win32\Release\Bui ldLog.htm" TableGen - 1
2008 Jul 24
1
[LLVMdev] weird function
Hi Quang, > As I compiled a C or C++ program using llvm-gcc or llvm-g++, I have a > bitcode file. If a C++ library is used, some functions will be declared > inside it, but not defined there (like the @_Znwj). Is it possible to create > LLVM IR with all libraries defined inside (or linked with another bitcode > libraries) ? I don't know how hard it would be to compile the C++
2008 Jul 24
2
[LLVMdev] weird function
Hi, > thank for your answer. Is there any document/tutorial about linking > bytecode file with libstdc++ avaiable ? first you need to compile the bitcode to assembler using llc. For example: llc bitcode.bc This produces bitcode.s. Turn this into a executable using: llvm-g++ -o bitcode bitcode.s or g++ -o bitcode bitcode.s It doesn't matter which g++ you use here. Using g++