14#ifndef LLVM_ADT_STRINGSET_H
15#define LLVM_ADT_STRINGSET_H
24template <
class AllocatorTy = MallocAllocator>
30 StringSet(std::initializer_list<StringRef> initializer) {
43 template <
typename InputIt>
45 for (
auto it =
begin; it !=
end; ++it)
53 template <
typename ValueTy>
54 std::pair<typename Base::iterator, bool>
This file defines the StringMap class.
ConstantRange Range(APInt(BitWidth, Low), APInt(BitWidth, High))
This file contains library features backported from future STL versions.
StringMapEntry - This is used to represent one value that is inserted into a StringMap.
bool contains(StringRef Key) const
std::pair< iterator, bool > try_emplace(StringRef Key, ArgsTy &&...Args)
StringRef - Represent a constant reference to a string, i.e.
StringSet(llvm::from_range_t, Range &&R)
std::pair< typename Base::iterator, bool > insert(const StringMapEntry< ValueTy > &mapEntry)
void insert(InputIt begin, InputIt end)
StringSet(std::initializer_list< StringRef > initializer)
bool contains(StringRef key) const
Check if the set contains the given key.
void insert_range(Range &&R)
std::pair< typename Base::iterator, bool > insert(StringRef key)
This is an optimization pass for GlobalISel generic memory operations.
constexpr auto adl_begin(RangeT &&range) -> decltype(adl_detail::begin_impl(std::forward< RangeT >(range)))
Returns the begin iterator to range using std::begin and function found through Argument-Dependent Lo...
constexpr auto adl_end(RangeT &&range) -> decltype(adl_detail::end_impl(std::forward< RangeT >(range)))
Returns the end iterator to range using std::end and functions found through Argument-Dependent Looku...