Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] How to compile object C with clang into llvm IR?"
2013 Apr 06
0
[LLVMdev] How to compile object C with clang into llvm IR?
Look up --emit-llvm. I think it has to be used with -c.
On Apr 5, 2013 10:55 PM, "Jonathan" <gamma_chen at yahoo.com.tw> wrote:
> Following came from tools/clang/test/CodeGenObjC/message-arrays.m. But I
> don't know how to compile it at terminal command since no clang_cc1
> executable file. Can some one help me? I am writing the llvm backend
> document
2013 Apr 06
2
[LLVMdev] How to compile object C with clang into llvm IR?
I got the following compile error. Did the message-arrays.m can be compiled into .bc? Or need include something for Object C language compile.
Jonathan
118-165-76-229:CodeGenObjC Jonathan$ pwd
/Users/Jonathan/llvm/release/src/tools/clang/test/CodeGenObjC
118-165-76-229:CodeGenObjC Jonathan$ clang -emit-llvm -o 1.ll -c message-arrays.m
message-arrays.m:5:3: warning: instance method
2013 Apr 06
0
[LLVMdev] How to compile object C with clang into llvm IR?
On Apr 5, 2013, at 9:19 PM, Jonathan wrote:
> I got the following compile error. Did the message-arrays.m can be compiled into .bc? Or need include something for Object C language compile.
Those are warnings, not errors. They otherwise compiled just fine. You should have a bitcode file named '1.ll' from each of those commands.
Chip
>
> Jonathan
>
>
2012 Dec 04
0
[LLVMdev] LLVM documentation work help
On Mon, Dec 3, 2012 at 11:09 PM, gamma_chen <gamma_chen at yahoo.com.tw> wrote:
> I add the empty file .nojekyll to https://github.com/Jonathan2251/lbd/tree/gh-pages and do "make gh-pages" again. It's the same. I check the uvbook has the gh-pages as mine as follows,
The book looks really good at <http://jonathan2251.github.com/lbd/>!
I think if you change the PDF
2012 Dec 04
2
[LLVMdev] LLVM documentation work help
Sean,
I add the empty file .nojekyll to https://github.com/Jonathan2251/lbd/tree/gh-pages and do "make gh-pages" again. It's the same. I check the uvbook has the gh-pages as mine as follows,
https://github.com/nikhilm/uvbook/tree/gh-pages
https://github.com/Jonathan2251/lbd/tree/gh-pages
In addition to gh-pages, uvbook has the the other web site on
2012 Dec 04
5
[LLVMdev] LLVM documentation work help
Sean,
I can create html, pdf and epub, then put them on
<https://github.com/Jonathan2251/lbd/tree/gh-pages>.
The uvbook example as below can click the pdf link and pop up a download window while I cannot. The uvbook link is put on http://username.github.com/... while the "make gh-pages" put them on https://github.com/username/... How can I have the download link like uvbook
2012 Dec 04
0
[LLVMdev] LLVM documentation work help
You may need a ".nojekyll" file. uvbook has one <
https://github.com/nikhilm/uvbook/blob/gh-pages/.nojekyll>. Also see <
https://help.github.com/articles/files-that-start-with-an-underscore-are-missing
>.
Let me know if that doesn't work.
-- Sean Silva
On Mon, Dec 3, 2012 at 9:15 PM, gamma_chen <gamma_chen at yahoo.com.tw> wrote:
> Sean,
>
> I can
2012 Dec 03
3
[LLVMdev] LLVM documentation work help
Sean,
The `.. code-block:: bash` is work. Thank your information.
Currently, I can put reStructuredText files on github. But, your example uvbook seems put the html and pdf on different github directory. Do you put html and pdf on github with version control?
Jonathan
On 2012/12/3, at 上午7:43, Sean Silva <silvas at purdue.edu> wrote:
> It looks like things are going well.
>
>
2012 Dec 04
0
[LLVMdev] LLVM documentation work help
Hi Jonathan,
sorry for the hijack. Can I help you writing the document?
Regards,
chenwj
On Tue, Dec 04, 2012 at 10:15:33AM +0800, gamma_chen wrote:
> Sean,
>
> I can create html, pdf and epub, then put them on
> <https://github.com/Jonathan2251/lbd/tree/gh-pages>.
> The uvbook example as below can click the pdf link and pop up a download window
> while I cannot. The
2013 Dec 05
6
[LLVMdev] llvm backend tutorial
Hi,
I am writing an llvm backend tutorial through my learning process of llvm backend study and implementation. Web as follows,
http://jonathan2251.github.com/lbd/index.html
It include 10,000 lines of sources code for
1. Step by step, create an llvm backend for the Cpu0 which beginning from a CPU design for school teaching purpose in system programming.
2. ELF linker for Cpu0 which extended
2012 Dec 04
2
[LLVMdev] LLVM documentation work help
Sean,
It is not work even though I change the PDF link as you indicated. I think I can just use directory/link https://github.com/Jonathan2251/lbd/tree/gh-pages instead http://jonathan2251.github.com/lbd/WriteAnLLVMBackendTutorialForCpu0.pdf as a work around solution. User can click the link and click left top button "ZIP" and get the epub and pdf.
Jonathan
--- 12/12/4 (二),Sean Silva
2012 Dec 03
0
[LLVMdev] LLVM documentation work help
Let me explain how uvbook does it. They use a feature of github called
"github pages", which provides small static website hosting. The way
that github pages works is that you make a git branch `gh-pages` which
contains the generated HTML. They explain it better here
<https://help.github.com/articles/creating-project-pages-manually>.
You can see how uvbook does it by looking at
2013 Dec 06
0
[LLVMdev] llvm backend tutorial
I was wondering if this shouldn't somehow find its way into the official
LLVM documentation? It certainly seems to qualify to become official
documentation in my eyes. Nearly any LLVM backend writer out there should
be able to benefit from reading about your experiences, I'd think.
I know it is not as generic and abstract as what the LLVM dev list seems to
prefer, but I personally find
2012 Dec 04
1
[LLVMdev] LLVM documentation work help
Wei-Ren,
Sorry, currently, I have an English helper in documentation. The cpu0 is my brother teaching material for college, and I did llvm backend compiler tutorial for cpu0 since I didn't find a good tutorial in llvm backend design.
As I know, there are many way to contribute back to open source or llvm. For example, write qemu for cpu0 is a extended work in cpu0 llvm backend design. Or
2012 Nov 29
2
[LLVMdev] LLVM documentation work help
Sean,
By try, I seems realize the github.com is free for register. So, just ignore my last mail.
Anoushe,
You can register with email and get an account on
https://github.com/
I have put the our document reStructuredText on git.hub.com. You can clone it without register.
After you get an account and I add it to collaborators, then you can do check in with our project as follows,
2012 Nov 29
0
[LLVMdev] LLVM documentation work help
> I am happy to introduce Anoushe, my llvm backend documentation work helper for English and edit.
Awesome! Great to see people helping out. Thank you both for working on this.
> Is it possible, me and Anoushe can get a git free space and access right for the reStructuredText files (include .png pictures) of me and Anoushe create in future? If not allowed. Can we hand over the
2013 Apr 15
1
[LLVMdev] What is the front end pattern?
I find this pattern as below from <llvm-source-tree>/test/CodeGen/Mips/alloca.ll.
Do you know what front end pattern can be translated into this pattern alloca with variable argument %size as below?
Can some one help me? I am writing the llvm backend document --http://jonathan2251.github.com/lbd/index.html now.
%tmp1 = alloca i8, i32 %size, align 4 // has %size variable, not pattern,
2013 Dec 06
1
[LLVMdev] llvm backend tutorial
Hi Jonathan,
After reading/skimming through the official LLVM backend documents, I
actually tried following your steps to write a new backend, but how to
write td files still remains unclear. The details are not well explained,
though I know most of them can be found in other documents or have already
been documented somewhere in the LLVM source code or td files.
For a beginner with no
2012 Dec 02
0
[LLVMdev] LLVM documentation work help
It looks like things are going well.
One suggestion. Instead of using `.. literalinclude::` for displaying
the terminal sessions, you can use `.. code-block:: bash` instead. The
reason that uvbook uses `.. literalinclude` is that they are showing
parts of real compilable programs. If you just want to show a snippet
of code or terminal snippet, you can use `.. code-block::` and avoid
having lots
2012 Dec 04
0
[LLVMdev] LLVM documentation work help
> It is not work even though I change the PDF link as you indicated. I think I can just use directory/link https://github.com/Jonathan2251/lbd/tree/gh-pages instead http://jonathan2251.github.com/lbd/WriteAnLLVMBackendTutorialForCpu0.pdf as a work around solution. User can click the link and click left top button "ZIP" and get the epub and pdf.