Home
last modified time | relevance | path

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

/src/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 DAcceleratorRecordsSaver.cpp65 TypeEntry *TypeEntry) { in save() argument
120 ObjCClassIsImplementation, TypeEntry); in save()
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
[all …]
H A DAcceleratorRecordsSaver.h39 AttributesInfo &AttrInfo, TypeEntry *TypeEntry);
52 TypeEntry *TypeEntry);
56 TypeEntry *TypeEntry);
H A DOutputSections.cpp34 TypeEntry *RefTypeName) in DebugDieTypeRefPatch()
39 TypeEntry *TypeName, in DebugType2TypeDieRefPatch()
40 TypeEntry *RefTypeName) in DebugType2TypeDieRefPatch()
45 TypeEntry *TypeName, StringEntry *String) in DebugTypeStrPatch()
50 TypeEntry *TypeName, in DebugTypeLineStrPatch()
55 DebugTypeDeclFilePatch::DebugTypeDeclFilePatch(DIE *Die, TypeEntry *TypeName, in DebugTypeDeclFilePatch()
317 TypeEntryBody *TypeEntry = Patch.TypeName->getValue().load(); in applyPatches() local
318 assert(TypeEntry && in applyPatches()
323 if (&TypeEntry->getFinalDie() != Patch.Die) in applyPatches()
345 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.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()
1289 const DWARFDebugInfoEntry *InputDieEntry, TypeEntry *ClonedParentTypeDIE, 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()
[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()
/src/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBTFDebug.cpp515 uint32_t BTFDebug::addType(std::unique_ptr<BTFTypeBase> TypeEntry, in addType() argument
517 TypeEntry->setId(TypeEntries.size() + 1); in addType()
518 uint32_t Id = TypeEntry->getId(); in addType()
520 TypeEntries.push_back(std::move(TypeEntry)); in addType()
524 uint32_t BTFDebug::addType(std::unique_ptr<BTFTypeBase> TypeEntry) { in addType() argument
525 TypeEntry->setId(TypeEntries.size() + 1); in addType()
526 uint32_t Id = TypeEntry->getId(); in addType()
527 TypeEntries.push_back(std::move(TypeEntry)); in addType()
534 std::unique_ptr<BTFTypeBase> TypeEntry; in visitBasicType() local
543 TypeEntry = std::make_unique<BTFTypeInt>( in visitBasicType()
[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);
/src/contrib/llvm-project/llvm/utils/TableGen/
H A DDAGISelMatcherOpt.cpp438 DenseMap<unsigned, unsigned> TypeEntry; in FactorNodes() local
449 unsigned &Entry = TypeEntry[CTMTy]; in FactorNodes()
/src/contrib/llvm-project/llvm/lib/Target/X86/GISel/
H A DX86InstructionSelector.cpp1742 const MulDivRemEntry &TypeEntry = *OpEntryIt; in selectMulDivRem() local
1744 TypeEntry.ResultTable[OpIndex]; in selectMulDivRem()
1757 TypeEntry.LowInReg) in selectMulDivRem()
1775 TypeEntry.HighInReg) in selectMulDivRem()
1779 TypeEntry.HighInReg) in selectMulDivRem()
1783 TII.get(TargetOpcode::SUBREG_TO_REG), TypeEntry.HighInReg) in selectMulDivRem()
/src/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FastISel.cpp1943 const DivRemEntry &TypeEntry = OpTable[TypeIndex]; in X86SelectDivRem() local
1944 const DivRemEntry::DivRemResult &OpEntry = TypeEntry.ResultTable[OpIndex]; in X86SelectDivRem()
1954 TII.get(OpEntry.OpCopy), TypeEntry.LowInReg).addReg(Op0Reg); in X86SelectDivRem()
1970 TII.get(Copy), TypeEntry.HighInReg) in X86SelectDivRem()
1974 TII.get(Copy), TypeEntry.HighInReg) in X86SelectDivRem()
1978 TII.get(TargetOpcode::SUBREG_TO_REG), TypeEntry.HighInReg) in X86SelectDivRem()
2013 ResultReg = createResultReg(TypeEntry.RC); in X86SelectDivRem()