search for: anh_quang

Displaying 7 results from an estimated 7 matches for "anh_quang".

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. There are some call instructions, they call the > function "@_Znwj". But this function was only decla...
2008 Oct 06
0
[LLVMdev] sext..to instruction
On Mon, Oct 6, 2008 at 9:30 AM, Le Anh Quang <anh_quang.le at mailbox.tu-dresden.de> wrote: > 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 i...
2008 Sep 17
1
[LLVMdev] instruction's type
Hi, I have a question about type in LLVM. Is the type of any instruction's parameter always determinate? E.g. an instruction with OPCODE %tmp = OPCODE X, Y which has two parameters X, Y. So, is there the case, that type of X or Y is unclear? Thanks for any advice Quang
2008 Jun 23
0
[LLVMdev] bytecode reader
Hi, I currently write a tool to parse the LLVM bytecode file (.bc file). So I have some very basic questions: - First, about the Abbreviation ID ( "0"=END_BLOCK, "1"=ENTER_SUBBLOCK...): how to read these ID from the file stream ? I mean, I don't know, how many bit length they are. It doesn't exist on the document. - Second, how is the order to read the bytecode ? For
2008 Jun 30
0
[LLVMdev] subproject 'Configure'
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 23
2
[LLVMdev] weird function
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. There are some call instructions, they call the function "@_Znwj". But this function was only declared in the file, there is no definition of it. So, how can it work, if this function is "empty" ? Thanks for any advice. Quang -------------- next
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