Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DTypePool.h27 using TypeEntry = StringMapEntry<std::atomic<TypeEntryBody *>>; variable
68 ArrayList<TypeEntry *, 5> Children;
94 static inline StringRef getKey(const TypeEntry &KeyData) { in getKey()
99 static inline TypeEntry *
102 return TypeEntry::create(Key, Allocator); in create()
109 : ConcurrentHashTableByPtr<StringRef, TypeEntry,
114 : ConcurrentHashTableByPtr<StringRef, TypeEntry, in TypePool()
117 Root = TypeEntry::create("", Allocator); in TypePool()
121 TypeEntry *insert(StringRef Name) { in insert()
122 return ConcurrentHashTableByPtr<StringRef, TypeEntry, in insert()
[all …]
H A DOutputSections.cpp33 TypeEntry *RefTypeName) in DebugDieTypeRefPatch()
38 TypeEntry *TypeName, in DebugType2TypeDieRefPatch()
39 TypeEntry *RefTypeName) in DebugType2TypeDieRefPatch()
44 TypeEntry *TypeName, StringEntry *String) in DebugTypeStrPatch()
49 TypeEntry *TypeName, in DebugTypeLineStrPatch()
54 DebugTypeDeclFilePatch::DebugTypeDeclFilePatch(DIE *Die, TypeEntry *TypeName, in DebugTypeDeclFilePatch()
316 TypeEntryBody *TypeEntry = Patch.TypeName->getValue().load(); in applyPatches() local
317 assert(TypeEntry && in applyPatches()
322 if (&TypeEntry->getFinalDie() != Patch.Die) in applyPatches()
344 TypeEntryBody *TypeEntry = Patch.TypeName->getValue().load(); in applyPatches() local
[all …]
H A DOutputSections.h98 DebugDieTypeRefPatch(uint64_t PatchOffset, TypeEntry *RefTypeName);
100 TypeEntry *RefTypeName = nullptr;
105 DebugType2TypeDieRefPatch(uint64_t PatchOffset, DIE *Die, TypeEntry *TypeName,
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;
[all …]
H A DDWARFLinkerCompileUnit.h322 TypeEntry *getDieTypeEntry(uint32_t Idx) { in getDieTypeEntry()
323 return reinterpret_cast<std::atomic<TypeEntry *> *>(&TypeEntries[Idx]) in getDieTypeEntry()
337 TypeEntry *getDieTypeEntry(const DWARFDebugInfoEntry *InputDieEntry) { 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,
[all …]
H A DDWARFLinkerTypeUnit.cpp169 TypeEntryBody *TypeEntry = Patch.TypeName->getValue().load(); in prepareDataForTreeCreation() local
170 assert(TypeEntry && in prepareDataForTreeCreation()
174 if (&TypeEntry->getFinalDie() != Patch.Die) in prepareDataForTreeCreation()
240 TypeEntry *Entry) { in finalizeTypeEntryRec()
247 Entry->getValue().load()->Children.forEach([&](TypeEntry *ChildEntry) { in finalizeTypeEntryRec()
H A DDWARFLinkerCompileUnit.cpp243 TypeEntries = SmallVector<TypeEntry *>(); in cleanupDataAfterClonning()
1237 TypeEntry *RootEntry = nullptr; in cloneAndEmit()
1242 std::pair<DIE *, TypeEntry *> OutCUDie = cloneDIE( in cloneAndEmit()
1284 std::pair<DIE *, TypeEntry *> CompileUnit::cloneDIE( in cloneDIE()
1285 const DWARFDebugInfoEntry *InputDieEntry, TypeEntry *ClonedParentTypeDIE, in cloneDIE()
1296 std::pair<DIE *, TypeEntry *> ClonedDIE; in cloneDIE()
1317 TypeEntry *TypeParentForChild = in cloneDIE()
1334 std::pair<DIE *, TypeEntry *> ClonedChild = cloneDIE( in cloneDIE()
1464 TypeEntry *CompileUnit::createTypeDIEandCloneAttributes( in createTypeDIEandCloneAttributes()
1466 TypeEntry *ClonedParentTypeDIE, TypeUnit *ArtificialTypeUnit) { in createTypeDIEandCloneAttributes()
[all …]
H A DSyntheticTypeNameBuilder.cpp203 if (TypeEntry *ImmediateParentName = in addParentName()
401 TypeEntry *TypeEntryPtr = in addDIETypeName()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBTFDebug.cpp581 uint32_t BTFDebug::addType(std::unique_ptr<BTFTypeBase> TypeEntry, in addType() argument
583 TypeEntry->setId(TypeEntries.size() + 1); in addType()
584 uint32_t Id = TypeEntry->getId(); in addType()
586 TypeEntries.push_back(std::move(TypeEntry)); in addType()
590 uint32_t BTFDebug::addType(std::unique_ptr<BTFTypeBase> TypeEntry) { in addType() argument
591 TypeEntry->setId(TypeEntries.size() + 1); in addType()
592 uint32_t Id = TypeEntry->getId(); in addType()
593 TypeEntries.push_back(std::move(TypeEntry)); in addType()
600 std::unique_ptr<BTFTypeBase> TypeEntry; in visitBasicType() local
609 TypeEntry = std::make_unique<BTFTypeInt>( in visitBasicType()
[all …]
H A DBTFDebug.h315 uint32_t addType(std::unique_ptr<BTFTypeBase> TypeEntry, const DIType *Ty);
317 uint32_t addType(std::unique_ptr<BTFTypeBase> TypeEntry);
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DDAGISelMatcherOpt.cpp558 DenseMap<unsigned, unsigned> TypeEntry; in FactorScope() local
569 unsigned &Entry = TypeEntry[CTMTy]; in FactorScope()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstructionSelector.cpp
H A DX86FastISel.cpp1949 const DivRemEntry &TypeEntry = OpTable[TypeIndex]; in X86SelectDivRem() local
1950 const DivRemEntry::DivRemResult &OpEntry = TypeEntry.ResultTable[OpIndex]; in X86SelectDivRem()
1960 TII.get(OpEntry.OpCopy), TypeEntry.LowInReg).addReg(Op0Reg); in X86SelectDivRem()
1976 TII.get(Copy), TypeEntry.HighInReg) in X86SelectDivRem()
1980 TII.get(Copy), TypeEntry.HighInReg) in X86SelectDivRem()
1984 TII.get(TargetOpcode::SUBREG_TO_REG), TypeEntry.HighInReg) in X86SelectDivRem()
2019 ResultReg = createResultReg(TypeEntry.RC); in X86SelectDivRem()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/
H A DX86InstructionSelector.cpp1782 const MulDivRemEntry &TypeEntry = *OpEntryIt; in selectMulDivRem() local
1784 TypeEntry.ResultTable[OpIndex]; in selectMulDivRem()
1797 TypeEntry.LowInReg) in selectMulDivRem()
1815 TypeEntry.HighInReg) in selectMulDivRem()
1819 TypeEntry.HighInReg) in selectMulDivRem()
1823 TII.get(TargetOpcode::SUBREG_TO_REG), TypeEntry.HighInReg) in selectMulDivRem()