Home
last modified time | relevance | path

Searched refs:Prefixes (Results 1 – 20 of 20) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Option/
H A DOptTable.cpp73 for (const char * const *APre = A.Prefixes, in operator <()
74 * const *BPre = B.Prefixes; in operator <()
142 if (const char *const *P = getInfo(i).Prefixes) { in OptTable()
169 static bool isInput(const StringSet<> &Prefixes, StringRef Arg) { in isInput() argument
172 for (StringSet<>::const_iterator I = Prefixes.begin(), in isInput()
173 E = Prefixes.end(); I != E; ++I) in isInput()
197 if (In.Prefixes) { in optionMatches()
199 for (size_t I = 0; In.Prefixes[I]; I++) in optionMatches()
235 if (!In.Prefixes || (!In.HelpText && !In.GroupID)) in findByPrefix()
240 for (int I = 0; In.Prefixes[I]; I++) { in findByPrefix()
[all …]
H A DOption.cpp61 if (Info->Prefixes) { in print()
63 for (const char *const *Pre = Info->Prefixes; *Pre != nullptr; ++Pre) { in print()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DOptParserEmitter.cpp38 std::vector<StringRef> Prefixes = R.getValueAsListOfStrings("Prefixes"); in getOptionSpelling() local
41 if (Prefixes.empty()) { in getOptionSpelling()
46 PrefixLength = Prefixes[0].size(); in getOptionSpelling()
47 return (Twine(Prefixes[0]) + Twine(Name)).str(); in getOptionSpelling()
227 PrefixesT Prefixes; in EmitOptParser() local
228 Prefixes.insert(std::make_pair(PrefixKeyT(), "prefix_0")); in EmitOptParser()
235 if (Prefixes.insert(std::make_pair(PrefixKey, Prefix)).second) in EmitOptParser()
245 for (const auto &Prefix : Prefixes) { in EmitOptParser()
311 OS << Prefixes[PrefixKeyT(RPrefixes.begin(), RPrefixes.end())] << ", "; in EmitOptParser()
H A DOptRSTEmitter.cpp56 std::vector<StringRef> Prefixes = R->getValueAsListOfStrings("Prefixes"); in EmitOptRST() local
57 if (!Prefixes.empty()) in EmitOptRST()
58 OS << Prefixes[0]; in EmitOptRST()
/llvm-project-15.0.7/llvm/lib/Target/X86/AsmParser/
H A DX86Operand.h54 unsigned Prefixes; member
139 OS << "Prefix:" << Pref.Prefixes; in print()
177 return Pref.Prefixes; in getPrefix()
660 CreatePrefix(unsigned Prefixes, SMLoc StartLoc, SMLoc EndLoc) { in CreatePrefix()
662 Res->Pref.Prefixes = Prefixes; in CreatePrefix()
H A DX86AsmParser.cpp4147 Prefixes |= X86::IP_USE_VEX; in MatchAndEmitATTInstruction()
4149 Prefixes |= X86::IP_USE_VEX2; in MatchAndEmitATTInstruction()
4151 Prefixes |= X86::IP_USE_VEX3; in MatchAndEmitATTInstruction()
4153 Prefixes |= X86::IP_USE_EVEX; in MatchAndEmitATTInstruction()
4161 if (Prefixes) in MatchAndEmitATTInstruction()
4162 Inst.setFlags(Prefixes); in MatchAndEmitATTInstruction()
4406 Prefixes |= X86::IP_USE_VEX; in MatchAndEmitIntelInstruction()
4408 Prefixes |= X86::IP_USE_VEX2; in MatchAndEmitIntelInstruction()
4410 Prefixes |= X86::IP_USE_VEX3; in MatchAndEmitIntelInstruction()
4420 if (Prefixes) in MatchAndEmitIntelInstruction()
[all …]
/llvm-project-15.0.7/clang/lib/Driver/ToolChains/
H A DGnu.cpp1997 SmallVector<std::string, 8> Prefixes; in init() local
2003 Prefixes.push_back(std::string(GCCToolchainDir)); in init()
2007 Prefixes.push_back(D.SysRoot); in init()
2012 Prefixes.push_back(D.InstalledDir + "/.."); in init()
2045 for (const std::string &Prefix : Prefixes) { in init()
2133 Prefixes.push_back(CandidatePrefix); in AddDefaultGCCPrefixes()
2150 Prefixes.push_back("/opt/rh/devtoolset-9/root/usr"); in AddDefaultGCCPrefixes()
2151 Prefixes.push_back("/opt/rh/devtoolset-8/root/usr"); in AddDefaultGCCPrefixes()
2152 Prefixes.push_back("/opt/rh/devtoolset-7/root/usr"); in AddDefaultGCCPrefixes()
2153 Prefixes.push_back("/opt/rh/devtoolset-6/root/usr"); in AddDefaultGCCPrefixes()
[all …]
H A DGnu.h261 SmallVectorImpl<std::string> &Prefixes,
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DCompileCommands.cpp467 const char *const *Prefixes[DriverID::LastOption] = {nullptr}; in rulesFor() local
471 Prefixes[DriverID::OPT_##ID] = PREFIX; in rulesFor()
500 if (Prefixes[A] == nullptr) // option groups. in rulesFor()
509 for (auto *Prefix = Prefixes[A]; *Prefix != nullptr; ++Prefix) { in rulesFor()
/llvm-project-15.0.7/lldb/unittests/Interpreter/
H A DTestCompletion.cpp151 std::string Prefixes[] = {(Twine(BaseDir) + "/").str(), ""}; in TEST_F() local
168 CommandCompletions::DiskDirectories(Prefixes[0], Results, Resolver); in TEST_F()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp429 const auto &Prefixes = Diags.getDiagnosticOptions().VerifyPrefixes; in ParseDirective() local
430 if (!(Prefixes.size() == 1 ? PH.Search(*Prefixes.begin(), true, true) in ParseDirective()
477 if (!std::binary_search(Prefixes.begin(), Prefixes.end(), DToken)) in ParseDirective()
/llvm-project-15.0.7/llvm/include/llvm/Option/
H A DOptTable.h46 const char *const *Prefixes; member
H A DOption.h127 const char *Prefix = *Info->Prefixes; in getPrefix()
H A DOptParser.td87 list<string> Prefixes = prefixes;
/llvm-project-15.0.7/llvm/lib/Target/X86/MCTargetDesc/
H A DX86AsmBackend.cpp1066 const uint8_t Prefixes = ThisNopLength <= 10 ? 0 : ThisNopLength - 10; in writeNopData() local
1067 for (uint8_t i = 0; i < Prefixes; i++) in writeNopData()
1069 const uint8_t Rest = ThisNopLength - Prefixes; in writeNopData()
/llvm-project-15.0.7/llvm/test/CodeGen/Mips/
H A Dcountleading.ll10 ; Prefixes:
H A Ddivrem.ll15 ; FileCheck Prefixes:
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonISelLoweringHVX.cpp1544 SmallVector<SDValue,8> Prefixes; in LowerHvxConcatVectors() local
1547 Prefixes.push_back(P); in LowerHvxConcatVectors()
1554 for (unsigned i = 0, e = Prefixes.size(); i != e; ++i) { in LowerHvxConcatVectors()
1556 Res = DAG.getNode(ISD::OR, dl, ByteTy, Res, Prefixes[e-i-1]); in LowerHvxConcatVectors()
/llvm-project-15.0.7/llvm/test/FileCheck/dump-input/
H A Dannotations.txt415 ; Prefixes used here:
621 ; Prefixes used here:
/llvm-project-15.0.7/llvm/docs/Proposals/
H A DVariableNames.rst359 .. [Mozilla] Mozilla Coding style: Prefixes https://firefox-source-docs.mozilla.org/tools/lint/codi…