similar to: [LLVMdev] Simplifying a front-end project

Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] Simplifying a front-end project"

2009 Aug 25
0
[LLVMdev] Simplifying a front-end project
On Tue, Aug 25, 2009 at 3:01 PM, Vikram S. Adve<vadve at cs.uiuc.edu> wrote: > For my introductory Compiler Construction class, I have been giving > the students a project to write a simple compiler for a toy, single- > inheritance object-oriented language.  We give them a set of classes > implementing an AST for the language and a type checker as well.  The > students write
2009 Aug 25
0
[LLVMdev] Simplifying a front-end project
Vikram S. Adve wrote: > For the translator in step (2), I've so far had them generate LLVM IR > in memory using the LLVM APIs. They find it a *lot* of work to learn > the LLVM APIs, which doesn't teach them much about compiler concepts > per se. To simplify this project, I am considering changing the > project so they "print out" LLVM assembly directly
2009 Aug 25
1
[LLVMdev] Simplifying a front-end project
John McCall schrieb: > Vikram S. Adve wrote: >> For the translator in step (2), I've so far had them generate LLVM IR >> in memory using the LLVM APIs. They find it a *lot* of work to learn >> the LLVM APIs, which doesn't teach them much about compiler concepts >> per se. To simplify this project, I am considering changing the >> project so they
2009 Aug 27
0
[LLVMdev] Simplifying a front-end project
Vikram, I have implemented a front-end for a new language that generates LLVM assembly language. I used that approach for three reasons: 1. The API learning curve looked steep. 2. It is easy to read the LLVM assembly source to see if things are correct. 3. But mainly, I wanted to implement my front-end in my new language, so the C/C++ bindings might not be applicable or easy to use. Each
2009 Jun 18
1
[LLVMdev] User question, using IRBuilder to generate a llvm.memcpy instruction.
Hello, If this is not the correct list to ask this question on I apologize. I am attempting to generate a llvm.memcpy instruction with an IRBuilder but I cannot find the appropriate way to do this. Thanks in advance, Sean -- Sean (Fritz) McQuillan - http://sean-mcquillan.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL:
2010 Feb 08
1
[LLVMdev] TypeBuilder for const void*
Hi! In Line 230 of llvm\Support\TypeBuilder.h is support for void*: /// void* is disallowed in LLVM types, but it occurs often enough in C code that /// we special case it. template<> class TypeBuilder<void*, false> : public TypeBuilder<types::i<8>*, false> {}; If would be cool if the same thing can be added for const void*: template<> class
2017 May 06
2
Email list just for front end developers?
On Sat, 6 May 2017 23:11:16 +0800 C Bergström <cbergstrom at pathscale.com> wrote: > On Sat, May 6, 2017 at 11:07 PM, Perry E. Metzger via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > > > Howdy! > > > > I've noticed that requests for help by people like me who are > > developing front ends are often lost in the noise in the llvm-dev > >
2007 Mar 21
1
[LLVMdev] SoC proposal: HLVM Python front-end
Hi, I am senior student at Tashkent University of Information Technologies and I am highly interested in programming language design. I want to develop Python front-end for HLVM as a part of LLVM participation in Google Summer of Code project. I am in long love with Python programming language for its simplicity and effectiveness. Last year I noticed ShedSkin Python to C++ translator among SoC
2010 Nov 29
3
[LLVMdev] FunctionType as a function argument
Hi all. I would like to declare a function that takes a function pointer as an argument. In C, it would be : void execute(char (*func)(void*), void *param) So, in my compiler, I have : std::vector<const Type *> cbFPtrArgs(1, Type::getInt8PtrTy(C)); FunctionType * cbFPtrTy = FunctionType::get(Type::getInt8Ty(C), cbFPtrArgs, false); Function * func =
2010 Nov 29
0
[LLVMdev] FunctionType as a function argument
You need a pointer-to-function type, but FunctionType just gives you a function type. Use PointerType::getUnqual(FunctionType::get(...)). Or TypeBuilder<char (*func)(void*), false>::get(context) from Support/TypeBuilder.h. On Mon, Nov 29, 2010 at 10:37 AM, Salomon Brys <salomon.brys at gmail.com>wrote: > Hi all. > I would like to declare a function that takes a function pointer
2010 Aug 09
3
[LLVMdev] llvm "iword" type
That and the possibility of differently sized pointers made me hesitate to dive into implementing this. I guess nailing it down to be the platform equivalent of size_t would be sensible here. On Mon, Aug 9, 2010 at 1:37 PM, Eugene Toder <eltoder at gmail.com> wrote: > Small nitpick: size_t is not guaranteed to be large enough to hold a > pointer (only an array index, which can be
2004 Nov 20
2
[LLVMdev] Re: C back-end for llvmg++
On Nov 19, 2004, at 9:25 PM, Mohd-Hanafiah Abdullah wrote: > Dear Dr Vikram: > > I need to know how to invoke llvmg++ so that it generates C code. Here's how you can do a single file (i.e., an unlinked executable): llvmg++ -c infile.cpp -o - | llc -march=c -o infile.cbe.c Reid might be able to tell you how to do it with a single command using the llvmc tool. In future, please
2010 Mar 10
1
[LLVMdev] SAFECode and Poolalloc Branches for LLVM 2.6
Please create a similar branch for Klee; I've been working on porting that to 2.7 as well.<br /> <br /> Best, Erich Ocean<br /> <br /> On Fri, Mar 5, 2010 at 8:43 PM, John Criswell (criswell@uiuc.edu) wrote:<br /> > <br /> > Dear SAFECoders and LLVMers,<br /> > <br /> > There is some new work on moving DSA to the new LLVM 2.7 API.
2010 Mar 06
2
[LLVMdev] How do I download the "poolalloc" module ?
Hi, I'm interested in using the "Data Structure Analysis" that is apparently in the "poolalloc" module according to the documentation on alias analysis in LLVM. I have downloaded and built LLVM 2.6 on MinGW but the sources do not seem to include anything related to pool allocation. I don't think MinGW includes svn. Is there an download location where I can get the
2011 Apr 02
0
[LLVMdev] GSoC proposal: New front-end
Hello. I would like to know if writing a new front-end for a widely-used programming language (in my case, Oberon) is a valid proposal for GSoC. By the way, I'm porting the original Wirth's Oberon compiler and I think that making available a translator for this language with an industrial-quality backend would make it a more interesting choice for many projects. Best regards. Walter
2009 Mar 26
3
[LLVMdev] OT: Python on LLVM
Hi, Slightly off-topic (as it's not directly about using or developing LLVM): http://code.google.com/p/unladen-swallow/wiki/ProjectPlan "Our long-term proposal is to replace CPython's custom virtual machine with a JIT built on top of LLVM, while leaving the rest of the Python runtime relatively intact." Just curious, has anyone here heard more about this project? Regards,
2017 May 06
4
Email list just for front end developers?
Howdy! I've noticed that requests for help by people like me who are developing front ends are often lost in the noise in the llvm-dev list. Although LLVM is a wonderful and very productive framework, I've found that getting help on my front end has been very difficult, and learning necessary detail about the APIs and the like is often very, very challenging. Perhaps it would be good to
2009 Aug 26
2
[LLVMdev] version 2.3 of poolalloc
John Criswell wrote: > Dear All, > > I have finished updating the DSA and Poolalloc source code so that it > compiles with the LLVM 2.6 API. If you check out the LLVM 2.6 branch > (directions are in the llvmdev archives; look for the email by Tanya > Lattner about the LLVM 2.6 branch), you should be able to build mainline > DSA and Pool Allocation against it. > > If you
2002 Sep 09
0
[LLVMdev] Significant change to GCC front-end
I just checked in an important change to the LLVM Verifier pass, and have compiled a new version of the GCC front-end. The big change is that we now match the LangRef.html much more closely: many operations on pointer operands are illegal. Essentially, the GCC front-end should never generate adds, subtracts, multiplies, divides, rem, or shr/shl instructions that take pointer operands now. In
2013 Feb 17
2
[LLVMdev] Emitting recursive types
Hi, I'm having a play with LLVM to implement a custom language (for my intellectual curiosity only). I'm wondering how, when using IRBuilder, one can can it to emit a recursive type definition? The code for TypeBuilder explicitly states that it doesn't handle recursive types... I'm after being able to emit, programmatically, stuff like the Named Types example in the Language