Home
last modified time | relevance | path

Searched refs:Twine (Results 1 – 25 of 404) sorted by relevance

12345678910>>...17

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DTwine.cpp17 std::string Twine::str() const { in str()
32 void Twine::toVector(SmallVectorImpl<char> &Out) const { in toVector()
37 StringRef Twine::toNullTerminatedStringRef(SmallVectorImpl<char> &Out) const { in toNullTerminatedStringRef()
57 void Twine::printOneChild(raw_ostream &OS, Child Ptr, in printOneChild()
60 case Twine::NullKind: break; in printOneChild()
61 case Twine::EmptyKind: break; in printOneChild()
62 case Twine::TwineKind: in printOneChild()
65 case Twine::CStringKind: in printOneChild()
68 case Twine::StdStringKind: in printOneChild()
71 case Twine::StringRefKind: in printOneChild()
[all …]
DPath.cpp168 createUniqueEntity(const Twine &Model, int &ResultFD, in createUniqueEntity()
183 EC = sys::fs::openFileForReadWrite(Twine(ResultPath.begin()), ResultFD, in createUniqueEntity()
417 void append(SmallVectorImpl<char> &path, Style style, const Twine &a, in append()
418 const Twine &b, const Twine &c, const Twine &d) { in append()
455 void append(SmallVectorImpl<char> &path, const Twine &a, const Twine &b, in append()
456 const Twine &c, const Twine &d) { in append()
480 void replace_extension(SmallVectorImpl<char> &path, const Twine &extension, in replace_extension()
545 void native(const Twine &path, SmallVectorImpl<char> &result, Style style) { in native()
630 bool has_root_name(const Twine &path, Style style) { in has_root_name()
637 bool has_root_directory(const Twine &path, Style style) { in has_root_directory()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DTwine.cpp17 std::string Twine::str() const { in str()
32 void Twine::toVector(SmallVectorImpl<char> &Out) const { in toVector()
37 StringRef Twine::toNullTerminatedStringRef(SmallVectorImpl<char> &Out) const { in toNullTerminatedStringRef()
57 void Twine::printOneChild(raw_ostream &OS, Child Ptr, in printOneChild()
60 case Twine::NullKind: break; in printOneChild()
61 case Twine::EmptyKind: break; in printOneChild()
62 case Twine::TwineKind: in printOneChild()
65 case Twine::CStringKind: in printOneChild()
68 case Twine::StdStringKind: in printOneChild()
71 case Twine::StringRefKind: in printOneChild()
[all …]
DPath.cpp161 static std::error_code createUniqueEntity(const Twine &Model, int &ResultFD, in createUniqueEntity()
170 if (!sys::path::is_absolute(Twine(ModelStorage))) { in createUniqueEntity()
173 sys::path::append(TDir, Twine(ModelStorage)); in createUniqueEntity()
196 sys::fs::openFileForWrite(Twine(ResultPath.begin()), ResultFD, in createUniqueEntity()
448 void append(SmallVectorImpl<char> &path, const Twine &a, in append()
449 const Twine &b, in append()
450 const Twine &c, in append()
451 const Twine &d) { in append()
507 void replace_extension(SmallVectorImpl<char> &path, const Twine &extension) { in replace_extension()
548 void native(const Twine &path, SmallVectorImpl<char> &result) { in native()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DTwine.h80 class Twine {
138 const Twine *twine;
169 explicit Twine(NodeKind Kind) : LHSKind(Kind) { in Twine() function
174 explicit Twine(const Twine &LHS, const Twine &RHS) in Twine() function
182 explicit Twine(Child LHS, NodeKind LHSKind, Child RHS, NodeKind RHSKind) in Twine() function
256 /*implicit*/ Twine() { in Twine() function
260 Twine(const Twine &) = default;
267 /*implicit*/ Twine(const char *Str) { in Twine() function
278 /*implicit*/ Twine(std::nullptr_t) = delete;
281 /*implicit*/ Twine(const std::string &Str) : LHSKind(StdStringKind) { in Twine() function
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DTwine.h81 class Twine {
139 const Twine *twine;
167 explicit Twine(NodeKind Kind) in Twine() function
173 explicit Twine(const Twine &LHS, const Twine &RHS) in Twine() function
181 explicit Twine(Child LHS, NodeKind LHSKind, Child RHS, NodeKind RHSKind) in Twine() function
255 /*implicit*/ Twine() : LHSKind(EmptyKind), RHSKind(EmptyKind) { in Twine() function
259 Twine(const Twine &) = default;
266 /*implicit*/ Twine(const char *Str) in Twine() function
278 /*implicit*/ Twine(const std::string &Str) in Twine() function
285 /*implicit*/ Twine(const StringRef &Str) in Twine() function
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DPath.h143 void replace_extension(SmallVectorImpl<char> &path, const Twine &extension);
172 void append(SmallVectorImpl<char> &path, const Twine &a,
173 const Twine &b = "",
174 const Twine &c = "",
175 const Twine &d = "");
201 void native(const Twine &path, SmallVectorImpl<char> &result);
360 bool user_cache_directory(SmallVectorImpl<char> &Result, const Twine &Path1,
361 const Twine &Path2 = "", const Twine &Path3 = "");
369 bool has_root_name(const Twine &path);
377 bool has_root_directory(const Twine &path);
[all …]
DFileSystem.h297 std::error_code make_absolute(const Twine &current_directory,
319 std::error_code create_directories(const Twine &path,
329 std::error_code create_directory(const Twine &path, bool IgnoreExisting = true,
343 std::error_code create_link(const Twine &to, const Twine &from);
351 std::error_code create_hard_link(const Twine &to, const Twine &from);
366 std::error_code remove(const Twine &path, bool IgnoreNonExisting = true);
372 std::error_code rename(const Twine &from, const Twine &to);
378 std::error_code copy_file(const Twine &From, const Twine &To);
406 std::error_code access(const Twine &Path, AccessMode Mode);
412 inline bool exists(const Twine &Path) { in exists()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DMachOObjectFile.cpp60 static Error malformedError(const Twine &Msg) { in malformedError()
191 return malformedError("load command " + Twine(LoadCommandIndex) + in getLoadCommandInfo()
194 return malformedError("load command " + Twine(LoadCommandIndex) + in getLoadCommandInfo()
218 return malformedError("load command " + Twine(LoadCommandIndex + 1) + in getNextLoadCommandInfo()
255 return malformedError(Twine(Name) + " at offset " + Twine(Offset) + in checkOverlappingElement()
256 " with a size of " + Twine(Size) + ", overlaps " + in checkOverlappingElement()
257 E.Name + " at offset " + Twine(E.Offset) + " with " in checkOverlappingElement()
258 "a size of " + Twine(E.Size)); in checkOverlappingElement()
284 return malformedError("load command " + Twine(LoadCommandIndex) + in parseSegmentLoadCommand()
292 return malformedError("load command " + Twine(LoadCommandIndex) + in parseSegmentLoadCommand()
[all …]
DMachOUniversal.cpp25 malformedError(Twine Msg) { in malformedError()
143 Twine(Magic == MachO::FAT_MAGIC ? "" : "_64") + in MachOUniversalBinary()
153 Twine(A.getCPUType()) + ") cpusubtype (" + in MachOUniversalBinary()
154 Twine(A.getCPUSubType() & ~MachO::CPU_SUBTYPE_MASK) + in MachOUniversalBinary()
160 Err = malformedError("align (2^" + Twine(A.getAlign()) + in MachOUniversalBinary()
161 ") too large for cputype (" + Twine(A.getCPUType()) + in MachOUniversalBinary()
163 Twine(A.getCPUSubType() & ~MachO::CPU_SUBTYPE_MASK) + in MachOUniversalBinary()
164 ") (maximum 2^" + Twine(MaxSectionAlignment) + ")"); in MachOUniversalBinary()
168 Err = malformedError("offset: " + Twine(A.getOffset()) + in MachOUniversalBinary()
169 " for cputype (" + Twine(A.getCPUType()) + ") cpusubtype (" + in MachOUniversalBinary()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DFileSystem.h304 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 &path, SmallVectorImpl<char> &output);
387 std::error_code set_current_path(const Twine &path);
395 std::error_code remove(const Twine &path, bool IgnoreNonExisting = true);
402 std::error_code remove_directories(const Twine &path, bool IgnoreErrors = true);
[all …]
DPath.h148 void replace_extension(SmallVectorImpl<char> &path, const Twine &extension,
193 void append(SmallVectorImpl<char> &path, const Twine &a,
194 const Twine &b = "",
195 const Twine &c = "",
196 const Twine &d = "");
198 void append(SmallVectorImpl<char> &path, Style style, const Twine &a,
199 const Twine &b = "", const Twine &c = "", const Twine &d = "");
225 void native(const Twine &path, SmallVectorImpl<char> &result,
386 bool has_root_name(const Twine &path, Style style = Style::native);
394 bool has_root_directory(const Twine &path, Style style = Style::native);
[all …]
DVirtualFileSystem.h61 Status(const Twine &Name, llvm::sys::fs::UniqueID UID,
67 static Status copyWithNewName(const Status &In, const Twine &NewName);
69 const Twine &NewName);
118 getBuffer(const Twine &Name, int64_t FileSize = -1,
214 recursive_directory_iterator(FileSystem &FS, const Twine &Path,
249 virtual llvm::ErrorOr<Status> status(const Twine &Path) = 0;
253 openFileForRead(const Twine &Path) = 0;
258 getBufferForFile(const Twine &Name, int64_t FileSize = -1,
263 virtual directory_iterator dir_begin(const Twine &Dir,
268 virtual std::error_code setCurrentWorkingDirectory(const Twine &Path) = 0;
[all …]
DMemoryBuffer.h80 getFile(const Twine &Filename, int64_t FileSize = -1,
87 getFileAsStream(const Twine &Filename);
93 getOpenFileSlice(sys::fs::file_t FD, const Twine &Filename, uint64_t MapSize,
103 getOpenFile(sys::fs::file_t FD, const Twine &Filename, uint64_t FileSize,
118 getMemBufferCopy(StringRef InputData, const Twine &BufferName = "");
126 getFileOrSTDIN(const Twine &Filename, int64_t FileSize = -1,
131 getFileSlice(const Twine &Filename, uint64_t MapSize, uint64_t Offset,
180 getFile(const Twine &Filename, int64_t FileSize = -1,
185 getFileSlice(const Twine &Filename, uint64_t MapSize, uint64_t Offset,
192 getNewUninitMemBuffer(size_t Size, const Twine &BufferName = "");
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TableGen/
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 &Msg);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DIRBuilder.h63 void InsertHelper(Instruction *I, const Twine &Name, in InsertHelper()
80 void InsertHelper(Instruction *I, const Twine &Name, in InsertHelper()
326 GlobalVariable *CreateGlobalString(StringRef Str, const Twine &Name = "",
711 Value *PassThru = nullptr, const Twine &Name = "");
721 const Twine& Name = "");
738 const Twine &Name = "");
748 const Twine &Name = "");
757 const Twine &Name = "");
766 ArrayRef<Value *> GCArgs, const Twine &Name = "");
775 const Twine &Name = "");
[all …]
DInstrTypes.h108 const Twine &Name, Instruction *InsertBefore);
110 const Twine &Name, BasicBlock *InsertAtEnd);
125 const Twine &Name = Twine(),
133 const Twine &Name,
140 static UnaryOperator *Create##OPC(Value *V, const Twine &Name = "") {\
145 static UnaryOperator *Create##OPC(Value *V, const Twine &Name, \
151 static UnaryOperator *Create##OPC(Value *V, const Twine &Name, \
160 const Twine &Name = "") {
167 const Twine &Name = "") {
193 const Twine &Name, Instruction *InsertBefore);
[all …]
DInstructions.h71 const Twine &Name = "",
74 const Twine &Name, BasicBlock *InsertAtEnd);
77 const Twine &Name, Instruction *InsertBefore = nullptr);
79 const Twine &Name, BasicBlock *InsertAtEnd);
82 const Twine &Name = "", Instruction *InsertBefore = nullptr);
84 const Twine &Name, BasicBlock *InsertAtEnd);
179 LoadInst(Type *Ty, Value *Ptr, const Twine &NameStr = "",
181 LoadInst(Type *Ty, Value *Ptr, const Twine &NameStr, BasicBlock *InsertAtEnd);
182 LoadInst(Type *Ty, Value *Ptr, const Twine &NameStr, bool isVolatile,
184 LoadInst(Type *Ty, Value *Ptr, const Twine &NameStr, bool isVolatile,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
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 &Comment = "");
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DError.cpp27 const Twine &Msg) { in PrintMessage()
42 void PrintNote(const Twine &Msg) { WithColor::note() << Msg << "\n"; } in PrintNote()
44 void PrintNote(ArrayRef<SMLoc> NoteLoc, const Twine &Msg) { in PrintNote()
48 void PrintWarning(ArrayRef<SMLoc> WarningLoc, const Twine &Msg) { in PrintWarning()
52 void PrintWarning(const char *Loc, const Twine &Msg) { in PrintWarning()
56 void PrintWarning(const Twine &Msg) { WithColor::warning() << Msg << "\n"; } in PrintWarning()
58 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) { in PrintError()
62 void PrintError(const char *Loc, const Twine &Msg) { in PrintError()
66 void PrintError(const Twine &Msg) { WithColor::error() << Msg << "\n"; } in PrintError()
68 void PrintFatalError(const Twine &Msg) { in PrintFatalError()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
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 = "", unsigned PadTo = 0) = 0;
43 void EmitInt8(uint8_t Byte, const Twine &Comment) override { in EmitInt8()
47 void EmitSLEB128(uint64_t DWord, const Twine &Comment) override { in EmitSLEB128()
51 void EmitULEB128(uint64_t DWord, const Twine &Comment, unsigned PadTo) override { in EmitULEB128()
62 void EmitInt8(uint8_t Byte, const Twine &Comment) override { in EmitInt8()
65 void EmitSLEB128(uint64_t DWord, const Twine &Comment) override { in EmitSLEB128()
68 void EmitULEB128(uint64_t DWord, const Twine &Comment, unsigned PadTo) override { in EmitULEB128()
88 void EmitInt8(uint8_t Byte, const Twine &Comment) override { in EmitInt8()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCMachineFunctionInfo.cpp20 return MF.getContext().getOrCreateSymbol(Twine(DL.getPrivateGlobalPrefix()) + in getPICOffsetSymbol()
21 Twine(MF.getFunctionNumber()) + in getPICOffsetSymbol()
27 return MF.getContext().getOrCreateSymbol(Twine(DL.getPrivateGlobalPrefix()) + in getGlobalEPSymbol()
29 Twine(MF.getFunctionNumber())); in getGlobalEPSymbol()
34 return MF.getContext().getOrCreateSymbol(Twine(DL.getPrivateGlobalPrefix()) + in getLocalEPSymbol()
36 Twine(MF.getFunctionNumber())); in getLocalEPSymbol()
41 return MF.getContext().getOrCreateSymbol(Twine(DL.getPrivateGlobalPrefix()) + in getTOCOffsetSymbol()
43 Twine(MF.getFunctionNumber())); in getTOCOffsetSymbol()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DELF.h47 static inline Error createError(const Twine &Err) { in createError()
67 static inline Error defaultWarningHandler(const Twine &Msg) { in defaultWarningHandler()
107 using WarningHandler = llvm::function_ref<Error(const Twine &Msg)>;
196 Twine(getHeader()->e_phentsize)); in program_headers()
201 Twine(getBufSize()) + ": e_phoff = 0x" + in program_headers()
202 Twine::utohexstr(getHeader()->e_phoff) + in program_headers()
203 ", e_phnum = " + Twine(getHeader()->e_phnum) + in program_headers()
204 ", e_phentsize = " + Twine(getHeader()->e_phentsize)); in program_headers()
222 Twine::utohexstr(Phdr.p_offset) + ") or size (0x" + in notes_begin()
223 Twine::utohexstr(Phdr.p_filesz) + ")"); in notes_begin()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/MCParser/
DMCAsmParserExtension.h20 class Twine; variable
70 bool Warning(SMLoc L, const Twine &Msg) { in Warning()
74 bool Error(SMLoc L, const Twine &Msg, SMRange Range = SMRange()) {
78 void Note(SMLoc L, const Twine &Msg) { in Note()
82 bool TokError(const Twine &Msg) { in TokError()
89 const Twine &Msg = "unexpected token") {
101 bool check(bool P, const Twine &Msg) { in check()
105 bool check(bool P, SMLoc Loc, const Twine &Msg) { in check()
109 bool addErrorSuffix(const Twine &Suffix) { in addErrorSuffix()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCContext.h349 MCSymbol *createTempSymbol(const Twine &Name, bool AlwaysAddSuffix,
364 MCSymbol *getOrCreateSymbol(const Twine &Name);
377 MCSymbol *lookupSymbol(const Twine &Name) const;
424 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection()
429 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection()
431 const Twine &Group) { in getELFSection()
435 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection()
437 const Twine &Group, unsigned UniqueID) { in getELFSection()
442 MCSectionELF *getELFSection(const Twine &Section, unsigned Type,
444 const Twine &Group, unsigned UniqueID,
[all …]

12345678910>>...17