Displaying 2 results from an estimated 2 matches for "d81662".
2020 Jun 11
2
[RFC] Small Bitfield utilities
TL;DR: Have support in ADT for typed values packing into opaque scalar types
- Code & design choices: https://reviews.llvm.org/D81580
- Usage:
https://reviews.llvm.org/differential/changeset/?ref=2005337&whitespace=ignore-most
- Example of rewrite: https://reviews.llvm.org/D81662
*CONTEXT*
There are places in LLVM where we need to pack typed fields into opaque
values.
For instance, the `XXXInst` classes in
`llvm/include/llvm/IR/Instructions.h` that extract information from
`Value::SubclassData` via `getSubclassDataFromInstruction()`.
The bit twiddling is done manually: th...
2020 Jun 23
2
[RFC] Small Bitfield utilities
...typed values packing into opaque scalar
>> types
>> - Code & design choices: https://reviews.llvm.org/D81580
>> - Usage:
>> https://reviews.llvm.org/differential/changeset/?ref=2005337&whitespace=ignore-most
>> - Example of rewrite: https://reviews.llvm.org/D81662
>>
>> *CONTEXT*
>> There are places in LLVM where we need to pack typed fields into opaque
>> values.
>>
>> For instance, the `XXXInst` classes in
>> `llvm/include/llvm/IR/Instructions.h` that extract information from
>> `Value::SubclassData` via `get...