Displaying 20 results from an estimated 39 matches for "typevers".
Did you mean:
typever
2007 Nov 25
2
[LLVMdev] C embedded extensions and LLVM
>>> Please add a generous block comment to
>>> llvm/include/llvm/Bitcode/LLVMBitCodes.h above the new enum
>>> explaining
>>> what the difference is though. :)
>>
>
> Should have said:
>
>> Should I take the same approach to the encoding of pointer types in
>> the types table?
PointerTypes are a bit easier. The code to write them
2010 Sep 30
0
[LLVMdev] Associating types directly with debug metadata?
>>> Would the right starting point be to simply add an MDNode pointer to the Type class? That should be then convertible to a DIType?
>>
>> We want to avoid any Type class modification. Instead you can use pair in named metadata to match metadata with type.
>>
>> !11 = metadata !{i32 524307, metadata !1, metadata !"T", metadata !1, i32 2, i64 32, i64
2017 Jul 14
0
[PATCH 04/27] daemon: Reimplement ‘vfs_type’ API in OCaml.
This also implements support for String (Mountable, _)
parameters.
---
daemon/Makefile.am | 4 ++++
daemon/blkid.c | 6 ------
daemon/blkid.ml | 40 ++++++++++++++++++++++++++++++++++++++++
daemon/blkid.mli | 19 +++++++++++++++++++
daemon/mountable.ml | 43 +++++++++++++++++++++++++++++++++++++++++++
daemon/mountable.mli | 34
2010 Sep 30
3
[LLVMdev] Associating types directly with debug metadata?
On Sep 30, 2010, at 1:30 AM, Pekka Nikander wrote:
>>>> Would the right starting point be to simply add an MDNode pointer to the Type class? That should be then convertible to a DIType?
>>>
>>> We want to avoid any Type class modification. Instead you can use pair in named metadata to match metadata with type.
>>>
>>> !11 = metadata !{i32
2007 Nov 25
0
[LLVMdev] C embedded extensions and LLVM
On Nov 24, 2007, at 7:47 PM, Christopher Lamb wrote:
>
> On Nov 21, 2007, at 6:22 PM, Chris Lattner wrote:
>
>> On Wed, 21 Nov 2007, Christopher Lamb wrote:
>>>> Unlike alignment and volatility, I think that the address space
>>>> qualifier
>>>> should be represented explicitly in the type system. The
>>>> reason for this
2010 Sep 29
3
[LLVMdev] Associating types directly with debug metadata?
>> We would need to access the LLVM debug metadata type information directly from LLVM types. It looks like the current clang and llvm-gcc don't support such an association, nor appears the LLVM itself do.
>
> True. I am curious how do you want to use this association ?
Thanks for you advice below, Devang.
We are using LLVM type definitions + debug metadata to interpret binary
2010 Oct 06
1
[LLVMdev] Associating types directly with debug metadata?
Pekka Nikander wrote:
>>>> Here is another version of the patch. This one includes also a small patch to llvm-gcc so that it generates the type metadata for structures and classes. This one also generates and parses correctly the metadata for .ll files. No .bc support yet. The biggest problem with this version is that it breaks when the compiler/linker performs type reductions, and
2008 Jan 29
1
[LLVMdev] C embedded extensions and LLVM
Christopher,
It has been a while since we last talked about C embedded extensions in
LLVM, I was moving back and froth from project to project and didn't get
a chance to follow up. I was wondering if you have made any changes to
LLVM IR and if so what has been added. And how can I contribute?
Thanks
A.
-----Original Message-----
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at
2010 Sep 30
0
[LLVMdev] Associating types directly with debug metadata?
>>>> We want to avoid any Type class modification. Instead you can use pair in named metadata to match metadata with type.
>>>>
>>
>> I thought about that more, and I think the "right" way would be to have a syntax like
>>
>> !21 = metadata !{ type %struct.T, metadata !11 }
>>
>> or perhaps
>>
>> !21 = metadata
2007 Nov 25
2
[LLVMdev] C embedded extensions and LLVM
On Nov 21, 2007, at 6:22 PM, Chris Lattner wrote:
> On Wed, 21 Nov 2007, Christopher Lamb wrote:
>>> Unlike alignment and volatility, I think that the address space
>>> qualifier
>>> should be represented explicitly in the type system. The reason
>>> for this
>
>> I've come across a hitch. Store instructions do not reference the
2010 Oct 05
2
[LLVMdev] Associating types directly with debug metadata?
>>> I thought about that more, and I think the "right" way would be to have a syntax like
>>>
>>> !21 = metadata !{ typeval %struct.T, metadata !11 }
>>>
>>> to avoid the problem with the keyword 'type'.
>>>
>
> Anyway, I already implemented an early patch for making Types representable as Values. For that I created
2010 Oct 06
0
[LLVMdev] Associating types directly with debug metadata?
>>> Here is another version of the patch. This one includes also a small patch to llvm-gcc so that it generates the type metadata for structures and classes. This one also generates and parses correctly the metadata for .ll files. No .bc support yet. The biggest problem with this version is that it breaks when the compiler/linker performs type reductions, and I don't understand
2010 Oct 06
2
[LLVMdev] Associating types directly with debug metadata?
On Oct 5, 2010, at 11:23 PM, Nick Lewycky wrote:
>>
>> Here is another version of the patch. This one includes also a small patch to llvm-gcc so that it generates the type metadata for structures and classes. This one also generates and parses correctly the metadata for .ll files. No .bc support yet. The biggest problem with this version is that it breaks when the compiler/linker
2017 Jul 21
0
[PATCH v2 01/23] daemon: Allow parts of the daemon and APIs to be written in OCaml.
This change allows parts of the daemon to be written in the OCaml
programming language. I am using the ‘Main Program in C’ method along
with ‘-output-obj’ to create an object file from the OCaml code /
runtime, as described here:
https://caml.inria.fr/pub/docs/manual-ocaml/intfc.html
Furthermore, change the generator to allow individual APIs to be
implemented in OCaml. This is picked by
2010 Oct 06
0
[LLVMdev] Associating types directly with debug metadata?
Pekka Nikander wrote:
>>>> I thought about that more, and I think the "right" way would be to have a syntax like
>>>>
>>>> !21 = metadata !{ typeval %struct.T, metadata !11 }
>>>>
>>>> to avoid the problem with the keyword 'type'.
>>>>
>>
>> Anyway, I already implemented an early patch for making
2007 Feb 05
2
[LLVMdev] automatically generating intrinsic declarations
LLVM knows what all the types of the intrinsic functions are; I thought,
why are users (including llvm-gcc...) required to duplicate all this
information in order to use them? I mean in order to call getOrInsertFunction
to get declarations for them.
So I wrote this patch, which allows all this code to be generated
automatically. Is this a good approach?
Dan
--
Dan Gohman, Cray Inc. <djg at
2017 Jul 14
0
[PATCH 19/27] daemon: Reimplement ‘list_filesystems’ API in the daemon, in OCaml.
Move the list_filesystems API into the daemon, reimplementing it in
OCaml. Since this API makes many other API calls, it runs a lot
faster in the daemon.
---
daemon/Makefile.am | 2 +
daemon/ldm.ml | 3 +
daemon/ldm.mli | 2 +
daemon/listfs.ml | 156 +++++++++++++++++++++++++++++
daemon/listfs.mli | 19 ++++
daemon/lvm.ml | 3 +
2010 Jan 09
0
[LLVMdev] [PATCH] - Union types, attempt 2
On Jan 6, 2010, at 12:45 PM, Talin wrote:
> This patch adds a UnionType to DerivedTypes.h.
Cool. When proposing an IR extension, it is usually best to start with a LangRef.html patch so that we can discuss the semantics of the extension. Please do write this before you get much farther. I assume that you want unions usable in the same situations as a struct. However, how do "constant
2010 Jan 06
3
[LLVMdev] [PATCH] - Union types, attempt 2
This patch adds a UnionType to DerivedTypes.h. It also adds code to the
bitcode reader / writer and the assembly parser for the new type, as well as
a tiny .ll test file in test/Assembler. It does not contain any code related
to code generation or type layout - I wanted to see if this much was
acceptable before I proceeded any further.
Unlike my previous patch, in which the Union type was
2011 Feb 15
3
[LLVMdev] Structure Types and ABI sizes
Hi all,
We're hitting some walls here when generating the correct structure
layout for specific C++ ABI requirements, and I was wondering how much
StructLayout could help.
For instance, the ABI has some complicated rules on the size of
derived classes
(http://www.codesourcery.com/public/cxx-abi/abi.html#class-types) and
LLVM struct type cannot reflect that in full.
Example:
// CHECK: