Searched refs:StringRef (Results 501 - 525 of 3240) sorted by relevance

<<21222324252627282930>>

/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Frontend/
H A DDiagnosticRenderer.h25 #include "llvm/ADT/StringRef.h"
78 StringRef Message,
93 StringRef ModuleName) = 0;
95 StringRef ModuleName) = 0;
103 void emitBasicNote(StringRef Message);
108 void emitImportStackRecursively(FullSourceLoc Loc, StringRef ModuleName);
133 StringRef Message, ArrayRef<CharSourceRange> Ranges,
153 StringRef ModuleName) override;
156 StringRef ModuleName) override;
158 virtual void emitNote(FullSourceLoc Loc, StringRef Messag
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Lex/
H A DPPCallbacks.h22 #include "llvm/ADT/StringRef.h"
76 virtual bool FileNotFound(StringRef FileName,
124 StringRef FileName,
128 StringRef SearchPath,
129 StringRef RelativePath,
181 virtual void Ident(SourceLocation Loc, StringRef str) {
191 StringRef Str) {
196 virtual void PragmaDetectMismatch(SourceLocation Loc, StringRef Name,
197 StringRef Value) {
203 virtual void PragmaDebug(SourceLocation Loc, StringRef DebugTyp
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DLinePrinter.h13 #include "llvm/ADT/StringRef.h"
51 void formatBinary(StringRef Label, ArrayRef<uint8_t> Data,
53 void formatBinary(StringRef Label, ArrayRef<uint8_t> Data, uint64_t BaseAddr,
56 void formatMsfStreamData(StringRef Label, PDBFile &File, uint32_t StreamIdx,
57 StringRef StreamPurpose, uint32_t Offset,
59 void formatMsfStreamData(StringRef Label, PDBFile &File,
69 bool IsTypeExcluded(llvm::StringRef TypeName, uint32_t Size);
70 bool IsSymbolExcluded(llvm::StringRef SymbolName);
71 bool IsCompilandExcluded(llvm::StringRef CompilandName);
78 List.emplace_back(StringRef(*Begi
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DModule.h21 #include "llvm/ADT/StringRef.h"
209 explicit Module(StringRef ModuleID, LLVMContext& C);
236 StringRef getName() const { return ModuleID; }
268 std::unique_ptr<RandomNumberGenerator> createRNG(const StringRef Name) const;
282 void setModuleIdentifier(StringRef ID) { ModuleID = std::string(ID); }
285 void setSourceFileName(StringRef Name) { SourceFileName = std::string(Name); }
288 void setDataLayout(StringRef Desc);
292 void setTargetTriple(StringRef T) { TargetTriple = std::string(T); }
296 void setModuleInlineAsm(StringRef Asm) {
304 void appendModuleInlineAsm(StringRef As
[all...]
H A DAttributes.h21 #include "llvm/ADT/StringRef.h"
95 static Attribute get(LLVMContext &Context, StringRef Kind,
96 StringRef Val = StringRef());
113 static Attribute::AttrKind getAttrKindFromName(StringRef AttrName);
115 static StringRef getNameFromAttrKind(Attribute::AttrKind AttrKind);
122 static bool isExistingAttribute(StringRef Name);
145 bool hasAttribute(StringRef Val) const;
157 StringRef getKindAsString() const;
161 StringRef getValueAsStrin
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/
H A DLayoutOverrideSource.cpp18 static std::string parseName(StringRef S) {
29 LayoutOverrideSource::LayoutOverrideSource(StringRef Filename) {
43 StringRef LineStr(Line);
46 if (LineStr.find("*** Dumping AST Record Layout") != StringRef::npos) {
60 StringRef::size_type Pos;
61 if ((Pos = LineStr.find("struct ")) != StringRef::npos)
63 else if ((Pos = LineStr.find("class ")) != StringRef::npos)
65 else if ((Pos = LineStr.find("union ")) != StringRef::npos)
77 StringRef::size_type Pos = LineStr.find(" Size:");
78 if (Pos != StringRef
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFListTable.h50 uint64_t *OffsetPtr, StringRef SectionName,
51 StringRef ListStringName);
85 StringRef SectionName;
88 StringRef ListTypeString;
91 DWARFListTableHeader(StringRef SectionName, StringRef ListTypeString)
102 StringRef getSectionName() const { return SectionName; }
103 StringRef getListTypeString() const { return ListTypeString; }
146 StringRef HeaderString;
149 DWARFListTableBase(StringRef SectionNam
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Object/
H A DArchive.cpp16 #include "llvm/ADT/StringRef.h"
66 Expected<StringRef> NameOrErr = getName(Size);
80 OS.write_escaped(StringRef(ArMemHdr->Terminator,
86 Expected<StringRef> NameOrErr = getName(Size);
100 Expected<StringRef> ArchiveMemberHeader::getRawName() const {
116 StringRef::size_type end =
117 StringRef(ArMemHdr->Name, sizeof(ArMemHdr->Name)).find(EndCond);
118 if (end == StringRef::npos)
122 return StringRef(ArMemHdr->Name, end);
128 Expected<StringRef> ArchiveMemberHeade
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A DDataExtractor.cpp156 StringRef DataExtractor::getCStrRef(uint64_t *OffsetPtr, Error *Err) const {
159 return StringRef();
162 StringRef::size_type Pos = Data.find('\0', Start);
163 if (Pos != StringRef::npos) {
165 return StringRef(Data.data() + Start, Pos - Start);
171 return StringRef();
174 StringRef DataExtractor::getFixedLengthString(uint64_t *OffsetPtr,
176 StringRef TrimChars) const {
177 StringRef Bytes(getBytes(OffsetPtr, Length));
181 StringRef DataExtracto
[all...]
H A DGraphWriter.cpp16 #include "llvm/ADT/StringRef.h"
70 StringRef llvm::DOT::getColorString(unsigned ColorNumber) {
118 static bool ExecGraphViewer(StringRef ExecPath, std::vector<StringRef> &args,
119 StringRef Filename, bool wait,
140 bool TryFindProgram(StringRef Names, std::string &ProgramPath) {
142 SmallVector<StringRef, 8> parts;
173 bool llvm::DisplayGraph(StringRef FilenameRef, bool wait,
183 std::vector<StringRef> args;
194 std::vector<StringRef> arg
[all...]
H A DYAMLParser.cpp21 #include "llvm/ADT/StringRef.h"
62 static EncodingInfo getUnicodeEncoding(StringRef Input) {
155 StringRef Range;
198 static UTF8Decoded decodeUTF8(StringRef Range) {
199 StringRef::iterator Position= Range.begin();
200 StringRef::iterator End = Range.end();
254 Scanner(StringRef Input, SourceMgr &SM, bool ShowColors = true,
270 void setError(const Twine &Message, StringRef::iterator Position) {
293 StringRef currentInput() {
294 return StringRef(Curren
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Driver/
H A DMultilib.cpp13 #include "llvm/ADT/StringRef.h"
30 StringRef seg = Segment;
34 StringRef last = path::filename(seg);
53 Multilib::Multilib(StringRef GCCSuffix, StringRef OSSuffix,
54 StringRef IncludeSuffix, int Priority)
62 Multilib &Multilib::gccSuffix(StringRef S) {
68 Multilib &Multilib::osSuffix(StringRef S) {
74 Multilib &Multilib::includeSuffix(StringRef S) {
85 assert(GCCSuffix.empty() || (StringRef(GCCSuffi
[all...]
/freebsd-13-stable/contrib/llvm-project/lld/COFF/
H A DDriverUtils.cpp50 explicit Executor(StringRef s) : prog(saver.save(s)) {}
51 void add(StringRef s) { args.push_back(saver.save(s)); }
60 StringRef exe = saver.save(*exeOrErr);
69 StringRef prog;
70 std::vector<StringRef> args;
76 void parseNumbers(StringRef arg, uint64_t *addr, uint64_t *size) {
77 StringRef s1, s2;
87 void parseVersion(StringRef arg, uint32_t *major, uint32_t *minor) {
88 StringRef s1, s2;
97 void parseGuard(StringRef fullAr
[all...]
/freebsd-13-stable/contrib/llvm-project/lld/MachO/
H A DSymbolTable.cpp19 Symbol *SymbolTable::find(StringRef name) {
26 std::pair<Symbol *, bool> SymbolTable::insert(StringRef name) {
39 Symbol *SymbolTable::addDefined(StringRef name, InputSection *isec,
52 Symbol *SymbolTable::addUndefined(StringRef name) {
64 Symbol *SymbolTable::addDylib(StringRef name, DylibFile *file) {
74 Symbol *SymbolTable::addLazy(StringRef name, ArchiveFile *file,
/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/Expression/
H A DDiagnosticManager.h16 #include "llvm/ADT/StringRef.h"
58 Diagnostic(llvm::StringRef message, DiagnosticSeverity severity,
75 llvm::StringRef GetMessage() const { return m_message; }
77 void AppendMessage(llvm::StringRef message,
109 void AddDiagnostic(llvm::StringRef message, DiagnosticSeverity severity,
122 void PutString(DiagnosticSeverity severity, llvm::StringRef str);
124 void AppendMessageToDiagnostic(llvm::StringRef str) {
/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/Host/
H A DXML.h22 #include "llvm/ADT/StringRef.h"
42 typedef std::function<bool(const llvm::StringRef &name,
43 const llvm::StringRef &value)>
62 llvm::StringRef GetName() const;
79 llvm::StringRef GetAttributeValue(const char *name,
134 llvm::StringRef GetErrors() const;
155 llvm::StringRef GetErrors() const;
/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/Utility/
H A DStringExtractor.h13 #include "llvm/ADT/StringRef.h"
24 StringExtractor(llvm::StringRef packet_str);
28 void Reset(llvm::StringRef str) {
48 llvm::StringRef GetStringRef() const { return m_packet; }
73 bool GetNameColonValue(llvm::StringRef &name, llvm::StringRef &value);
98 bool ConsumeFront(const llvm::StringRef &str);
/freebsd-13-stable/contrib/llvm-project/lldb/source/Interpreter/
H A DCommandObjectRegexCommand.cpp19 CommandInterpreter &interpreter, llvm::StringRef name, llvm::StringRef help,
20 llvm::StringRef syntax, uint32_t max_matches, uint32_t completion_type_mask,
29 bool CommandObjectRegexCommand::DoExecute(llvm::StringRef command,
33 llvm::SmallVector<llvm::StringRef, 4> matches;
77 RegularExpression(llvm::StringRef::withNullAsEmpty(re_cstr));
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbFPOProgramToDWARFExpression.cpp26 static uint32_t ResolveLLDBRegisterNum(llvm::StringRef reg_name, llvm::Triple::ArchType arch_type) {
54 static Node *ResolveFPOProgram(llvm::StringRef program,
55 llvm::StringRef register_name,
58 std::vector<std::pair<llvm::StringRef, Node *>> parsed =
92 llvm::StringRef program, llvm::StringRef register_name,
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Edit/
H A DEditedSource.h18 #include "llvm/ADT/StringRef.h"
41 StringRef Text;
91 StringRef copyString(StringRef str) { return str.copy(StrAlloc); }
92 StringRef copyString(const Twine &twine);
95 bool commitInsert(SourceLocation OrigLoc, FileOffset Offs, StringRef text,
102 StringRef getSourceText(FileOffset BeginOffs, FileOffset EndOffs,
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Tooling/
H A DCompilationDatabase.h32 #include "llvm/ADT/StringRef.h"
104 loadFromDirectory(StringRef BuildDirectory, std::string &ErrorMessage);
111 autoDetectFromSource(StringRef SourceFile, std::string &ErrorMessage);
118 autoDetectFromDirectory(StringRef SourceDir, std::string &ErrorMessage);
130 StringRef FilePath) const = 0;
190 loadFromFile(StringRef Path, std::string &ErrorMsg);
202 getCompileCommands(StringRef FilePath) const override;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Basic/Targets/
H A DRISCV.h54 StringRef getABI() const override { return ABI; }
82 bool hasFeature(StringRef Feature) const override;
107 bool isValidCPUName(StringRef Name) const override;
108 void fillValidCPUList(SmallVectorImpl<StringRef> &Values) const override;
134 bool isValidCPUName(StringRef Name) const override;
135 void fillValidCPUList(SmallVectorImpl<StringRef> &Values) const override;
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Option/
H A DOption.h13 #include "llvm/ADT/StringRef.h"
98 StringRef getName() const {
126 StringRef getPrefix() const {
128 return Prefix ? Prefix : StringRef();
139 StringRef getHelpText() const {
145 StringRef getMetaVar() const {
196 StringRef getRenderName() const {
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DFunctionImport.h14 #include "llvm/ADT/StringRef.h"
105 std::function<Expected<std::unique_ptr<Module>>(StringRef Identifier)>;
157 StringRef ModulePath, const ModuleSummaryIndex &Index,
166 StringRef ModulePath, const ModuleSummaryIndex &Index,
207 StringRef ModulePath,
214 StringRef ModulePath, StringRef OutputFilename,
/freebsd-13-stable/contrib/llvm-project/lld/ELF/
H A DInputFiles.h51 llvm::Optional<MemoryBufferRef> readFile(StringRef path);
75 StringRef getName() const { return mb.getBufferIdentifier(); }
161 StringRef getStringTable() const { return stringTable; }
178 StringRef stringTable;
200 ObjFile(MemoryBufferRef m, StringRef archiveName) : ELFFileBase(ObjKind, m) {
206 StringRef getShtGroupSignature(ArrayRef<Elf_Shdr> sections,
223 llvm::Optional<std::pair<std::string, unsigned>> getVariableLoc(StringRef name);
235 StringRef sourceFile;
261 StringRef getSectionName(const Elf_Shdr &sec);
263 bool shouldMerge(const Elf_Shdr &sec, StringRef nam
[all...]

Completed in 160 milliseconds

<<21222324252627282930>>