/freebsd-13-stable/contrib/llvm-project/clang/lib/Rewrite/ |
H A D | Rewriter.cpp | 25 #include "llvm/ADT/StringRef.h" 115 void RewriteBuffer::InsertText(unsigned OrigOffset, StringRef Str, 131 StringRef NewStr) { 247 StringRef MB = SourceMgr->getBufferData(FID); 255 bool Rewriter::InsertText(SourceLocation Loc, StringRef Str, 262 if (indentNewLines && Str.find('\n') != StringRef::npos) { 263 StringRef MB = SourceMgr->getBufferData(FID); 271 StringRef indentSpace; 279 SmallVector<StringRef, 4> lines; 296 bool Rewriter::InsertTextAfterToken(SourceLocation Loc, StringRef St [all...] |
/freebsd-13-stable/contrib/llvm-project/lld/COFF/ |
H A D | Symbols.h | 72 StringRef getName() { 82 return StringRef(nameData, nameSize); 103 explicit Symbol(Kind k, StringRef n = "") 144 Defined(Kind k, StringRef n) : Symbol(k, n) {} 160 // as a decomposed StringRef. 165 DefinedCOFF(Kind k, InputFile *f, StringRef n, const coff_symbol_generic *s) 185 DefinedRegular(InputFile *f, StringRef n, bool isCOMDAT, 207 DefinedCommon(InputFile *f, StringRef n, uint64_t size, 231 DefinedAbsolute(StringRef n, COFFSymbolRef s) 236 DefinedAbsolute(StringRef [all...] |
H A D | Symbols.cpp | 30 static std::string maybeDemangleSymbol(StringRef symName) { 33 StringRef prefixless = symName; 36 StringRef demangleInput = prefixless; 59 StringRef nameStr = 89 StringRef origName = getName(); 116 DefinedImportThunk::DefinedImportThunk(StringRef name, DefinedImportData *s,
|
/freebsd-13-stable/contrib/llvm-project/lldb/source/Interpreter/ |
H A D | CommandReturnObject.cpp | 90 void CommandReturnObject::AppendMessage(llvm::StringRef in_string) { 96 void CommandReturnObject::AppendWarning(llvm::StringRef in_string) { 105 void CommandReturnObject::AppendRawWarning(llvm::StringRef in_string) { 111 void CommandReturnObject::AppendError(llvm::StringRef in_string) { 125 void CommandReturnObject::SetError(llvm::StringRef error_str) { 136 void CommandReturnObject::AppendRawError(llvm::StringRef in_string) {
|
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | HashedNameToDIE.h | 143 bool FindByName(llvm::StringRef name, 146 void FindByNameAndTag(llvm::StringRef name, const dw_tag_t tag, 150 llvm::StringRef name, const dw_tag_t tag, 155 FindCompleteObjCClassByName(llvm::StringRef name, 164 void FindByName(llvm::StringRef name, DIEInfoArray &die_info_array); 166 Result GetHashDataForName(llvm::StringRef name,
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | MachineOptimizationRemarkEmitter.h | 31 StringRef RemarkName, 41 MachineArgument(StringRef Key, const MachineInstr &MI); 63 MachineOptimizationRemark(const char *PassName, StringRef RemarkName, 89 MachineOptimizationRemarkMissed(const char *PassName, StringRef RemarkName, 115 MachineOptimizationRemarkAnalysis(const char *PassName, StringRef RemarkName, 160 bool allowExtraAnalysis(StringRef PassName) const {
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/ |
H A D | AllTUsExecution.cpp | 36 void addResult(StringRef Key, StringRef Value) override { 41 std::vector<std::pair<llvm::StringRef, llvm::StringRef>> 46 void forEachResult(llvm::function_ref<void(StringRef Key, StringRef Value)>
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Format/ |
H A D | Format.h | 2447 friend std::error_code parseConfiguration(StringRef Text, FormatStyle *Style); 2490 bool getPredefinedStyle(StringRef Name, FormatStyle::LanguageKind Language, 2502 std::error_code parseConfiguration(StringRef Text, FormatStyle *Style); 2509 tooling::Replacements sortIncludes(const FormatStyle &Style, StringRef Code, 2511 StringRef FileName, 2518 formatReplacements(StringRef Code, const tooling::Replacements &Replaces, 2535 cleanupAroundReplacements(StringRef Code, const tooling::Replacements &Replaces, 2561 tooling::Replacements reformat(const FormatStyle &Style, StringRef Code, 2563 StringRef FileName = "<stdin>", 2569 tooling::Replacements reformat(const FormatStyle &Style, StringRef Cod [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Basic/Targets/ |
H A D | Sparc.h | 51 bool hasFeature(StringRef Feature) const override; 135 CPUKind getCPUKind(StringRef Name) const; 137 bool isValidCPUName(StringRef Name) const override { 141 void fillValidCPUList(SmallVectorImpl<StringRef> &Values) const override; 220 bool isValidCPUName(StringRef Name) const override { 224 void fillValidCPUList(SmallVectorImpl<StringRef> &Values) const override;
|
H A D | WebAssembly.h | 64 StringRef getABI() const override; 77 StringRef CPU, 79 bool hasFeature(StringRef Feature) const final; 81 void setFeatureEnabled(llvm::StringMap<bool> &Features, StringRef Name, 87 bool isValidCPUName(StringRef Name) const final; 88 void fillValidCPUList(SmallVectorImpl<StringRef> &Values) const final;
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
H A D | RecordSerialization.cpp | 26 /// a C string, as StringRef has several helpers (split) that make that easy. 27 StringRef llvm::codeview::getBytesAsCharacters(ArrayRef<uint8_t> LeafData) { 28 return StringRef(reinterpret_cast<const char *>(LeafData.data()), 32 StringRef llvm::codeview::getBytesAsCString(ArrayRef<uint8_t> LeafData) { 104 Error llvm::codeview::consume(StringRef &Data, APSInt &Num) { 130 Error llvm::codeview::consume(StringRef &Data, uint32_t &Item) { 143 Error llvm::codeview::consume(BinaryStreamReader &Reader, StringRef &Item) {
|
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-cxxfilt/ |
H A D | llvm-cxxfilt.cpp | 109 StringRef Source, 110 SmallVectorImpl<std::pair<StringRef, StringRef>> &OutFragments, 142 static void demangleLine(llvm::raw_ostream &OS, StringRef Mangled, bool Split) { 145 SmallVector<std::pair<StringRef, StringRef>, 16> Words;
|
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
H A D | InputFile.h | 61 static Expected<InputFile> open(StringRef Path, 71 StringRef getFilePath() const; 94 Expected<StringRef> getNameFromStringTable(uint32_t Offset) const; 96 void formatFromFileName(LinePrinter &Printer, StringRef File, 102 StringRef name() const; 121 StringRef Name;
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | PassInstrumentation.h | 34 /// passing StringRef identification ("name") of the pass currently being 64 class StringRef; 78 using BeforePassFunc = bool(StringRef, Any); 79 using AfterPassFunc = void(StringRef, Any); 80 using AfterPassInvalidatedFunc = void(StringRef); 81 using BeforeAnalysisFunc = void(StringRef, Any); 82 using AfterAnalysisFunc = void(StringRef, Any);
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | MCLinkerOptimizationHint.h | 20 #include "llvm/ADT/StringRef.h" 44 static inline StringRef MCLOHDirectiveName() { 45 return StringRef(".loh"); 52 static inline int MCLOHNameToId(StringRef Name) { 67 static inline StringRef MCLOHIdToName(MCLOHType Kind) { 68 #define MCLOHCaseIdToName(Name) case MCLOH_ ## Name: return StringRef(#Name); 79 return StringRef();
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Remarks/ |
H A D | Remark.h | 19 #include "llvm/ADT/StringRef.h" 32 StringRef SourceFilePath; 43 StringRef Key; 45 StringRef Val; 72 StringRef PassName; 77 StringRef RemarkName; 80 StringRef FunctionName;
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | Chrono.h | 72 StringRef Style); 124 static std::pair<InternalRep, StringRef> consumeUnit(StringRef &Style, 142 static bool consumeShowUnit(StringRef &Style) { 154 static void format(const Dur &D, llvm::raw_ostream &Stream, StringRef Style) { 156 StringRef unit;
|
H A D | ConvertUTF.h | 185 class StringRef; 188 * Convert an UTF8 StringRef to UTF8, UTF16, or UTF32 depending on 196 bool ConvertUTF8toWide(unsigned WideCharWidth, llvm::StringRef Source, 200 * Converts a UTF-8 StringRef to a std::wstring. 203 bool ConvertUTF8toWide(llvm::StringRef Source, std::wstring &Result); 286 bool convertUTF8ToUTF16String(StringRef SrcUTF8, 292 std::error_code UTF8ToUTF16(StringRef utf8, SmallVectorImpl<wchar_t> &utf16); 294 std::error_code CurCPToUTF16(StringRef utf8, SmallVectorImpl<wchar_t> &utf16);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Option/ |
H A D | OptTable.cpp | 10 #include "llvm/ADT/StringRef.h" 151 StringRef Prefix = I->getKey(); 152 for (StringRef::const_iterator C = Prefix.begin(), CE = Prefix.end(); 169 static bool isInput(const StringSet<> &Prefixes, StringRef Arg) { 180 static unsigned matchOption(const OptTable::Info *I, StringRef Str, 183 StringRef Prefix(*Pre); 185 StringRef Rest = Str.substr(Prefix.size()); 190 return Prefix.size() + StringRef(I->Name).size(); 197 static bool optionMatches(const OptTable::Info &In, StringRef Option) { 209 OptTable::suggestValueCompletions(StringRef Optio [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | StringMap.cpp | 74 unsigned StringMapImpl::LookupBucketFor(StringRef Name) { 114 if (Name == StringRef(ItemStr, BucketItem->getKeyLength())) { 132 int StringMapImpl::FindKey(StringRef Key) const { 158 if (Key == StringRef(ItemStr, BucketItem->getKeyLength())) { 177 StringMapEntryBase *V2 = RemoveKey(StringRef(VStr, V->getKeyLength())); 184 StringMapEntryBase *StringMapImpl::RemoveKey(StringRef Key) {
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/TextAPI/MachO/ |
H A D | InterfaceFile.cpp | 22 typename C::iterator addEntry(C &Container, StringRef InstallName) { 49 void InterfaceFile::addAllowableClient(StringRef InstallName, 55 void InterfaceFile::addReexportedLibrary(StringRef InstallName, 61 void InterfaceFile::addParentUmbrella(const Target &Target_, StringRef Parent) { 75 void InterfaceFile::addUUID(const Target &Target_, StringRef UUID) { 112 void InterfaceFile::addSymbol(SymbolKind Kind, StringRef Name,
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | Comment.h | 21 #include "llvm/ADT/StringRef.h" 262 StringRef Text; 267 StringRef Text) : 281 StringRef getText() const LLVM_READONLY { return Text; } 301 StringRef Text; 303 Argument(SourceRange Range, StringRef Text) : Range(Range), Text(Text) { } 344 StringRef getCommandName(const CommandTraits &Traits) const { 360 StringRef getArgText(unsigned Idx) const { 373 StringRef TagName; 379 StringRef TagNam [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCContext.cpp | 14 #include "llvm/ADT/StringRef.h" 105 DwarfDebugFlags = StringRef(); 135 StringRef NameRef = Name.toStringRef(NameSV); 146 MCSymbol *MCContext::getOrCreateFrameAllocSymbol(StringRef FuncName, 152 MCSymbol *MCContext::getOrCreateParentFrameOffsetSymbol(StringRef FuncName) { 157 MCSymbol *MCContext::getOrCreateLSDASymbol(StringRef FuncName) { 192 MCSymbol *MCContext::createSymbol(StringRef Name, bool AlwaysAddSuffix, 280 StringRef NameRef = Name.toStringRef(NameSV); 285 StringRef Sym, 301 StringRef OriginalNam [all...] |
/freebsd-13-stable/contrib/llvm-project/lld/include/lld/Core/ |
H A D | Reader.h | 14 #include "llvm/ADT/StringRef.h" 92 bool referenceKindFromString(StringRef inputStr, Reference::KindNamespace &ns, 99 Reference::KindValue value, StringRef &) const; 119 StringRef name;
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/ |
H A D | GsymCreator.h | 157 llvm::Error save(StringRef Path, llvm::support::endianness ByteOrder) const; 175 uint32_t insertString(StringRef S, bool Copy = true); 188 uint32_t insertFile(StringRef Path,
|