Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Option/
H A DOptTable.cpp65 for (size_t I = 0, K = std::min(A.Prefixes.size(), B.Prefixes.size()); I != K; in operator <()
67 if (int N = StrCmpOptionName(A.Prefixes[I], B.Prefixes[I])) in operator <()
151 static bool isInput(const ArrayRef<StringLiteral> &Prefixes, StringRef Arg) { in isInput() argument
154 for (const StringRef &Prefix : Prefixes) in isInput()
163 for (auto Prefix : I->Prefixes) { in matchOption()
177 for (auto Prefix : In.Prefixes) in optionMatches()
213 if (In.Prefixes.empty() || (!In.HelpText && !In.GroupID)) in findByPrefix()
220 for (auto Prefix : In.Prefixes) { in findByPrefix()
286 if (CandidateInfo.Prefixes.empty()) in internalFindNearest()
305 for (auto CandidatePrefix : CandidateInfo.Prefixes) { in internalFindNearest()
[all …]
H A DOption.cpp61 if (!Info->Prefixes.empty()) { in print()
62 O << " Prefixes:["; in print()
63 for (size_t I = 0, N = Info->Prefixes.size(); I != N; ++I) in print()
64 O << '"' << Info->Prefixes[I] << (I == N - 1 ? "\"" : "\", "); in print()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DOptParserEmitter.cpp38 std::vector<StringRef> Prefixes = R.getValueAsListOfStrings("Prefixes"); in getOptionPrefixedName() local
41 if (Prefixes.empty()) in getOptionPrefixedName()
44 return (Prefixes[0] + Twine(Name)).str(); in getOptionPrefixedName()
265 PrefixesT Prefixes; in EmitOptParser() local
266 Prefixes.insert(std::pair(PrefixKeyT(), "prefix_0")); in EmitOptParser()
273 if (Prefixes.insert(std::pair(PrefixKey, Prefix)).second) in EmitOptParser()
278 for (const auto &Prefix : Prefixes) in EmitOptParser()
289 for (const auto &Prefix : Prefixes) { in EmitOptParser()
388 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()
/freebsd/contrib/llvm-project/llvm/include/llvm/Option/
H A DOption.h130 return Info->Prefixes.empty() in getPrefix()
132 : static_cast<const StringRef &>(Info->Prefixes[0]);
H A DOptTable.h58 ArrayRef<StringLiteral> Prefixes; member
84 unsigned PrefixLength = Prefixes.empty() ? 0 : Prefixes[0].size(); in getName()
H A DOptParser.td103 list<string> Prefixes = prefixes;
/freebsd/contrib/llvm-project/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()
694 CreatePrefix(unsigned Prefixes, SMLoc StartLoc, SMLoc EndLoc) { in CreatePrefix()
696 Res->Pref.Prefixes = Prefixes; in CreatePrefix()
H A DX86AsmParser.cpp4062 unsigned Prefixes = getPrefixes(Operands); in MatchAndEmitInstruction() local
4069 Prefixes |= X86::IP_USE_REX; in MatchAndEmitInstruction()
4071 Prefixes |= X86::IP_USE_REX2; in MatchAndEmitInstruction()
4073 Prefixes |= X86::IP_USE_VEX; in MatchAndEmitInstruction()
4075 Prefixes |= X86::IP_USE_VEX2; in MatchAndEmitInstruction()
4077 Prefixes |= X86::IP_USE_VEX3; in MatchAndEmitInstruction()
4079 Prefixes |= X86::IP_USE_EVEX; in MatchAndEmitInstruction()
4083 Prefixes |= X86::IP_USE_DISP8; in MatchAndEmitInstruction()
4085 Prefixes |= X86::IP_USE_DISP32; in MatchAndEmitInstruction()
4087 if (Prefixes) in MatchAndEmitInstruction()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DGnu.cpp2281 SmallVector<std::string, 8> Prefixes; in init() local
2287 Prefixes.push_back(std::string(GCCToolchainDir)); in init()
2291 Prefixes.push_back(D.SysRoot); in init()
2292 AddDefaultGCCPrefixes(TargetTriple, Prefixes, D.SysRoot); in init()
2296 Prefixes.push_back(D.Dir + "/.."); in init()
2302 AddDefaultGCCPrefixes(TargetTriple, Prefixes, D.SysRoot); in init()
2326 for (const std::string &Prefix : Prefixes) { in init()
2381 const llvm::Triple &TargetTriple, SmallVectorImpl<std::string> &Prefixes, in AddDefaultGCCPrefixes() argument
2385 Prefixes.push_back(concat(SysRoot, "/boot/system/develop/tools")); in AddDefaultGCCPrefixes()
2420 Prefixes.emplace_back(p.second); in AddDefaultGCCPrefixes()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp435 const auto &Prefixes = Diags.getDiagnosticOptions().VerifyPrefixes; in ParseDirective() local
436 if (!(Prefixes.size() == 1 ? PH.Search(*Prefixes.begin(), true, true) in ParseDirective()
481 if (!std::binary_search(Prefixes.begin(), Prefixes.end(), DToken)) in ParseDirective()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86AsmBackend.cpp1041 const uint8_t Prefixes = ThisNopLength <= 10 ? 0 : ThisNopLength - 10; in writeNopData() local
1042 for (uint8_t i = 0; i < Prefixes; i++) in writeNopData()
1044 const uint8_t Rest = ThisNopLength - Prefixes; in writeNopData()
/freebsd/contrib/llvm-project/llvm/lib/FileCheck/
H A DFileCheck.cpp1655 SmallVector<std::pair<StringRef, size_t>> Prefixes; member
1662 Prefixes.push_back({Prefix, Input.find(Prefix)}); in PrefixMatcher()
1664 Prefixes.push_back({Prefix, Input.find(Prefix)}); in PrefixMatcher()
1667 llvm::sort(Prefixes, in PrefixMatcher()
1680 for (auto &[Prefix, Pos] : Prefixes) { in match()
/freebsd/usr.sbin/bsdconfig/share/
H A Dstrings.subr375 # NOTE: Prefixes are case-insensitive.
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLoweringHVX.cpp1743 SmallVector<SDValue,8> Prefixes; in LowerHvxConcatVectors()
1746 Prefixes.push_back(P); in LowerHvxConcatVectors()
1753 for (unsigned i = 0, e = Prefixes.size(); i != e; ++i) { in LowerHvxConcatVectors()
1755 Res = DAG.getNode(ISD::OR, dl, ByteTy, Res, Prefixes[e-i-1]); in LowerHvxConcatVectors()
1744 SmallVector<SDValue,8> Prefixes; LowerHvxConcatVectors() local
/freebsd/contrib/flex/src/
H A Dflex.skl108 %# Prefixes.