/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | Internals.h | 63 void insert(SourceLocation loc, StringRef text); 64 void insertAfterToken(SourceLocation loc, StringRef text); 67 void replace(SourceRange range, StringRef text); 69 void replaceStmt(Stmt *S, StringRef text); 70 void replaceText(SourceLocation loc, StringRef text, 71 StringRef replacementText); 100 void reportError(StringRef error, SourceLocation loc, 102 void reportWarning(StringRef warning, SourceLocation loc, 104 void reportNote(StringRef note, SourceLocation loc, 115 virtual void insert(SourceLocation loc, StringRef tex [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | JSON.h | 51 #include "llvm/ADT/StringRef.h" 77 bool isUTF8(llvm::StringRef S, size_t *ErrOffset = nullptr); 81 std::string fixUTF8(llvm::StringRef S); 91 using Storage = DenseMap<ObjectKey, Value, llvm::DenseMapInfo<StringRef>>; 125 bool erase(StringRef K); 128 iterator find(StringRef K) { return M.find_as(K); } 129 const_iterator find(StringRef K) const { return M.find_as(K); } 134 Value *get(StringRef K); 135 const Value *get(StringRef K) const; 139 llvm::Optional<std::nullptr_t> getNull(StringRef [all...] |
H A D | Registry.h | 17 #include "llvm/ADT/StringRef.h" 28 StringRef Name, Desc; 32 SimpleRegistryEntry(StringRef N, StringRef D, std::unique_ptr<T> (*C)()) 35 StringRef getName() const { return Name; } 36 StringRef getDesc() const { return Desc; } 121 Add(StringRef Name, StringRef Desc)
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | Signals.cpp | 16 #include "llvm/ADT/StringRef.h" 106 static bool printSymbolizedStackTrace(StringRef Argv0, void **StackTrace, 121 StringRef Parent = llvm::sys::path::parent_path(Argv0); 158 Optional<StringRef> Redirects[] = {StringRef(InputFile), 159 StringRef(OutputFile), StringRef("")}; 160 StringRef Args[] = {"llvm-symbolizer", "--functions=linkage", "--inlining", 178 StringRef Output = OutputBuf.get()->getBuffer(); 179 SmallVector<StringRef, 3 [all...] |
/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | StructuredData.h | 12 #include "llvm/ADT/StringRef.h" 136 llvm::StringRef GetStringValue(const char *fail_value = nullptr) { 150 ObjectSP GetObjectForDotSeparatedPath(llvm::StringRef path); 216 bool GetItemAtIndexAsString(size_t idx, llvm::StringRef &result) const { 227 bool GetItemAtIndexAsString(size_t idx, llvm::StringRef &result, 228 llvm::StringRef default_val) const { 339 explicit String(llvm::StringRef S) 342 void SetValue(llvm::StringRef S) { m_value = std::string(S); } 344 llvm::StringRef GetValue() { return m_value; } 379 ObjectSP GetValueForKey(llvm::StringRef ke [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/DIA/ |
H A D | DIASession.h | 19 class StringRef; 26 static Error createFromPdb(StringRef Path, 28 static Error createFromExe(StringRef Path, 61 findSourceFiles(const PDBSymbolCompiland *Compiland, llvm::StringRef Pattern, 65 llvm::StringRef Pattern, 68 findCompilandsForSourceFile(llvm::StringRef Pattern, 71 findOneCompilandForSourceFile(llvm::StringRef Pattern,
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/ |
H A D | NativeSession.h | 13 #include "llvm/ADT/StringRef.h" 30 StringRef ExePath; 41 static Error createFromPdbPath(StringRef PdbPath, 43 static Error createFromExe(StringRef Path, 77 findSourceFiles(const PDBSymbolCompiland *Compiland, llvm::StringRef Pattern, 81 llvm::StringRef Pattern, 84 findCompilandsForSourceFile(llvm::StringRef Pattern, 87 findOneCompilandForSourceFile(llvm::StringRef Pattern,
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/ |
H A D | InterpolatingCompilationDatabase.cpp | 69 size_t matchingPrefix(StringRef L, StringRef R) { 80 bool operator()(StringRef Key, std::pair<StringRef, size_t> Value) const { 81 StringRef V = Prefix ? Value.first.substr(0, Key.size()) : Value.first; 84 bool operator()(std::pair<StringRef, size_t> Value, StringRef Key) const { 85 StringRef V = Prefix ? Value.first.substr(0, Key.size()) : Value.first; 92 types::ID guessType(StringRef Filename, bool *Certain = nullptr) { 207 CompileCommand transferTo(StringRef Filenam [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | DiagnosticIDs.h | 19 #include "llvm/ADT/StringRef.h" 187 unsigned getCustomDiagID(Level L, StringRef FormatString); 194 StringRef getDescription(unsigned DiagID) const; 231 static StringRef getWarningOptionForDiag(unsigned DiagID); 241 static StringRef getCategoryNameFromID(unsigned CategoryID); 294 bool getDiagnosticsInGroup(diag::Flavor Flavor, StringRef Group, 303 static StringRef getNearestOption(diag::Flavor Flavor, StringRef Group);
|
H A D | OpenCLOptions.h | 35 bool isKnown(llvm::StringRef Ext) const { 39 bool isEnabled(llvm::StringRef Ext) const { 45 bool isSupported(llvm::StringRef Ext, const LangOptions &LO) const { 54 bool isSupportedCore(llvm::StringRef Ext, const LangOptions &LO) const { 63 bool isSupportedExtension(llvm::StringRef Ext, const LangOptions &LO) const { 70 void enable(llvm::StringRef Ext, bool V = true) { 78 void support(llvm::StringRef Ext, bool V = true) {
|
H A D | Module.h | 27 #include "llvm/ADT/StringRef.h" 65 static ASTFileSignature create(StringRef Bytes) { 406 Module(StringRef Name, SourceLocation DefinitionLoc, Module *Parent, 500 bool fullModuleNameIs(ArrayRef<StringRef> nameParts) const; 514 StringRef getTopLevelModuleName() const { 551 void addTopHeaderFilename(StringRef Filename) { 576 void addRequirement(StringRef Feature, bool RequiredState, 586 Module *findSubmodule(StringRef Name) const; 587 Module *findOrInferSubmodule(StringRef Name); 624 static StringRef getModuleInputBufferNam [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Frontend/ |
H A D | FrontendAction.h | 25 #include "llvm/ADT/StringRef.h" 45 StringRef InFile); 71 StringRef InFile) = 0; 139 StringRef getCurrentFile() const { 144 StringRef getCurrentFileOrBufferName() const { 261 StringRef InFile) override = 0; 292 StringRef InFile) override; 310 StringRef InFile) override;
|
H A D | CompilerInstance.h | 23 #include "llvm/ADT/StringRef.h" 530 StringRef Format = getHeaderSearchOpts().ModuleFormat; 544 StringRef Format = getHeaderSearchOpts().ModuleFormat; 659 void createPCHExternalASTSource(StringRef Path, bool DisablePCHValidation, 668 StringRef Path, StringRef Sysroot, bool DisablePCHValidation, 685 Preprocessor &PP, StringRef Filename, unsigned Line, unsigned Column, 704 createDefaultOutputFile(bool Binary = true, StringRef BaseInput = "", 705 StringRef Extension = ""); 712 createOutputFile(StringRef OutputPat [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Rewrite/Core/ |
H A D | Rewriter.h | 20 #include "llvm/ADT/StringRef.h" 115 bool InsertText(SourceLocation Loc, StringRef Str, 123 bool InsertTextAfter(SourceLocation Loc, StringRef Str) { 129 bool InsertTextAfterToken(SourceLocation Loc, StringRef Str); 136 bool InsertTextBefore(SourceLocation Loc, StringRef Str) { 159 StringRef NewStr); 164 bool ReplaceText(CharSourceRange range, StringRef NewStr) { 171 bool ReplaceText(SourceRange range, StringRef NewStr) {
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
H A D | PDBStringTableBuilder.cpp | 28 uint32_t StringTableHashTraits::hashLookupKey(StringRef S) const { 38 StringRef StringTableHashTraits::storageKeyToLookupKey(uint32_t Offset) const { 42 uint32_t StringTableHashTraits::lookupKeyToStorageKey(StringRef S) { 46 uint32_t PDBStringTableBuilder::insert(StringRef S) { 50 uint32_t PDBStringTableBuilder::getIdForString(StringRef S) const { 54 StringRef PDBStringTableBuilder::getStringForId(uint32_t Id) const { 181 StringRef S = Pair.getKey();
|
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-cxxmap/ |
H A D | llvm-cxxmap.cpp | 16 #include "llvm/ADT/StringRef.h" 68 static void exitWithError(Error E, StringRef Whence = "") { 72 static void exitWithErrorCode(std::error_code EC, StringRef Whence = "") { 86 DenseMap<SymbolRemappingReader::Key, StringRef> MappedNames; 87 DenseSet<StringRef> UnparseableSymbols; 90 StringRef Symbol = *LineIt; 112 StringRef Symbol = *LineIt; 115 StringRef NewSymbol = MappedNames.lookup(K);
|
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/wasm/ |
H A D | WasmObjcopy.cpp | 24 static Error dumpSectionToFile(StringRef SecName, StringRef Filename, 45 for (StringRef Flag : Config.DumpSection) { 46 StringRef SecName; 47 StringRef FileName; 59 for (StringRef Flag : Config.AddSection) { 60 StringRef SecName, FileName;
|
/freebsd-13-stable/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | ExegesisEmitter.cpp | 15 #include "llvm/ADT/StringRef.h" 42 unsigned getPfmCounterId(llvm::StringRef Name) const { 62 const std::map<llvm::StringRef, unsigned> PfmCounterNameTable; 65 static std::map<llvm::StringRef, unsigned> 67 std::map<llvm::StringRef, unsigned> PfmCounterNameTable; 70 const llvm::StringRef Counter = PfmCounterDef->getValueAsString("Counter"); 76 llvm::SmallSet<llvm::StringRef, 16> Seen; 79 const llvm::StringRef ResourceName =
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/LTO/legacy/ |
H A D | ThinLTOCodeGenerator.h | 31 class StringRef; 56 void addModule(StringRef Identifier, StringRef Data); 63 void preserveSymbol(StringRef Name); 71 void crossReferenceSymbol(StringRef Name); 260 void emitImports(Module &Module, StringRef OutputName, 295 std::string writeGeneratedObject(int count, StringRef CacheEntryPath,
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCLowerMASSVEntries.cpp | 33 static StringRef MASSVFuncs[] = { 46 StringRef getPassName() const override { return "PPC Lower MASS Entries"; } 53 static bool isMASSVFunc(StringRef Name); 54 static StringRef getCPUSuffix(const PPCSubtarget *Subtarget); 66 bool PPCLowerMASSVEntries::isMASSVFunc(StringRef Name) { 76 StringRef PPCLowerMASSVEntries::getCPUSuffix(const PPCSubtarget *Subtarget) { 94 StringRef Suffix = getCPUSuffix(Subtarget);
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
H A D | TypeRecord.h | 16 #include "llvm/ADT/StringRef.h" 227 StringRef Name) 233 StringRef getName() const { return Name; } 237 StringRef Name; 379 NestedTypeRecord(TypeIndex Type, StringRef Name) 383 StringRef getName() const { return Name; } 386 StringRef Name; 406 StringRef Name) 413 StringRef getName() const { return Name; } 418 StringRef Nam [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | DiagnosticInfo.h | 20 #include "llvm/ADT/StringRef.h" 285 DiagnosticInfoSampleProfile(StringRef FileName, unsigned LineNum, 290 DiagnosticInfoSampleProfile(StringRef FileName, const Twine &Msg, 305 StringRef getFileName() const { return FileName; } 311 StringRef FileName; 360 StringRef getRelativePath() const; 387 void getLocation(StringRef &RelativePath, unsigned &Line, 425 explicit Argument(StringRef Str = "") : Key("String"), Val(Str) {} 426 Argument(StringRef Key, const Value *V); 427 Argument(StringRef Ke [all...] |
/freebsd-13-stable/contrib/llvm-project/lld/COFF/ |
H A D | InputFiles.cpp | 56 static StringRef getBasename(StringRef path) { 97 static bool ignoredSymbolName(StringRef name) { 175 StringRef name = check(coffObj->getSymbolName(coffSym)); 230 StringRef leaderName) { 233 StringRef name; 234 if (Expected<StringRef> e = coffObj->getSectionName(sec)) 243 directives = StringRef((const char *)data.data(), data.size()); 312 StringRef name = check(coffObj->getSymbolName(sym)); 314 StringRef parentNam [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | Twine.h | 13 #include "llvm/ADT/StringRef.h" 79 /// StringRef) codegen as desired. 99 /// A pointer to a StringRef instance. 141 const StringRef *stringRef; 286 /// Construct from a StringRef. 287 /*implicit*/ Twine(const StringRef &Str) : LHSKind(StringRefKind) { 356 /// Construct as the concatenation of a C string and a StringRef. 357 /*implicit*/ Twine(const char *LHS, const StringRef &RHS) 364 /// Construct as the concatenation of a StringRef and a C string. 365 /*implicit*/ Twine(const StringRef [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Option/ |
H A D | ArgList.cpp | 13 #include "llvm/ADT/StringRef.h" 86 StringRef ArgList::getLastArgValue(OptSpecifier Id, StringRef Default) const { 154 Output.push_back(MakeArgString(StringRef(Translation) + 175 StringRef LHS, 176 StringRef RHS) const { 177 StringRef Cur = getArgString(Index); 208 unsigned InputArgList::MakeIndex(StringRef String0) const { 218 unsigned InputArgList::MakeIndex(StringRef String0, 219 StringRef String [all...] |