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

1 2 3 4 5 6 7 8 91011>>

  /external/llvm/test/FrontendC++/
m64-ptr.cpp 8 class StringRef {
13 void foo(StringRef X);
14 void bar(StringRef &A) {
  /external/llvm/lib/Target/ARM/MCTargetDesc/
ARMMCTargetDesc.h 22 class StringRef;
27 std::string ParseARMTriple(StringRef TT);
32 MCSubtargetInfo *createARMMCSubtargetInfo(StringRef TT, StringRef CPU,
33 StringRef FS);
  /external/llvm/lib/Target/PTX/MCTargetDesc/
PTXMCAsmInfo.h 21 class StringRef;
24 explicit PTXMCAsmInfo(const Target &T, const StringRef &TT);
  /external/llvm/unittests/ADT/
StringRefTest.cpp 1 //===- llvm/unittest/ADT/StringRefTest.cpp - StringRef unit tests ---------===//
11 #include "llvm/ADT/StringRef.h"
18 std::ostream &operator<<(std::ostream &OS, const StringRef &S) {
24 const std::pair<StringRef, StringRef> &P) {
33 EXPECT_EQ("", StringRef());
34 EXPECT_EQ("hello", StringRef("hello"));
35 EXPECT_EQ("hello", StringRef("hello world", 5));
36 EXPECT_EQ("hello", StringRef(std::string("hello")));
40 StringRef S("hello")
    [all...]
  /external/llvm/lib/Support/
StringExtras.cpp 22 StringRef::size_type llvm::StrInStrNoCase(StringRef s1, StringRef s2) {
25 return StringRef::npos;
29 return StringRef::npos;
38 std::pair<StringRef, StringRef> llvm::getToken(StringRef Source,
39 StringRef Delimiters) {
41 StringRef::size_type Start = Source.find_first_not_of(Delimiters)
    [all...]
  /external/clang/lib/CodeGen/
CGException.h 18 #include "llvm/ADT/StringRef.h"
27 llvm::StringRef PersonalityFn;
32 llvm::StringRef CatchallRethrowFn;
34 EHPersonality(llvm::StringRef PersonalityFn,
35 llvm::StringRef CatchallRethrowFn = llvm::StringRef())
49 llvm::StringRef getPersonalityFnName() const { return PersonalityFn; }
50 llvm::StringRef getCatchallRethrowFnName() const { return CatchallRethrowFn; }
  /external/llvm/include/llvm/Support/
PathV2.h 50 StringRef Path; //< The entire path.
51 StringRef Component; //< The current component. Not necessarily in Path.
55 friend const_iterator begin(StringRef path);
56 friend const_iterator end(StringRef path);
59 typedef const StringRef value_type;
83 const_iterator begin(StringRef path);
88 const_iterator end(StringRef path);
93 inline reverse_iterator rbegin(StringRef path) {
100 inline reverse_iterator rend(StringRef path) {
178 const StringRef root_name(StringRef path)
    [all...]
Regex.h 22 class StringRef;
42 Regex(StringRef Regex, unsigned Flags = NoFlags);
61 bool match(StringRef String, SmallVectorImpl<StringRef> *Matches = 0);
73 std::string sub(StringRef Repl, StringRef String, std::string *Error = 0);
MemoryBuffer.h 17 #include "llvm/ADT/StringRef.h"
52 StringRef getBuffer() const {
53 return StringRef(BufferStart, getBufferSize());
66 static error_code getFile(StringRef Filename, OwningPtr<MemoryBuffer> &result,
85 static MemoryBuffer *getMemBuffer(StringRef InputData,
86 StringRef BufferName = "",
92 static MemoryBuffer *getMemBufferCopy(StringRef InputData,
93 StringRef BufferName = "");
99 static MemoryBuffer *getNewMemBuffer(size_t Size, StringRef BufferName = "");
106 StringRef BufferName = "")
    [all...]
  /external/llvm/include/llvm/MC/
MCSubtargetInfo.h 23 class StringRef;
42 void InitMCSubtargetInfo(StringRef TT, StringRef CPU, StringRef FS,
50 StringRef getTargetTriple() const {
62 uint64_t ReInitMCSubtargetInfo(StringRef CPU, StringRef FS);
70 uint64_t ToggleFeature(StringRef FS);
74 InstrItineraryData getInstrItineraryForCPU(StringRef CPU) const;
SubtargetFeature.h 27 class StringRef;
77 explicit SubtargetFeatures(const StringRef Initial = "");
83 void AddFeature(const StringRef String, bool IsEnabled = true);
87 uint64_t ToggleFeature(uint64_t Bits, const StringRef String,
92 uint64_t getFeatureBits(const StringRef CPU,
99 void *getItinerary(const StringRef CPU,
  /external/llvm/lib/Target/SystemZ/MCTargetDesc/
SystemZMCAsmInfo.h 21 class StringRef;
24 explicit SystemZMCAsmInfo(const Target &T, StringRef TT);
  /frameworks/compile/slang/
slang_utils.h 23 class StringRef;
33 static bool CreateDirectoryWithParents(llvm::StringRef Dir,
  /external/llvm/include/llvm/ADT/
StringRef.h 1 //===--- StringRef.h - Constant String Reference Wrapper --------*- C++ -*-===//
23 /// StringRef - Represent a constant reference to a string, i.e. a character
28 /// lifetime extends past that of the StringRef. For this reason, it is not in
29 /// general safe to store a StringRef.
30 class StringRef {
44 // Workaround PR5482: nearly all gcc 4.x miscompile StringRef and std::min()
62 /*implicit*/ StringRef() : Data(0), Length(0) {}
65 /*implicit*/ StringRef(const char *Str)
67 assert(Str && "StringRef cannot be built from a NULL argument");
72 /*implicit*/ StringRef(const char *data, size_t length
    [all...]
Triple.h 13 #include "llvm/ADT/StringRef.h"
22 class StringRef;
126 static ArchType ParseArch(StringRef ArchName);
127 static VendorType ParseVendor(StringRef VendorName);
128 static OSType ParseOS(StringRef OSName);
129 static EnvironmentType ParseEnvironment(StringRef EnvironmentName);
137 explicit Triple(StringRef Str) : Data(Str), Arch(InvalidArch) {}
138 explicit Triple(StringRef ArchStr, StringRef VendorStr, StringRef OSStr
    [all...]
SmallString.h 18 #include "llvm/ADT/StringRef.h"
30 // Initialize from a StringRef.
31 SmallString(StringRef S) : SmallVector<char, InternalLen>(S.begin(), S.end()) {}
42 StringRef str() const { return StringRef(this->begin(), this->size()); }
51 // Implicit conversion to StringRef.
52 operator StringRef() const { return str(); }
55 const SmallString &operator=(StringRef RHS) {
60 SmallString &operator+=(StringRef RHS) {
  /external/llvm/lib/Target/Blackfin/MCTargetDesc/
BlackfinMCAsmInfo.cpp 18 BlackfinMCAsmInfo::BlackfinMCAsmInfo(const Target &T, StringRef TT) {
  /external/llvm/lib/Target/MSP430/
MSP430Subtarget.h 25 class StringRef;
38 void ParseSubtargetFeatures(StringRef CPU, StringRef FS);
  /external/llvm/lib/Target/XCore/
XCoreSubtarget.h 25 class StringRef;
38 void ParseSubtargetFeatures(StringRef CPU, StringRef FS);
  /external/clang/include/clang/ARCMigrate/
ARCMT.h 40 llvm::StringRef Filename, InputKind Kind,
43 llvm::StringRef plistOut = llvm::StringRef());
50 llvm::StringRef Filename, InputKind Kind,
65 llvm::StringRef Filename, InputKind Kind,
67 llvm::StringRef outputDir,
69 llvm::StringRef plistOut);
76 llvm::StringRef outputDir,
90 llvm::StringRef outputDir = llvm::StringRef());
    [all...]
FileRemapper.h 16 #include "llvm/ADT/StringRef.h"
44 bool initFromDisk(llvm::StringRef outputDir, Diagnostic &Diag,
46 bool flushToDisk(llvm::StringRef outputDir, Diagnostic &Diag);
49 llvm::StringRef outputDir = llvm::StringRef());
51 void remap(llvm::StringRef filePath, llvm::MemoryBuffer *memBuf);
52 void remap(llvm::StringRef filePath, llvm::StringRef newPath);
58 void clear(llvm::StringRef outputDir = llvm::StringRef());
    [all...]
  /external/llvm/include/llvm/
LLVMContext.h 21 class StringRef;
48 unsigned getMDKindID(StringRef Name) const;
52 void getMDKindNames(SmallVectorImpl<StringRef> &Result) const;
82 void emitError(unsigned LocCookie, StringRef ErrorStr);
83 void emitError(const Instruction *I, StringRef ErrorStr);
84 void emitError(StringRef ErrorStr);
  /external/llvm/lib/Target/X86/MCTargetDesc/
X86MCTargetDesc.h 23 class StringRef;
44 std::string ParseX86Triple(StringRef TT);
53 unsigned getDwarfRegFlavour(StringRef TT, bool isEH);
62 MCSubtargetInfo *createX86MCSubtargetInfo(StringRef TT, StringRef CPU,
63 StringRef FS);
  /external/clang/include/clang/Frontend/
FrontendActions.h 27 llvm::StringRef InFile);
42 llvm::StringRef InFile);
48 llvm::StringRef InFile);
54 llvm::StringRef InFile);
60 llvm::StringRef InFile);
66 llvm::StringRef InFile);
72 llvm::StringRef InFile);
84 llvm::StringRef InFile,
94 llvm::StringRef InFile);
117 llvm::StringRef InFile)
    [all...]
  /external/llvm/lib/Target/Blackfin/
BlackfinSubtarget.h 24 class StringRef;
44 void ParseSubtargetFeatures(StringRef CPU, StringRef FS);

Completed in 1213 milliseconds

1 2 3 4 5 6 7 8 91011>>