Home
last modified time | relevance | path

Searched refs:NameRef (Results 1 – 25 of 37) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
DDeclContext.cpp87 StringRef NameRef; in getChildDeclContext() local
92 NameRef = StringPool.internString(Name); in getChildDeclContext()
96 NameRef = StringPool.internString("(anonymous namespace)"); in getChildDeclContext()
101 ShortNameRef = NameRef; in getChildDeclContext()
105 Tag != dwarf::DW_TAG_enumeration_type && NameRef.empty()) in getChildDeclContext()
159 if (!Line && NameRef.empty()) in getChildDeclContext()
172 unsigned Hash = hash_combine(Context.getQualifiedNameHash(), Tag, NameRef); in getChildDeclContext()
176 if (Tag == dwarf::DW_TAG_namespace && NameRef == "(anonymous namespace)") in getChildDeclContext()
180 DeclContext Key(Hash, Line, ByteSize, Tag, NameRef, FileRef, Context); in getChildDeclContext()
187 new (Allocator) DeclContext(Hash, Line, ByteSize, Tag, NameRef, FileRef, in getChildDeclContext()
/external/llvm/lib/Support/
DMemoryBuffer.cpp74 StringRef NameRef = Alloc.Name.toStringRef(NameBuf); in operator new() local
76 char *Mem = static_cast<char *>(operator new(N + NameRef.size() + 1)); in operator new()
77 CopyStringRef(Mem + N, NameRef); in operator new()
140 StringRef NameRef = BufferName.toStringRef(NameBuf); in getNewUninitMemBuffer() local
142 alignTo(sizeof(MemoryBufferMem) + NameRef.size() + 1, 16); in getNewUninitMemBuffer()
149 CopyStringRef(Mem + sizeof(MemoryBufferMem), NameRef); in getNewUninitMemBuffer()
172 StringRef NameRef = Filename.toStringRef(NameBuf); in getFileOrSTDIN() local
174 if (NameRef == "-") in getFileOrSTDIN()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DMemoryBuffer.cpp74 StringRef NameRef = Alloc.Name.toStringRef(NameBuf); in operator new() local
76 char *Mem = static_cast<char *>(operator new(N + NameRef.size() + 1)); in operator new()
77 CopyStringRef(Mem + N, NameRef); in operator new()
140 StringRef NameRef = BufferName.toStringRef(NameBuf); in getNewUninitMemBuffer() local
142 alignTo(sizeof(MemoryBufferMem) + NameRef.size() + 1, 16); in getNewUninitMemBuffer()
149 CopyStringRef(Mem + sizeof(MemoryBufferMem), NameRef); in getNewUninitMemBuffer()
172 StringRef NameRef = Filename.toStringRef(NameBuf); in getFileOrSTDIN() local
174 if (NameRef == "-") in getFileOrSTDIN()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DMemoryBuffer.cpp75 StringRef NameRef = Alloc.Name.toStringRef(NameBuf); in operator new() local
77 char *Mem = static_cast<char *>(operator new(N + NameRef.size() + 1)); in operator new()
78 CopyStringRef(Mem + N, NameRef); in operator new()
147 StringRef NameRef = Filename.toStringRef(NameBuf); in getFileOrSTDIN() local
149 if (NameRef == "-") in getFileOrSTDIN()
281 StringRef NameRef = BufferName.toStringRef(NameBuf); in getNewUninitMemBuffer() local
282 size_t AlignedStringLen = alignTo(sizeof(MemBuffer) + NameRef.size() + 1, 16); in getNewUninitMemBuffer()
289 CopyStringRef(Mem + sizeof(MemBuffer), NameRef); in getNewUninitMemBuffer()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DValue.cpp169 StringRef NameRef = NewName.toStringRef(NameData); in setName() local
172 if (getName() == NameRef) in setName()
183 if (NameRef.empty()) { in setName()
197 Name = ValueName::Create(NameRef.begin(), NameRef.end()); in setName()
210 if (NameRef.empty()) in setName()
215 Name = ST->createValueName(NameRef, this); in setName()
DModule.cpp306 StringRef NameRef = Name.toStringRef(NameData); in getNamedMetadata() local
307 return static_cast<StringMap<NamedMDNode*> *>(NamedMDSymTab)->lookup(NameRef); in getNamedMetadata()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DValue.cpp243 StringRef NameRef = NewName.toStringRef(NameData); in setNameImpl() local
244 assert(NameRef.find_first_of(0) == StringRef::npos && in setNameImpl()
248 if (getName() == NameRef) in setNameImpl()
252 if (NameRef.size() > NonGlobalValueMaxNameSize && !isa<GlobalValue>(this)) in setNameImpl()
253 NameRef = in setNameImpl()
254 NameRef.substr(0, std::max(1u, (unsigned)NonGlobalValueMaxNameSize)); in setNameImpl()
264 if (NameRef.empty()) { in setNameImpl()
275 setValueName(ValueName::Create(NameRef)); in setNameImpl()
287 if (NameRef.empty()) in setNameImpl()
292 setValueName(ST->createValueName(NameRef, this)); in setNameImpl()
DModule.cpp244 StringRef NameRef = Name.toStringRef(NameData); in getNamedMetadata() local
245 return static_cast<StringMap<NamedMDNode*> *>(NamedMDSymTab)->lookup(NameRef); in getNamedMetadata()
/external/compiler-rt/lib/profile/
DInstrProfilingMerge.c36 (NumVnodes << 10) + (DataSize > 0 ? FirstD->NameRef : 0); in lprofGetLoadModuleSignature()
74 if (SrcData->NameRef != DstData->NameRef || in __llvm_profile_check_compatibility()
/external/v8/src/compiler/
Djs-heap-broker.h258 class NameRef : public HeapObjectRef {
273 base::Optional<LookupResult> lookup(const NameRef& name) const;
332 NameRef GetPropertyKey(int i) const;
406 class StringRef : public NameRef {
408 using NameRef::NameRef;
Djs-heap-copy-reducer.cc74 NameRef(broker(), p.name()); in Reduce()
/external/llvm/lib/MC/
DMCContext.cpp116 StringRef NameRef = Name.toStringRef(NameSV); in getOrCreateSymbol() local
118 assert(!NameRef.empty() && "Normal symbols cannot be unnamed!"); in getOrCreateSymbol()
120 MCSymbol *&Sym = Symbols[NameRef]; in getOrCreateSymbol()
122 Sym = createSymbol(NameRef, false, false); in getOrCreateSymbol()
259 StringRef NameRef = Name.toStringRef(NameSV); in lookupSymbol() local
260 return Symbols.lookup(NameRef); in lookupSymbol()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DMCContext.cpp125 StringRef NameRef = Name.toStringRef(NameSV); in getOrCreateSymbol() local
127 assert(!NameRef.empty() && "Normal symbols cannot be unnamed!"); in getOrCreateSymbol()
129 MCSymbol *&Sym = Symbols[NameRef]; in getOrCreateSymbol()
131 Sym = createSymbol(NameRef, false, false); in getOrCreateSymbol()
258 StringRef NameRef = Name.toStringRef(NameSV); in lookupSymbol() local
259 return Symbols.lookup(NameRef); in lookupSymbol()
/external/llvm/lib/IR/
DValue.cpp210 StringRef NameRef = NewName.toStringRef(NameData); in setNameImpl() local
211 assert(NameRef.find_first_of(0) == StringRef::npos && in setNameImpl()
215 if (getName() == NameRef) in setNameImpl()
226 if (NameRef.empty()) { in setNameImpl()
237 setValueName(ValueName::Create(NameRef)); in setNameImpl()
249 if (NameRef.empty()) in setNameImpl()
254 setValueName(ST->createValueName(NameRef, this)); in setNameImpl()
DModule.cpp265 StringRef NameRef = Name.toStringRef(NameData); in getNamedMetadata() local
266 return static_cast<StringMap<NamedMDNode*> *>(NamedMDSymTab)->lookup(NameRef); in getNamedMetadata()
/external/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h522 IntPtrT NameRef = getFuncNameRef<Endian>(); in getFuncName() local
524 FuncName = ProfileNames.getFuncName(NameRef, NameS); in getFuncName()
545 return support::endian::byte_swap<uint64_t, Endian>(NameRef); in getFuncNameRef()
550 uint64_t NameRef = getFuncNameRef<Endian>(); in getFuncName() local
551 FuncName = ProfileNames.getFuncName(NameRef); in getFuncName()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DWindowsResource.cpp255 WindowsResourceParser::TreeNode::addChild(ArrayRef<UTF16> NameRef, in addChild() argument
261 EndianCorrectedName.resize(NameRef.size() + 1); in addChild()
262 std::copy(NameRef.begin(), NameRef.end(), EndianCorrectedName.begin() + 1); in addChild()
266 CorrectedName = NameRef; in addChild()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h712 IntPtrT NameRef = getFuncNameRef<Endian>(); in getFuncName() local
714 FuncName = ProfileNames.getFuncName(NameRef, NameS); in getFuncName()
737 return support::endian::byte_swap<uint64_t, Endian>(NameRef); in getFuncNameRef()
743 uint64_t NameRef = getFuncNameRef<Endian>(); in getFuncName() local
744 FuncName = ProfileNames.getFuncName(NameRef); in getFuncName()
/external/llvm/lib/Target/
DTargetMachineC.cpp61 StringRef NameRef = Name; in LLVMGetTargetFromName() local
64 [&](const Target &T) { return T.getName() == NameRef; }); in LLVMGetTargetFromName()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/
DTargetMachineC.cpp61 StringRef NameRef = Name; in LLVMGetTargetFromName() local
63 [&](const Target &T) { return T.getName() == NameRef; }); in LLVMGetTargetFromName()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/
DLTOModule.cpp461 StringRef NameRef = Iter->first(); in addDefinedSymbol() local
462 info.name = NameRef; in addDefinedSymbol()
463 assert(NameRef.data()[NameRef.size()] == '\0'); in addDefinedSymbol()
/external/llvm/lib/LTO/
DLTOModule.cpp474 StringRef NameRef = Iter->first(); in addDefinedSymbol() local
475 info.name = NameRef.data(); in addDefinedSymbol()
476 assert(info.name[NameRef.size()] == '\0'); in addDefinedSymbol()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ProfileData/
DInstrProfReader.h265 StringRef getName(uint64_t NameRef) const { in getName() argument
266 return Symtab->getFuncName(swap(NameRef)); in getName()
/external/llvm/include/llvm/ProfileData/
DInstrProfReader.h243 StringRef getName(uint64_t NameRef) const { in getName() argument
244 return Symtab->getFuncName(swap(NameRef)); in getName()
/external/llvm/tools/dsymutil/
DDwarfLinker.cpp1587 StringRef NameRef; in getChildDeclContext() local
1592 NameRef = StringPool.internString(Name); in getChildDeclContext()
1597 NameRef = StringPool.internString("(anonymous namespace)"); in getChildDeclContext()
1602 ShortNameRef = NameRef; in getChildDeclContext()
1606 Tag != dwarf::DW_TAG_enumeration_type && NameRef.empty()) in getChildDeclContext()
1663 if (!Line && NameRef.empty()) in getChildDeclContext()
1676 unsigned Hash = hash_combine(Context.getQualifiedNameHash(), Tag, NameRef); in getChildDeclContext()
1680 if (Tag == dwarf::DW_TAG_namespace && NameRef == "(anonymous namespace)") in getChildDeclContext()
1684 DeclContext Key(Hash, Line, ByteSize, Tag, NameRef, FileRef, Context); in getChildDeclContext()
1691 new (Allocator) DeclContext(Hash, Line, ByteSize, Tag, NameRef, FileRef, in getChildDeclContext()

12