Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DWARFLinker/
DDWARFLinkerDeclContext.cpp85 StringRef NameRef; in getChildDeclContext() local
90 NameRef = StringPool.internString(Name); in getChildDeclContext()
94 NameRef = StringPool.internString("(anonymous namespace)"); in getChildDeclContext()
99 ShortNameRef = NameRef; in getChildDeclContext()
103 Tag != dwarf::DW_TAG_enumeration_type && NameRef.empty()) in getChildDeclContext()
157 if (!Line && NameRef.empty()) in getChildDeclContext()
170 unsigned Hash = hash_combine(Context.getQualifiedNameHash(), Tag, NameRef); in getChildDeclContext()
174 if (Tag == dwarf::DW_TAG_namespace && NameRef == "(anonymous namespace)") in getChildDeclContext()
178 DeclContext Key(Hash, Line, ByteSize, Tag, NameRef, FileRef, Context); in getChildDeclContext()
185 new (Allocator) DeclContext(Hash, Line, ByteSize, Tag, NameRef, FileRef, in getChildDeclContext()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/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()
146 StringRef NameRef = Filename.toStringRef(NameBuf); in getFileOrSTDIN() local
148 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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DValue.cpp234 StringRef NameRef = NewName.toStringRef(NameData); in setNameImpl() local
235 assert(NameRef.find_first_of(0) == StringRef::npos && in setNameImpl()
239 if (getName() == NameRef) in setNameImpl()
243 if (NameRef.size() > NonGlobalValueMaxNameSize && !isa<GlobalValue>(this)) in setNameImpl()
244 NameRef = in setNameImpl()
245 NameRef.substr(0, std::max(1u, (unsigned)NonGlobalValueMaxNameSize)); in setNameImpl()
255 if (NameRef.empty()) { in setNameImpl()
266 setValueName(ValueName::Create(NameRef)); in setNameImpl()
278 if (NameRef.empty()) in setNameImpl()
283 setValueName(ST->createValueName(NameRef, this)); in setNameImpl()
DModule.cpp252 StringRef NameRef = Name.toStringRef(NameData); in getNamedMetadata() local
253 return static_cast<StringMap<NamedMDNode*> *>(NamedMDSymTab)->lookup(NameRef); in getNamedMetadata()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCContext.cpp132 StringRef NameRef = Name.toStringRef(NameSV); in getOrCreateSymbol() local
134 assert(!NameRef.empty() && "Normal symbols cannot be unnamed!"); in getOrCreateSymbol()
136 MCSymbol *&Sym = Symbols[NameRef]; in getOrCreateSymbol()
138 Sym = createSymbol(NameRef, false, false); in getOrCreateSymbol()
267 StringRef NameRef = Name.toStringRef(NameSV); in lookupSymbol() local
268 return Symbols.lookup(NameRef); in lookupSymbol()
DXCOFFObjectWriter.cpp424 ArrayRef<char> NameRef(Name, XCOFF::NameSize); in writeSymbolName() local
425 W.write(NameRef); in writeSymbolName()
529 ArrayRef<char> NameRef(Sec->Name, XCOFF::NameSize); in writeSectionHeaderTable() local
530 W.write(NameRef); in writeSectionHeaderTable()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h714 IntPtrT NameRef = getFuncNameRef<Endian>(); in getFuncName() local
716 FuncName = ProfileNames.getFuncName(NameRef, NameS); in getFuncName()
739 return support::endian::byte_swap<uint64_t, Endian>(NameRef); in getFuncNameRef()
745 uint64_t NameRef = getFuncNameRef<Endian>(); in getFuncName() local
746 FuncName = ProfileNames.getFuncName(NameRef); in getFuncName()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DLTOModule.cpp462 StringRef NameRef = Iter->first(); in addDefinedSymbol() local
463 info.name = NameRef; in addDefinedSymbol()
464 assert(NameRef.data()[NameRef.size()] == '\0'); in addDefinedSymbol()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/
DTargetMachineC.cpp60 StringRef NameRef = Name; in LLVMGetTargetFromName() local
62 [&](const Target &T) { return T.getName() == NameRef; }); in LLVMGetTargetFromName()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
DInstrProfReader.h282 StringRef getName(uint64_t NameRef) const { in getName() argument
283 return Symtab->getFuncName(swap(NameRef)); in getName()
DInstrProfData.inc72 INSTR_PROF_DATA(const uint64_t, llvm::Type::getInt64Ty(Ctx), NameRef, \
218 COVMAP_FUNC_RECORD(const int64_t, llvm::Type::getInt64Ty(Ctx), NameRef, \
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DWindowsResource.cpp536 ArrayRef<UTF16> NameRef, std::vector<std::vector<UTF16>> &StringTable) { in addNameChild() argument
538 convertUTF16LEToUTF8String(NameRef, NameString); in addNameChild()
543 StringTable.push_back(NameRef); in addNameChild()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DWindowsResource.h218 TreeNode &addNameChild(ArrayRef<UTF16> NameRef,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/Coverage/
DCoverageMappingReader.cpp428 NameRefType NameRef = CFR->template getFuncNameRef<Endian>(); in insertFunctionRecordIfNeeded() local
430 FunctionRecords.insert(std::make_pair(NameRef, Records.size())); in insertFunctionRecordIfNeeded()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DInstrProfReader.cpp350 Symtab.mapAddress(FPtr, I->NameRef); in createSymtab()
402 Record.Name = getName(Data->NameRef); in readName()