Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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,
/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DStringTableBuilder.cpp68 using StringPair = std::pair<CachedHashStringRef, size_t>; typedef
72 for (const StringPair &P : StringIndexMap) { in write()
86 static int charTailAt(StringPair *P, size_t Pos) { in charTailAt()
95 static void multikeySort(MutableArrayRef<StringPair *> Vec, int Pos) { in multikeySort()
141 std::vector<StringPair *> Strings; in finalizeStringTable()
143 for (StringPair &P : StringIndexMap) in finalizeStringTable()
150 for (StringPair *P : Strings) { in finalizeStringTable()
/openbsd-src/gnu/llvm/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.str())); in EmitClangCommentHTMLNamedCharacterReferences()
H A DClangCommentCommandInfoEmitter.cpp63 std::vector<StringMatcher::StringPair> Matches; in EmitClangCommentCommandInfo()
H A DClangOpenCLBuiltinEmitter.cpp711 std::vector<StringMatcher::StringPair> ValidBuiltins; in EmitStringMatcher()
726 StringMatcher::StringPair(std::string(FctName), RetStmt)); in EmitStringMatcher()
H A DClangAttrEmitter.cpp4358 std::vector<StringMatcher::StringPair> GNU, Declspec, Microsoft, CXX11, in EmitClangAttrParsedAttrKinds()
4389 std::vector<StringMatcher::StringPair> *Matches = nullptr; in EmitClangAttrParsedAttrKinds()
4421 Matches->push_back(StringMatcher::StringPair( in EmitClangAttrParsedAttrKinds()
4424 Matches->push_back(StringMatcher::StringPair( in EmitClangAttrParsedAttrKinds()
/openbsd-src/gnu/llvm/llvm/utils/TableGen/
H A DAsmMatcherEmitter.cpp2591 std::vector<StringMatcher::StringPair> Matches; in emitMatchTokenString()
2610 std::vector<StringMatcher::StringPair> Matches; in emitMatchRegisterName()
2635 std::vector<StringMatcher::StringPair> Matches; in emitMatchRegisterAltName()
2752 std::vector<StringMatcher::StringPair> Cases; in emitMnemonicAliasVariant()