Searched refs:StringPair (Results 1 – 9 of 9) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/MC/ |
| H A D | StringTableBuilder.cpp | 69 using StringPair = std::pair<CachedHashStringRef, size_t>; typedef 73 for (const StringPair &P : StringIndexMap) { in write() 87 static int charTailAt(StringPair *P, size_t Pos) { in charTailAt() 96 static void multikeySort(MutableArrayRef<StringPair *> Vec, int Pos) { in multikeySort() 142 std::vector<StringPair *> Strings; in finalizeStringTable() 144 for (StringPair &P : StringIndexMap) in finalizeStringTable() 148 MutableArrayRef<StringPair *> StringsRef(Strings); in finalizeStringTable() 151 [&](const StringPair *LHS, const StringPair *RHS) -> bool { in finalizeStringTable() 169 for (StringPair *P : Strings) { in finalizeStringTable()
|
| /freebsd/contrib/llvm-project/llvm/lib/TableGen/ |
| H A D | StringMatcher.cpp | 29 FindFirstNonCommonLetter(ArrayRef<const StringMatcher::StringPair *> Matches) { in FindFirstNonCommonLetter() 34 for (const StringMatcher::StringPair *Match : Matches.drop_front()) in FindFirstNonCommonLetter() 48 ArrayRef<const StringPair *> Matches, unsigned CharNo, unsigned IndentCount, in EmitStringMatcherForChar() 75 std::map<char, std::vector<const StringPair*>> MatchesByLetter; in EmitStringMatcherForChar() 77 for (const StringPair *Match : Matches) in EmitStringMatcherForChar() 134 std::map<unsigned, std::vector<const StringPair*>> MatchesByLength; in Emit() 136 for (const StringPair &Match : Matches) in Emit()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/ |
| H A D | StringMatcher.h | 32 using StringPair = std::pair<std::string, std::string>; 36 ArrayRef<StringPair> Matches; 40 StringMatcher(StringRef StrVariableName, ArrayRef<StringPair> Matches, in StringMatcher() 47 bool EmitStringMatcherForChar(ArrayRef<const StringPair *> Matches,
|
| /freebsd/contrib/llvm-project/clang/utils/TableGen/ |
| H A D | ClangCommentHTMLTagsEmitter.cpp | 25 std::vector<StringMatcher::StringPair> Matches; in EmitClangCommentHTMLTags() 42 std::vector<StringMatcher::StringPair> MatchesEndTagOptional; in EmitClangCommentHTMLTagsProperties() 43 std::vector<StringMatcher::StringPair> MatchesEndTagForbidden; in EmitClangCommentHTMLTagsProperties() 46 StringMatcher::StringPair Match(Spelling, "return true;"); in EmitClangCommentHTMLTagsProperties()
|
| H A D | ClangCommentHTMLNamedCharacterReferenceEmitter.cpp | 51 std::vector<StringMatcher::StringPair> NameToUTF8; in EmitClangCommentHTMLNamedCharacterReferences() 65 StringMatcher::StringPair Match(Spelling, std::string(CLiteral)); in EmitClangCommentHTMLNamedCharacterReferences()
|
| H A D | ClangCommentCommandInfoEmitter.cpp | 63 std::vector<StringMatcher::StringPair> Matches; in EmitClangCommentCommandInfo()
|
| H A D | ClangOpenCLBuiltinEmitter.cpp | 718 std::vector<StringMatcher::StringPair> ValidBuiltins; in EmitStringMatcher() 732 StringMatcher::StringPair(std::string(FctName), RetStmt)); in EmitStringMatcher()
|
| H A D | ClangAttrEmitter.cpp | 4945 std::vector<StringMatcher::StringPair> GNU, Declspec, Microsoft, CXX11, in EmitClangAttrParsedAttrKinds() 4978 std::vector<StringMatcher::StringPair> *Matches = nullptr; in EmitClangAttrParsedAttrKinds() 5014 Matches->push_back(StringMatcher::StringPair( in EmitClangAttrParsedAttrKinds() 5017 Matches->push_back(StringMatcher::StringPair( in EmitClangAttrParsedAttrKinds()
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | AsmMatcherEmitter.cpp | 2615 std::vector<StringMatcher::StringPair> Matches; in emitMatchTokenString() 2634 std::vector<StringMatcher::StringPair> Matches; in emitMatchRegisterName() 2662 std::vector<StringMatcher::StringPair> Matches; in emitMatchRegisterAltName() 2778 std::vector<StringMatcher::StringPair> Cases; in emitMnemonicAliasVariant()
|