Searched refs:StringIndexMap (Results 1 – 6 of 6) sorted by relevance
71 for (const StringPair &P : StringIndexMap) { in write()141 Strings.reserve(StringIndexMap.size()); in finalizeStringTable()142 for (StringPair &P : StringIndexMap) in finalizeStringTable()178 StringIndexMap[CachedHashStringRef(" ")] = 0; in finalizeStringTable()185 StringIndexMap[CachedHashStringRef("")] = 0; in finalizeStringTable()190 StringIndexMap.clear(); in clear()195 auto I = StringIndexMap.find(S); in getOffset()196 assert(I != StringIndexMap.end() && "String is not in table!"); in getOffset()205 auto P = StringIndexMap.insert(std::make_pair(S, 0)); in add()
66 for (const StringPair &P : StringIndexMap) { in write()136 Strings.reserve(StringIndexMap.size()); in finalizeStringTable()137 for (StringPair &P : StringIndexMap) in finalizeStringTable()172 StringIndexMap[CachedHashStringRef("")] = 0; in finalizeStringTable()177 StringIndexMap.clear(); in clear()182 auto I = StringIndexMap.find(S); in getOffset()183 assert(I != StringIndexMap.end() && "String is not in table!"); in getOffset()192 auto P = StringIndexMap.insert(std::make_pair(S, 0)); in add()
91 Strings.reserve(StringIndexMap.size()); in finalizeStringTable()92 for (StringOffsetPair &P : StringIndexMap) in finalizeStringTable()174 StringIndexMap.clear(); in clear()179 auto I = StringIndexMap.find(S); in getOffset()180 assert(I != StringIndexMap.end() && "String is not in table!"); in getOffset()187 auto P = StringIndexMap.insert(std::make_pair(S, Start)); in add()
26 DenseMap<CachedHash<StringRef>, size_t> StringIndexMap; variable61 return StringIndexMap; in getMap()
38 DenseMap<CachedHashStringRef, size_t> StringIndexMap;79 return StringIndexMap.count(S); in contains()
28 DenseMap<CachedHashStringRef, size_t> StringIndexMap;