Searched refs:Twine (Results 1 - 25 of 659) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DError.h21 void PrintNote(const Twine &Msg);
22 void PrintNote(ArrayRef<SMLoc> NoteLoc, const Twine &Msg);
24 void PrintWarning(ArrayRef<SMLoc> WarningLoc, const Twine &Msg);
25 void PrintWarning(const char *Loc, const Twine &Msg);
26 void PrintWarning(const Twine &Msg);
28 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg);
29 void PrintError(const char *Loc, const Twine &Msg);
30 void PrintError(const Twine &Msg);
32 LLVM_ATTRIBUTE_NORETURN void PrintFatalError(const Twine &Msg);
34 const Twine
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A DTwine.cpp1 //===-- Twine.cpp - Fast Temporary String Concatenation -------------------===//
9 #include "llvm/ADT/Twine.h"
17 std::string Twine::str() const {
32 void Twine::toVector(SmallVectorImpl<char> &Out) const {
37 StringRef Twine::toNullTerminatedStringRef(SmallVectorImpl<char> &Out) const {
57 void Twine::printOneChild(raw_ostream &OS, Child Ptr,
60 case Twine::NullKind: break;
61 case Twine::EmptyKind: break;
62 case Twine::TwineKind:
65 case Twine
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DMacroBuilder.h18 #include "llvm/ADT/Twine.h"
29 void defineMacro(const Twine &Name, const Twine &Value = "1") {
35 void undefineMacro(const Twine &Name) {
40 void append(const Twine &Str) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Linker/
H A DLinkDiagnosticInfo.h16 const Twine &Msg;
19 LinkDiagnosticInfo(DiagnosticSeverity Severity, const Twine &Msg);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Passes/
H A DPassPlugin.cpp21 return make_error<StringError>(Twine("Could not load library '") +
32 return make_error<StringError>(Twine("Plugin entry point not found in '") +
40 Twine("Wrong API version on plugin '") + Filename + "'. Got version " +
41 Twine(P.Info.APIVersion) + ", supported version is " +
42 Twine(LLVM_PLUGIN_API_VERSION) + ".",
46 return make_error<StringError>(Twine("Empty entry callback in plugin '") +
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DTwine.h1 //===- Twine.h - Fast Temporary String Concatenation ------------*- C++ -*-===//
24 /// Twine - A lightweight data structure for efficiently representing the
27 /// A Twine is a kind of rope, it represents a concatenated string using a
29 /// Twine can be efficiently rendered into a buffer when its result is used,
31 /// results -- particularly in cases when the Twine result is never
36 /// A Twine is not intended for use directly and should not be stored, its
48 /// Given the nature of a Twine, it is not possible for the Twine's
50 /// represented inside the returned value. For this reason a Twine object
52 /// concatenation. We also have nullary Twine object
80 class Twine { class in namespace:llvm
169 explicit Twine(NodeKind Kind) : LHSKind(Kind) { function in class:llvm::Twine
174 explicit Twine(const Twine &LHS, const Twine &RHS) function in class:llvm::Twine
182 explicit Twine(Child LHS, NodeKind LHSKind, Child RHS, NodeKind RHSKind) function in class:llvm::Twine
256 /*implicit*/ Twine() { function in class:llvm::Twine
267 /*implicit*/ Twine(const char *Str) { function in class:llvm::Twine
281 /*implicit*/ Twine(const std::string &Str) : LHSKind(StdStringKind) { function in class:llvm::Twine
287 /*implicit*/ Twine(const StringRef &Str) : LHSKind(StringRefKind) { function in class:llvm::Twine
293 /*implicit*/ Twine(const SmallVectorImpl<char> &Str) function in class:llvm::Twine
300 /*implicit*/ Twine(const formatv_object_base &Fmt) function in class:llvm::Twine
307 explicit Twine(char Val) : LHSKind(CharKind) { function in class:llvm::Twine
312 explicit Twine(signed char Val) : LHSKind(CharKind) { function in class:llvm::Twine
317 explicit Twine(unsigned char Val) : LHSKind(CharKind) { function in class:llvm::Twine
322 explicit Twine(unsigned Val) : LHSKind(DecUIKind) { function in class:llvm::Twine
327 explicit Twine(int Val) : LHSKind(DecIKind) { function in class:llvm::Twine
332 explicit Twine(const unsigned long &Val) : LHSKind(DecULKind) { function in class:llvm::Twine
337 explicit Twine(const long &Val) : LHSKind(DecLKind) { function in class:llvm::Twine
342 explicit Twine(const unsigned long long &Val) : LHSKind(DecULLKind) { function in class:llvm::Twine
347 explicit Twine(const long long &Val) : LHSKind(DecLLKind) { function in class:llvm::Twine
357 /*implicit*/ Twine(const char *LHS, const StringRef &RHS) function in class:llvm::Twine
365 /*implicit*/ Twine(const StringRef &LHS, const char *RHS) function in class:llvm::Twine
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/TableGen/
H A DError.cpp15 #include "llvm/ADT/Twine.h"
27 const Twine &Msg) {
42 void PrintNote(const Twine &Msg) { WithColor::note() << Msg << "\n"; }
44 void PrintNote(ArrayRef<SMLoc> NoteLoc, const Twine &Msg) {
48 void PrintWarning(ArrayRef<SMLoc> WarningLoc, const Twine &Msg) {
52 void PrintWarning(const char *Loc, const Twine &Msg) {
56 void PrintWarning(const Twine &Msg) { WithColor::warning() << Msg << "\n"; }
58 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) {
62 void PrintError(const char *Loc, const Twine &Msg) {
66 void PrintError(const Twine
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCMachineFunctionInfo.cpp10 #include "llvm/ADT/Twine.h"
27 return MF.getContext().getOrCreateSymbol(Twine(DL.getPrivateGlobalPrefix()) +
28 Twine(MF.getFunctionNumber()) +
34 return MF.getContext().getOrCreateSymbol(Twine(DL.getPrivateGlobalPrefix()) +
36 Twine(MF.getFunctionNumber()));
41 return MF.getContext().getOrCreateSymbol(Twine(DL.getPrivateGlobalPrefix()) +
43 Twine(MF.getFunctionNumber()));
48 return MF.getContext().getOrCreateSymbol(Twine(DL.getPrivateGlobalPrefix()) +
50 Twine(MF.getFunctionNumber()));
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DGlobalAlias.h23 class Twine;
32 const Twine &Name, Constant *Aliasee, Module *Parent);
41 LinkageTypes Linkage, const Twine &Name,
46 LinkageTypes Linkage, const Twine &Name,
51 LinkageTypes Linkage, const Twine &Name,
55 static GlobalAlias *create(LinkageTypes Linkage, const Twine &Name,
59 static GlobalAlias *create(const Twine &Name, GlobalValue *Aliasee);
H A DGlobalIFunc.h26 class Twine;
37 const Twine &Name, Constant *Resolver, Module *Parent);
46 LinkageTypes Linkage, const Twine &Name,
H A DMangler.h24 class Twine;
43 static void getNameWithPrefix(raw_ostream &OS, const Twine &GVName,
46 const Twine &GVName, const DataLayout &DL);
/freebsd-13-stable/contrib/llvm-project/lld/include/lld/Common/
H A DErrorHandler.h103 void error(const Twine &msg);
104 LLVM_ATTRIBUTE_NORETURN void fatal(const Twine &msg);
105 void log(const Twine &msg);
106 void message(const Twine &msg);
107 void warn(const Twine &msg);
114 std::string getLocation(const Twine &msg);
120 inline void error(const Twine &msg) { errorHandler().error(msg); }
121 inline LLVM_ATTRIBUTE_NORETURN void fatal(const Twine &msg) {
124 inline void log(const Twine &msg) { errorHandler().log(msg); }
125 inline void message(const Twine
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-dwarfdump/
H A Dllvm-dwarfdump.h12 #include "llvm/ADT/Twine.h"
33 const Twine &Filename);
36 const Twine &Filename, raw_ostream &OS);
38 const Twine &Filename, raw_ostream &OS);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DByteStreamer.h32 virtual void EmitInt8(uint8_t Byte, const Twine &Comment = "") = 0;
33 virtual void emitSLEB128(uint64_t DWord, const Twine &Comment = "") = 0;
34 virtual void emitULEB128(uint64_t DWord, const Twine &Comment = "",
44 void EmitInt8(uint8_t Byte, const Twine &Comment) override {
48 void emitSLEB128(uint64_t DWord, const Twine &Comment) override {
52 void emitULEB128(uint64_t DWord, const Twine &Comment,
64 void EmitInt8(uint8_t Byte, const Twine &Comment) override {
67 void emitSLEB128(uint64_t DWord, const Twine &Comment) override {
70 void emitULEB128(uint64_t DWord, const Twine &Comment,
91 void EmitInt8(uint8_t Byte, const Twine
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Basic/Targets/
H A DMips.cpp127 Builder.defineMacro("__mips_hard_float", Twine(1));
130 Builder.defineMacro("__mips_soft_float", Twine(1));
135 Builder.defineMacro("__mips_single_float", Twine(1));
139 Builder.defineMacro("__mips_fpr", Twine(0));
142 Builder.defineMacro("__mips_fpr", Twine(32));
145 Builder.defineMacro("__mips_fpr", Twine(64));
150 Builder.defineMacro("_MIPS_FPSET", Twine(32));
152 Builder.defineMacro("_MIPS_FPSET", Twine(16));
155 Builder.defineMacro("__mips16", Twine(1));
158 Builder.defineMacro("__mips_micromips", Twine(
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/MC/MCParser/
H A DMCAsmParserExtension.h20 class Twine;
70 bool Warning(SMLoc L, const Twine &Msg) {
74 bool Error(SMLoc L, const Twine &Msg, SMRange Range = SMRange()) {
78 void Note(SMLoc L, const Twine &Msg) {
82 bool TokError(const Twine &Msg) {
89 const Twine &Msg = "unexpected token") {
103 bool check(bool P, const Twine &Msg) {
107 bool check(bool P, SMLoc Loc, const Twine &Msg) {
111 bool addErrorSuffix(const Twine &Suffix) {
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeViewRecordIO.h35 virtual void AddComment(const Twine &T) = 0;
36 virtual void AddRawComment(const Twine &T) = 0;
66 Error mapInteger(TypeIndex &TypeInd, const Twine &Comment = "");
99 template <typename T> Error mapInteger(T &Value, const Twine &Comment = "") {
113 template <typename T> Error mapEnum(T &Value, const Twine &Comment = "") {
132 Error mapEncodedInteger(int64_t &Value, const Twine &Comment = "");
133 Error mapEncodedInteger(uint64_t &Value, const Twine &Comment = "");
134 Error mapEncodedInteger(APSInt &Value, const Twine &Comment = "");
135 Error mapStringZ(StringRef &Value, const Twine &Comment = "");
136 Error mapGuid(GUID &Guid, const Twine
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DPath.h18 #include "llvm/ADT/Twine.h"
148 void replace_extension(SmallVectorImpl<char> &path, const Twine &extension,
187 void append(SmallVectorImpl<char> &path, const Twine &a,
188 const Twine &b = "",
189 const Twine &c = "",
190 const Twine &d = "");
192 void append(SmallVectorImpl<char> &path, Style style, const Twine &a,
193 const Twine &b = "", const Twine &c = "", const Twine
[all...]
H A DFileSystem.h31 #include "llvm/ADT/Twine.h"
304 void make_absolute(const Twine &current_directory, SmallVectorImpl<char> &path);
325 std::error_code create_directories(const Twine &path,
335 std::error_code create_directory(const Twine &path, bool IgnoreExisting = true,
349 std::error_code create_link(const Twine &to, const Twine &from);
357 std::error_code create_hard_link(const Twine &to, const Twine &from);
366 std::error_code real_path(const Twine &path, SmallVectorImpl<char> &output,
373 void expand_tilde(const Twine
[all...]
H A DFileCollector.h21 class Twine;
48 void addFile(const Twine &file);
49 void addDirectory(const Twine &Dir);
89 addDirectoryImpl(const llvm::Twine &Dir,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Object/
H A DMachOUniversal.cpp25 malformedError(Twine Msg) {
143 Twine(Magic == MachO::FAT_MAGIC ? "" : "_64") +
153 Twine(A.getCPUType()) + ") cpusubtype (" +
154 Twine(A.getCPUSubType() & ~MachO::CPU_SUBTYPE_MASK) +
160 Err = malformedError("align (2^" + Twine(A.getAlign()) +
161 ") too large for cputype (" + Twine(A.getCPUType()) +
163 Twine(A.getCPUSubType() & ~MachO::CPU_SUBTYPE_MASK) +
164 ") (maximum 2^" + Twine(MaxSectionAlignment) + ")");
168 Err = malformedError("offset: " + Twine(A.getOffset()) +
169 " for cputype (" + Twine(
[all...]
H A DMachOObjectFile.cpp21 #include "llvm/ADT/Twine.h"
60 static Error malformedError(const Twine &Msg) {
191 return malformedError("load command " + Twine(LoadCommandIndex) +
194 return malformedError("load command " + Twine(LoadCommandIndex) +
218 return malformedError("load command " + Twine(LoadCommandIndex + 1) +
255 return malformedError(Twine(Name) + " at offset " + Twine(Offset) +
256 " with a size of " + Twine(Size) + ", overlaps " +
257 E.Name + " at offset " + Twine(E.Offset) + " with "
258 "a size of " + Twine(
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DMCAsmParser.cpp11 #include "llvm/ADT/Twine.h"
47 bool MCAsmParser::parseEOL(const Twine &Msg) {
54 bool MCAsmParser::parseToken(AsmToken::TokenKind T, const Twine &Msg) {
63 bool MCAsmParser::parseIntToken(int64_t &V, const Twine &Msg) {
78 bool MCAsmParser::check(bool P, const Twine &Msg) {
82 bool MCAsmParser::check(bool P, SMLoc Loc, const Twine &Msg) {
88 bool MCAsmParser::TokError(const Twine &Msg, SMRange Range) {
92 bool MCAsmParser::Error(SMLoc L, const Twine &Msg, SMRange Range) {
108 bool MCAsmParser::addErrorSuffix(const Twine &Suffix) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerGlobalDtors.cpp154 (Priority != UINT16_MAX ? (Twine(".") + Twine(Priority))
155 : Twine()) +
156 (AtThisPriority.size() > 1 ? Twine("$") + Twine(ThisId)
157 : Twine()) +
158 (!Associated->isNullValue() ? (Twine(".") + Associated->getName())
159 : Twine()),
172 (Priority != UINT16_MAX ? (Twine(".") + Twine(Priorit
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/Host/
H A DFileSystem.h75 llvm::vfs::directory_iterator DirBegin(const llvm::Twine &dir,
82 llvm::ErrorOr<llvm::vfs::Status> GetStatus(const llvm::Twine &path) const;
88 llvm::sys::TimePoint<> GetModificationTime(const llvm::Twine &path) const;
94 uint64_t GetByteSize(const llvm::Twine &path) const;
103 uint32_t GetPermissions(const llvm::Twine &path) const;
105 uint32_t GetPermissions(const llvm::Twine &path, std::error_code &ec) const;
111 bool Exists(const llvm::Twine &path) const;
117 bool Readable(const llvm::Twine &path) const;
123 bool IsDirectory(const llvm::Twine &path) const;
129 bool IsLocal(const llvm::Twine
[all...]

Completed in 175 milliseconds

1234567891011>>