/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | TwineTest.cpp | 20 std::string repr(const Twine &Value) { in repr() 28 EXPECT_EQ("", Twine().str()); in TEST() 29 EXPECT_EQ("hi", Twine("hi").str()); in TEST() 30 EXPECT_EQ("hi", Twine(std::string("hi")).str()); in TEST() 31 EXPECT_EQ("hi", Twine(StringRef("hi")).str()); in TEST() 32 EXPECT_EQ("hi", Twine(StringRef(std::string("hi"))).str()); in TEST() 33 EXPECT_EQ("hi", Twine(StringRef("hithere", 2)).str()); in TEST() 34 EXPECT_EQ("hi", Twine(SmallString<4>("hi")).str()); in TEST() 35 EXPECT_EQ("hi", Twine(formatv("{0}", "hi")).str()); in TEST() 39 EXPECT_EQ("123", Twine(123U).str()); in TEST() [all …]
|
/external/llvm/unittests/ADT/ |
D | TwineTest.cpp | 18 std::string repr(const Twine &Value) { in repr() 26 EXPECT_EQ("", Twine().str()); in TEST() 27 EXPECT_EQ("hi", Twine("hi").str()); in TEST() 28 EXPECT_EQ("hi", Twine(std::string("hi")).str()); in TEST() 29 EXPECT_EQ("hi", Twine(StringRef("hi")).str()); in TEST() 30 EXPECT_EQ("hi", Twine(StringRef(std::string("hi"))).str()); in TEST() 31 EXPECT_EQ("hi", Twine(StringRef("hithere", 2)).str()); in TEST() 32 EXPECT_EQ("hi", Twine(SmallString<4>("hi")).str()); in TEST() 36 EXPECT_EQ("123", Twine(123U).str()); in TEST() 37 EXPECT_EQ("123", Twine(123).str()); in TEST() [all …]
|
/external/swiftshader/third_party/LLVM/unittests/ADT/ |
D | TwineTest.cpp | 18 std::string repr(const Twine &Value) { in repr() 26 EXPECT_EQ("", Twine().str()); in TEST() 27 EXPECT_EQ("hi", Twine("hi").str()); in TEST() 28 EXPECT_EQ("hi", Twine(std::string("hi")).str()); in TEST() 29 EXPECT_EQ("hi", Twine(StringRef("hi")).str()); in TEST() 30 EXPECT_EQ("hi", Twine(StringRef(std::string("hi"))).str()); in TEST() 31 EXPECT_EQ("hi", Twine(StringRef("hithere", 2)).str()); in TEST() 35 EXPECT_EQ("123", Twine(123U).str()); in TEST() 36 EXPECT_EQ("123", Twine(123).str()); in TEST() 37 EXPECT_EQ("-123", Twine(-123).str()); in TEST() [all …]
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | Twine.cpp | 17 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 …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | Twine.cpp | 18 std::string Twine::str() const { in str() 33 void Twine::toVector(SmallVectorImpl<char> &Out) const { in toVector() 38 StringRef Twine::toNullTerminatedStringRef(SmallVectorImpl<char> &Out) const { in toNullTerminatedStringRef() 58 void Twine::printOneChild(raw_ostream &OS, Child Ptr, in printOneChild() 61 case Twine::NullKind: break; in printOneChild() 62 case Twine::EmptyKind: break; in printOneChild() 63 case Twine::TwineKind: in printOneChild() 66 case Twine::CStringKind: in printOneChild() 69 case Twine::StdStringKind: in printOneChild() 72 case Twine::StringRefKind: in printOneChild() [all …]
|
/external/llvm/lib/Support/ |
D | Twine.cpp | 16 std::string Twine::str() const { in str() 26 void Twine::toVector(SmallVectorImpl<char> &Out) const { in toVector() 31 StringRef Twine::toNullTerminatedStringRef(SmallVectorImpl<char> &Out) const { in toNullTerminatedStringRef() 51 void Twine::printOneChild(raw_ostream &OS, Child Ptr, in printOneChild() 54 case Twine::NullKind: break; in printOneChild() 55 case Twine::EmptyKind: break; in printOneChild() 56 case Twine::TwineKind: in printOneChild() 59 case Twine::CStringKind: in printOneChild() 62 case Twine::StdStringKind: in printOneChild() 65 case Twine::StringRefKind: in printOneChild() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | Twine.cpp | 16 std::string Twine::str() const { in str() 26 void Twine::toVector(SmallVectorImpl<char> &Out) const { in toVector() 31 StringRef Twine::toStringRef(SmallVectorImpl<char> &Out) const { in toStringRef() 38 StringRef Twine::toNullTerminatedStringRef(SmallVectorImpl<char> &Out) const { in toNullTerminatedStringRef() 58 void Twine::printOneChild(raw_ostream &OS, Child Ptr, in printOneChild() 61 case Twine::NullKind: break; in printOneChild() 62 case Twine::EmptyKind: break; in printOneChild() 63 case Twine::TwineKind: in printOneChild() 66 case Twine::CStringKind: in printOneChild() 69 case Twine::StdStringKind: in printOneChild() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | Twine.h | 81 class Twine { 139 const Twine *twine; 170 explicit Twine(NodeKind Kind) : LHSKind(Kind) { in Twine() function 175 explicit Twine(const Twine &LHS, const Twine &RHS) in Twine() function 183 explicit Twine(Child LHS, NodeKind LHSKind, Child RHS, NodeKind RHSKind) in Twine() function 257 /*implicit*/ Twine() { in Twine() function 261 Twine(const Twine &) = default; 268 /*implicit*/ Twine(const char *Str) { in Twine() function 279 /*implicit*/ Twine(const std::string &Str) : LHSKind(StdStringKind) { in Twine() function 285 /*implicit*/ Twine(const StringRef &Str) : LHSKind(StringRefKind) { in Twine() function [all …]
|
/external/llvm/include/llvm/ADT/ |
D | Twine.h | 79 class Twine { 134 const Twine *twine; 163 explicit Twine(NodeKind Kind) in Twine() function 169 explicit Twine(const Twine &LHS, const Twine &RHS) in Twine() function 177 explicit Twine(Child LHS, NodeKind LHSKind, Child RHS, NodeKind RHSKind) in Twine() function 184 Twine &operator=(const Twine &Other) = delete; 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 [all …]
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | Twine.h | 81 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 …]
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | Twine.h | 80 class Twine { 134 const Twine *twine; 164 explicit Twine(NodeKind Kind) in Twine() function 170 explicit Twine(const Twine &_LHS, const Twine &_RHS) in Twine() function 178 explicit Twine(Child _LHS, NodeKind _LHSKind, in Twine() function 253 /*implicit*/ Twine() : LHSKind(EmptyKind), RHSKind(EmptyKind) { in Twine() function 262 /*implicit*/ Twine(const char *Str) in Twine() function 274 /*implicit*/ Twine(const std::string &Str) in Twine() function 281 /*implicit*/ Twine(const StringRef &Str) in Twine() function 288 explicit Twine(char Val) in Twine() function [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | FileSystem.h | 130 error_code copy_file(const Twine &from, const Twine &to, 139 error_code create_directories(const Twine &path, bool &existed); 147 error_code create_directory(const Twine &path, bool &existed); 155 error_code create_hard_link(const Twine &to, const Twine &from); 163 error_code create_symlink(const Twine &to, const Twine &from); 179 error_code remove(const Twine &path, bool &existed); 188 error_code remove_all(const Twine &path, uint32_t &num_removed); 194 error_code rename(const Twine &from, const Twine &to); 202 error_code resize_file(const Twine &path, uint64_t size); 222 error_code exists(const Twine &path, bool &result); [all …]
|
D | IRBuilder.h | 35 void InsertHelper(Instruction *I, const Twine &Name, in InsertHelper() 178 Value *CreateGlobalString(StringRef Str, const Twine &Name = ""); 383 InstTy *Insert(InstTy *I, const Twine &Name = "") const { 391 Constant *Insert(Constant *C, const Twine& = "") const { 451 BasicBlock *UnwindDest, const Twine &Name = "") { 458 const Twine &Name = "") { 465 const Twine &Name = "") { 473 const Twine &Name = "") { 492 const Twine &Name, in CreateInsertNUWNSWBinOp() 500 Value *CreateAdd(Value *LHS, Value *RHS, const Twine &Name = "", [all …]
|
D | PathV2.h | 127 void replace_extension(SmallVectorImpl<char> &path, const Twine &extension); 137 void append(SmallVectorImpl<char> &path, const Twine &a, 138 const Twine &b = "", 139 const Twine &c = "", 140 const Twine &d = ""); 164 void native(const Twine &path, SmallVectorImpl<char> &result); 284 bool has_root_name(const Twine &path); 292 bool has_root_directory(const Twine &path); 300 bool has_root_path(const Twine &path); 308 bool has_relative_path(const Twine &path); [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/ |
D | MachOObjectFile.cpp | 61 static Error malformedError(const Twine &Msg) { in malformedError() 188 return malformedError("load command " + Twine(LoadCommandIndex) + in getLoadCommandInfo() 191 return malformedError("load command " + Twine(LoadCommandIndex) + in getLoadCommandInfo() 215 return malformedError("load command " + Twine(LoadCommandIndex + 1) + in getNextLoadCommandInfo() 252 return malformedError(Twine(Name) + " at offset " + Twine(Offset) + in checkOverlappingElement() 253 " with a size of " + Twine(Size) + ", overlaps " + in checkOverlappingElement() 254 E.Name + " at offset " + Twine(E.Offset) + " with " in checkOverlappingElement() 255 "a size of " + Twine(E.Size)); in checkOverlappingElement() 281 return malformedError("load command " + Twine(LoadCommandIndex) + in parseSegmentLoadCommand() 289 return malformedError("load command " + Twine(LoadCommandIndex) + in parseSegmentLoadCommand() [all …]
|
D | MachOUniversal.cpp | 26 malformedError(Twine Msg) { in malformedError() 144 Twine(Magic == MachO::FAT_MAGIC ? "" : "_64") + in MachOUniversalBinary() 154 Twine(A.getCPUType()) + ") cpusubtype (" + in MachOUniversalBinary() 155 Twine(A.getCPUSubType() & ~MachO::CPU_SUBTYPE_MASK) + in MachOUniversalBinary() 161 Err = malformedError("align (2^" + Twine(A.getAlign()) + ") too large " in MachOUniversalBinary() 162 "for cputype (" + Twine(A.getCPUType()) + ") cpusubtype (" + in MachOUniversalBinary() 163 Twine(A.getCPUSubType() & ~MachO::CPU_SUBTYPE_MASK) + in MachOUniversalBinary() 164 ") (maximum 2^" + Twine(MAXSECTALIGN) + ")"); in MachOUniversalBinary() 168 Err = malformedError("offset: " + Twine(A.getOffset()) + in MachOUniversalBinary() 169 " for cputype (" + Twine(A.getCPUType()) + ") cpusubtype (" + in MachOUniversalBinary() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | FileSystem.h | 286 std::error_code make_absolute(const Twine ¤t_directory, 308 std::error_code create_directories(const Twine &path, 318 std::error_code create_directory(const Twine &path, bool IgnoreExisting = true, 332 std::error_code create_link(const Twine &to, const Twine &from); 340 std::error_code create_hard_link(const Twine &to, const Twine &from); 349 std::error_code real_path(const Twine &path, SmallVectorImpl<char> &output, 364 std::error_code set_current_path(const Twine &path); 372 std::error_code remove(const Twine &path, bool IgnoreNonExisting = true); 379 std::error_code remove_directories(const Twine &path, bool IgnoreErrors = true); 389 std::error_code rename(const Twine &from, const Twine &to); [all …]
|
D | Path.h | 147 void replace_extension(SmallVectorImpl<char> &path, const Twine &extension, 177 void append(SmallVectorImpl<char> &path, const Twine &a, 178 const Twine &b = "", 179 const Twine &c = "", 180 const Twine &d = ""); 182 void append(SmallVectorImpl<char> &path, Style style, const Twine &a, 183 const Twine &b = "", const Twine &c = "", const Twine &d = ""); 209 void native(const Twine &path, SmallVectorImpl<char> &result, 377 bool user_cache_directory(SmallVectorImpl<char> &Result, const Twine &Path1, 378 const Twine &Path2 = "", const Twine &Path3 = ""); [all …]
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Path.h | 143 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 …]
|
D | FileSystem.h | 297 std::error_code make_absolute(const Twine ¤t_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 …]
|
/external/llvm/include/llvm/Support/ |
D | Path.h | 143 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 …]
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | InstrTypes.h | 145 const Twine &Name, Instruction *InsertBefore); 147 const Twine &Name, BasicBlock *InsertAtEnd); 164 const Twine &Name = Twine(), 172 const Twine &Name, BasicBlock *InsertAtEnd); 179 const Twine &Name = "") {\ 185 const Twine &Name, BasicBlock *BB) {\ 191 const Twine &Name, Instruction *I) {\ 197 const Twine &Name = "") { 203 const Twine &Name, BasicBlock *BB) { 209 const Twine &Name, Instruction *I) { [all …]
|
/external/llvm/include/llvm/IR/ |
D | IRBuilder.h | 63 void InsertHelper(Instruction *I, const Twine &Name, in InsertHelper() 261 GlobalVariable *CreateGlobalString(StringRef Str, const Twine &Name = "", 451 Value *PassThru = nullptr, const Twine &Name = ""); 461 const Twine& Name = ""); 478 const Twine &Name = ""); 488 const Twine &Name = ""); 497 const Twine &Name = ""); 506 ArrayRef<Value *> GCArgs, const Twine &Name = ""); 515 const Twine &Name = ""); 525 ArrayRef<Value *> GCArgs, const Twine &Name = ""); [all …]
|
D | DiagnosticInfo.h | 120 const Twine &MsgStr; 128 DiagnosticInfoInlineAsm(const Twine &MsgStr, 137 DiagnosticInfoInlineAsm(unsigned LocCookie, const Twine &MsgStr, 147 DiagnosticInfoInlineAsm(const Instruction &I, const Twine &MsgStr, 151 const Twine &getMsgStr() const { return MsgStr; } in getMsgStr() 279 const Twine &Msg, 283 DiagnosticInfoSampleProfile(StringRef FileName, const Twine &Msg, 287 DiagnosticInfoSampleProfile(const Twine &Msg, 300 const Twine &getMsg() const { return Msg; } in getMsg() 311 const Twine &Msg; [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | IRBuilder.h | 64 void InsertHelper(Instruction *I, const Twine &Name, in InsertHelper() 81 void InsertHelper(Instruction *I, const Twine &Name, in InsertHelper() 278 GlobalVariable *CreateGlobalString(StringRef Str, const Twine &Name = "", 588 Value *PassThru = nullptr, const Twine &Name = ""); 598 const Twine& Name = ""); 615 const Twine &Name = ""); 625 const Twine &Name = ""); 634 const Twine &Name = ""); 643 ArrayRef<Value *> GCArgs, const Twine &Name = ""); 652 const Twine &Name = ""); [all …]
|