Home
last modified time | relevance | path

Searched refs:StringPair (Results 1 – 8 of 8) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/MC/
H A DStringTableBuilder.cpp62 using StringPair = std::pair<CachedHashStringRef, size_t>; typedef
66 for (const StringPair &P : StringIndexMap) { in write()
77 static int charTailAt(StringPair *P, size_t Pos) { in charTailAt()
86 static void multikeySort(MutableArrayRef<StringPair *> Vec, int Pos) { in multikeySort()
132 std::vector<StringPair *> Strings; in finalizeStringTable()
134 for (StringPair &P : StringIndexMap) in finalizeStringTable()
141 for (StringPair *P : Strings) { in finalizeStringTable()
/freebsd-12.1/contrib/llvm/include/llvm/TableGen/
H A DStringMatcher.h33 using StringPair = std::pair<std::string, std::string>;
37 const std::vector<StringPair> &Matches;
42 const std::vector<StringPair> &matches, raw_ostream &os) in StringMatcher()
48 bool EmitStringMatcherForChar(const std::vector<const StringPair *> &Matches,
/freebsd-12.1/contrib/llvm/lib/TableGen/
H A DStringMatcher.cpp30 StringMatcher::StringPair*> &Matches) { in FindFirstNonCommonLetter()
50 const std::vector<const StringPair *> &Matches, unsigned CharNo, in EmitStringMatcherForChar()
77 std::map<char, std::vector<const StringPair*>> MatchesByLetter; in EmitStringMatcherForChar()
114 for (std::map<char, std::vector<const StringPair*>>::iterator LI = in EmitStringMatcherForChar()
137 std::map<unsigned, std::vector<const StringPair*>> MatchesByLength; in Emit()
147 for (std::map<unsigned, std::vector<const StringPair*>>::iterator LI = in Emit()
/freebsd-12.1/contrib/llvm/tools/clang/utils/TableGen/
H A DClangCommentHTMLTagsEmitter.cpp25 std::vector<StringMatcher::StringPair> Matches; in EmitClangCommentHTMLTags()
41 std::vector<StringMatcher::StringPair> MatchesEndTagOptional; in EmitClangCommentHTMLTagsProperties()
42 std::vector<StringMatcher::StringPair> MatchesEndTagForbidden; in EmitClangCommentHTMLTagsProperties()
45 StringMatcher::StringPair Match(Spelling, "return true;"); in EmitClangCommentHTMLTagsProperties()
H A DClangCommentHTMLNamedCharacterReferenceEmitter.cpp53 std::vector<StringMatcher::StringPair> NameToUTF8; in EmitClangCommentHTMLNamedCharacterReferences()
70 StringMatcher::StringPair Match(Spelling, CLiteral.str()); in EmitClangCommentHTMLNamedCharacterReferences()
H A DClangCommentCommandInfoEmitter.cpp63 std::vector<StringMatcher::StringPair> Matches; in EmitClangCommentCommandInfo()
H A DClangAttrEmitter.cpp3607 std::vector<StringMatcher::StringPair> GNU, Declspec, Microsoft, CXX11, in EmitClangAttrParsedAttrKinds()
3639 std::vector<StringMatcher::StringPair> *Matches = nullptr; in EmitClangAttrParsedAttrKinds()
3669 Matches->push_back(StringMatcher::StringPair( in EmitClangAttrParsedAttrKinds()
3672 Matches->push_back(StringMatcher::StringPair( in EmitClangAttrParsedAttrKinds()
/freebsd-12.1/contrib/llvm/utils/TableGen/
H A DAsmMatcherEmitter.cpp2574 std::vector<StringMatcher::StringPair> Matches; in emitMatchTokenString()
2593 std::vector<StringMatcher::StringPair> Matches; in emitMatchRegisterName()
2618 std::vector<StringMatcher::StringPair> Matches; in emitMatchRegisterAltName()
2734 std::vector<StringMatcher::StringPair> Cases; in emitMnemonicAliasVariant()