Displaying 2 results from an estimated 2 matches for "tombstonekey".
2015 Jul 29
0
[LLVMdev] What is getTombstoneKey?
...e<DoubleKey, std::pair<Value *, unsigned>,
>
> DenseMapInfo<Value *>, LoadMapAllocator>
> LoadHTType;
>
>
>
> I declared a DoubleKey struct similar to CallValue but with two Value *
> member, However I have problem to implement getTombstoneKey() because I
> don’t know what it is, could anyone tell me what it is about?
The tombstone is simply a key value that
1. cannot occur as a key in the map (inserting EmptyKey or
TombstoneKey will trigger an assertion)
2. does not compare equal to any other value
We usually use something like...
2015 Jul 29
2
[LLVMdev] What is getTombstoneKey?
...defined
typedef ScopedHashTable<DoubleKey, std::pair<Value *, unsigned>,
DenseMapInfo<Value *>, LoadMapAllocator>
LoadHTType;
I declared a DoubleKey struct similar to CallValue but with two Value *
member, However I have problem to implement getTombstoneKey() because I
don't know what it is, could anyone tell me what it is about?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150729/69eed696/attachment.html>