Displaying 2 results from an estimated 2 matches for "constantuserid".
Did you mean:
constantuserids
2014 Jul 09
2
[LLVMdev] Continuing PR5680: preserve order of use lists in bitcode
> On 2014-Jul-08, at 16:48, Chandler Carruth <chandlerc at google.com> wrote:
>
>
>> On Tue, Jul 8, 2014 at 4:29 PM, Duncan P. N. Exon Smith <duncan at exonsmith.com> wrote:
>> I'm looking to tackle PR5680 [1]. The primary goal is to prevent
>> behaviour changes in passes that depend on the order of use lists when
>> serializing/deserializing the
2014 Jul 24
2
[LLVMdev] Continuing PR5680: preserve order of use lists in bitcode
...ordered in a side table. At the end of each block,
> if all the `User`s have been serialized, then we can write out the
> use-lists for the constant as well.
>
> We can modify the `getUserID()` function from above to incorporate the
> side table:
>
> auto getUserID = [&ConstantUserIDs, &InstIDs, &IDs](User *U) {
> if (unsigned ID = ConstantUserIDs.lookup(U))
> return IDs.size() + ID;
> if (unsigned ID = InstIDs.lookup(U))
> return IDs.size() + ConstantUserIDs.size() + ID;
> return IDs.lookup(V);
> };...