Displaying 20 results from an estimated 6000 matches similar to: "[LLVMdev] Custom bitcode format and executing it in the interpreter."
2012 Sep 26
0
[LLVMdev] [PATCH / PROPOSAL] bitcode encoding that is ~15% smaller for large bitcode files...
Hi Jan,
> I've been looking into how to make llvm bitcode files smaller. There is one
> simple change that appears to shrink linked bitcode files by about 15%. See
> this spreadsheet for some rough data:
>
> https://docs.google.com/spreadsheet/ccc?key=0AjRrJHQc4_bddEtJdjdIek5fMDdIdFFIZldZXzdWa0E
the improvement is wonderful!
...
> In any case, the patch is attached if
2016 Jun 28
0
mutateType on AllocaInst problem
Hi,
I'm trying to replace pointer typed alloca instructions to allocate a
vector of pointers. The idea is to change from [1] to [2]:
[1]: %0 = alloca i<N>*
[2]: %0 = alloca <3 x i8*>
I did it this way:
- first, create and insert [2] (for debug purpose, not necessary to
insert)
- mutate type so that replaceAllUsesWith can be called in a correctly
typed way
- replace all
2012 Sep 26
9
[LLVMdev] [PATCH / PROPOSAL] bitcode encoding that is ~15% smaller for large bitcode files...
Hi all,
I've been looking into how to make llvm bitcode files smaller. There is
one simple change that appears to shrink linked bitcode files by about 15%.
See this spreadsheet for some rough data:
https://docs.google.com/spreadsheet/ccc?key=0AjRrJHQc4_bddEtJdjdIek5fMDdIdFFIZldZXzdWa0E
The change is in how operand ids are encoded in bitcode files. Rather than
use an "absolute
2007 Dec 09
1
[LLVMdev] Next GC patch for review
This patch adds a string attribute to each function which enables GC
codegen and selects the metadata format to generate. In order to avoid
adding a word to each Function for programs which do not use garbage
collection (e.g. llvm-gcc, clang), this value is stored in an on-the-
side table.
— Gordon
gc-5a-funattr.patch (+222 -22):
docs/LangRef.html (+22 -3)
2016 Oct 26
0
RFC: APIs for bitcode files containing multiple modules
> On Oct 25, 2016, at 6:28 PM, Peter Collingbourne <peter at pcc.me.uk> wrote:
>
> Hi all,
>
> As mentioned in my recent RFC entitled "RFC: a more detailed design for ThinLTO + vcall CFI" I would like to introduce the ability for bitcode files to contain multiple modules. In https://reviews.llvm.org/D24786 <https://reviews.llvm.org/D24786> I took a step
2015 Sep 17
2
[PATCH] D12923: Add support for function attribute "notail"
+llvm-dev
Can you give a bit of background on what you're trying to address here?
After reading through the discussion and seeing that this is a best
effort flag, I'm not sure that a function attribute is the best way to
describe this. I'm open to being convinced it is, but I'd like to hear
a bit more about the use case and get broader visibility on the proposal
first.
2016 Oct 26
2
RFC: APIs for bitcode files containing multiple modules
Hi all,
As mentioned in my recent RFC entitled "RFC: a more detailed design for
ThinLTO + vcall CFI" I would like to introduce the ability for bitcode
files to contain multiple modules. In https://reviews.llvm.org/D24786 I
took a step towards that by proposing a change to the module format so that
the block info block is stored at the top level. The next step is to think
about what the
2017 Apr 04
2
RFC: Adding a string table to the bitcode format
On Tue, Apr 4, 2017 at 1:25 PM, Mehdi Amini <mehdi.amini at apple.com> wrote:
>
> On Apr 4, 2017, at 12:12 PM, Peter Collingbourne <peter at pcc.me.uk> wrote:
>
> On Mon, Apr 3, 2017 at 8:13 PM, Mehdi Amini <mehdi.amini at apple.com> wrote:
>
>>
>> On Apr 3, 2017, at 7:08 PM, Peter Collingbourne <peter at pcc.me.uk> wrote:
>>
>> Hi,
2016 Oct 28
0
RFC: APIs for bitcode files containing multiple modules
On Wed, Oct 26, 2016 at 2:04 PM, Peter Collingbourne via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> On Tue, Oct 25, 2016 at 8:36 PM, Mehdi Amini <mehdi.amini at apple.com> wrote:
>>
>>
>> On Oct 25, 2016, at 6:28 PM, Peter Collingbourne <peter at pcc.me.uk> wrote:
>>
>> Hi all,
>>
>> As mentioned in my recent RFC entitled
2016 Oct 26
2
RFC: APIs for bitcode files containing multiple modules
On Tue, Oct 25, 2016 at 8:36 PM, Mehdi Amini <mehdi.amini at apple.com> wrote:
>
> On Oct 25, 2016, at 6:28 PM, Peter Collingbourne <peter at pcc.me.uk> wrote:
>
> Hi all,
>
> As mentioned in my recent RFC entitled "RFC: a more detailed design for
> ThinLTO + vcall CFI" I would like to introduce the ability for bitcode
> files to contain multiple
2012 Oct 11
0
[LLVMdev] [PATCH / PROPOSAL] bitcode encoding that is ~15% smaller for large bitcode files...
On Oct 10, 2012, at 5:10 PM, Jan Voung <jvoung at chromium.org> wrote:
> Thanks for the review Rafael!
>
> Chris, did you want to take a look at the patch too?
Your most recent patch looks good to me, with a minor change:
+++ b/lib/Bitcode/Writer/BitcodeWriter.cpp
@@ -33,6 +33,13 @@
using namespace llvm;
static cl::opt<bool>
2015 Nov 05
2
[PATCH] D14227: Add a new attribute: norecurse
Ah I see.
I can't think of a way that would help users in any particular way offhand.
I hadn't considered exposing it to clang users - do you think there is
merit in that?
James
On Thu, 5 Nov 2015 at 16:08 Aaron Ballman <aaron at aaronballman.com> wrote:
> On Thu, Nov 5, 2015 at 11:06 AM, James Molloy <james at jamesmolloy.co.uk>
> wrote:
> > Hi Aaron,
> >
2016 Oct 28
0
RFC: APIs for bitcode files containing multiple modules
> On Oct 28, 2016, at 2:21 PM, Mehdi Amini via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
>>
>> On Oct 28, 2016, at 2:16 PM, Will Dietz <willdtz at gmail.com <mailto:willdtz at gmail.com>> wrote:
>>
>> On Fri, Oct 28, 2016 at 2:06 PM, Peter Collingbourne <peter at pcc.me.uk <mailto:peter at pcc.me.uk>> wrote:
>>> On Fri,
2015 Nov 05
2
[PATCH] D14227: Add a new attribute: norecurse
Hi Aaron,
I think it must necessarily be exposed to users - clang must add it in
certain circumstances for example. I don't think this is particularly
different to many other attributes such as nocapture/nounwind, that are
exposed to users and can be set by users in exceptional circumstances but
are primarily inferred by the midend.
James
On Thu, 5 Nov 2015 at 16:03 Aaron Ballman <aaron
2017 Apr 04
4
RFC: Adding a string table to the bitcode format
On Mon, Apr 3, 2017 at 8:13 PM, Mehdi Amini <mehdi.amini at apple.com> wrote:
>
> On Apr 3, 2017, at 7:08 PM, Peter Collingbourne <peter at pcc.me.uk> wrote:
>
> Hi,
>
> As part of PR27551 I want to add a string table to the bitcode format to
> allow global value and comdat names to be shared with the proposed symbol
> table (and, as side effects, allow comdat
2016 Oct 28
0
RFC: APIs for bitcode files containing multiple modules
On Fri, Oct 28, 2016 at 2:06 PM, Peter Collingbourne <peter at pcc.me.uk> wrote:
> On Fri, Oct 28, 2016 at 6:11 AM, Will Dietz <willdtz at gmail.com> wrote:
>>
>> On Wed, Oct 26, 2016 at 2:04 PM, Peter Collingbourne via llvm-dev
>> <llvm-dev at lists.llvm.org> wrote:
>> > On Tue, Oct 25, 2016 at 8:36 PM, Mehdi Amini <mehdi.amini at apple.com>
2015 Sep 22
2
[PATCH] D12923: Add support for function attribute "notail"
To be clear, this is a debuging aid only? It's not something required
for correctness? I'm somewhat bothered by that because it seems like it
would be a useful implementation tool for higher level languages.
A couple of thoughts in no particular order:
1) Can we always annotate the call site rather than the function? That
removes the unpredictability due to optimization.
2) Calling
2015 Nov 05
4
[PATCH] D14227: Add a new attribute: norecurse
[Adding llvm-dev and re-stating the situation for llvm-dev's benefit]
*RFC: A new attribute, "norecurse".*
In some cases, it is possible to demote global variables to local
variables. This is possible when the global is only used in one function,
and that function is known not to recurse (because if the function
recurses, a local variable cannot be equivalent to a global as the
2016 Oct 28
2
RFC: APIs for bitcode files containing multiple modules
> On Oct 28, 2016, at 2:16 PM, Will Dietz <willdtz at gmail.com> wrote:
>
> On Fri, Oct 28, 2016 at 2:06 PM, Peter Collingbourne <peter at pcc.me.uk <mailto:peter at pcc.me.uk>> wrote:
>> On Fri, Oct 28, 2016 at 6:11 AM, Will Dietz <willdtz at gmail.com> wrote:
>>>
>>> On Wed, Oct 26, 2016 at 2:04 PM, Peter Collingbourne via llvm-dev
2016 Oct 28
2
RFC: APIs for bitcode files containing multiple modules
On Fri, Oct 28, 2016 at 6:11 AM, Will Dietz <willdtz at gmail.com> wrote:
> On Wed, Oct 26, 2016 at 2:04 PM, Peter Collingbourne via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
> > On Tue, Oct 25, 2016 at 8:36 PM, Mehdi Amini <mehdi.amini at apple.com>
> wrote:
> >>
> >>
> >> On Oct 25, 2016, at 6:28 PM, Peter Collingbourne <peter