Home
last modified time | relevance | path

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

12345

/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.h39 struct StringHash : public std::unary_function<const llvm::StringRef&, uint32_t>
41 uint32_t operator()(const llvm::StringRef& pKey) const in operator()
52 struct StringHash<RS> : public std::unary_function<const llvm::StringRef&, uint32_t>
54 uint32_t operator()(const llvm::StringRef& pKey) const
72 struct StringHash<JS> : public std::unary_function<const llvm::StringRef&, uint32_t>
74 uint32_t operator()(const llvm::StringRef& pKey) const
89 struct StringHash<PJW> : public std::unary_function<const llvm::StringRef&, uint32_t>
91 uint32_t operator()(const llvm::StringRef& pKey) const
115 struct StringHash<ELF> : public std::unary_function<const llvm::StringRef&, uint32_t>
117 uint32_t operator()(const llvm::StringRef& pKey) const
[all …]
DStringEntry.h29 typedef llvm::StringRef key_type;
54 bool compare(const llvm::StringRef& pX) in compare()
57 bool compare(const llvm::StringRef& pX) const in compare()
76 class StringEntry<llvm::StringRef>
79 typedef llvm::StringRef key_type;
80 typedef llvm::StringRef value_type;
106 void setValue(llvm::StringRef& pVal);
108 bool compare(const llvm::StringRef& pX) in compare()
111 bool compare(const llvm::StringRef& pX) const in compare()
121 llvm::StringRef m_Value;
[all …]
/frameworks/compile/mclinker/include/mcld/Support/
DCommandLine.h31 StringRef pArgName,
32 StringRef pArg,
38 StringRef pValue,
52 bool parse(cl::Option &O, StringRef ArgName, StringRef Arg, bool &Val) { in parse()
68 StringRef ArgName,
69 StringRef Arg,
87 bool parse(Option &O, StringRef ArgName, StringRef Arg, mcld::ZOption &Val);
/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()
92 const char *writeString(const llvm::StringRef &pString, char *pStringPool, in writeString()
[all …]
/frameworks/compile/mclinker/include/mcld/LD/
DEhFrameReader.h71 llvm::StringRef pRegion,
77 llvm::StringRef pData) const;
80 llvm::StringRef pRegion,
84 llvm::StringRef pRegion,
88 llvm::StringRef pRegion,
92 llvm::StringRef pRegion,
102 llvm::StringRef pData) const;
DNamePool.h56 ResolveInfo* createSymbol(const llvm::StringRef& pName,
70 void insertSymbol(const llvm::StringRef& pName,
82 const LDSymbol* findSymbol(const llvm::StringRef& pName) const;
83 LDSymbol* findSymbol(const llvm::StringRef& pName);
86 const ResolveInfo* findInfo(const llvm::StringRef& pName) const;
87 ResolveInfo* findInfo(const llvm::StringRef& pName);
92 llvm::StringRef insertString(const llvm::StringRef& pString);
DELFReader.h78 llvm::StringRef pRegion,
90 llvm::StringRef pRegion) const;
95 llvm::StringRef pRegion) const;
168 llvm::StringRef pRegion,
180 llvm::StringRef pRegion) const;
185 llvm::StringRef pRegion) const;
DEhFrame.h71 Record(llvm::StringRef pRegion);
74 const llvm::StringRef getRegion() const { return RegionFragment::getRegion(); } in getRegion()
75 llvm::StringRef getRegion() { return RegionFragment::getRegion(); } in getRegion()
90 CIE(llvm::StringRef pRegion);
140 FDE(llvm::StringRef pRegion, CIE& pCIE);
155 GeneratedCIE(llvm::StringRef pRegion);
165 GeneratedFDE(llvm::StringRef pRegion, CIE& pCIE);
DArchive.h90 typedef HashEntry<const llvm::StringRef,
92 hash::StringCompare<llvm::StringRef> > ArchiveMemberEntryType;
173 bool addArchiveMember(const llvm::StringRef& pName,
178 bool hasArchiveMember(const llvm::StringRef& pName) const;
181 ArchiveMember* getArchiveMember(const llvm::StringRef& pName);
/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()
119 llvm::StringRef NamePool::insertString(const llvm::StringRef& pString) in insertString()
123 return llvm::StringRef(resolve_info->name(), resolve_info->nameSize()); in insertString()
137 ResolveInfo* NamePool::findInfo(const llvm::StringRef& pName) in findInfo()
144 const ResolveInfo* NamePool::findInfo(const llvm::StringRef& pName) const in findInfo()
151 LDSymbol* NamePool::findSymbol(const llvm::StringRef& pName) in findSymbol()
160 const LDSymbol* NamePool::findSymbol(const llvm::StringRef& pName) const in findSymbol()
DEhFrameReader.cpp49 llvm::StringRef pData) const in scan()
135 llvm::StringRef sect_reg = in read()
143 llvm::StringRef entry = pInput.memArea()->request(token.file_off, token.size); in read()
172 llvm::StringRef pRegion, in addCIE()
212 llvm::StringRef augment((const char*)aug_str_front); in addCIE()
337 llvm::StringRef pRegion, in addFDE()
359 llvm::StringRef pRegion, in addTerm()
366 llvm::StringRef pRegion, in reject()
DELFDynObjReader.cpp57 llvm::StringRef region = pInput.memArea()->request(pInput.fileOffset(), in isMyFormat()
84 llvm::StringRef region = pInput.memArea()->request(pInput.fileOffset(), in readHeader()
117 llvm::StringRef symtab_region = pInput.memArea()->request( in readSymbols()
120 llvm::StringRef strtab_region = pInput.memArea()->request( in readSymbols()
DELFObjectReader.cpp72 llvm::StringRef region = pInput.memArea()->request(pInput.fileOffset(), in isMyFormat()
102 llvm::StringRef region = pInput.memArea()->request(pInput.fileOffset(), in readHeader()
141 llvm::StringRef region = pInput.memArea()->request( in readSections()
160 llvm::StringRef name(llvm::StringRef((*section)->name()).drop_front(14)); in readSections()
300 llvm::StringRef symtab_region = pInput.memArea()->request( in readSymbols()
302 llvm::StringRef strtab_region = pInput.memArea()->request( in readSymbols()
324 llvm::StringRef region = mem->request(offset, size); in readRelocations()
/frameworks/compile/mclinker/include/mcld/Fragment/
DRegionFragment.h23 RegionFragment(llvm::StringRef pRegion, SectionData* pSD = NULL);
27 const llvm::StringRef getRegion() const { return m_Region; } in getRegion()
28 llvm::StringRef getRegion() { return m_Region; } in getRegion()
39 llvm::StringRef m_Region;
/frameworks/compile/slang/
Dslang_rs_export_type.h166 inline bool IsDummyName(const llvm::StringRef &Name) { in IsDummyName()
194 const llvm::StringRef &Name);
205 const llvm::StringRef &TypeName);
207 static llvm::StringRef GetTypeName(const clang::Type *T);
230 llvm::StringRef &TypeName,
300 const llvm::StringRef &TypeName,
307 const llvm::StringRef &Name, in RSExportPrimitiveType()
328 static DataType GetRSSpecificType(const llvm::StringRef &TypeName);
371 const llvm::StringRef &Name, in RSExportPointerType()
381 const llvm::StringRef &TypeName);
[all …]
Dslang_rs_export_foreach.h70 RSExportForEach(RSContext *Context, const llvm::StringRef &Name) in RSExportForEach()
166 const llvm::StringRef Name = FD->getName(); in isInitRSFunc()
167 static llvm::StringRef FuncInit("init"); in isInitRSFunc()
175 const llvm::StringRef Name = FD->getName(); in isRootRSFunc()
176 static llvm::StringRef FuncRoot("root"); in isRootRSFunc()
184 const llvm::StringRef Name = FD->getName(); in isDtorRSFunc()
185 static llvm::StringRef FuncDtor(".rs.dtor"); in isDtorRSFunc()
/frameworks/compile/mclinker/lib/Support/
DMemoryArea.cpp22 MemoryArea::MemoryArea(llvm::StringRef pFilename) in MemoryArea()
36 llvm::StringRef mem(pMemBuffer, pSize); in MemoryArea()
44 llvm::StringRef MemoryArea::request(size_t pOffset, size_t pLength) in request()
46 return llvm::StringRef(m_pMemoryBuffer->getBufferStart() + pOffset, pLength); in request()
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()
/frameworks/compile/mclinker/lib/MC/
DInput.cpp18 Input::Input(llvm::StringRef pName) in Input()
30 Input::Input(llvm::StringRef pName, const AttributeProxy& pProxy) in Input()
42 Input::Input(llvm::StringRef pName, in Input()
57 Input::Input(llvm::StringRef pName, in Input()
/frameworks/compile/mclinker/lib/Target/X86/
DX86LDBackend.h136 virtual llvm::StringRef createCIERegionForPLT() = 0;
137 virtual llvm::StringRef createFDERegionForPLT() = 0;
192 llvm::StringRef createCIERegionForPLT();
193 llvm::StringRef createFDERegionForPLT();
235 llvm::StringRef createCIERegionForPLT();
236 llvm::StringRef createFDERegionForPLT();
/frameworks/compile/mclinker/lib/Script/
DWildcardPattern.cpp43 llvm::StringRef WildcardPattern::prefix() const in prefix()
46 return llvm::StringRef(name().c_str(), name().size() - 1); in prefix()
48 return llvm::StringRef(name()); in prefix()
/frameworks/compile/libbcc/bcinfo/
DMetadataExtractor.cpp39 static const llvm::StringRef PragmaMetadataName = "#pragma";
43 static const llvm::StringRef ExportVarMetadataName = "#rs_export_var";
47 static const llvm::StringRef ExportFuncMetadataName = "#rs_export_func";
51 static const llvm::StringRef ExportForEachNameMetadataName =
56 static const llvm::StringRef ExportForEachMetadataName = "#rs_export_foreach";
60 static const llvm::StringRef ObjectSlotMetadataName = "#rs_object_slots";
163 llvm::StringRef Slot = in populateObjectSlotMetadata()
186 llvm::StringRef ref = static_cast<llvm::MDString*>(v)->getString(); in createStringFromValue()
363 llvm::StringRef SigString = in populateForEachMetadata()
411 llvm::StringRef(mBitcode, mBitcodeSize), "", false)); in extract()
/frameworks/compile/mclinker/include/mcld/MC/
DInput.h46 explicit Input(llvm::StringRef pName);
48 Input(llvm::StringRef pName,
51 Input(llvm::StringRef pName,
56 Input(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('-');

12345