Displaying 8 results from an estimated 8 matches for "bitsrequiredfortypeindices".
2016 Oct 26
2
RFC: APIs for bitcode files containing multiple modules
...the
> API could be:
>
> BitcodeWriter W(OS);
> W.writeModule(M1);
> // delete M1
> // ...
> // create M2
> W.writeModule(M2);
>
> (Maybe you had this in mind, but the API naming didn’t reflect it so I’m
> not sure).
>
In the API I prototyped, I took the maximum BitsRequiredForTypeIndices
value from all the modules, and used it to produce the abbreviations for
the top level block info block (without this I was seeing "Unexpected
abbrev ordering!" errors in the bitcode writer as a result of emitting the
"same" abbreviation multiple times). That would have required...
2016 Oct 28
0
RFC: APIs for bitcode files containing multiple modules
...Writer W(OS);
>> W.writeModule(M1);
>> // delete M1
>> // ...
>> // create M2
>> W.writeModule(M2);
>>
>> (Maybe you had this in mind, but the API naming didn’t reflect it so I’m
>> not sure).
>
>
> In the API I prototyped, I took the maximum BitsRequiredForTypeIndices value
> from all the modules, and used it to produce the abbreviations for the top/
> level block info block (without this I was seeing "Unexpected abbrev
> ordering!" errors in the bitcode writer as a result of emitting the "same"
> abbreviation multiple times). Tha...
2016 Oct 28
2
RFC: APIs for bitcode files containing multiple modules
...;> // delete M1
> >> // ...
> >> // create M2
> >> W.writeModule(M2);
> >>
> >> (Maybe you had this in mind, but the API naming didn’t reflect it so I’m
> >> not sure).
> >
> >
> > In the API I prototyped, I took the maximum BitsRequiredForTypeIndices
> value
> > from all the modules, and used it to produce the abbreviations for the
> top/
> > level block info block (without this I was seeing "Unexpected abbrev
> > ordering!" errors in the bitcode writer as a result of emitting the
> "same"
> >...
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
2016 Oct 28
0
RFC: APIs for bitcode files containing multiple modules
...gt;> // create M2
>> >> W.writeModule(M2);
>> >>
>> >> (Maybe you had this in mind, but the API naming didn’t reflect it so
>> >> I’m
>> >> not sure).
>> >
>> >
>> > In the API I prototyped, I took the maximum BitsRequiredForTypeIndices
>> > value
>> > from all the modules, and used it to produce the abbreviations for the
>> > top/
>> > level block info block (without this I was seeing "Unexpected abbrev
>> > ordering!" errors in the bitcode writer as a result of emitting the...
2016 Oct 28
2
RFC: APIs for bitcode files containing multiple modules
...t;>>> W.writeModule(M2);
>>>>>
>>>>> (Maybe you had this in mind, but the API naming didn’t reflect it so
>>>>> I’m
>>>>> not sure).
>>>>
>>>>
>>>> In the API I prototyped, I took the maximum BitsRequiredForTypeIndices
>>>> value
>>>> from all the modules, and used it to produce the abbreviations for the
>>>> top/
>>>> level block info block (without this I was seeing "Unexpected abbrev
>>>> ordering!" errors in the bitcode writer as a result o...
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
2016 Oct 28
0
RFC: APIs for bitcode files containing multiple modules
...(M2);
>>>>>>
>>>>>> (Maybe you had this in mind, but the API naming didn’t reflect it so
>>>>>> I’m
>>>>>> not sure).
>>>>>
>>>>>
>>>>> In the API I prototyped, I took the maximum BitsRequiredForTypeIndices
>>>>> value
>>>>> from all the modules, and used it to produce the abbreviations for the
>>>>> top/
>>>>> level block info block (without this I was seeing "Unexpected abbrev
>>>>> ordering!" errors in the bitcode...