Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DTypePool.h68 ArrayList<TypeEntry *, 5> Children;
99 static inline TypeEntry *
102 return TypeEntry::create(Key, Allocator); in create()
109 : ConcurrentHashTableByPtr<StringRef, TypeEntry,
117 Root = TypeEntry::create("", Allocator); in TypePool()
121 TypeEntry *insert(StringRef Name) { in insert()
149 [&](TypeEntry *Entry) { in sortTypes()
158 TypeEntry *getRoot() const { return Root; } in getRoot()
166 std::function<bool(const TypeEntry *LHS, const TypeEntry *RHS)>
167 TypesComparator = [](const TypeEntry *LHS, const TypeEntry *RHS) -> bool {
[all …]
H A DAcceleratorRecordsSaver.cpp65 TypeEntry *TypeEntry) { in save() argument
129 TypeEntry); in save()
134 TypeEntry); in save()
141 if (TypeEntry) in save()
222 TypeEntry *TypeEntry) { in saveNamespaceRecord() argument
224 assert(TypeEntry == nullptr); in saveNamespaceRecord()
236 assert(TypeEntry != nullptr); in saveNamespaceRecord()
243 Info.TypeEntryBodyPtr = TypeEntry->getValue().load(); in saveNamespaceRecord()
265 TypeEntry *TypeEntry) { in saveTypeRecord() argument
267 assert(TypeEntry == nullptr); in saveTypeRecord()
[all …]
H A DAcceleratorRecordsSaver.h39 AttributesInfo &AttrInfo, TypeEntry *TypeEntry);
52 TypeEntry *TypeEntry);
56 TypeEntry *TypeEntry);
H A DOutputSections.cpp34 TypeEntry *RefTypeName) in DebugDieTypeRefPatch()
50 TypeEntry *TypeName, in DebugTypeLineStrPatch()
318 assert(TypeEntry && in applyPatches()
323 if (&TypeEntry->getFinalDie() != Patch.Die) in applyPatches()
346 assert(TypeEntry && in applyPatches()
351 if (&TypeEntry->getFinalDie() != Patch.Die) in applyPatches()
425 assert(TypeEntry && in applyPatches()
431 TypeEntry->getFinalDie().getOffset()); in applyPatches()
438 assert(TypeEntry && in applyPatches()
443 if (&TypeEntry->getFinalDie() != Patch.Die) in applyPatches()
[all …]
H A DOutputSections.h98 DebugDieTypeRefPatch(uint64_t PatchOffset, TypeEntry *RefTypeName);
100 TypeEntry *RefTypeName = nullptr;
106 TypeEntry *RefTypeName);
109 TypeEntry *TypeName = nullptr;
110 TypeEntry *RefTypeName = nullptr;
114 DebugTypeStrPatch(uint64_t PatchOffset, DIE *Die, TypeEntry *TypeName,
118 TypeEntry *TypeName = nullptr;
123 DebugTypeLineStrPatch(uint64_t PatchOffset, DIE *Die, TypeEntry *TypeName,
127 TypeEntry *TypeName = nullptr;
132 DebugTypeDeclFilePatch(DIE *Die, TypeEntry *TypeName, StringEntry *Directory,
[all …]
H A DDWARFLinkerCompileUnit.h322 TypeEntry *getDieTypeEntry(uint32_t Idx) { in getDieTypeEntry()
338 return reinterpret_cast<std::atomic<TypeEntry *> *>( in getDieTypeEntry()
352 void setDieTypeEntry(uint32_t Idx, TypeEntry *Entry) { in setDieTypeEntry()
353 reinterpret_cast<std::atomic<TypeEntry *> *>(&TypeEntries[Idx]) in setDieTypeEntry()
360 TypeEntry *Entry) { in setDieTypeEntry()
361 reinterpret_cast<std::atomic<TypeEntry *> *>( in setDieTypeEntry()
418 std::pair<DIE *, TypeEntry *>
420 TypeEntry *ClonedParentTypeDIE, uint64_t OutOffset,
658 TypeEntry *createTypeDIEandCloneAttributes(
660 TypeEntry *ClonedParentTypeDIE, TypeUnit *ArtificialTypeUnit);
[all …]
H A DDWARFLinkerTypeUnit.cpp170 TypeEntryBody *TypeEntry = Patch.TypeName->getValue().load(); in prepareDataForTreeCreation() local
171 assert(TypeEntry && in prepareDataForTreeCreation()
175 if (&TypeEntry->getFinalDie() != Patch.Die) in prepareDataForTreeCreation()
241 TypeEntry *Entry) { in finalizeTypeEntryRec()
248 Entry->getValue().load()->Children.forEach([&](TypeEntry *ChildEntry) { in finalizeTypeEntryRec()
H A DDWARFLinkerCompileUnit.cpp107 for (TypeEntry *&Name : TypeEntries) in maybeResetToLoadedStage()
246 TypeEntries = SmallVector<TypeEntry *>(); in cleanupDataAfterClonning()
1241 TypeEntry *RootEntry = nullptr; in cloneAndEmit()
1246 std::pair<DIE *, TypeEntry *> OutCUDie = cloneDIE( in cloneAndEmit()
1288 std::pair<DIE *, TypeEntry *> CompileUnit::cloneDIE( in cloneDIE()
1300 std::pair<DIE *, TypeEntry *> ClonedDIE; in cloneDIE()
1321 TypeEntry *TypeParentForChild = in cloneDIE()
1338 std::pair<DIE *, TypeEntry *> ClonedChild = cloneDIE( in cloneDIE()
1468 TypeEntry *CompileUnit::createTypeDIEandCloneAttributes( in createTypeDIEandCloneAttributes()
1470 TypeEntry *ClonedParentTypeDIE, TypeUnit *ArtificialTypeUnit) { in createTypeDIEandCloneAttributes()
[all …]
H A DDWARFLinkerTypeUnit.h85 TypeEntry *Entry);
H A DSyntheticTypeNameBuilder.cpp204 if (TypeEntry *ImmediateParentName = in addParentName()
402 TypeEntry *TypeEntryPtr = in addDIETypeName()
H A DDIEAttributeCloner.cpp250 TypeEntry *RefTypeName = nullptr; in cloneDieRefAttr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBTFDebug.cpp517 uint32_t Id = TypeEntry->getId(); in addType()
525 uint32_t Id = TypeEntry->getId(); in addType()
546 TypeEntry = in visitBasicType()
597 addType(std::move(TypeEntry)); in processDeclAnnotations()
646 TypeEntry = in genBTFTypeTags()
678 auto TypeEntry = in visitStructType() local
713 auto TypeEntry = in visitArrayType() local
1058 TypeEntry->emitType(OS); in emitBTFSection()
1222 TypeEntry->completeType(*this); in beginFunctionImpl()
1252 TypeEntry->completeType(*this); in populateType()
[all …]
H A DBTFDebug.h314 uint32_t addType(std::unique_ptr<BTFTypeBase> TypeEntry, const DIType *Ty);
316 uint32_t addType(std::unique_ptr<BTFTypeBase> TypeEntry);
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DDAGISelMatcherOpt.cpp439 DenseMap<unsigned, unsigned> TypeEntry; in FactorNodes() local
450 unsigned &Entry = TypeEntry[CTMTy]; in FactorNodes()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/GISel/
H A DX86InstructionSelector.cpp1707 const MulDivRemEntry &TypeEntry = *OpEntryIt; in selectMulDivRem() local
1709 TypeEntry.ResultTable[OpIndex]; in selectMulDivRem()
1722 TypeEntry.LowInReg) in selectMulDivRem()
1740 TypeEntry.HighInReg) in selectMulDivRem()
1744 TypeEntry.HighInReg) in selectMulDivRem()
1748 TII.get(TargetOpcode::SUBREG_TO_REG), TypeEntry.HighInReg) in selectMulDivRem()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FastISel.cpp1942 const DivRemEntry &TypeEntry = OpTable[TypeIndex]; in X86SelectDivRem() local
1943 const DivRemEntry::DivRemResult &OpEntry = TypeEntry.ResultTable[OpIndex]; in X86SelectDivRem()
1953 TII.get(OpEntry.OpCopy), TypeEntry.LowInReg).addReg(Op0Reg); in X86SelectDivRem()
1969 TII.get(Copy), TypeEntry.HighInReg) in X86SelectDivRem()
1973 TII.get(Copy), TypeEntry.HighInReg) in X86SelectDivRem()
1977 TII.get(TargetOpcode::SUBREG_TO_REG), TypeEntry.HighInReg) in X86SelectDivRem()
2012 ResultReg = createResultReg(TypeEntry.RC); in X86SelectDivRem()