/external/llvm-project/llvm/lib/DWARFLinker/ |
D | DWARFLinkerDeclContext.cpp | 89 StringRef NameRef; in getChildDeclContext() local 94 NameRef = StringPool.internString(Name); in getChildDeclContext() 98 NameRef = StringPool.internString("(anonymous namespace)"); in getChildDeclContext() 103 ShortNameRef = NameRef; in getChildDeclContext() 107 Tag != dwarf::DW_TAG_enumeration_type && NameRef.empty()) in getChildDeclContext() 161 if (!Line && NameRef.empty()) in getChildDeclContext() 174 unsigned Hash = hash_combine(Context.getQualifiedNameHash(), Tag, NameRef); in getChildDeclContext() 178 if (Tag == dwarf::DW_TAG_namespace && NameRef == "(anonymous namespace)") in getChildDeclContext() 182 DeclContext Key(Hash, Line, ByteSize, Tag, NameRef, FileRef, Context); in getChildDeclContext() 189 new (Allocator) DeclContext(Hash, Line, ByteSize, Tag, NameRef, FileRef, in getChildDeclContext()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DWARFLinker/ |
D | DWARFLinkerDeclContext.cpp | 85 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()
|
/external/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 74 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/ |
D | MemoryBuffer.cpp | 74 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/compiler-rt/lib/profile/ |
D | InstrProfilingMerge.c | 36 (NumVnodes << 10) + (DataSize > 0 ? FirstD->NameRef : 0); in lprofGetLoadModuleSignature() 74 if (SrcData->NameRef != DstData->NameRef || in __llvm_profile_check_compatibility()
|
/external/llvm-project/compiler-rt/lib/profile/ |
D | InstrProfilingMerge.c | 36 (NumVnodes << 10) + (DataSize > 0 ? FirstD->NameRef : 0); in lprofGetLoadModuleSignature() 74 if (SrcData->NameRef != DstData->NameRef || in __llvm_profile_check_compatibility()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 74 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()
|
/external/llvm-project/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 74 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() 295 StringRef NameRef = BufferName.toStringRef(NameBuf); in getNewUninitMemBuffer() local 296 size_t AlignedStringLen = alignTo(sizeof(MemBuffer) + NameRef.size() + 1, 16); in getNewUninitMemBuffer() 303 CopyStringRef(Mem + sizeof(MemBuffer), NameRef); in getNewUninitMemBuffer()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Value.cpp | 234 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()
|
/external/llvm/lib/MC/ |
D | MCContext.cpp | 116 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/llvm-project/llvm/lib/IR/ |
D | Value.cpp | 314 StringRef NameRef = NewName.toStringRef(NameData); in setNameImpl() local 315 assert(NameRef.find_first_of(0) == StringRef::npos && in setNameImpl() 319 if (getName() == NameRef) in setNameImpl() 323 if (NameRef.size() > NonGlobalValueMaxNameSize && !isa<GlobalValue>(this)) in setNameImpl() 324 NameRef = in setNameImpl() 325 NameRef.substr(0, std::max(1u, (unsigned)NonGlobalValueMaxNameSize)); in setNameImpl() 335 if (NameRef.empty()) { in setNameImpl() 347 setValueName(ValueName::Create(NameRef, Allocator)); in setNameImpl() 359 if (NameRef.empty()) in setNameImpl() 364 setValueName(ST->createValueName(NameRef, this)); in setNameImpl()
|
/external/llvm/lib/IR/ |
D | Value.cpp | 210 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()
|
/external/llvm/include/llvm/ProfileData/Coverage/ |
D | CoverageMapping.h | 522 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-10.0/llvm/lib/MC/ |
D | MCContext.cpp | 132 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()
|
D | XCOFFObjectWriter.cpp | 424 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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/Coverage/ |
D | CoverageMapping.h | 714 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()
|
/external/llvm-project/llvm/lib/MC/ |
D | MCContext.cpp | 144 StringRef NameRef = Name.toStringRef(NameSV); in getOrCreateSymbol() local 146 assert(!NameRef.empty() && "Normal symbols cannot be unnamed!"); in getOrCreateSymbol() 148 MCSymbol *&Sym = Symbols[NameRef]; in getOrCreateSymbol() 150 Sym = createSymbol(NameRef, false, false); in getOrCreateSymbol() 289 StringRef NameRef = Name.toStringRef(NameSV); in lookupSymbol() local 290 return Symbols.lookup(NameRef); in lookupSymbol()
|
D | XCOFFObjectWriter.cpp | 559 ArrayRef<char> NameRef(Name, XCOFF::NameSize); in writeSymbolName() local 560 W.write(NameRef); in writeSymbolName() 664 ArrayRef<char> NameRef(Sec->Name, XCOFF::NameSize); in writeSectionHeaderTable() local 665 W.write(NameRef); in writeSectionHeaderTable()
|
/external/llvm/lib/Target/ |
D | TargetMachineC.cpp | 61 StringRef NameRef = Name; in LLVMGetTargetFromName() local 64 [&](const Target &T) { return T.getName() == NameRef; }); in LLVMGetTargetFromName()
|
/external/llvm-project/llvm/lib/Target/ |
D | TargetMachineC.cpp | 60 StringRef NameRef = Name; in LLVMGetTargetFromName() local 62 [&](const Target &T) { return T.getName() == NameRef; }); in LLVMGetTargetFromName()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ |
D | TargetMachineC.cpp | 60 StringRef NameRef = Name; in LLVMGetTargetFromName() local 62 [&](const Target &T) { return T.getName() == NameRef; }); in LLVMGetTargetFromName()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/ |
D | LTOModule.cpp | 462 StringRef NameRef = Iter->first(); in addDefinedSymbol() local 463 info.name = NameRef; in addDefinedSymbol() 464 assert(NameRef.data()[NameRef.size()] == '\0'); in addDefinedSymbol()
|
/external/llvm-project/llvm/include/llvm/ProfileData/Coverage/ |
D | CoverageMapping.h | 727 return support::endian::byte_swap<uint64_t, Endian>(Record->NameRef); in getFuncNameRef() 735 uint64_t NameRef = getFuncNameRef<FuncRecordTy, Endian>(Record); in getFuncNameViaRef() local 736 FuncName = ProfileNames.getFuncName(NameRef); in getFuncNameViaRef() 786 IntPtrT NameRef = getFuncNameRef<Endian>(); in getFuncName() local 788 FuncName = ProfileNames.getFuncName(NameRef, NameS); in getFuncName()
|
/external/llvm-project/llvm/lib/LTO/ |
D | LTOModule.cpp | 465 StringRef NameRef = Iter->first(); in addDefinedSymbol() local 466 info.name = NameRef; in addDefinedSymbol() 467 assert(NameRef.data()[NameRef.size()] == '\0'); in addDefinedSymbol()
|
/external/llvm/lib/LTO/ |
D | LTOModule.cpp | 474 StringRef NameRef = Iter->first(); in addDefinedSymbol() local 475 info.name = NameRef.data(); in addDefinedSymbol() 476 assert(info.name[NameRef.size()] == '\0'); in addDefinedSymbol()
|