Searched refs:StringRef (Results 1 - 25 of 961) sorted by relevance

1234567891011>>

/freebsd-10.2-release/contrib/llvm/tools/clang/include/clang/Index/
H A DUSRGeneration.h14 #include "llvm/ADT/StringRef.h"
21 static inline StringRef getUSRSpacePrefix() {
30 void generateUSRForObjCClass(StringRef Cls, raw_ostream &OS);
33 void generateUSRForObjCCategory(StringRef Cls, StringRef Cat, raw_ostream &OS);
38 void generateUSRForObjCIvar(StringRef Ivar, raw_ostream &OS);
41 void generateUSRForObjCMethod(StringRef Sel, bool IsInstanceMethod,
45 void generateUSRForObjCProperty(StringRef Prop, raw_ostream &OS);
48 void generateUSRForObjCProtocol(StringRef Prot, raw_ostream &OS);
/freebsd-10.2-release/contrib/llvm/lib/Support/
H A DStringExtras.cpp22 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
[all...]
/freebsd-10.2-release/contrib/llvm/include/llvm/Transforms/
H A DInstrumentation.h17 #include "llvm/ADT/StringRef.h"
69 bool CheckLifetime = false, StringRef BlacklistFile = StringRef(),
72 bool CheckInitOrder = true, StringRef BlacklistFile = StringRef(),
77 StringRef BlacklistFile = StringRef());
80 FunctionPass *createThreadSanitizerPass(StringRef BlacklistFile = StringRef());
83 ModulePass *createDataFlowSanitizerPass(StringRef ABIListFil
88 createDataFlowSanitizerPassForJIT(StringRef ABIListFile = StringRef()) argument
[all...]
/freebsd-10.2-release/contrib/llvm/include/llvm/Support/
H A DRegex.h25 class StringRef;
47 Regex(StringRef Regex, unsigned Flags = NoFlags);
66 bool match(StringRef String, SmallVectorImpl<StringRef> *Matches = 0);
78 std::string sub(StringRef Repl, StringRef String, std::string *Error = 0);
82 static bool isLiteralERE(StringRef Str);
H A DPath.h51 StringRef Path; ///< The entire path.
52 StringRef Component; ///< The current component. Not necessarily in Path.
56 friend const_iterator begin(StringRef path);
57 friend const_iterator end(StringRef path);
60 typedef const StringRef value_type;
84 const_iterator begin(StringRef path);
89 const_iterator end(StringRef path);
94 inline reverse_iterator rbegin(StringRef path) {
101 inline reverse_iterator rend(StringRef path) {
197 const StringRef root_nam
[all...]
/freebsd-10.2-release/contrib/llvm/include/llvm/MC/
H A DSubtargetFeature.h27 class StringRef;
41 bool operator<(StringRef S) const {
42 return StringRef(Key) < S;
56 bool operator<(StringRef S) const {
57 return StringRef(Key) < S;
75 explicit SubtargetFeatures(const StringRef Initial = "");
81 void AddFeature(const StringRef String, bool IsEnabled = true);
85 uint64_t ToggleFeature(uint64_t Bits, const StringRef String,
90 uint64_t getFeatureBits(const StringRef CPU,
H A DMCModuleYAML.h20 #include "llvm/ADT/StringRef.h"
31 StringRef mcmodule2yaml(raw_ostream &OS, const MCModule &MCM,
36 StringRef yaml2mcmodule(OwningPtr<MCModule> &MCM, StringRef YamlContent,
/freebsd-10.2-release/contrib/llvm/include/llvm/Transforms/Utils/
H A DSpecialCaseList.h57 class StringRef;
64 static SpecialCaseList *create(const StringRef Path, std::string &Error);
70 static SpecialCaseList *createOrDie(const StringRef Path);
76 bool isIn(const Function &F, const StringRef Category = StringRef()) const;
81 const StringRef Category = StringRef()) const;
89 const StringRef Category = StringRef()) const;
93 bool isIn(const Module &M, const StringRef Categor
[all...]
/freebsd-10.2-release/contrib/llvm/lib/DebugInfo/
H A DDWARFCompileUnit.h19 DWARFCompileUnit(const DWARFDebugAbbrev *DA, StringRef IS, StringRef AS,
20 StringRef RS, StringRef SS, StringRef SOS, StringRef AOS,
H A DDWARFContext.h57 StringRef Data;
142 virtual StringRef getAbbrevSection() = 0;
144 virtual StringRef getARangeSection() = 0;
145 virtual StringRef getDebugFrameSection() = 0;
147 virtual StringRef getStringSection() = 0;
148 virtual StringRef getRangeSection() = 0;
149 virtual StringRef getPubNamesSection() = 0;
150 virtual StringRef getPubTypesSection() = 0;
151 virtual StringRef getGnuPubNamesSection() = 0;
152 virtual StringRef getGnuPubTypesSectio
[all...]
H A DDWARFTypeUnit.h22 DWARFTypeUnit(const DWARFDebugAbbrev *DA, StringRef IS, StringRef AS,
23 StringRef RS, StringRef SS, StringRef SOS, StringRef AOS,
/freebsd-10.2-release/contrib/llvm/include/llvm/ADT/
H A DStringRef.h1 //===--- StringRef.h - Constant String Reference Wrapper --------*- C++ -*-===//
26 class StringRef;
28 /// Helper functions for StringRef::getAsInteger.
29 bool getAsUnsignedInteger(StringRef Str, unsigned Radix,
32 bool getAsSignedInteger(StringRef Str, unsigned Radix, long long &Result);
34 /// StringRef - Represent a constant reference to a string, i.e. a character
39 /// lifetime extends past that of the StringRef. For this reason, it is not in
40 /// general safe to store a StringRef.
41 class StringRef { class in namespace:llvm
55 // Workaround PR5482: nearly all gcc 4.x miscompile StringRef an
73 /*implicit*/ StringRef() : Data(0), Length(0) {} function in class:llvm::StringRef
76 /*implicit*/ StringRef(const char *Str) function in class:llvm::StringRef
83 /*implicit*/ StringRef(const char *data, size_t length) function in class:llvm::StringRef
90 /*implicit*/ StringRef(const std::string &Str) function in class:llvm::StringRef
[all...]
/freebsd-10.2-release/contrib/llvm/lib/Target/AArch64/
H A DAArch64Subtarget.h26 class StringRef;
43 void initializeSubtargetFeatures(StringRef CPU, StringRef FS);
49 AArch64Subtarget(StringRef TT, StringRef CPU, StringRef FS);
57 void ParseSubtargetFeatures(StringRef CPU, StringRef FS);
/freebsd-10.2-release/contrib/llvm/lib/Target/MSP430/MCTargetDesc/
H A DMSP430MCAsmInfo.h20 class StringRef;
25 explicit MSP430MCAsmInfo(StringRef TT);
/freebsd-10.2-release/contrib/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsMCAsmInfo.h20 class StringRef;
25 explicit MipsMCAsmInfo(StringRef TT);
/freebsd-10.2-release/contrib/llvm/lib/Target/NVPTX/MCTargetDesc/
H A DNVPTXMCAsmInfo.h21 class StringRef;
26 explicit NVPTXMCAsmInfo(const StringRef &TT);
/freebsd-10.2-release/contrib/llvm/lib/Target/R600/MCTargetDesc/
H A DAMDGPUMCAsmInfo.h20 class StringRef;
24 explicit AMDGPUMCAsmInfo(StringRef &TT);
/freebsd-10.2-release/contrib/llvm/lib/Target/XCore/MCTargetDesc/
H A DXCoreMCAsmInfo.h20 class StringRef;
26 explicit XCoreMCAsmInfo(StringRef TT);
/freebsd-10.2-release/contrib/llvm/tools/clang/include/clang/Analysis/DomainSpecific/
H A DCocoaConventions.h18 #include "llvm/ADT/StringRef.h"
27 bool isRefType(QualType RetTy, StringRef Prefix,
28 StringRef Name = StringRef());
/freebsd-10.2-release/contrib/llvm/lib/Target/MSP430/
H A DMSP430Subtarget.h24 class StringRef;
38 void ParseSubtargetFeatures(StringRef CPU, StringRef FS);
/freebsd-10.2-release/contrib/llvm/lib/Target/XCore/
H A DXCoreSubtarget.h25 class StringRef;
39 void ParseSubtargetFeatures(StringRef CPU, StringRef FS);
/freebsd-10.2-release/contrib/llvm/tools/clang/include/clang/Tooling/
H A DFileMatchTrie.h20 #include "llvm/ADT/StringRef.h"
29 virtual bool equivalent(StringRef FileA, StringRef FileB) const = 0;
69 void insert(StringRef NewPath);
75 /// are no matches an empty \c StringRef is returned. If there are ambigious
76 /// matches, an empty \c StringRef is returned and a corresponding message
78 StringRef findEquivalent(StringRef FileName,
/freebsd-10.2-release/contrib/llvm/tools/clang/include/clang/ARCMigrate/
H A DFileRemapper.h17 #include "llvm/ADT/StringRef.h"
45 bool initFromDisk(StringRef outputDir, DiagnosticsEngine &Diag,
47 bool initFromFile(StringRef filePath, DiagnosticsEngine &Diag,
49 bool flushToDisk(StringRef outputDir, DiagnosticsEngine &Diag);
50 bool flushToFile(StringRef outputPath, DiagnosticsEngine &Diag);
53 StringRef outputDir = StringRef());
55 void remap(StringRef filePath, llvm::MemoryBuffer *memBuf);
61 void clear(StringRef outputDir = StringRef());
[all...]
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp29 StringRef CheckerContext::getCalleeName(const FunctionDecl *FunDecl) const {
31 return StringRef();
34 return StringRef();
40 StringRef Name) {
48 StringRef BName = FD->getASTContext().BuiltinInfo.GetName(BId);
49 if (BName.find(Name) != StringRef::npos)
77 StringRef FName = II->getName();
81 if (FName.startswith("__inline") && (FName.find(Name) != StringRef::npos))
85 FName.find(Name) != StringRef::npos)
91 StringRef CheckerContex
[all...]
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/Tooling/
H A DFileMatchTrie.cpp27 virtual bool equivalent(StringRef FileA, StringRef FileB) const {
52 void insert(StringRef NewPath, unsigned ConsumedLength = 0) {
67 StringRef Element(llvm::sys::path::filename(
68 StringRef(Path).drop_back(ConsumedLength)));
71 StringRef Element(llvm::sys::path::filename(
72 StringRef(NewPath).drop_back(ConsumedLength)));
97 StringRef findEquivalent(const PathComparator& Comparator,
98 StringRef FileName,
102 if (Comparator.equivalent(StringRef(Pat
[all...]

Completed in 199 milliseconds

1234567891011>>