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

1 2 3 4 5 6 7 8 91011>>

  /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());
32 EXPECT_EQ("hi", Twine(SmallString<4>("hi")).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/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);
30 LLVM_ATTRIBUTE_NORETURN void PrintFatalError(const Twine &Msg);
32 const Twine &Msg);
  /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) {
VirtualFileSystem.h 95 getBuffer(const Twine &Name, int64_t FileSize = -1,
162 recursive_directory_iterator(FileSystem &FS, const Twine &Path,
187 virtual llvm::ErrorOr<Status> status(const Twine &Path) = 0;
190 openFileForRead(const Twine &Path) = 0;
195 getBufferForFile(const Twine &Name, int64_t FileSize = -1,
200 virtual directory_iterator dir_begin(const Twine &Dir,
205 virtual std::error_code setCurrentWorkingDirectory(const Twine &Path) = 0;
210 bool exists(const Twine &Path);
251 llvm::ErrorOr<Status> status(const Twine &Path) override;
253 openFileForRead(const Twine &Path) override
    [all...]
LLVM.h 30 class Twine;
65 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::toNullTerminatedStringRef(SmallVectorImpl<char> &Out) const {
51 void Twine::printOneChild(raw_ostream &OS, Child Ptr,
54 case Twine::NullKind: break;
55 case Twine::EmptyKind: break;
56 case Twine::TwineKind:
57 Ptr.twine->print(OS)
    [all...]
  /external/llvm/lib/Linker/
LinkDiagnosticInfo.h 17 const Twine &Msg;
20 LinkDiagnosticInfo(DiagnosticSeverity Severity, const Twine &Msg);
  /external/llvm/lib/Target/PowerPC/
PPCMachineFunctionInfo.cpp 22 return MF.getContext().getOrCreateSymbol(Twine(DL.getPrivateGlobalPrefix()) +
23 Twine(MF.getFunctionNumber()) +
  /external/llvm/include/llvm/Support/
Path.h 20 #include "llvm/ADT/Twine.h"
141 void replace_extension(SmallVectorImpl<char> &path, const Twine &extension);
153 void append(SmallVectorImpl<char> &path, const Twine &a,
154 const Twine &b = "",
155 const Twine &c = "",
156 const Twine &d = "");
182 void native(const Twine &path, SmallVectorImpl<char> &result);
341 bool user_cache_directory(SmallVectorImpl<char> &Result, const Twine &Path1,
342 const Twine &Path2 = "", const Twine &Path3 = "")
    [all...]
FileUtilities.h 46 explicit FileRemover(const Twine& filename, bool deleteIt = true)
61 void setFile(const Twine& filename, bool deleteIt = true) {
MemoryBuffer.h 17 #include "llvm/ADT/Twine.h"
72 getFile(const Twine &Filename, int64_t FileSize = -1,
79 getOpenFileSlice(int FD, const Twine &Filename, uint64_t MapSize,
89 getOpenFile(int FD, const Twine &Filename, uint64_t FileSize,
104 getMemBufferCopy(StringRef InputData, const Twine &BufferName = "");
116 getNewUninitMemBuffer(size_t Size, const Twine &BufferName = "");
124 getFileOrSTDIN(const Twine &Filename, int64_t FileSize = -1,
129 getFileSlice(const Twine &Filename, uint64_t MapSize, uint64_t Offset);
FileSystem.h 32 #include "llvm/ADT/Twine.h"
280 std::error_code make_absolute(const Twine &current_directory,
302 std::error_code create_directories(const Twine &path,
312 std::error_code create_directory(const Twine &path, bool IgnoreExisting = true,
326 std::error_code create_link(const Twine &to, const Twine &from);
341 std::error_code remove(const Twine &path, bool IgnoreNonExisting = true);
347 std::error_code rename(const Twine &from, const Twine &to);
353 std::error_code copy_file(const Twine &From, const Twine &To)
    [all...]
  /external/llvm/lib/Target/AMDGPU/
AMDGPUDiagnosticInfoUnsupported.h 21 const Twine &Description;
33 DiagnosticInfoUnsupported(const Function &Fn, const Twine &Desc,
37 const Twine &getDescription() const { return Description; }
AMDGPUDiagnosticInfoUnsupported.cpp 16 const Twine &Desc,
  /external/llvm/lib/TableGen/
Error.cpp 16 #include "llvm/ADT/Twine.h"
27 const Twine &Msg) {
42 void PrintWarning(ArrayRef<SMLoc> WarningLoc, const Twine &Msg) {
46 void PrintWarning(const char *Loc, const Twine &Msg) {
50 void PrintWarning(const Twine &Msg) {
54 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) {
58 void PrintError(const char *Loc, const Twine &Msg) {
62 void PrintError(const Twine &Msg) {
66 void PrintFatalError(const Twine &Msg) {
73 void PrintFatalError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg)
    [all...]
  /external/llvm/include/llvm/ADT/
Twine.h 1 //===-- Twine.h - Fast Temporary String Concatenation -----------*- C++ -*-===//
23 /// Twine - A lightweight data structure for efficiently representing the
26 /// A Twine is a kind of rope, it represents a concatenated string using a
28 /// Twine can be efficiently rendered into a buffer when its result is used,
30 /// results -- particularly in cases when the Twine result is never
35 /// A Twine is not intended for use directly and should not be stored, its
47 /// Given the nature of a Twine, it is not possible for the Twine's
49 /// represented inside the returned value. For this reason a Twine object
51 /// concatenation. We also have nullary Twine objects, which are effectivel
136 const Twine *twine; member in union:llvm::Twine::Child
    [all...]
  /frameworks/compile/mclinker/lib/LD/
Diagnostic.cpp 13 #include <llvm/ADT/Twine.h>
107 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"));
129 llvm::Twine("In diagnostic: ") + llvm::Twine(getID())
    [all...]
  /external/llvm/include/llvm/IR/
Mangler.h 25 class Twine;
48 static void getNameWithPrefix(raw_ostream &OS, const Twine &GVName,
51 const Twine &GVName, const DataLayout &DL);
DiagnosticInfo.h 31 class Twine;
117 const Twine &MsgStr;
125 DiagnosticInfoInlineAsm(const Twine &MsgStr,
134 DiagnosticInfoInlineAsm(unsigned LocCookie, const Twine &MsgStr,
144 DiagnosticInfoInlineAsm(const Instruction &I, const Twine &MsgStr,
148 const Twine &getMsgStr() const { return MsgStr; }
218 const Twine &Msg,
222 DiagnosticInfoSampleProfile(StringRef FileName, const Twine &Msg,
226 DiagnosticInfoSampleProfile(const Twine &Msg,
239 const Twine &getMsg() const { return Msg;
    [all...]
GlobalAlias.h 18 #include "llvm/ADT/Twine.h"
36 const Twine &Name, Constant *Aliasee, Module *Parent);
47 LinkageTypes Linkage, const Twine &Name,
52 LinkageTypes Linkage, const Twine &Name,
57 LinkageTypes Linkage, const Twine &Name,
61 static GlobalAlias *create(LinkageTypes Linkage, const Twine &Name,
65 static GlobalAlias *create(const Twine &Name, GlobalValue *Aliasee);
IRBuilder.h 20 #include "llvm/ADT/Twine.h"
44 void InsertHelper(Instruction *I, const Twine &Name,
239 GlobalVariable *CreateGlobalString(StringRef Str, const Twine &Name = "",
429 Value *PassThru = nullptr, const Twine &Name = "");
446 const Twine &Name = "");
456 const Twine &Name = "");
465 const Twine &Name = "");
474 ArrayRef<Value *> GCArgs, const Twine &Name = "");
483 const Twine &Name = "");
493 ArrayRef<Value *> GCArgs, const Twine &Name = "")
    [all...]
  /external/llvm/lib/CodeGen/AsmPrinter/
ByteStreamer.h 34 virtual void EmitInt8(uint8_t Byte, const Twine &Comment = "") = 0;
35 virtual void EmitSLEB128(uint64_t DWord, const Twine &Comment = "") = 0;
36 virtual void EmitULEB128(uint64_t DWord, const Twine &Comment = "") = 0;
45 void EmitInt8(uint8_t Byte, const Twine &Comment) override {
49 void EmitSLEB128(uint64_t DWord, const Twine &Comment) override {
53 void EmitULEB128(uint64_t DWord, const Twine &Comment) override {
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) override {
90 void EmitInt8(uint8_t Byte, const Twine &Comment) override
    [all...]
  /external/llvm/tools/dsymutil/
dsymutil.h 57 void warn(const Twine &Warning, const Twine &Context);
58 bool error(const Twine &Error, const Twine &Context);
  /external/llvm/include/llvm/MC/MCParser/
MCAsmParserExtension.h 18 class Twine;
68 bool Warning(SMLoc L, const Twine &Msg) {
71 bool Error(SMLoc L, const Twine &Msg) {
74 void Note(SMLoc L, const Twine &Msg) {
77 bool TokError(const Twine &Msg) {

Completed in 544 milliseconds

1 2 3 4 5 6 7 8 91011>>