similar to: [LLVMdev] Question to Chris

Displaying 20 results from an estimated 3000 matches similar to: "[LLVMdev] Question to Chris"

2008 Jan 26
2
[LLVMdev] Question to Chris
Dear Dr.Lattner Hello, Dr.Lattner. You may find your reply at http://lists.cs.uiuc.edu/pipermail/llvmdev/2007-August/010479.html and other your replies to me right up and down at the list. You had suggested me to read the "structural analysis" section in Muchnick's book. Thank you for this. I bought and read it, which was very helpful but... I still don't have any idea
2008 Feb 02
0
[LLVMdev] Question to Chris
Ok, here are a few suggestions and comments: 1) LLVM has the capabilities to do everything that you are trying to re-implement. 2) Have you looked at the C backend? It recreates loops. It may not create "for" loops but you can hack on it to do that. 3) The way you are converting out of SSA is wrong. You will suffer from lost copies. You should look at using demotePHI(). see
2008 Jan 28
1
[LLVMdev] Question to Chris
Bill, Depending on what Seung's problem is, converting *out* of SSA form may actually be the wrong thing to do. Seung needs to explain exactly problem he is unable solve using SSA form. --Vikram http://www.cs.uiuc.edu/~vadve http://llvm.org/ On Jan 28, 2008, at 1:10 AM, Bill Wendling wrote: > Hi Seung, > > It should be fairly straight-forward to do in LLVM. Once you
2008 Feb 04
0
[LLVMdev] Question to Chris
Thank you for this comment, Mike. So... your suggestion is to make a valid transform for each loop like: >for (;C;) { > S >} > >is to transform: > >top: >if (!C) goto end; > S >goto top; >end: For now, my code is incomplete so not ready to present for audit yet but I hope it asap. In fact, I couldn't understand what you said: >The cost of the .pdf
2008 Jan 28
0
[LLVMdev] Question to Chris
Hi Seung, It should be fairly straight-forward to do in LLVM. Once you identify the loops, then identify the PHI nodes that you need to convert, then apply the transformation below. The fine details on how to create an instruction and replace one instruction with another are documented in the docs section and in other code. :-) One thing to be careful of, if you convert a variable like
2008 Feb 02
4
[LLVMdev] Question to Chris
Dear Prof.Adve and Bill, I deeply appreciate your comments and concerns. (Please forgive my late response. I've tried some more cases to make this issue) As Prof.Adve mentioned, I need to explain exactly what my problem is, but I have no good ability that I can explain it in this plain text space. For this reason, I made a .pdf file and linked it as follows:
2008 Feb 22
1
[LLVMdev] Is there someone tried LLVM 2.1 on Visual Studio 2005?
Xi, I just installed VS2005 pro w/ SP1 for Win Vista. Thanks, Seung ---- Original message ---- >Date: Fri, 22 Feb 2008 12:36:43 +0800 >From: "Xi Wang" <xi.wang at gmail.com> >Subject: Re: [LLVMdev] Is there someone tried LLVM 2.1 on Visual Studio 2005? >To: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu> > >I'm sorry but did you
2006 Nov 09
3
[LLVMdev] Is this bug in LLVM?
Hello. My name is Seung Jae Lee. I'd like to ask you onething about converting to ARM assembly code. I saved the simplest C code shown in your LLVM webpage as 'hello.c' And I made 'hello.bc' by "$ llvm-gcc hello.c -o hello". In order to make ARM assembly code, I typed "llc -march=arm hello.bc -o hello.arm" But, I met this error. llc: ARMISelDAGToDAG.cpp:73:
2008 Jan 27
3
[LLVMdev] Question to Chris
Thank you, Bill. Seems to be better. Anyway...Is there a way I can do what you showed for me? Thanks, Seung J. Lee ---- Original message ---- >Date: Sat, 26 Jan 2008 22:10:01 -0800 >From: Bill Wendling <isanbard at gmail.com> >Subject: Re: [LLVMdev] Question to Chris >To: LLVM Developers Mailing List <llvmdev at cs.uiuc.edu> > >On Jan 26, 2008, at 9:48 AM, Seung
2008 Feb 04
0
[LLVMdev] Question to Chris
Hello, Wojtek. I owe much to you. Thank you. My HL code should be simple without any 'goto','break' and so on. Simple as just loops with 'for' and 'if's inside it, so your comment looks helpful. I'll try. Just one thing which concerning me is demotePHI() I couldn't find it in 1.9 so seems to me another installation of the newest version of LLVM. Anyway,
2007 Jul 19
4
[LLVMdev] LLVM-MIPS
On 19/07/2007 01:29:18, Seung Jae Lee (lee225 at uiuc.edu) wrote: > Somebody in this dev-list alreday did it with LLVM. I guess you are speaking about Bruno Cardoso Lopes ? I can see there is a MIPS implementation in LLVM repository but it looks like uncomplete (that is, I'm not even sure it can compile any source). What I hope is to have a complete MIPS implementation so I can adapt
2007 Apr 06
1
[LLVMdev] LLVM command options in Visual Studio
Thank you for your kind explanation. I did it as you mentioned. That is, I set '-march=x86 hello.bc' in the Command Arguments. (I also set my compiled LLC, i.e., LLVM_ROOT_DIR\win32\debug\llc.exe, in the property name Command.) But, when I made a breakpoint in main( ) of llc.cpp and then started to debug I found the 'InputFilename'(llc.cpp:176) is shown like {???}. Therefore it
2007 Apr 16
0
[LLVMdev] adding a target for "-march=" option in Visual Studio (Resolved)
No, No... That's OK. I appreciate your concerns. Seung Jae Lee ---- Original message ---- >Date: Mon, 16 Apr 2007 13:30:59 -0700 >From: Jeff Cohen <jeffc at jolt-lang.org> >Subject: Re: [LLVMdev] adding a target for "-march=" option in Visual Studio (Resolved) >To: LLVM Developers Mailing List <llvmdev at cs.uiuc.edu> > >Seung Jae Lee wrote:
2007 Apr 27
0
[LLVMdev] Preservance of function variables in the bytecode
Thank you, Patrick. What I want to do is just to write those source level variable names in my assembly code for a virtual machine because it is instructed in its instructions manual. I registered the VM as a target for LLC and want to emit the assembly. For this reason, I asked how to get the variables themselves which are not mangled from the bytecode. Thanks to your help, now I see they can be
2007 May 28
1
[LLVMdev] Usage of llvmc
Thank you so much for your reply, Chris. If so, can I ask you two things more? First, is there any way to have various optimizations on LLVM assembly such as -O options in llvmc? llvm-gcc doesn't seem to be working for these -O options... Second, I'm still not sure about difference between *.s and *.ll. LLVM assembly *.s file can be made from llvm-gcc -S. Another assembly *.ll file comes
2007 Feb 01
0
[LLVMdev] Good book for backend implementation?
try here: http://sourceforge.net/projects/inger this project have a ebook (Compiler Construction: A Practical Approach) that covers some backend code generation techniques. On 2/1/07, Seung Jae Lee <lee225 at uiuc.edu> wrote: > Can you recommend any good book or reference for backend implementation? I skimmed some compiler books but it seemed to be more about front-end, parsing,
2007 Jul 19
0
[LLVMdev] LLVM-MIPS
On 19/07/2007 01:29:18, Seung Jae Lee (lee225 at uiuc.edu) wrote: > Somebody in this dev-list alreday did it with LLVM. I guess you are speaking about Bruno Cardoso Lopes ? I can see there is a MIPS implementation in LLVM repository but it looks like uncomplete (that is, I'm not even sure it can compile any source). What I hope is to have a complete MIPS implementation so I can adapt
2007 May 28
0
[LLVMdev] Usage of llvmc (Sorry. Please disregard the right above.)
Thank you so much for your reply, Chris. If so, can I ask you two things more? First, is there any way to have various optimizations on LLVM assembly such as -O options in llvmc? llvm-gcc doesn't seem to be working for these -O options... Second, I'm still not sure about difference between *.s and *.ll. LLVM assembly *.s file can be made from llvm-gcc with -S option. Another
2007 Jul 19
0
[LLVMdev] LLVM-MIPS
Hi Hidle, 2007/7/19, Hlide <hlide at free.fr>: > > On 19/07/2007 01:29:18, Seung Jae Lee (lee225 at uiuc.edu) wrote: > > Somebody in this dev-list alreday did it with LLVM. > > I guess you are speaking about Bruno Cardoso Lopes ? I can see there is > a MIPS implementation in LLVM repository but it looks like uncomplete > (that is, I'm not even sure it can
2006 Dec 14
1
[LLVMdev] Instructions having variable names as operands
Hello. I am Seung Jae Lee making a LLVM backend for a new architecture XCC. I found that the instructions use variable names which actually used in the source coding for operands unlike most architectures which use usually register names or addresses as operands. LLVM backend examples such as ARM, SPARC seem to use register names or addresses for operands. How can I implement this on my backend?