Displaying 20 results from an estimated 25 matches for "tutorial1".
Did you mean:
tutorial
2012 Jul 10
0
[LLVMdev] Unable to do even basic Clang tutorial
...rpreter -lLLVMCodeGen -lLLVMipo -lLLVMVectorize -lLLVMScalarOpts -lLLVMInstCombine -lLLVMLinker -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMArchive -lLLVMBitReader -lLLVMBitWriter -lLLVMMCJIT -lLLVMRuntimeDyld -lLLVMExecutionEngine -lLLVMTarget -lLLVMMC -lLLVMObject -lLLVMCore -lLLVMSupport tutorial1.cpp
/tmp/tutorial1-oP8CUT.o: In function `main':
tutorial1.cpp:(.text+0x42): undefined reference to `llvm::outs()'
tutorial1.cpp:(.text+0x72): undefined reference to `clang::TextDiagnosticPrinter::TextDiagnosticPrinter(llvm::raw_ostream&, clang::DiagnosticOptions const&, bool)'...
2012 Jul 10
2
[LLVMdev] Unable to do even basic Clang tutorial
...lags reported.
On 7/10/2012 11:35 AM, NY Knicks Fan wrote:
> OK. Thanks. I now get the following error (which appears to be a
> problem w/ the tutorial itself?):
>
> $ /home/ubuntu/bin/bin/clang++ -I /home/ubuntu/bin/include/
> -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS
> tutorial1.cpp/tmp/tutorial1-LQ71fW.o: In function `main':
> tutorial1.cpp:(.text+0x42): undefined reference to `llvm::outs()'
> tutorial1.cpp:(.text+0x72): undefined reference to
> `clang::TextDiagnosticPrinter::TextDiagnosticPrinter(llvm::raw_ostream&,
> clang::DiagnosticOptions cons...
2012 Jul 10
2
[LLVMdev] Unable to do even basic Clang tutorial
...; -lLLVMipo -lLLVMVectorize -lLLVMScalarOpts -lLLVMInstCombine
> -lLLVMLinker -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMArchive
> -lLLVMBitReader -lLLVMBitWriter -lLLVMMCJIT -lLLVMRuntimeDyld
> -lLLVMExecutionEngine -lLLVMTarget -lLLVMMC -lLLVMObject -lLLVMCore
> -lLLVMSupport tutorial1.cpp
> /tmp/tutorial1-oP8CUT.o: In function `main':
> tutorial1.cpp:(.text+0x42): undefined reference to `llvm::outs()'
> tutorial1.cpp:(.text+0x72): undefined reference to
> `clang::TextDiagnosticPrinter::TextDiagnosticPrinter(llvm::raw_ostream&,
> clang::DiagnosticOption...
2012 Jul 10
0
[LLVMdev] Unable to do even basic Clang tutorial
OK. Thanks. I now get the following error (which appears to be a problem w/ the tutorial itself?):
$ /home/ubuntu/bin/bin/clang++ -I /home/ubuntu/bin/include/ -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS tutorial1.cpp/tmp/tutorial1-LQ71fW.o: In function `main':
tutorial1.cpp:(.text+0x42): undefined reference to `llvm::outs()'
tutorial1.cpp:(.text+0x72): undefined reference to `clang::TextDiagnosticPrinter::TextDiagnosticPrinter(llvm::raw_ostream&, clang::DiagnosticOptions const&, bool)'
t...
2012 Jul 10
3
[LLVMdev] Unable to do even basic Clang tutorial
...>
> I created a new Ubuntu 12.04 virtual machine and followed directions
> except that I know use your cmake command instead of configure, and I
> got the error below.
>
> Any help is very much appreciated.
>
>
> $ /home/ubuntu/bin/bin/clang++ -I /home/ubuntu/bin/include/ tutorial1.cpp
> In file included from tutorial1.cpp:5:
> In file included from
> /home/ubuntu/bin/include/llvm/Support/raw_ostream.h:17:
> In file included from /home/ubuntu/bin/include/llvm/ADT/StringRef.h:13:
> In file included from
> /home/ubuntu/bin/include/llvm/Support/type_traits.h:20...
2012 Jul 09
3
[LLVMdev] Unable to do even basic Clang tutorial
...ave bin, lib and include dirs.
On 7/9/2012 3:52 PM, NY Knicks Fan wrote:
> Hi Ashok,
>
> The documentation suggests that I put clang inside of llvm/tools and so
> I have two separate include directories. I tried both of them and
> neither worked:
>
> $ clang++ -I llvm/include tutorial1.cpp
> In file included from tutorial1.cpp:5:
> In file included from llvm/include/llvm/Support/raw_ostream.h:17:
> In file included from llvm/include/llvm/ADT/StringRef.h:13:
> llvm/include/llvm/Support/type_traits.h:20:10: fatal error:
> 'llvm/Support/DataTypes.h' file not f...
2012 Jul 09
0
[LLVMdev] Unable to do even basic Clang tutorial
Hi Ashok,
The documentation suggests that I put clang inside of llvm/tools and so I have two separate include directories. I tried both of them and neither worked:
$ clang++ -I llvm/include tutorial1.cpp
In file included from tutorial1.cpp:5:
In file included from llvm/include/llvm/Support/raw_ostream.h:17:
In file included from llvm/include/llvm/ADT/StringRef.h:13:
llvm/include/llvm/Support/type_traits.h:20:10: fatal error: 'llvm/Support/DataTypes.h' file not found
#include "llvm...
2012 Jul 09
4
[LLVMdev] Unable to do even basic Clang tutorial
...rig
> >> <https://github.com/loarabia/Clang-tutorial/wiki/TutorialOrig>
> >>
> >> and I can't even do the first tutorial. I installed LLVM 3.1 and Clang
> >> 3.1 and when I do:
> >>
> >> ~/loarabia-Clang-tutorial-3d79443$ clang++ tutorial1.cpp In file
> >> included from tutorial1.cpp:5: In file included from
> >> ./llvm/Support/raw_ostream.h:17:
> >> ./llvm/Support/llvm/ADT/StringRef.h:13:10: fatal error:
> >> 'llvm/Support/type_traits.h' file not found
> >>
> >> inc...
2012 Jul 09
0
[LLVMdev] Unable to do even basic Clang tutorial
...; On 7/9/2012 3:52 PM, NY Knicks Fan wrote:
>> Hi Ashok,
>>
>> The documentation suggests that I put clang inside of llvm/tools and so
>> I have two separate include directories. I tried both of them and
>> neither worked:
>>
>> $ clang++ -I llvm/include tutorial1.cpp
>> In file included from tutorial1.cpp:5:
>> In file included from llvm/include/llvm/Support/raw_ostream.h:17:
>> In file included from llvm/include/llvm/ADT/StringRef.h:13:
>> llvm/include/llvm/Support/type_traits.h:20:10: fatal error:
>> 'llvm/Support/DataTyp...
2012 Jul 09
2
[LLVMdev] Unable to do even basic Clang tutorial
I'm trying to do the tutorials at:
https://github.com/loarabia/Clang-tu...i/TutorialOrig
and I can't even do the first tutorial. I installed LLVM 3.1 and Clang 3.1 and when I do:
~/loarabia-Clang-tutorial-3d79443$ clang++ tutorial1.cpp In file included from tutorial1.cpp:5: In file included from ./llvm/Support/raw_ostream.h:17: ./llvm/Support/llvm/ADT/StringRef.h:13:10: fatal error: 'llvm/Support/type_traits.h' file not found
include "llvm/Support/type_traits.h"
^
1 error generated.
Do you know what I am d...
2012 Jul 09
3
[LLVMdev] Unable to do even basic Clang tutorial
....com/loarabia/Clang-tu...i/TutorialOrig
>> <https://github.com/loarabia/Clang-tutorial/wiki/TutorialOrig>
>>
>> and I can't even do the first tutorial. I installed LLVM 3.1 and Clang
>> 3.1 and when I do:
>>
>> ~/loarabia-Clang-tutorial-3d79443$ clang++ tutorial1.cpp In file
>> included from tutorial1.cpp:5: In file included from
>> ./llvm/Support/raw_ostream.h:17:
>> ./llvm/Support/llvm/ADT/StringRef.h:13:10: fatal error:
>> 'llvm/Support/type_traits.h' file not found
>>
>> include "llvm/Support/type_traits....
2012 Jul 10
2
[LLVMdev] Unable to do even basic Clang tutorial
...hub.com/loarabia/Clang-tutorial/wiki/TutorialOrig>
> > >>
> > >> and I can't even do the first tutorial. I installed LLVM 3.1 and
> Clang
> > >> 3.1 and when I do:
> > >>
> > >> ~/loarabia-Clang-tutorial-3d79443$ clang++ tutorial1.cpp In file
> > >> included from tutorial1.cpp:5: In file included from
> > >> ./llvm/Support/raw_ostream.h:17:
> > >> ./llvm/Support/llvm/ADT/StringRef.h:13:10: fatal error:
> > >> 'llvm/Support/type_traits.h' file not found
> >...
2012 Jul 10
0
[LLVMdev] Unable to do even basic Clang tutorial
Hi Ashok,
I created a new Ubuntu 12.04 virtual machine and followed directions except that I know use your cmake command instead of configure, and I got the error below.
Any help is very much appreciated.
$ /home/ubuntu/bin/bin/clang++ -I /home/ubuntu/bin/include/ tutorial1.cpp
In file included from tutorial1.cpp:5:
In file included from /home/ubuntu/bin/include/llvm/Support/raw_ostream.h:17:
In file included from /home/ubuntu/bin/include/llvm/ADT/StringRef.h:13:
In file included from /home/ubuntu/bin/include/llvm/Support/type_traits.h:20:
/home/ubuntu/bin/include/llv...
2012 Jul 09
1
[LLVMdev] Unable to do even basic Clang tutorial
I'm trying to do the tutorials at:
https://github.com/loarabia/Clang-tu...i/TutorialOrig
and I can't even do the first tutorial. I installed LLVM 3.1 and Clang 3.1 and when I do:
~/loarabia-Clang-tutorial-3d79443$ clang++ tutorial1.cpp In file included from tutorial1.cpp:5: In file included from ./llvm/Support/raw_ostream.h:17: ./llvm/Support/llvm/ADT/StringRef.h:13:10: fatal error: 'llvm/Support/type_traits.h' file not found
include "llvm/Support/type_traits.h"
^
1 error generated.
Do you know what I am d...
2012 Jul 09
0
[LLVMdev] Unable to do even basic Clang tutorial
...11:33 AM, NY Knicks Fan wrote:
> I'm trying to do the tutorials at:
>
> https://github.com/loarabia/Clang-tu...i/TutorialOrig
>
> and I can't even do the first tutorial. I installed LLVM 3.1 and Clang 3.1 and when I do:
>
> ~/loarabia-Clang-tutorial-3d79443$ clang++ tutorial1.cpp In file included from tutorial1.cpp:5: In file included from ./llvm/Support/raw_ostream.h:17: ./llvm/Support/llvm/ADT/StringRef.h:13:10: fatal error: 'llvm/Support/type_traits.h' file not found
>
> include "llvm/Support/type_traits.h"
> ^
> 1 error generated.
>...
2020 Jul 14
2
[Beginner] Understanding Tablegen language
...few examples of simple .td files an LLVM backend in the
following:
LLVM backend development by example (RISC-V)
2018 LLVM Developers’ Meeting; Alex Bradbury
https://www.youtube.com/watch?v=AFaIP-dF-RA
2014 - Building an LLVM Backend - LLVM Developer's Meeting
https://llvm.org/devmtg/2014-10/#tutorial1
https://llvm.org/devmtg/2014-10/Slides/Cormack-BuildingAnLLVMBackend.pdf
https://llvm.org/devmtg/2014-04/PDFs/Talks/Building%20an%20LLVM%20backend.pdf
http://web.archive.org/http://llvm.org/devmtg/2014-10/Videos/Building%20an%20LLVM%20backend-720.mov
http://llvm.org/devmtg/2014-10/#tutorial1
http:/...
2012 Jul 09
0
[LLVMdev] Unable to do even basic Clang tutorial
....com/loarabia/Clang-tu...i/TutorialOrig
>> <https://github.com/loarabia/Clang-tutorial/wiki/TutorialOrig>
>>
>> and I can't even do the first tutorial. I installed LLVM 3.1 and Clang
>> 3.1 and when I do:
>>
>> ~/loarabia-Clang-tutorial-3d79443$ clang++ tutorial1.cpp In file
>> included from tutorial1.cpp:5: In file included from
>> ./llvm/Support/raw_ostream.h:17:
>> ./llvm/Support/llvm/ADT/StringRef.h:13:10: fatal error:
>> 'llvm/Support/type_traits.h' file not found
>>
>> include "llvm/Support/type_traits....
2012 Jul 10
0
[LLVMdev] Unable to do even basic Clang tutorial
...rig
> >> <https://github.com/loarabia/Clang-tutorial/wiki/TutorialOrig>
> >>
> >> and I can't even do the first tutorial. I installed LLVM 3.1 and Clang
> >> 3.1 and when I do:
> >>
> >> ~/loarabia-Clang-tutorial-3d79443$ clang++ tutorial1.cpp In file
> >> included from tutorial1.cpp:5: In file included from
> >> ./llvm/Support/raw_ostream.h:17:
> >> ./llvm/Support/llvm/ADT/StringRef.h:13:10: fatal error:
> >> 'llvm/Support/type_traits.h' file not found
> >>
> >> inc...
2016 Apr 11
2
Creating an LLVM Project
Hi there,
I have a question regarding this documentation page: http://llvm.org/docs/Projects.html
IIRC LLVM has moved away from Makefile's and uses CMake only.
The question is:
Is the page outdated or is it a recommended way for creating LLVM based project?
P.S. I’m trying to create a project using CMake, though I’m seeing some issues (didn’t manage to include headers so far).
--
2020 Jul 15
2
[Beginner] Understanding Tablegen language
...owing:
>>
>> LLVM backend development by example (RISC-V)
>> 2018 LLVM Developers’ Meeting; Alex Bradbury
>> https://www.youtube.com/watch?v=AFaIP-dF-RA
>>
>> 2014 - Building an LLVM Backend - LLVM Developer's Meeting
>> https://llvm.org/devmtg/2014-10/#tutorial1
>> https://llvm.org/devmtg/2014-10/Slides/Cormack-BuildingAnLLVMBackend.pdf
>>
>> https://llvm.org/devmtg/2014-04/PDFs/Talks/Building%20an%20LLVM%20backend.pdf
>>
>> http://web.archive.org/http://llvm.org/devmtg/2014-10/Videos/Building%20an%20LLVM%20backend-720.mov
>...