Displaying 10 results from an estimated 10 matches for "densemapiterator".
2009 Nov 03
2
[LLVMdev] DenseMap iterator constness fix
Dear all,
The first of the proposed patches (DenseMapIterator.patch) forbids implicit
conversion of DenseMap::const_iterator to DenseMap::iterator which was
possible because DenseMapIterator inherited (publicly) from
DenseMapConstIterator. Conversion the other way around is now allowed as one
may expect.
The template DenseMapConstIterator is removed and the t...
2009 Nov 04
2
[LLVMdev] DenseMap iterator constness fix
...e, True, False> { typedef False Result; };
>
> These should probably go into include/llvm/Support/type_traits.h. In
> C++0x, this is named "conditional" (section 20.6.7), so I think you
> should use the same name, despite the standard committee's bad taste.
>
> + DenseMapIterator(const DenseMapIterator<KeyT, ValueT,
> + KeyInfoT, ValueInfoT, false>& I)
>
> This looks like it will make it impossible to copy const_iterators. I
> guess it doesn't because the copy-constructor is auto-generated, but
> please c...
2009 Nov 03
0
[LLVMdev] DenseMap iterator constness fix
...False>
+struct If<false, True, False> { typedef False Result; };
These should probably go into include/llvm/Support/type_traits.h. In
C++0x, this is named "conditional" (section 20.6.7), so I think you
should use the same name, despite the standard committee's bad taste.
+ DenseMapIterator(const DenseMapIterator<KeyT, ValueT,
+ KeyInfoT, ValueInfoT, false>& I)
This looks like it will make it impossible to copy const_iterators. I
guess it doesn't because the copy-constructor is auto-generated, but
please comment that and add test...
2009 Nov 04
2
[LLVMdev] DenseMap iterator constness fix
...;>
> >> These should probably go into include/llvm/Support/type_traits.h. In
> >> C++0x, this is named "conditional" (section 20.6.7), so I think you
> >> should use the same name, despite the standard committee's bad taste.
> >>
> >> + DenseMapIterator(const DenseMapIterator<KeyT, ValueT,
> >> + KeyInfoT, ValueInfoT, false>&
> >> I)
> >>
> >> This looks like it will make it impossible to copy const_iterators. I
> >> guess it doesn't because the cop...
2009 Nov 04
0
[LLVMdev] DenseMap iterator constness fix
...edef False Result; };
>>
>> These should probably go into include/llvm/Support/type_traits.h. In
>> C++0x, this is named "conditional" (section 20.6.7), so I think you
>> should use the same name, despite the standard committee's bad taste.
>>
>> + DenseMapIterator(const DenseMapIterator<KeyT, ValueT,
>> + KeyInfoT, ValueInfoT, false>&
>> I)
>>
>> This looks like it will make it impossible to copy const_iterators. I
>> guess it doesn't because the copy-constructor is auto-gen...
2009 Nov 09
0
[LLVMdev] DenseMap iterator constness fix
...gt; These should probably go into include/llvm/Support/type_traits.h. In
>> >> C++0x, this is named "conditional" (section 20.6.7), so I think you
>> >> should use the same name, despite the standard committee's bad taste.
>> >>
>> >> + DenseMapIterator(const DenseMapIterator<KeyT, ValueT,
>> >> + KeyInfoT, ValueInfoT,
>> false>&
>> >> I)
>> >>
>> >> This looks like it will make it impossible to copy const_iterators. I
>> >> guess i...
2019 Jun 21
2
Purpose of Epoch Trackers
...know which is
the root cause of this error because the assertion not explicitly occurs in
my code, it occurs in the library code which I'm using in my threads.
Assertion I'm getting is this:
Global Value is CRO:
/home/preejackie/spicy/orcs/llvm/include/llvm/ADT/DenseMap.h:1242: bool
llvm::DenseMapIterator<const llvm::Value *,
llvm::StringMapEntry<llvm::Value *> *, llvm::DenseMapInfo<const llvm::Value
*>, llvm::detail::DenseMapPair<const llvm::Value *,
llvm::StringMapEntry<llvm::Value *> *>, false>::operator!=(const
llvm::DenseMapIterator::ConstIterator &) const [Key...
2008 Oct 30
6
[LLVMdev] cygwin build problems
...nDAG/SelectionDAG.cpp:3440: error: call of
overloaded `AddInteger(uint32_t)' is ambiguous
.../lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1429: error: no matching
function for call to `max(long unsigned int, unsigned int&)'
.../include/llvm/ADT/DenseMap.h: In member function `void
llvm::DenseMapIterator<KeyT, ValueT, KeyInfoT,
ValueInfoT>::AdvancePastEmptyBuckets() [with KeyT = uint32_t, ValueT =
llvm::Value*, KeyInfoT = llvm::DenseMapInfo<uint32_t>, ValueInfoT =
llvm::DenseMapInfo<llvm::Value*>]':
.../include/llvm/ADT/DenseMap.h:479: instantiated from
`llvm::DenseMapIterat...
2018 Jul 25
2
are the LLD libraries thread safe?
...detail::DenseMapPair<llvm::CachedHashStringRef, int>
>::InsertIntoBucket<llvm::CachedHashStringRef,
int>(llvm::detail::DenseMapPair<llvm::CachedHashStringRef, int>*,
llvm::CachedHashStringRef&&, int&&) (DenseMap.h:512)
==5467== by 0x51DEC9:
std::pair<llvm::DenseMapIterator<llvm::CachedHashStringRef, int,
llvm::DenseMapInfo<llvm::CachedHashStringRef>,
llvm::detail::DenseMapPair<llvm::CachedHashStringRef, int>, false>, bool>
llvm::DenseMapBase<llvm::DenseMap<llvm::CachedHashStringRef, int,
llvm::DenseMapInfo<llvm::CachedHashStringRef>,...
2018 Jul 25
2
are the LLD libraries thread safe?
...HashStringRef, int>
>> >::InsertIntoBucket<llvm::CachedHashStringRef,
>> int>(llvm::detail::DenseMapPair<llvm::CachedHashStringRef, int>*,
>> llvm::CachedHashStringRef&&, int&&) (DenseMap.h:512)
>> ==5467== by 0x51DEC9: std::pair<llvm::DenseMapIterator<llvm::CachedHashStringRef,
>> int, llvm::DenseMapInfo<llvm::CachedHashStringRef>,
>> llvm::detail::DenseMapPair<llvm::CachedHashStringRef, int>, false>,
>> bool> llvm::DenseMapBase<llvm::DenseMap<llvm::CachedHashStringRef, int,
>> llvm::DenseMapInf...