| /freebsd-14.2/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/ |
| H A D | DWARFLinkerDeclContext.cpp | 87 StringRef NameRef; in getChildDeclContext() local 91 NameRef = StringPool.internString(LinkageName); in getChildDeclContext() 93 NameRef = StringPool.internString(ShortName); in getChildDeclContext() 95 bool IsAnonymousNamespace = NameRef.empty() && Tag == dwarf::DW_TAG_namespace; in getChildDeclContext() 99 NameRef = "(anonymous namespace)"; in getChildDeclContext() 104 Tag != dwarf::DW_TAG_enumeration_type && NameRef.empty()) in getChildDeclContext() 143 if (!Line && NameRef.empty()) in getChildDeclContext() 156 unsigned Hash = hash_combine(Context.getQualifiedNameHash(), Tag, NameRef); in getChildDeclContext() 164 DeclContext Key(Hash, Line, ByteSize, Tag, NameRef, FileRef, Context); in getChildDeclContext() 171 new (Allocator) DeclContext(Hash, Line, ByteSize, Tag, NameRef, FileRef, in getChildDeclContext()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Support/ |
| H A D | MemoryBuffer.cpp | 80 StringRef NameRef = Alloc.Name.toStringRef(NameBuf); in operator new() local 83 NameRef.size() + 1)); in operator new() 84 *reinterpret_cast<size_t *>(Mem + N) = NameRef.size(); in operator new() 85 CopyStringRef(Mem + N + sizeof(size_t), NameRef); in operator new() 160 StringRef NameRef = Filename.toStringRef(NameBuf); in getFileOrSTDIN() local 162 if (NameRef == "-") in getFileOrSTDIN() 312 StringRef NameRef = BufferName.toStringRef(NameBuf); in getNewUninitMemBuffer() local 314 size_t StringLen = sizeof(MemBuffer) + sizeof(size_t) + NameRef.size() + 1; in getNewUninitMemBuffer() 323 *reinterpret_cast<size_t *>(Mem + sizeof(MemBuffer)) = NameRef.size(); in getNewUninitMemBuffer() 324 CopyStringRef(Mem + sizeof(MemBuffer) + sizeof(size_t), NameRef); in getNewUninitMemBuffer()
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/profile/ |
| H A D | InstrProfilingMerge.c | 37 (NumVnodes << 10) + (NumData > 0 ? FirstD->NameRef : 0) + Version + in lprofGetLoadModuleSignature() 91 if (SrcData->NameRef != DstData->NameRef || in __llvm_profile_check_compatibility()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Value.cpp | 332 StringRef NameRef = NeedNewName ? NewName.toStringRef(NameData) : ""; in setNameImpl() local 333 assert(!NameRef.contains(0) && "Null bytes are not allowed in names"); in setNameImpl() 336 if (getName() == NameRef) in setNameImpl() 351 if (!NameRef.empty()) { in setNameImpl() 355 setValueName(ValueName::create(NameRef, Allocator)); in setNameImpl() 368 if (NameRef.empty()) in setNameImpl() 374 setValueName(ST->createValueName(NameRef, this)); in setNameImpl()
|
| H A D | Module.cpp | 241 StringRef NameRef = Name.toStringRef(NameData); in getNamedMetadata() local 242 return NamedMDSymTab.lookup(NameRef); in getNamedMetadata()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCContext.cpp | 202 StringRef NameRef = Name.toStringRef(NameSV); in getOrCreateSymbol() local 204 assert(!NameRef.empty() && "Normal symbols cannot be unnamed!"); in getOrCreateSymbol() 206 MCSymbol *&Sym = Symbols[NameRef]; in getOrCreateSymbol() 208 Sym = createSymbol(NameRef, false, false); in getOrCreateSymbol() 364 StringRef NameRef = Name.toStringRef(NameSV); in lookupSymbol() local 365 return Symbols.lookup(NameRef); in lookupSymbol()
|
| H A D | XCOFFObjectWriter.cpp | 834 ArrayRef<char> NameRef(Name, XCOFF::NameSize); in writeSymbolName() local 835 W.write(NameRef); in writeSymbolName() 1025 ArrayRef<char> NameRef(Sec->Name, XCOFF::NameSize); in writeSectionHeader() local 1026 W.write(NameRef); in writeSectionHeader()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/LTO/ |
| H A 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()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ |
| H A D | TargetMachineC.cpp | 76 StringRef NameRef = Name; in LLVMGetTargetFromName() local 78 [&](const Target &T) { return T.getName() == NameRef; }); in LLVMGetTargetFromName()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/ |
| H A D | InstrProfCorrelator.cpp | 257 void InstrProfCorrelatorImpl<IntPtrT>::addDataProbe(uint64_t NameRef, in addDataProbe() argument 266 maybeSwap<uint64_t>(NameRef), in addDataProbe() 469 this->addDataProbe(I->NameRef, I->FuncHash, CounterOffset, in correlateProfileDataImpl()
|
| H A D | InstrProfReader.cpp | 478 for (auto &[TimestampValue, NameRef] : TemporalProfTimestamps) in getTemporalProfTraces() 479 Trace.FunctionNameRefs.push_back(NameRef); in getTemporalProfTraces() 542 Symtab.mapAddress(FPtr, swap(I->NameRef)); in createSymtab() 637 Record.Name = getName(Data->NameRef); in readName() 687 swap(Data->NameRef)); in readRawCounts() 1294 const uint64_t NameRef = in readHeader() local 1297 Trace.FunctionNameRefs.push_back(NameRef); in readHeader()
|
| H A D | InstrProfWriter.cpp | 615 for (auto &NameRef : Trace.FunctionNameRefs) in writeImpl() local 616 OS.write(NameRef); in writeImpl() 820 for (auto &NameRef : Trace.FunctionNameRefs) in writeTextTemporalProfTraceData() local 821 OS << Symtab.getFuncOrVarName(NameRef) << ","; in writeTextTemporalProfTraceData()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/Coverage/ |
| H A D | CoverageMapping.h | 1061 return support::endian::byte_swap<uint64_t, Endian>(Record->NameRef); in getFuncNameRef() 1069 uint64_t NameRef = getFuncNameRef<FuncRecordTy, Endian>(Record); in getFuncNameViaRef() local 1070 FuncName = ProfileNames.getFuncOrVarName(NameRef); in getFuncNameViaRef() 1120 IntPtrT NameRef = getFuncNameRef<Endian>(); in getFuncName() local 1122 FuncName = ProfileNames.getFuncName(NameRef, NameS); in getFuncName()
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-dwarfdump/ |
| H A D | llvm-dwarfdump.cpp | 368 const StringSet<> &Names, DWARFDie Die, StringRef NameRef, raw_ostream &OS, in filterByName() argument 373 (IgnoreCase && !UseRegex) ? NameRef.lower() : NameRef.str(); in filterByName()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
| H A D | InstrProfReader.h | 456 StringRef getName(uint64_t NameRef) const { in getName() argument 457 return Symtab->getFuncOrVarName(swap(NameRef)); in getName()
|
| H A D | InstrProfData.inc | 72 INSTR_PROF_DATA(const uint64_t, llvm::Type::getInt64Ty(Ctx), NameRef, \ 226 COVMAP_FUNC_RECORD(const int64_t, llvm::Type::getInt64Ty(Ctx), NameRef, \
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Object/ |
| H A D | WindowsResource.cpp | 534 ArrayRef<UTF16> NameRef, std::vector<std::vector<UTF16>> &StringTable) { in addNameChild() argument 536 convertUTF16LEToUTF8String(NameRef, NameString); in addNameChild() 541 StringTable.push_back(NameRef); in addNameChild()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | WindowsResource.h | 216 TreeNode &addNameChild(ArrayRef<UTF16> NameRef,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| H A D | XCOFFEmitter.cpp | 89 ArrayRef<char> NameRef(Name, XCOFF::NameSize); in writeName() local 90 W.write(NameRef); in writeName()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/Coverage/ |
| H A D | CoverageMappingReader.cpp | 606 NameRefType NameRef = CFR->template getFuncNameRef<Endian>(); in insertFunctionRecordIfNeeded() local 608 FunctionRecords.insert(std::make_pair(NameRef, Records.size())); in insertFunctionRecordIfNeeded()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGDecl.cpp | 1397 StringRef NameRef = Name.toStringRef(Buffer); in EmitAndRegisterVariableArrayDimensions() local 1398 auto &Ident = getContext().Idents.getOwn(NameRef); in EmitAndRegisterVariableArrayDimensions() 1401 CreateDefaultAlignTempAlloca(VlaSize.NumElts->getType(), NameRef); in EmitAndRegisterVariableArrayDimensions()
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/include/profile/ |
| H A D | InstrProfData.inc | 72 INSTR_PROF_DATA(const uint64_t, llvm::Type::getInt64Ty(Ctx), NameRef, \ 226 COVMAP_FUNC_RECORD(const int64_t, llvm::Type::getInt64Ty(Ctx), NameRef, \
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-profdata/ |
| H A D | llvm-profdata.cpp | 2914 for (auto &NameRef : Traces[i].FunctionNameRefs) in showInstrProfile() local 2915 OS << " " << Reader->getSymtab().getFuncOrVarName(NameRef) << "\n"; in showInstrProfile()
|