HomeSort by relevance Sort by last modified time
    Searched refs:Twine (Results 1 - 25 of 219) sorted by null

1 2 3 4 5 6 7 8 9

  /external/llvm/unittests/ADT/
TwineTest.cpp 1 //===- TwineTest.cpp - Twine unit tests -----------------------------------===//
10 #include "llvm/ADT/Twine.h"
18 std::string repr(const Twine &Value) {
26 EXPECT_EQ("", Twine().str());
27 EXPECT_EQ("hi", Twine("hi").str());
28 EXPECT_EQ("hi", Twine(std::string("hi")).str());
29 EXPECT_EQ("hi", Twine(StringRef("hi")).str());
30 EXPECT_EQ("hi", Twine(StringRef(std::string("hi"))).str());
31 EXPECT_EQ("hi", Twine(StringRef("hithere", 2)).str());
35 EXPECT_EQ("123", Twine(123U).str())
    [all...]
  /external/clang/test/CodeGenCXX/
constructor-convert.cpp 4 class Twine {
6 Twine(const char *Str) { }
9 static void error(const Twine &Message) {}
  /external/clang/include/clang/Basic/
MacroBuilder.h 19 #include "llvm/ADT/Twine.h"
30 void defineMacro(const Twine &Name, const Twine &Value = "1") {
36 void undefineMacro(const Twine &Name) {
41 void append(const Twine &Str) {
LLVM.h 30 class Twine;
64 using llvm::Twine;
  /external/llvm/lib/Support/
Twine.cpp 1 //===-- Twine.cpp - Fast Temporary String Concatenation -------------------===//
10 #include "llvm/ADT/Twine.h"
16 std::string Twine::str() const {
26 void Twine::toVector(SmallVectorImpl<char> &Out) const {
31 StringRef Twine::toStringRef(SmallVectorImpl<char> &Out) const {
38 StringRef Twine::toNullTerminatedStringRef(SmallVectorImpl<char> &Out) const {
58 void Twine::printOneChild(raw_ostream &OS, Child Ptr,
61 case Twine::NullKind: break;
62 case Twine::EmptyKind: break;
63 case Twine::TwineKind
    [all...]
ErrorHandling.cpp 17 #include "llvm/ADT/Twine.h"
53 report_fatal_error(Twine(Reason), GenCrashDiag);
57 report_fatal_error(Twine(Reason), GenCrashDiag);
61 report_fatal_error(Twine(Reason), GenCrashDiag);
64 void llvm::report_fatal_error(const Twine &Reason, bool GenCrashDiag) {
FileOutputBuffer.cpp 32 sys::fs::remove(Twine(TempPath), Existed);
73 EC = sys::fs::createUniqueFile(Twine(FilePath) + ".tmp%%%%%%%", FD,
96 error_code EC = sys::fs::resize_file(Twine(TempPath), NewSmallerSize);
102 return sys::fs::rename(Twine(TempPath), Twine(FinalPath));
  /external/llvm/include/llvm/TableGen/
Error.h 22 void PrintWarning(ArrayRef<SMLoc> WarningLoc, const Twine &Msg);
23 void PrintWarning(const char *Loc, const Twine &Msg);
24 void PrintWarning(const Twine &Msg);
26 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg);
27 void PrintError(const char *Loc, const Twine &Msg);
28 void PrintError(const Twine &Msg);
  /external/llvm/include/llvm/ADT/
Twine.h 1 //===-- Twine.h - Fast Temporary String Concatenation -----------*- C++ -*-===//
25 /// Twine - A lightweight data structure for efficiently representing the
28 /// A Twine is a kind of rope, it represents a concatenated string using a
30 /// Twine can be efficiently rendered into a buffer when its result is used,
32 /// results -- particularly in cases when the Twine result is never
37 /// A Twine is not intended for use directly and should not be stored, its
49 /// Given the nature of a Twine, it is not possible for the Twine's
51 /// represented inside the returned value. For this reason a Twine object
53 /// concatenation. We also have nullary Twine objects, which are effectivel
135 const Twine *twine; member in union:llvm::Twine::Child
    [all...]
Triple.h 13 #include "llvm/ADT/Twine.h"
151 explicit Triple(const Twine &Str);
152 Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr);
153 Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr,
154 const Twine &EnvironmentStr);
368 void setTriple(const Twine &Str)
    [all...]
  /external/llvm/include/llvm/Support/
Path.h 20 #include "llvm/ADT/Twine.h"
133 void replace_extension(SmallVectorImpl<char> &path, const Twine &extension);
145 void append(SmallVectorImpl<char> &path, const Twine &a,
146 const Twine &b = "",
147 const Twine &c = "",
148 const Twine &d = "");
174 void native(const Twine &path, SmallVectorImpl<char> &result);
308 bool has_root_name(const Twine &path);
316 bool has_root_directory(const Twine &path);
324 bool has_root_path(const Twine &path)
    [all...]
FileSystem.h 33 #include "llvm/ADT/Twine.h"
279 error_code create_directories(const Twine &path, bool &existed);
283 inline error_code create_directories(const Twine &Path) {
294 error_code create_directory(const Twine &path, bool &existed);
298 inline error_code create_directory(const Twine &Path) {
309 error_code create_hard_link(const Twine &to, const Twine &from);
317 error_code create_symlink(const Twine &to, const Twine &from);
333 error_code remove(const Twine &path, bool &existed)
    [all...]
ErrorHandling.h 23 class Twine;
83 LLVM_ATTRIBUTE_NORETURN void report_fatal_error(const Twine &reason,
FileUtilities.h 46 explicit FileRemover(const Twine& filename, bool deleteIt = true)
62 void setFile(const Twine& filename, bool deleteIt = true) {
  /external/llvm/lib/TableGen/
Error.cpp 16 #include "llvm/ADT/Twine.h"
26 const Twine &Msg) {
41 void PrintWarning(ArrayRef<SMLoc> WarningLoc, const Twine &Msg) {
45 void PrintWarning(const char *Loc, const Twine &Msg) {
49 void PrintWarning(const Twine &Msg) {
53 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) {
57 void PrintError(const char *Loc, const Twine &Msg) {
61 void PrintError(const Twine &Msg) {
66 PrintError(Twine(Msg));
  /frameworks/compile/mclinker/lib/LD/
Diagnostic.cpp 12 #include <llvm/ADT/Twine.h>
107 llvm::report_fatal_error(llvm::Twine("Mismatched {} in the diagnostic: ") +
108 llvm::Twine(getID()));
115 llvm::report_fatal_error(llvm::Twine("In diagnostic: ") +
116 llvm::Twine(getID()) + llvm::Twine(": ") +
117 llvm::Twine(pBegin) +
118 llvm::Twine("\nNo given arugment number:\n"));
128 llvm::report_fatal_error(llvm::Twine("In diagnostic: ") +
129 llvm::Twine(getID())
    [all...]
  /external/llvm/include/llvm/IR/
InstrTypes.h 19 #include "llvm/ADT/Twine.h"
143 const Twine &Name, Instruction *InsertBefore);
145 const Twine &Name, BasicBlock *InsertAtEnd);
162 const Twine &Name = Twine(),
170 const Twine &Name, BasicBlock *InsertAtEnd);
177 const Twine &Name = "") {\
183 const Twine &Name, BasicBlock *BB) {\
189 const Twine &Name, Instruction *I) {\
195 const Twine &Name = "")
    [all...]
LLVMContext.h 26 class Twine;
91 void emitError(unsigned LocCookie, const Twine &ErrorStr);
92 void emitError(const Instruction *I, const Twine &ErrorStr);
93 void emitError(const Twine &ErrorStr);
IRBuilder.h 20 #include "llvm/ADT/Twine.h"
40 void InsertHelper(Instruction *I, const Twine &Name,
182 Value *CreateGlobalString(StringRef Str, const Twine &Name = "");
433 InstTy *Insert(InstTy *I, const Twine &Name = "") const {
440 Constant *Insert(Constant *C, const Twine& = "") const {
513 BasicBlock *UnwindDest, const Twine &Name = "") {
520 const Twine &Name = "") {
527 const Twine &Name = "") {
535 const Twine &Name = "") {
554 const Twine &Name
    [all...]
Instructions.h 65 const Twine &Name = "", Instruction *InsertBefore = 0);
67 const Twine &Name, BasicBlock *InsertAtEnd);
69 AllocaInst(Type *Ty, const Twine &Name, Instruction *InsertBefore = 0);
70 AllocaInst(Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd);
73 const Twine &Name = "", Instruction *InsertBefore = 0);
75 const Twine &Name, BasicBlock *InsertAtEnd);
143 LoadInst(Value *Ptr, const Twine &NameStr, Instruction *InsertBefore);
144 LoadInst(Value *Ptr, const Twine &NameStr, BasicBlock *InsertAtEnd);
145 LoadInst(Value *Ptr, const Twine &NameStr, bool isVolatile = false,
147 LoadInst(Value *Ptr, const Twine &NameStr, bool isVolatile
    [all...]
  /external/llvm/include/llvm/Target/
Mangler.h 26 class Twine;
67 void getNameWithPrefix(SmallVectorImpl<char> &OutName, const Twine &GVName,
  /external/llvm/unittests/Support/
FileOutputBufferTest.cpp 52 ASSERT_NO_ERROR(fs::has_magic(Twine(File1), Twine("AABBCCDDEEFFGGHHIIJJ"),
57 ASSERT_NO_ERROR(fs::file_size(Twine(File1), File1Size));
72 ASSERT_NO_ERROR(fs::exists(Twine(File2), Exists));
90 ASSERT_NO_ERROR(fs::has_magic(Twine(File3), Twine("AABBCCDDEEFFGGHHIIJJ"),
95 ASSERT_NO_ERROR(fs::file_size(Twine(File3), File3Size));
112 ASSERT_NO_ERROR(fs::status(Twine(File4), Status));
Path.cpp 173 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), F1));
174 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), F2));
184 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath2), D));
188 ASSERT_NO_ERROR(fs::remove(Twine(TempPath2)));
192 ASSERT_NO_ERROR(fs::create_hard_link(Twine(TempPath), Twine(TempPath2)));
194 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath2), D2));
222 ASSERT_NO_ERROR(sys::fs::exists(Twine(TempPath), TempFileExists));
233 ASSERT_NO_ERROR(fs::status(Twine(TempPath), A));
234 ASSERT_NO_ERROR(fs::status(Twine(TempPath2), B))
    [all...]
  /external/llvm/include/llvm/MC/MCParser/
MCAsmParserExtension.h 18 class Twine;
59 bool Warning(SMLoc L, const Twine &Msg) {
62 bool Error(SMLoc L, const Twine &Msg) {
65 bool TokError(const Twine &Msg) {
  /external/clang/include/clang/Tooling/
CompilationDatabase.h 35 #include "llvm/ADT/Twine.h"
45 CompileCommand(Twine Directory, ArrayRef<std::string> CommandLine)
168 Twine Directory = ".");
172 FixedCompilationDatabase(Twine Directory, ArrayRef<std::string> CommandLine);

Completed in 2591 milliseconds

1 2 3 4 5 6 7 8 9