Home
last modified time | relevance | path

Searched refs:TypeIndex (Results 1 – 25 of 32) sorted by relevance

12

/external/llvm/include/llvm/DebugInfo/CodeView/
DTypeIndex.h89 class TypeIndex {
96 TypeIndex() : Index(0) {} in TypeIndex() function
97 explicit TypeIndex(uint32_t Index) : Index(Index) {} in TypeIndex() function
98 explicit TypeIndex(SimpleTypeKind Kind) in TypeIndex() function
100 TypeIndex(SimpleTypeKind Kind, SimpleTypeMode Mode) in TypeIndex() function
118 static TypeIndex None() { return TypeIndex(SimpleTypeKind::None); } in None()
119 static TypeIndex Void() { return TypeIndex(SimpleTypeKind::Void); } in Void()
120 static TypeIndex VoidPointer32() { in VoidPointer32()
121 return TypeIndex(SimpleTypeKind::Void, SimpleTypeMode::NearPointer32); in VoidPointer32()
123 static TypeIndex VoidPointer64() { in VoidPointer64()
[all …]
DTypeRecord.h78 MemberPointerInfo(TypeIndex ContainingType, in MemberPointerInfo()
84 bool remapTypeIndices(ArrayRef<TypeIndex> IndexMap);
88 TypeIndex getContainingType() const { return ContainingType; } in getContainingType()
95 TypeIndex ClassType;
99 TypeIndex ContainingType;
117 ModifierRecord(TypeIndex ModifiedType, ModifierOptions Modifiers) in ModifierRecord()
123 bool remapTypeIndices(ArrayRef<TypeIndex> IndexMap);
128 TypeIndex getModifiedType() const { return ModifiedType; } in getModifiedType()
133 TypeIndex ModifiedType;
137 TypeIndex ModifiedType;
[all …]
DTypeTableBuilder.h40 TypeIndex writeModifier(const ModifierRecord &Record);
41 TypeIndex writeProcedure(const ProcedureRecord &Record);
42 TypeIndex writeMemberFunction(const MemberFunctionRecord &Record);
43 TypeIndex writeArgList(const ArgListRecord &Record);
44 TypeIndex writePointer(const PointerRecord &Record);
45 TypeIndex writeArray(const ArrayRecord &Record);
46 TypeIndex writeClass(const ClassRecord &Record);
47 TypeIndex writeUnion(const UnionRecord &Record);
48 TypeIndex writeEnum(const EnumRecord &Record);
49 TypeIndex writeBitField(const BitFieldRecord &Record);
[all …]
DMemoryTypeTableBuilder.h28 uint32_t Index = TypeIndex::FirstNonSimpleIndex; in ForEachRecord()
31 Func(TypeIndex(Index), R); in ForEachRecord()
37 TypeIndex writeRecord(llvm::StringRef Data) override;
42 DenseMap<StringRef, TypeIndex> HashedRecords;
DFieldListRecordBuilder.h24 TypeIndex Type, int32_t VTableSlotOffset) in MethodInfo()
31 TypeIndex getType() const { return Type; } in getType()
38 TypeIndex Type;
DTypeDumper.h30 StringRef getTypeName(TypeIndex TI);
31 void printTypeIndex(StringRef FieldName, TypeIndex TI);
DSymbolRecord.h53 TypeIndex FunctionType;
237 ArrayRef<TypeIndex> Indices) in CallerSym()
245 ArrayRef<TypeIndex> Indices; in deserialize()
254 ArrayRef<TypeIndex> Indices;
441 TypeIndex Inlinee;
562 TypeIndex Type;
1155 TypeIndex Type;
1186 TypeIndex Type;
1245 TypeIndex Type; // Type of the UDT
1297 TypeIndex Type; // Type of the variable
[all …]
DTypeSymbolEmitter.h33 virtual void writeUserDefinedType(TypeIndex TI, StringRef Name) = 0;
DMethodListRecordBuilder.h29 TypeIndex Type, int32_t VTableSlotOffset);
DListRecordBuilder.h41 TypeIndex writeListRecord(TypeTableBuilder &Table);
DTypeRecordBuilder.h38 void writeTypeIndex(TypeIndex TypeInd);
DLine.h136 TypeIndex Inlinee; // ID of the function that was inlined.
/external/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.h124 codeview::TypeIndex getFuncIdForSubprogram(const DISubprogram *SP);
146 DenseMap<std::pair<const DINode *, const DIType *>, codeview::TypeIndex>
151 DenseMap<const DICompositeType *, codeview::TypeIndex> CompleteTypeIndices;
160 codeview::TypeIndex VBPType;
166 std::vector<std::pair<std::string, codeview::TypeIndex>> LocalUDTs,
199 ArrayRef<std::pair<std::string, codeview::TypeIndex>> UDTs);
231 codeview::TypeIndex getTypeIndex(DITypeRef TypeRef,
234 codeview::TypeIndex getMemberFunctionType(const DISubprogram *SP,
237 codeview::TypeIndex getScopeIndex(const DIScope *Scope);
239 codeview::TypeIndex getVBPTypeIndex();
[all …]
DCodeViewDebug.cpp197 TypeIndex CodeViewDebug::getScopeIndex(const DIScope *Scope) { in getScopeIndex()
200 return TypeIndex(); in getScopeIndex()
211 TypeIndex TI = in getScopeIndex()
212 TypeTable.writeStringId(StringIdRecord(TypeIndex(), ScopeName)); in getScopeIndex()
216 TypeIndex CodeViewDebug::getFuncIdForSubprogram(const DISubprogram *SP) { in getFuncIdForSubprogram()
220 return TypeIndex::None(); in getFuncIdForSubprogram()
232 TypeIndex TI; in getFuncIdForSubprogram()
237 TypeIndex ClassType = getTypeIndex(Class); in getFuncIdForSubprogram()
243 TypeIndex ParentScope = getScopeIndex(Scope); in getFuncIdForSubprogram()
251 TypeIndex CodeViewDebug::getMemberFunctionType(const DISubprogram *SP, in getMemberFunctionType()
[all …]
/external/llvm/lib/DebugInfo/CodeView/
DTypeTableBuilder.cpp24 TypeIndex TypeTableBuilder::writeModifier(const ModifierRecord &Record) { in writeModifier()
33 TypeIndex TypeTableBuilder::writeProcedure(const ProcedureRecord &Record) { in writeProcedure()
45 TypeIndex
61 TypeIndex TypeTableBuilder::writeArgList(const ArgListRecord &Record) { in writeArgList()
65 for (TypeIndex TI : Record.getIndices()) { in writeArgList()
72 TypeIndex TypeTableBuilder::writePointer(const PointerRecord &Record) { in writePointer()
93 TypeIndex TypeTableBuilder::writeArray(const ArrayRecord &Record) { in writeArray()
104 TypeIndex TypeTableBuilder::writeClass(const ClassRecord &Record) { in writeClass()
131 TypeIndex TypeTableBuilder::writeUnion(const UnionRecord &Record) { in writeUnion()
148 TypeIndex TypeTableBuilder::writeEnum(const EnumRecord &Record) { in writeEnum()
[all …]
DTypeRecord.cpp27 TypeIndex T = L->ClassType; in deserialize()
40 TypeIndex M = L->ModifiedType; in deserialize()
79 ArrayRef<TypeIndex> Indices; in deserialize()
246 ArrayRef<TypeIndex> Indices; in deserialize()
382 static bool remapIndex(ArrayRef<TypeIndex> IndexMap, TypeIndex &Idx) { in remapIndex()
386 unsigned MapPos = Idx.getIndex() - TypeIndex::FirstNonSimpleIndex; in remapIndex()
394 Idx = TypeIndex(SimpleTypeKind::NotTranslated, SimpleTypeMode::Direct); in remapIndex()
398 bool ModifierRecord::remapTypeIndices(ArrayRef<TypeIndex> IndexMap) { in remapTypeIndices()
402 bool ProcedureRecord::remapTypeIndices(ArrayRef<TypeIndex> IndexMap) { in remapTypeIndices()
409 bool MemberFunctionRecord::remapTypeIndices(ArrayRef<TypeIndex> IndexMap) { in remapTypeIndices()
[all …]
DMemoryTypeTableBuilder.cpp16 TypeIndex MemoryTypeTableBuilder::writeRecord(StringRef Data) { in writeRecord()
37 TypeIndex TI(static_cast<uint32_t>(Records.size()) + in writeRecord()
38 TypeIndex::FirstNonSimpleIndex); in writeRecord()
DListRecordBuilder.cpp75 TypeIndex ListRecordBuilder::writeListRecord(TypeTableBuilder &Table) { in writeListRecord()
89 TypeIndex ContinuationIndex = Table.writeRecord(LastRec); in writeListRecord()
DTypeStreamMerger.cpp91 SmallVector<TypeIndex, 0> IndexMap;
131 TypeIndex(SimpleTypeKind::NotTranslated, SimpleTypeMode::Direct)); in visitUnknownType()
DMethodListRecordBuilder.cpp20 MethodOptions Options, TypeIndex Type, in writeMethod()
DTypeRecordBuilder.cpp107 void TypeRecordBuilder::writeTypeIndex(TypeIndex TypeInd) { in writeTypeIndex()
/external/swiftshader/third_party/subzero/src/
DIceTargetLowering.cpp207 for (SizeT TypeIndex = 0; TypeIndex < TypeToRegisterSetSize; in filterTypeToRegisterSet() local
208 ++TypeIndex) { in filterTypeToRegisterSet()
210 RClass == getRegClassName(static_cast<RegClass>(TypeIndex))) { in filterTypeToRegisterSet()
211 RegSet[TypeIndex][RegIndex] = TypeToRegisterSet[TypeIndex][RegIndex]; in filterTypeToRegisterSet()
230 for (size_t TypeIndex = 0; TypeIndex < TypeToRegisterSetSize; ++TypeIndex) { in filterTypeToRegisterSet() local
231 SmallBitVector *TypeBitSet = &TypeToRegisterSet[TypeIndex]; in filterTypeToRegisterSet()
232 SmallBitVector *UseBitSet = &UseSet[TypeIndex]; in filterTypeToRegisterSet()
233 SmallBitVector *ExcludeBitSet = &ExcludeSet[TypeIndex]; in filterTypeToRegisterSet()
246 for (size_t TypeIndex = 0; TypeIndex < TypeToRegisterSetSize; ++TypeIndex) { in filterTypeToRegisterSet() local
247 Str << Indent << getRegClassName(static_cast<RegClass>(TypeIndex)) in filterTypeToRegisterSet()
[all …]
/external/llvm/test/DebugInfo/COFF/
Dparameter-order.ll16 ; ASM: .long 116 # TypeIndex
22 ; ASM: .long 116 # TypeIndex
28 ; ASM: .long 116 # TypeIndex
34 ; ASM: .long 116 # TypeIndex
40 ; ASM: .long 116 # TypeIndex
Dlocal-variables.ll75 ; ASM: .long 116 # TypeIndex
80 ; ASM: .long 116 # TypeIndex
85 ; ASM: .long 116 # TypeIndex
91 ; ASM: .long 116 # TypeIndex
98 ; ASM: .long 116 # TypeIndex
/external/llvm/include/llvm/DebugInfo/PDB/Raw/
DRawTypes.h79 codeview::TypeIndex Type;

12