Home
last modified time | relevance | path

Searched refs:StringRef (Results 1 – 25 of 79) sorted by relevance

1234

/frameworks/compile/mclinker/lib/ADT/
DStringEntry.cpp16 StringEntry<llvm::StringRef>::StringEntry() in StringEntry()
20 StringEntry<llvm::StringRef>::StringEntry(const StringEntry::key_type& pKey) in StringEntry()
24 StringEntry<llvm::StringRef>::StringEntry(const StringEntry<llvm::StringRef>& pCopy) in StringEntry()
29 StringEntry<llvm::StringRef>::~StringEntry() in ~StringEntry()
35 void StringEntry<llvm::StringRef>::setValue(llvm::StringRef& pVal) in setValue()
39 m_Value = llvm::StringRef(data, pVal.size()); in setValue()
42 void StringEntry<llvm::StringRef>::setValue(const char* pVal) in setValue()
47 m_Value = llvm::StringRef(data, length); in setValue()
/frameworks/compile/mclinker/include/mcld/ADT/
DStringHash.h42 struct StringHash : public std::unary_function<const llvm::StringRef&, uint32_t>
44 uint32_t operator()(const llvm::StringRef& pKey) const in operator()
54 struct StringHash<RS> : public std::unary_function<const llvm::StringRef&, uint32_t>
56 uint32_t operator()(const llvm::StringRef& pKey) const
74 struct StringHash<JS> : public std::unary_function<const llvm::StringRef&, uint32_t>
76 uint32_t operator()(const llvm::StringRef& pKey) const
91 struct StringHash<PJW> : public std::unary_function<const llvm::StringRef&, uint32_t>
93 uint32_t operator()(const llvm::StringRef& pKey) const
117 struct StringHash<ELF> : public std::unary_function<const llvm::StringRef&, uint32_t>
119 uint32_t operator()(const llvm::StringRef& pKey) const
[all …]
DStringEntry.h32 typedef llvm::StringRef key_type;
57 bool compare(const llvm::StringRef& pX) in compare()
60 bool compare(const llvm::StringRef& pX) const in compare()
79 class StringEntry<llvm::StringRef>
82 typedef llvm::StringRef key_type;
83 typedef llvm::StringRef value_type;
109 void setValue(llvm::StringRef& pVal);
111 bool compare(const llvm::StringRef& pX) in compare()
114 bool compare(const llvm::StringRef& pX) const in compare()
124 llvm::StringRef m_Value;
[all …]
/frameworks/compile/mclinker/include/mcld/Support/
DCommandLine.h34 StringRef pArgName,
35 StringRef pArg,
41 StringRef pValue,
55 bool parse(cl::Option &O, StringRef ArgName, StringRef Arg, bool &Val) { in parse()
71 StringRef ArgName,
72 StringRef Arg,
90 bool parse(Option &O, StringRef ArgName, StringRef Arg, mcld::ZOption &Val);
DPathCache.h25 typedef HashEntry<llvm::StringRef,
27 hash::StringCompare<llvm::StringRef> > HashEntryType;
/frameworks/compile/mclinker/include/mcld/LD/
DNamePool.h52 ResolveInfo* createSymbol(const llvm::StringRef& pName,
66 void insertSymbol(const llvm::StringRef& pName,
77 const LDSymbol* findSymbol(const llvm::StringRef& pName) const;
78 LDSymbol* findSymbol(const llvm::StringRef& pName);
81 const ResolveInfo* findInfo(const llvm::StringRef& pName) const;
82 ResolveInfo* findInfo(const llvm::StringRef& pName);
87 llvm::StringRef insertString(const llvm::StringRef& pString);
DArchive.h95 typedef HashEntry<const llvm::StringRef,
97 hash::StringCompare<llvm::StringRef> > ArchiveMemberEntryType;
178 bool addArchiveMember(const llvm::StringRef& pName,
183 bool hasArchiveMember(const llvm::StringRef& pName) const;
186 ArchiveMember* getArchiveMember(const llvm::StringRef& pName);
DLDContext.h22 class StringRef; variable
69 const LDSymbol* getSymbol(const llvm::StringRef& pName) const;
70 LDSymbol* getSymbol(const llvm::StringRef& pName);
/frameworks/compile/libbcc/lib/Renderscript/
DRSInfoExtractor.cpp35 const llvm::StringRef pragma_metadata_name("#pragma");
42 const llvm::StringRef export_var_metadata_name("#rs_export_var");
45 const llvm::StringRef export_func_metadata_name("#rs_export_func");
48 const llvm::StringRef export_foreach_name_metadata_name("#rs_export_foreach_name");
51 const llvm::StringRef export_foreach_metadata_name("#rs_export_foreach");
54 const llvm::StringRef object_slot_metadata_name("#rs_object_slots");
56 inline llvm::StringRef getStringFromOperand(const llvm::Value *pString) { in getStringFromOperand()
60 return llvm::StringRef(); in getStringFromOperand()
77 llvm::StringRef s = getStringFromOperand(node->getOperand(j)); in getMetadataStringLength()
91 const char *writeString(const llvm::StringRef &pString, char *pStringPool, in writeString()
[all …]
/frameworks/compile/mclinker/lib/LD/
DNamePool.cpp33 ResolveInfo* NamePool::createSymbol(const llvm::StringRef& pName, in createSymbol()
56 void NamePool::insertSymbol(const llvm::StringRef& pName, in insertSymbol()
118 llvm::StringRef NamePool::insertString(const llvm::StringRef& pString) in insertString()
122 return llvm::StringRef(resolve_info->name(), resolve_info->nameSize()); in insertString()
136 ResolveInfo* NamePool::findInfo(const llvm::StringRef& pName) in findInfo()
143 const ResolveInfo* NamePool::findInfo(const llvm::StringRef& pName) const in findInfo()
150 LDSymbol* NamePool::findSymbol(const llvm::StringRef& pName) in findSymbol()
159 const LDSymbol* NamePool::findSymbol(const llvm::StringRef& pName) const in findSymbol()
DDiagnosticInfos.cpp33 llvm::StringRef getDescription() const in getDescription()
34 { return llvm::StringRef(DescriptionStr, DescriptionLen); } in getDescription()
99 llvm::StringRef DiagnosticInfos::getDescription(unsigned int pID, bool pInLoC) const in getDescription()
/frameworks/compile/slang/
Dslang_rs_export_type.h115 const llvm::StringRef &Name);
126 const llvm::StringRef &TypeName);
128 static llvm::StringRef GetTypeName(const clang::Type *T);
156 llvm::StringRef &TypeName,
264 const llvm::StringRef &TypeName,
271 const llvm::StringRef &Name, in RSExportPrimitiveType()
294 static DataType GetRSSpecificType(const llvm::StringRef &TypeName);
337 const llvm::StringRef &Name, in RSExportPointerType()
348 const llvm::StringRef &TypeName);
369 const llvm::StringRef &Name, in RSExportVectorType()
[all …]
Dslang_rs_export_foreach.h63 RSExportForEach(RSContext *Context, const llvm::StringRef &Name) in RSExportForEach()
147 const llvm::StringRef Name = FD->getName(); in isInitRSFunc()
148 static llvm::StringRef FuncInit("init"); in isInitRSFunc()
156 const llvm::StringRef Name = FD->getName(); in isRootRSFunc()
157 static llvm::StringRef FuncRoot("root"); in isRootRSFunc()
165 const llvm::StringRef Name = FD->getName(); in isDtorRSFunc()
166 static llvm::StringRef FuncDtor(".rs.dtor"); in isDtorRSFunc()
Dslang_utils.h23 class StringRef; variable
33 static bool CreateDirectoryWithParents(llvm::StringRef Dir,
Dslang_rs_context.h95 bool processExportType(const llvm::StringRef &Name);
208 export_type_iterator findExportType(const llvm::StringRef &TypeName) { in findExportType()
211 const_export_type_iterator findExportType(const llvm::StringRef &TypeName) in findExportType()
219 bool insertExportType(const llvm::StringRef &TypeName, RSExportType *Type);
/frameworks/compile/mclinker/lib/Support/
DCommandLine.cpp28 StringRef pArgName, in parse()
29 StringRef pArg, in parse()
40 StringRef pValue, in printOptionDiff()
64 llvm::StringRef ArgName, in parse()
65 llvm::StringRef Arg, in parse()
68 Val.assign<llvm::StringRef::const_iterator>(Arg.begin(), Arg.end()); in parse()
98 llvm::StringRef ArgName, in parse()
99 llvm::StringRef Arg, in parse()
DHandleToArea.cpp25 llvm::StringRef(pHandle->path().native().c_str(), in push_back()
45 llvm::StringRef(pPath.native().c_str(), in erase()
62 unsigned int hash_value = HashFunction()(llvm::StringRef(pPath.native().c_str(), in findFirst()
80 unsigned int hash_value = HashFunction()(llvm::StringRef(pPath.native().c_str(), in findFirst()
DDefSymParser.cpp34 bool DefSymParser::parse(StringRef pExpr, uint64_t& pSymVal) in parse()
44 llvm::StringRef::iterator si = pExpr.begin(); in parse()
122 llvm::StringRef stringOperand(*it); in parse()
/frameworks/compile/mclinker/include/mcld/
DLinkerScript.h30 typedef HashTable<StringEntry<llvm::StringRef>,
32 StringEntryFactory<llvm::StringRef> > SymbolRenameMap;
38 typedef HashTable<StringEntry<llvm::StringRef>,
40 StringEntryFactory<llvm::StringRef> > DefSymMap;
DIRBuilder.h450 LDSymbol* AddSymbol(const llvm::StringRef& pName,
501 const llvm::StringRef& pName,
512 const llvm::StringRef& pName,
523 const llvm::StringRef& pName,
534 const llvm::StringRef& pName,
/frameworks/compile/mclinker/lib/MC/
DMCLDInput.cpp19 Input::Input(llvm::StringRef pName) in Input()
30 Input::Input(llvm::StringRef pName, const AttributeProxy& pProxy) in Input()
41 Input::Input(llvm::StringRef pName, in Input()
55 Input::Input(llvm::StringRef pName, in Input()
/frameworks/compile/libbcc/bcinfo/
DMetadataExtractor.cpp40 static const llvm::StringRef PragmaMetadataName = "#pragma";
44 static const llvm::StringRef ExportVarMetadataName = "#rs_export_var";
48 static const llvm::StringRef ExportFuncMetadataName = "#rs_export_func";
52 static const llvm::StringRef ExportForEachNameMetadataName =
57 static const llvm::StringRef ExportForEachMetadataName = "#rs_export_foreach";
61 static const llvm::StringRef ObjectSlotMetadataName = "#rs_object_slots";
164 llvm::StringRef Slot = in populateObjectSlotMetadata()
187 llvm::StringRef ref = static_cast<llvm::MDString*>(v)->getString(); in createStringFromValue()
370 llvm::StringRef SigString = in populateForEachMetadata()
418 llvm::StringRef(mBitcode, mBitcodeSize), "", false)); in extract()
/frameworks/compile/mclinker/include/mcld/MC/
DMCLDInput.h48 explicit Input(llvm::StringRef pName);
50 Input(llvm::StringRef pName,
53 Input(llvm::StringRef pName,
58 Input(llvm::StringRef pName,
DMCLDDirectory.h32 MCLDDirectory(llvm::StringRef pName);
36 MCLDDirectory &assign(llvm::StringRef pName);
/frameworks/compile/mclinker/lib/Support/Unix/
DSystem.inc18 #include <llvm/ADT/StringRef.h>
40 llvm::StringRef TargetTripleString(MCLD_DEFAULT_TARGET_TRIPLE);
41 std::pair<llvm::StringRef, llvm::StringRef> ArchSplit = TargetTripleString.split('-');

1234