Home
last modified time | relevance | path

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

/src/contrib/llvm-project/llvm/lib/TableGen/
H A DStringMatcher.cpp30 StringMatcher::StringPair*> &Matches) { in FindFirstNonCommonLetter()
36 for (const StringMatcher::StringPair *Match : 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()
79 for (const StringPair *Match : Matches) in EmitStringMatcherForChar()
136 std::map<unsigned, std::vector<const StringPair*>> MatchesByLength; in Emit()
138 for (const StringPair &Match : Matches) in Emit()
/src/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DStringMatcher.h32 using StringPair = std::pair<std::string, std::string>;
36 const std::vector<StringPair> &Matches;
41 const std::vector<StringPair> &matches, raw_ostream &os) in StringMatcher()
47 bool EmitStringMatcherForChar(const std::vector<const StringPair *> &Matches,
/src/contrib/llvm-project/llvm/lib/MC/
H A DStringTableBuilder.cpp69 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()
151 for (StringPair *P : Strings) { in finalizeStringTable()
/src/contrib/llvm-project/clang/utils/TableGen/
H A DClangCommentHTMLTagsEmitter.cpp24 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.cpp52 std::vector<StringMatcher::StringPair> NameToUTF8; in EmitClangCommentHTMLNamedCharacterReferences()
69 StringMatcher::StringPair Match(Spelling, std::string(CLiteral)); in EmitClangCommentHTMLNamedCharacterReferences()
H A DClangCommentCommandInfoEmitter.cpp63 std::vector<StringMatcher::StringPair> Matches; in EmitClangCommentCommandInfo()
H A DClangOpenCLBuiltinEmitter.cpp723 std::vector<StringMatcher::StringPair> ValidBuiltins; in EmitStringMatcher()
738 StringMatcher::StringPair(std::string(FctName), RetStmt)); in EmitStringMatcher()
H A DClangAttrEmitter.cpp4812 std::vector<StringMatcher::StringPair> GNU, Declspec, Microsoft, CXX11, in EmitClangAttrParsedAttrKinds()
4843 std::vector<StringMatcher::StringPair> *Matches = nullptr; in EmitClangAttrParsedAttrKinds()
4875 Matches->push_back(StringMatcher::StringPair( in EmitClangAttrParsedAttrKinds()
4878 Matches->push_back(StringMatcher::StringPair( in EmitClangAttrParsedAttrKinds()
/src/contrib/llvm-project/llvm/utils/TableGen/
H A DAsmMatcherEmitter.cpp2609 std::vector<StringMatcher::StringPair> Matches; in emitMatchTokenString()
2628 std::vector<StringMatcher::StringPair> Matches; in emitMatchRegisterName()
2656 std::vector<StringMatcher::StringPair> Matches; in emitMatchRegisterAltName()
2777 std::vector<StringMatcher::StringPair> Cases; in emitMnemonicAliasVariant()