search for: llvm2cpp

Displaying 20 results from an estimated 77 matches for "llvm2cpp".

2006 Aug 10
2
[LLVMdev] Demo Script Paths
...s to > maintain stability. FWIW, I agree with Tanya on this. People *pound* on the demo page immediately after a release as they try it out and see what LLVM can do to their code. Risking instability in the demo page just isn't worth it right after the release. I agree that having an llvm2cpp option on it is great, but it shouldn't be a problem to wait a week or two. Is that reasonable Reid? -Chris >> On Thu, 2006-08-10 at 10:08 -0700, Tanya M. Lattner wrote: >> > > It's already messed with, but there's no harm. If someone turns on the >> >...
2006 Aug 10
2
[LLVMdev] Demo Script Paths
It's already messed with, but there's no harm. If someone turns on the llvm2cpp option, then they get an error message at the bottom of the output page. All other output is normal. So, there's no harm in it. If/when llvm2cpp becomes available on Zion, people then the llvm2cpp output will appear. Note that llvm2cpp is a 1.8 release feature. My change was to help people lea...
2006 Aug 09
4
[LLVMdev] Demo Script Paths
Hello, I'm trying to get the demo script to run llvm2cpp so that people can get familiar with the LLVM C++ API through the online demo. However, it seems that the path used doesn't include llvm2cpp (not updated in a while?). The demo script currently uses these paths on Zion: /home/vadve/criswell/box/x86/llvm-gcc/bin/ /home/vadve/gaeke/llvm/Releas...
2006 Aug 10
2
[LLVMdev] Demo Script Paths
The demo script isn't part of the release and its not failing. Do you want me to revert the changes? Reid. On Thu, 2006-08-10 at 10:08 -0700, Tanya M. Lattner wrote: > > It's already messed with, but there's no harm. If someone turns on the > > llvm2cpp option, then they get an error message at the bottom of the > > output page. All other output is normal. So, there's no harm in it. > > If/when llvm2cpp becomes available on Zion, people then the llvm2cpp > > output will appear. Note that llvm2cpp is a 1.8 release feature. My...
2006 Oct 16
2
[LLVMdev] initializer does not match global variable type.
...e file a bugzilla >report and >indicate what target you have llvm-gcc configured for? I don't understand what llvm-gcc has to do with this. Maybe I wasn't clear. The "g++" is ordinary vanilla g++, not llvm-g++. Are there any versioning issues with regular g++ compiling llvm2cpp generated C++ files? I believe cfrontend-g++ comes from the cfrontend tarball. llvm2cpp came from the llvm tarball. My g++ was 4.1.1. The LLVM libs are from the llvm tarball I believe and the objc library is probably the gcc 4.1.1 one. What other information would help? >>> cfrontend-...
2006 Aug 10
0
[LLVMdev] Demo Script Paths
Okay, let me reiterate. The llvm2cpp option is *already* on the demo script page. If you choose that option, you just get an error message because llvm2cpp can't be found. Its harmless and everything else still works. I won't change the script for a couple of weeks, per Tanya's and your request. Reid. On Thu, 2006-08...
2010 Mar 29
1
[LLVMdev] llvm2cpp executable
Hi, I am using visual studio 2008's generated solution file for clang/llvm. I was looking at the online demo where it gives out llvm2cpp program along with the llvm IR of the C code. I could not find any executable in the /bin directory for llvm2cpp. I was wondering if there is either source or executable of the llvm2cpp program that is used by llvm demo available for either llvm-2.7 Pre-release or llvm-2.6 Thanks. -- Kalyan Ponn...
2006 Oct 16
0
[LLVMdev] initializer does not match global variable type.
...s. I think in your instructions (below) you referred to using "cfrontend-g ++" which both Chris and I took to mean llvm-g++. > Maybe I wasn't > clear. The "g++" is ordinary vanilla g++, not llvm-g++. Are there > any versioning issues with regular g++ compiling llvm2cpp generated > C++ files? This could be the weak link. llvm2cpp is a relatively new and fairly untested addition to the llvm toolsuite. Its purposes are more for instruction and example generation than for use in compiling. It is entirely possible that llvm2cpp is not generating *exactly* the C...
2006 Aug 10
0
[LLVMdev] Demo Script Paths
> It's already messed with, but there's no harm. If someone turns on the > llvm2cpp option, then they get an error message at the bottom of the > output page. All other output is normal. So, there's no harm in it. > If/when llvm2cpp becomes available on Zion, people then the llvm2cpp > output will appear. Note that llvm2cpp is a 1.8 release feature. My > change wa...
2006 Oct 11
1
[LLVMdev] llvm2cpp: invalid bytecode signature
After compiling llvm and the cfrontend, I tried to run llvm2cpp on a few of the .ll files in the test/Regression directory. When I try this, I get the following error: llvm2cpp: Invalid bytecode signature: 5552203B (Vers=0,Pos=4) Any help would be appreciated. thanks, Todd
2006 Aug 10
0
[LLVMdev] Demo Script Paths
...? No. I just said that we should avoid anymore changes for the next 2 weeks to maintain stability. -Tanya > > Reid. > > On Thu, 2006-08-10 at 10:08 -0700, Tanya M. Lattner wrote: >>> It's already messed with, but there's no harm. If someone turns on the >>> llvm2cpp option, then they get an error message at the bottom of the >>> output page. All other output is normal. So, there's no harm in it. >>> If/when llvm2cpp becomes available on Zion, people then the llvm2cpp >>> output will appear. Note that llvm2cpp is a 1.8 release fe...
2006 Oct 16
0
[LLVMdev] initializer does not match global variable type.
>> Maybe I wasn't >> clear. The "g++" is ordinary vanilla g++, not llvm-g++. Are there >> any versioning issues with regular g++ compiling llvm2cpp generated >> C++ files? > >This could be the weak link. llvm2cpp is a relatively new and fairly >untested addition to the llvm toolsuite. Its purposes are more for >instruction and example generation than for use in compiling. It is >entirely possible that llvm2cpp is not gen...
2008 Oct 18
2
[LLVMdev] Is the online demo using outdated binaries?
...turn attributes, which is inconsistent with what ReleaseNotes.html TOT says: ... * Return value attributes are stored at index 0. Function attributes are stored at index ~0U. Parameter attributes are stored at index that matches parameter number. ... Apart from this, the online demo page mentions llvm2cpp, which does not exists since 2.3: Output from llvm2cpp // Generated by llvm2cpp - DO NOT MODIFY! -- Oscar
2006 Aug 10
0
[LLVMdev] Demo Script Paths
> I'm trying to get the demo script to run llvm2cpp so that people can get > familiar with the LLVM C++ API through the online demo. However, it > seems that the path used doesn't include llvm2cpp (not updated in a > while?). The demo script currently uses these paths on Zion: I can look into this, but I would strongly suggest not me...
2006 Aug 14
0
[LLVMdev] Demo Script Paths
On Wed, 9 Aug 2006, Reid Spencer wrote: > At the very least, can we get some modern tools into > gaeke/llvm/Release/bin ? Done. Note that the demo page is giving an llvm2cpp error when used now: llvm2cpp: error opening l2cppFile! llvm2cpp exited with an error. Please correct source and resubmit. I assume that this is a bug in index.cgi. If you want to play with the demo page, go ahead, but please test your changes. I think we're far enough from the release for...
2013 Mar 25
0
[LLVMdev] llvm2cpp attributes handling
+Bill who worked on the attribute change On Mon, Mar 25, 2013 at 9:15 AM, Harris BAKIRAS <h.bakiras at gmail.com> wrote: > Hi everyone, > > We are using the llvm2cpp feature of LLVM in the VMKit project and there are > some issues that I would like to point out. > > I made a tiny reproducible example here, to be clear: > > echo "int main() { return 0; };" > test.c && clang test.c -emit-llvm -c -o - > | llc -march=cpp -cppg...
2013 Mar 25
3
[LLVMdev] llvm2cpp attributes handling
Hi everyone, We are using the llvm2cpp feature of LLVM in the VMKit project and there are some issues that I would like to point out. I made a tiny reproducible example here, to be clear: echo "int main() { return 0; };" > test.c && clang test.c -emit-llvm -c -o - | llc -march=cpp -cppgen=function -cppfor=main -...
2008 Oct 18
0
[LLVMdev] Is the online demo using outdated binaries?
No. The demo is using 2.3. I update it personally after every release. Yes, it incorrectly says llvm2cpp, but its really using llc. I'll change this when I update it. The ReleaseNotes in TOT are for 2.4. -Tanya On Oct 17, 2008, at 10:52 PM, Óscar Fuentes wrote: > Throwing this C++ code at the online demo: > > struct S { > double d; > unsigned u; > }; > > S foo() {...
2006 Oct 13
2
[LLVMdev] opt usage?
...ly question. I'd like to use the opt bytecode-to-bytecode optimizer, but when I try running it to do, for example, dead code elimination (-dce) or global common subexpression elimination (-gcse), nothing much seems to happen: opt -gcse -dce -o bar-opt.bc bar.bc llvm2cpp -o bar-opt.cpp bar-opt.bc diff bar.bc bar-opt.bc 40c40 < Module* mod = new Module("bar.bc"); --- < Module* mod = new Module("bar-opt.bc"); Other optimizations seem to have similar effect. Are the optimizations listed in the "opt -help&...
2008 Apr 18
2
[LLVMdev] PATCH: Use size reduction -- wave2
On Apr 17, 7:01 pm, Owen Anderson <resis... at mac.com> wrote: > Gabor, > > Have you updated llvm2cpp to generate calls to the appropriate new Yes. These are caught by my conversion scripts. > constructors? Also, could you check the code in the tutorials to make > sure it matches the new API? Good point, will do. Thanks, Gabor > > --Owen