similar to: [LLVMdev] LLVM demo page

Displaying 20 results from an estimated 20000 matches similar to: "[LLVMdev] LLVM demo page"

2013 Feb 08
2
[LLVMdev] LLVM demo page
On Thu, Feb 07, 2013 at 11:09:10AM +0100, Óscar Fuentes wrote: > Blind Faith <person.of.book at gmail.com> writes: > > > I used the LLVM demo page http://llvm.org/demo/ to generate C++ code for > > generating LLVM IR code. But that page is now disabled. Is there any tool > > or other site which does what I'm trying to do, that is I give "C/C++ code"
2013 Feb 14
0
[LLVMdev] LLVM demo page
On Feb 7, 2013, at 6:26 PM, 陳韋任 (Wei-Ren Chen) <chenwj at iis.sinica.edu.tw> wrote: > On Thu, Feb 07, 2013 at 11:09:10AM +0100, Óscar Fuentes wrote: >> Blind Faith <person.of.book at gmail.com> writes: >> >>> I used the LLVM demo page http://llvm.org/demo/ to generate C++ code for >>> generating LLVM IR code. But that page is now disabled. Is there
2013 Feb 07
0
[LLVMdev] LLVM demo page
Blind Faith <person.of.book at gmail.com> writes: > I used the LLVM demo page http://llvm.org/demo/ to generate C++ code for > generating LLVM IR code. But that page is now disabled. Is there any tool > or other site which does what I'm trying to do, that is I give "C/C++ code" > as input and I get the "C++ code for generating the equivalent LLVM IR" as
2013 Feb 17
1
[LLVMdev] LLVM demo page
Will this one help? http://ellcc.org/demo/index.cgi Cheers, Nico On Feb 14, 2013, at 11:31 PM, Tanya Lattner <lattner at apple.com> wrote: > > On Feb 7, 2013, at 6:26 PM, 陳韋任 (Wei-Ren Chen) <chenwj at iis.sinica.edu.tw> wrote: > >> On Thu, Feb 07, 2013 at 11:09:10AM +0100, Óscar Fuentes wrote: >>> Blind Faith <person.of.book at gmail.com> writes:
2013 Feb 07
0
[LLVMdev] LLVM demo page
Blind Faith <person.of.book at gmail.com> writes: >> You can use clang++ and llc for that: >> >> $ clang++ -c -emit-llvm foo.cpp -o foo.ll >> $ llc -march=cpp -o foo.ll.cpp foo.ll >> >> (Note: the CppBackend is not enabled by default when you build with >> CMake on Windows.) > > It says "llc: error: invalid target 'cpp'" See
2012 Jun 04
2
[LLVMdev] llc unhandled attribute
Hi, I was trying to do a source to source transformation in llvm from c++11 more basic c++ (to transform away auto etc.) using llvm3.1. I generate llvm bitcode using "clang++ -emit-llvm ...", but executing llc -march=cpp throws /home/broes/software/llvm/lib/Target/CppBackend/CPPBackend.cpp:493: void {anonymous}::CppWriter::printAttributes(const llvm::AttrListPtr&, const
2012 Mar 28
2
[LLVMdev] Building past few days with Clang++ and Clang produces errors on Cmake for Debian Linux
*System:* Debian Linux Sid/Unstable amd64 *LLVM/Clang:* Trunk *Scenario:* In the past couple of days I've been compiling against trunk I get two separate and spurious hang ups with CMake. *Note:* I build against more than just X86 follow along the progress of other platforms, though just building for X86 produces the same results below. *Assumption:* Configure cmake with prior built
2012 Apr 14
1
[LLVMdev] Running test suite with LNT failed
> >  But I got the error message below, > > > > --- > > 2012-04-12 02:39:48: executing test modules > > 2012-04-12 02:39:49: loading nightly test data... > > nt.py:737: fatal error: nightly test failed, no report generated > > --- > > > >  Any idea on how I can figure out what the fatal error is? Thanks! > > Inside the sandbox there will
2012 Mar 02
5
[LLVMdev] (Newbie) Using lli with clang++?
Hello all, I'm brand new to using LLVM and am having trouble using lli with a C++ program. I tried to compile the following: #include<iostream> using namespace std; int main() { cout << "Hello, world!" << endl; return 0; } When I compile directly to an executable with the following command, all is well: $ clang++ -O3 hello.cpp -o hello But when I try to produce
2012 Mar 02
0
[LLVMdev] (Newbie) Using lli with clang++?
> $ clang++ -O3 -emit-llvm hello.cpp -c -o hello.bc > $ lli hello.bc > LLVM ERROR: Program used external function > '_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l' > which could not be resolved! What version of LLVM and Clang you are using? I have no such problem on my machine. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab,
2012 Apr 13
0
[LLVMdev] Running test suite with LNT failed
On Wed, Apr 11, 2012 at 7:59 PM, 陳韋任 <chenwj at iis.sinica.edu.tw> wrote: > Hi all, > >  I am running LNT with LLVM/Clang 3.0 Release binary and test suite, here is my > flow (most of them are the same as http://llvm.org/docs/lnt/quickstart.html). > > --- > $ svn co http://llvm.org/svn/llvm-project/lnt/trunk ~/lnt > $ ~/mysandbox/bin/python ~/lnt/setup.py develop >
2012 Apr 12
2
[LLVMdev] Running test suite with LNT failed
Hi all, I am running LNT with LLVM/Clang 3.0 Release binary and test suite, here is my flow (most of them are the same as http://llvm.org/docs/lnt/quickstart.html). --- $ svn co http://llvm.org/svn/llvm-project/lnt/trunk ~/lnt $ ~/mysandbox/bin/python ~/lnt/setup.py develop $ cd mysandbox; source bin/activate $ $ lnt runtest nt \ --sandbox SANDBOX \ --cc
2011 Jul 30
1
[LLVMdev] Problem while selfhosting LLVM and Clang
Hi, Aaron > > I am not sure where to put cxxabi.h. How can I let clang find this > > header file while compiling LLVM and Clang (in step 2)? > > > > You need to add it to somewhere that is in Clangs includes search path. E.g. > $INSTALL/lib/clang/2.9/include perhaps. Thanks for your help. Now I have another problem, --- llvm[4]: Compiling Version.cpp for Release
2011 Jul 30
2
[LLVMdev] Problem while selfhosting LLVM and Clang
Hi, Asron > This looks relevant to me for your issue. Grabbing the cxxabi.h from there > may work: > > http://comments.gmane.org/gmane.comp.compilers.clang.devel/9391 I am not sure where to put cxxabi.h. How can I let clang find this header file while compiling LLVM and Clang (in step 2)? Thanks! Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of
2011 Jul 30
0
[LLVMdev] Problem while selfhosting LLVM and Clang
On Sat, Jul 30, 2011 at 2:35 AM, 陳韋任 <chenwj at iis.sinica.edu.tw> wrote: > Hi, Asron > > > This looks relevant to me for your issue. Grabbing the cxxabi.h from > there > > may work: > > > > http://comments.gmane.org/gmane.comp.compilers.clang.devel/9391 > > I am not sure where to put cxxabi.h. How can I let clang find this > header file while
2015 Sep 09
5
Building LLVM and Clang using Clang?
Try as I might I can't seem to get LLVM to bulid using clang/clang++. No matter what I do it insists on using /usr/bin/cc and /usr/bin/c++ which are gcc. Am I missing something obvious? I vaguely remember some document describing a stage1 compiler built by your old toolchain and a stage2 compiler but I can't find the steps to do that any more. $ CC=/usr/local/bin/clang
2011 Jul 30
2
[LLVMdev] Problem while selfhosting LLVM and Clang
Hi, all I am trying to selfhost LLVM and Clang. Below is my flow, Step 1. Build LLVM and Clang by using native gcc $ ../llvm-2.9/configure --prefix=$INSTALL \ --enable-optimized Step 2. Build LLVM and Clang by using clang built by step 1 $ CC=clang CXX=clang++ ../llvm-2.9/configure \ --prefix=$INSTALL --enable-optimized But in step 2, I have a compilation error below, -- llvm[1]:
2012 Jan 10
3
[LLVMdev] landingpad instruction documentation is vague
I am new to the landingpad (which is relatively new too). Documentation http://llvm.org/docs/LangRef.html#i_landingpad leaves some questions open: 1. What happens when actual exception type isn't listed in catch or filter clauses? Does it still return the corresponding structure like if it was listed? Or behavior is undefined? 2. What is 'somety'? Shouldn't it maybe say
2013 Feb 06
0
[LLVMdev] How to write up XXInstFormat.td?
I suggest u grep how this file is used. Since it is included in xxInstrInfo.td and this is its only use, we can conclude that this file does nothng more than defining some helper tablegen classes and we thus can totally move these definitions into xxInstrInfo.td and then remove XXInstFormat.td Regards. 在 2013-2-6 下午4:52,"陳韋任 (Wei-Ren Chen)" <chenwj at iis.sinica.edu.tw>写道: >
2015 Feb 12
4
[LLVMdev] Building clang on Raspberry Pi2
The raspberry Pi2 is an armv7a chip (Cortex-A7), the first stage builds fine with the native g++ (if not a little slowly at 10+ hours), but it crashes at some point with this command line: Program arguments: /home/ben/development/llvm/3.6.0/rc2/Phase2/Release/llvmCore-3.6.0-rc2.install/bin/clang -cc1 -triple armv7-unknown-linux-gnueabihf -emit-obj -disable-free -disable-llvm-verifier