/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/Analyses/ |
H A D | Consumed.h | 24 #include "llvm/ADT/StringRef.h" 71 StringRef VariableName) {} 83 StringRef VariableName, 84 StringRef ExpectedState, 85 StringRef ObservedState) {} 89 StringRef ExpectedState, 90 StringRef ObservedState) {} 100 StringRef TypeName) {} 112 StringRef ExpectedState, 113 StringRef ObservedStat [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/ |
H A D | ArgumentsAdjusters.cpp | 17 #include "llvm/ADT/StringRef.h" 26 return [](const CommandLineArguments &Args, StringRef /*unused*/) { 29 constexpr llvm::StringRef OutputCommands[] = { 35 StringRef Arg = Args[i]; 37 if (llvm::any_of(OutputCommands, [&Arg](llvm::StringRef OutputCommand) { 61 return [](const CommandLineArguments &Args, StringRef /*unused*/) { 64 StringRef Arg = Args[i]; 79 return [](const CommandLineArguments &Args, StringRef /*unused*/) { 82 StringRef Arg = Args[i]; 95 return [](const CommandLineArguments &Args, StringRef /*unuse [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | MDBuilder.h | 18 #include "llvm/ADT/StringRef.h" 42 MDString *createString(StringRef Str); 77 MDNode *createFunctionSectionPrefix(StringRef Prefix); 120 MDNode *createAnonymousAARoot(StringRef Name = StringRef(), 134 MDNode *createAnonymousAliasScopeDomain(StringRef Name = StringRef()) { argument 142 StringRef Name = StringRef()) { 149 MDNode *createTBAARoot(StringRef Nam 141 createAnonymousAliasScope(MDNode *Domain, StringRef Name = StringRef()) argument [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Remarks/ |
H A D | RemarkLinker.cpp | 14 #include "llvm/ADT/StringRef.h" 23 static Expected<StringRef> 26 return StringRef("__remarks"); 32 Expected<Optional<StringRef>> 34 Expected<StringRef> SectionName = getRemarksSectionName(Obj); 39 Expected<StringRef> MaybeName = Section.getName(); 45 if (Expected<StringRef> Contents = Section.getContents()) 50 return Optional<StringRef>{}; 59 void RemarkLinker::setExternalFilePrependPath(StringRef PrependPathIn) { 66 Error RemarkLinker::link(StringRef Buffe [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | FileCheckImpl.h | 21 #include "llvm/ADT/StringRef.h" 76 StringRef toString() const; 81 /// \returns a wildcard regular expression StringRef that matches any value 84 Expected<StringRef> getWildcardRegex() const; 95 Expected<ExpressionValue> valueFromStringRepr(StringRef StrVal, 167 StringRef ExpressionStr; 170 ExpressionAST(StringRef ExpressionStr) : ExpressionStr(ExpressionStr) {} 174 StringRef getExpressionStr() const { return ExpressionStr; } 198 explicit ExpressionLiteral(StringRef ExpressionStr, T Val) 209 StringRef VarNam [all...] |
H A D | Process.cpp | 31 Optional<std::string> Process::FindInEnvPath(StringRef EnvName, 32 StringRef FileName) { 36 Optional<std::string> Process::FindInEnvPath(StringRef EnvName, 37 StringRef FileName, 46 SmallVector<StringRef, 8> Dirs; 49 for (StringRef Dir : Dirs) { 53 if (any_of(IgnoreList, [&](StringRef S) { return fs::equivalent(S, Dir); }))
|
H A D | SpecialCaseList.cpp | 49 Regexp = (Twine("^(") + StringRef(Regexp) + ")$").str(); 61 unsigned SpecialCaseList::Matcher::match(StringRef Query) const { 130 SmallVector<StringRef, 16> Lines; 134 StringRef Section = "*"; 165 std::pair<StringRef, StringRef> SplitLine = I->split(":"); 166 StringRef Prefix = SplitLine.first; 174 std::pair<StringRef, StringRef> SplitRegexp = SplitLine.second.split("="); 176 StringRef Categor [all...] |
/freebsd-13-stable/contrib/llvm-project/lld/ELF/ |
H A D | DWARF.h | 71 StringRef getFileName() const override { return ""; } 72 StringRef getAbbrevSection() const override { return abbrevSection; } 73 StringRef getStrSection() const override { return strSection; } 74 StringRef getLineStrSection() const override { return lineStrSection; } 98 StringRef abbrevSection; 99 StringRef strSection; 100 StringRef lineStrSection;
|
/freebsd-13-stable/contrib/llvm-project/lldb/source/Breakpoint/ |
H A D | BreakpointID.cpp | 24 static llvm::StringRef g_range_specifiers[] = {"-", "to", "To", "TO"}; 31 bool BreakpointID::IsRangeIdentifier(llvm::StringRef str) { 40 bool BreakpointID::IsValidIDExpression(llvm::StringRef str) { 44 llvm::ArrayRef<llvm::StringRef> BreakpointID::GetRangeSpecifiers() { 71 BreakpointID::ParseCanonicalReference(llvm::StringRef input) { 95 bool BreakpointID::StringIsBreakpointName(llvm::StringRef str, Status &error) { 113 if (str.find_first_of(".- ") != llvm::StringRef::npos) {
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Format/ |
H A D | Encoding.h | 19 #include "llvm/ADT/StringRef.h" 34 inline Encoding detectEncoding(StringRef Text) { 45 inline unsigned columnWidth(StringRef Text, Encoding Encoding) { 61 inline unsigned columnWidthWithTabs(StringRef Text, unsigned StartColumn, 64 StringRef Tail = Text; 66 StringRef::size_type TabPos = Tail.find('\t'); 67 if (TabPos == StringRef::npos) 97 inline unsigned getEscapeSequenceLength(StringRef Text) {
|
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | DWARFDefines.cpp | 23 llvm::StringRef llvmstr = llvm::dwarf::TagString(val); 33 llvm::StringRef llvmstr = llvm::dwarf::AttributeString(val); 43 llvm::StringRef llvmstr = llvm::dwarf::FormEncodingString(val); 53 llvm::StringRef llvmstr = llvm::dwarf::OperationEncodingString(val); 63 llvm::StringRef llvmstr = llvm::dwarf::AttributeEncodingString(val); 73 llvm::StringRef llvmstr = llvm::dwarf::LanguageString(val); 83 llvm::StringRef llvmstr = llvm::dwarf::LNStandardString(val);
|
/freebsd-13-stable/contrib/llvm-project/lldb/source/Utility/ |
H A D | UUID.cpp | 12 #include "llvm/ADT/StringRef.h" 38 std::string UUID::GetAsString(llvm::StringRef separator) const { 62 llvm::StringRef 63 UUID::DecodeUUIDBytesFromString(llvm::StringRef p, 86 bool UUID::SetFromStringRef(llvm::StringRef str) { 87 llvm::StringRef p = str; 93 llvm::StringRef rest = UUID::DecodeUUIDBytesFromString(p, bytes); 104 bool UUID::SetFromOptionalStringRef(llvm::StringRef str) {
|
/freebsd-13-stable/contrib/llvm-project/lld/COFF/ |
H A D | MinGW.cpp | 113 void AutoExporter::addWholeArchive(StringRef path) { 114 StringRef libName = sys::path::filename(path); 131 for (StringRef prefix : excludeSymbolPrefixes.keys()) 134 for (StringRef suffix : excludeSymbolSuffixes.keys()) 147 StringRef libName = sys::path::filename(sym->getFile()->parentName); 154 StringRef fileName = sys::path::filename(sym->getFile()->getName()); 158 void lld::coff::writeDefFile(StringRef name) {
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | ELFAttributeParser.h | 21 class StringRef; 24 StringRef vendor; 26 std::unordered_map<unsigned, StringRef> attributesStr; 36 void printAttribute(unsigned tag, unsigned value, StringRef valueDesc); 49 ELFAttributeParser(ScopedPrinter *sw, TagNameMap tagNameMap, StringRef vendor) 52 ELFAttributeParser(TagNameMap tagNameMap, StringRef vendor) 63 Optional<StringRef> getAttributeString(unsigned tag) const {
|
H A D | FormatVariadic.h | 32 #include "llvm/ADT/StringRef.h" 49 explicit ReplacementItem(StringRef Literal) 51 ReplacementItem(StringRef Spec, size_t Index, size_t Align, AlignStyle Where, 52 char Pad, StringRef Options) 57 StringRef Spec; 62 StringRef Options; 67 StringRef Fmt; 70 static bool consumeFieldLayout(StringRef &Spec, AlignStyle &Where, 73 static std::pair<ReplacementItem, StringRef> 74 splitLiteralAndReplacement(StringRef Fm [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | MCContext.h | 18 #include "llvm/ADT/StringRef.h" 180 StringRef DwarfDebugFlags; 184 StringRef DwarfDebugProducer; 206 StringRef GroupName; 207 StringRef LinkedToName; 210 ELFSectionKey(StringRef SectionName, StringRef GroupName, 211 StringRef LinkedToName, unsigned UniqueID) 228 StringRef GroupName; 232 COFFSectionKey(StringRef SectionNam [all...] |
H A D | MCSymbolWasm.h | 23 Optional<StringRef> ImportModule; 24 Optional<StringRef> ImportName; 25 Optional<StringRef> ExportName; 74 StringRef getImportModule() const { 83 void setImportModule(StringRef Name) { ImportModule = Name; } 86 StringRef getImportName() const { 91 void setImportName(StringRef Name) { ImportName = Name; } 94 StringRef getExportName() const { return ExportName.getValue(); } 95 void setExportName(StringRef Name) { ExportName = Name; }
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Frontend/ |
H A D | FrontendActions.h | 29 StringRef InFile) override; 39 StringRef InFile) override { 56 StringRef InFile) override; 62 StringRef InFile) override; 68 StringRef InFile) override; 74 StringRef InFile) override; 80 StringRef InFile) override; 101 CreateOutputFile(CompilerInstance &CI, StringRef InFile, 109 CreateOutputFile(CompilerInstance &CI, StringRef InFile) = 0; 113 StringRef InFil [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
H A D | Marshallers.cpp | 12 #include "llvm/ADT/StringRef.h" 17 getBestGuess(llvm::StringRef Search, llvm::ArrayRef<llvm::StringRef> Allowed, 18 llvm::StringRef DropPrefix = "", unsigned MaxEditDistance = 3) { 21 llvm::StringRef Res; 22 for (const llvm::StringRef &Item : Allowed) { 39 for (const llvm::StringRef &Item : Allowed) { 65 static constexpr llvm::StringRef Allowed[] = { 78 static constexpr llvm::StringRef Allowed[] = { 91 static constexpr llvm::StringRef Allowe [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | PassTimingInfo.cpp | 21 #include "llvm/ADT/StringRef.h" 89 Timer *newPassTimer(StringRef PassID, StringRef PassDesc); 119 Timer *PassTimingInfo::newPassTimer(StringRef PassID, StringRef PassDesc) { 137 StringRef PassName = P->getPassName(); 138 StringRef PassArgument; 170 Timer &TimePassesHandler::getPassTimer(StringRef PassID) { 202 StringRef PassID = I.getKey(); 212 StringRef PassI [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyldChecker.cpp | 36 bool evaluate(StringRef Expr) const { 44 StringRef LHSExpr = Expr.substr(0, EQIdx).rtrim(); 45 StringRef RemainingExpr; 55 StringRef RHSExpr = Expr.substr(EQIdx + 1).ltrim(); 113 StringRef getTokenForError(StringRef Expr) const { 117 StringRef Token, Remaining; 131 EvalResult unexpectedToken(StringRef TokenStart, StringRef SubExpr, 132 StringRef ErrTex [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/Dynamic/ |
H A D | Parser.h | 44 #include "llvm/ADT/StringRef.h" 80 /// \param BindID The ID to use to bind the matcher, or a null \c StringRef 90 StringRef BindID, 101 lookupMatcherCtor(StringRef MatcherName) = 0; 134 lookupMatcherCtor(StringRef MatcherName) override; 138 StringRef BindID, 167 parseMatcherExpression(StringRef &MatcherCode, Sema *S, 170 parseMatcherExpression(StringRef &MatcherCode, Sema *S, Diagnostics *Error) { 174 parseMatcherExpression(StringRef &MatcherCode, Diagnostics *Error) { 190 static bool parseExpression(StringRef [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/ |
H A D | AMDKernelCodeTUtils.cpp | 17 #include "llvm/ADT/StringRef.h" 27 static ArrayRef<StringRef> get_amd_kernel_code_t_FldNames() { 28 static StringRef const Table[] = { 37 static ArrayRef<StringRef> get_amd_kernel_code_t_FldAltNames() { 38 static StringRef const Table[] = { 47 static StringMap<int> createIndexMap(const ArrayRef<StringRef> &names, 48 const ArrayRef<StringRef> &altNames) { 58 static int get_amd_kernel_code_t_FieldIndex(StringRef name) { 64 static StringRef get_amd_kernel_code_t_FieldName(int index) { 70 static raw_ostream &printName(raw_ostream &OS, StringRef Nam [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/LineEditor/ |
H A D | LineEditor.h | 13 #include "llvm/ADT/StringRef.h" 33 LineEditor(StringRef ProgName, StringRef HistoryPath = "", FILE *In = stdin, 45 static std::string getDefaultHistoryPath(StringRef ProgName); 81 /// which takes arguments of type StringRef (the string to complete) and 82 /// size_t (the zero-based cursor position in the StringRef) and returns a 90 /// StringRef (the string to complete) and size_t (the zero-based cursor 91 /// position in the StringRef) and returns a std::vector<Completion>. 102 /// \param Pos The zero-based cursor position in the StringRef 103 CompletionAction getCompletionAction(StringRef Buffe [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVSubtarget.h | 33 class StringRef; 72 StringRef CPU, StringRef FS, 73 StringRef ABIName); 77 RISCVSubtarget(const Triple &TT, StringRef CPU, StringRef FS, 78 StringRef ABIName, const TargetMachine &TM); 82 void ParseSubtargetFeatures(StringRef CPU, StringRef FS);
|