Home
last modified time | relevance | path

Searched refs:StringIndexMap (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/MC/
DStringTableBuilder.cpp32 Strings.reserve(StringIndexMap.size()); in finalize()
34 for (auto i = StringIndexMap.begin(), e = StringIndexMap.end(); i != e; ++i) in finalize()
57 StringIndexMap[s] = StringTable.size() - 1 - s.size(); in finalize()
61 StringIndexMap[s] = StringTable.size(); in finalize()
87 StringIndexMap.clear(); in clear()
/external/llvm/include/llvm/MC/
DStringTableBuilder.h22 StringMap<size_t> StringIndexMap; variable
29 return StringIndexMap.insert(std::make_pair(s, 0)).first->first(); in add()
53 assert(StringIndexMap.count(s) && "String is not in table!"); in getOffset()
54 return StringIndexMap[s]; in getOffset()