/freebsd/contrib/llvm-project/llvm/lib/Option/ |
H A D | OptTable.cpp | 65 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 D | Option.cpp | 61 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 D | OptParserEmitter.cpp | 38 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 D | OptRSTEmitter.cpp | 56 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 D | Option.h | 130 return Info->Prefixes.empty() in getPrefix() 132 : static_cast<const StringRef &>(Info->Prefixes[0]);
|
H A D | OptTable.h | 58 ArrayRef<StringLiteral> Prefixes; member 84 unsigned PrefixLength = Prefixes.empty() ? 0 : Prefixes[0].size(); in getName()
|
H A D | OptParser.td | 103 list<string> Prefixes = prefixes;
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/ |
H A D | X86Operand.h | 54 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 D | X86AsmParser.cpp | 4062 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 D | Gnu.cpp | 2281 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 D | VerifyDiagnosticConsumer.cpp | 435 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 D | X86AsmBackend.cpp | 1041 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 D | FileCheck.cpp | 1655 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 D | strings.subr | 375 # NOTE: Prefixes are case-insensitive.
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonISelLoweringHVX.cpp | 1743 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 D | flex.skl | 108 %# Prefixes.
|