[LLVMdev] Extending llvm with data types which can be accessible only through interfaces.
narayan.g.hegde at gmail.com
Fri Jun 22 12:24:13 CDT 2012
Hi LLVM-Dev Team,
I am a graduate student working on compilation for heterogeneous multi-cores.
As a part of my project, I need to extend llvm by adding a new data
type for a commonly used data structure like queue.
Could you please mention if there been any prior work on extending the
llvm frontend to accommodate these kind of new data types and parse it
to get LLVM-IR.
Can you also advice on how to bind these new data types, with
interfaces through which such data types can be accessed.
example: Data type "queue" should be accessible to the programmer only
through interfaces like enqueue and dequeue.
PS note: I can't expose these as library (like STL) and would like the
data type to be part of language spec
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the LLVMdev