Home
last modified time | relevance | path

Searched refs:TypeIndex (Results 1 – 25 of 39) 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;
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 …]
DTypeDumper.h30 StringRef getTypeName(TypeIndex TI);
31 void printTypeIndex(StringRef FieldName, TypeIndex TI);
DTypeSymbolEmitter.h33 virtual void writeUserDefinedType(TypeIndex TI, StringRef Name) = 0;
DMethodListRecordBuilder.h29 TypeIndex Type, int32_t VTableSlotOffset);
/external/tensorflow/tensorflow/core/framework/
Dtype_index.h41 class TypeIndex {
43 TypeIndex(const TypeIndex& src) : hash_(src.hash_) {} in TypeIndex() function
44 TypeIndex& operator=(const TypeIndex& src) {
48 bool operator==(const TypeIndex& rhs) const { return (hash_ == rhs.hash_); }
49 bool operator!=(const TypeIndex& rhs) const { return (hash_ != rhs.hash_); }
50 ~TypeIndex() {} in ~TypeIndex()
57 static TypeIndex Make() { in Make()
59 return TypeIndex(static_cast<uint64>(reinterpret_cast<intptr_t>(hash_bit))); in Make()
65 TypeIndex(const uint64 hash) : hash_(hash) {} in TypeIndex() function
70 inline TypeIndex MakeTypeIndex() { in MakeTypeIndex()
[all …]
Dvariant.h192 TypeIndex TypeId() const { in TypeId()
193 const TypeIndex VoidTypeIndex = MakeTypeIndex<void>(); in TypeId()
209 const TypeIndex TTypeIndex = MakeTypeIndex<T>(); in get()
218 const TypeIndex TTypeIndex = MakeTypeIndex<T>(); in get()
288 virtual TypeIndex TypeId() const = 0;
306 TypeIndex TypeId() const override { in TypeId()
307 const TypeIndex value_type_index = in TypeId()
Dresource_mgr.cc31 const TypeIndex& type_index) { in MakeResourceHandle()
49 const TypeIndex& type_index) { in MakeResourceHandleToOutput()
139 Status ResourceMgr::DoCreate(const string& container, TypeIndex type, in DoCreate()
157 Status ResourceMgr::DoLookup(const string& container, TypeIndex type, in DoLookup()
200 Status ResourceMgr::DoDelete(const string& container, TypeIndex type, in DoDelete()
Dresource_mgr.h177 Status DoCreate(const string& container, TypeIndex type, const string& name,
179 Status DoLookup(const string& container, TypeIndex type, const string& name,
184 Status DoDelete(const string& container, TypeIndex type,
207 const TypeIndex& type_index);
217 const TypeIndex& type_index);
/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/
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 …]
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 …]
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()
/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/tensorflow/tensorflow/core/kernels/
Dsparse_tensor_dense_matmul_op.cc158 #define REGISTER_CPU(TypeT, TypeIndex) \ argument
163 .TypeConstraint<TypeIndex>("Tindices") \
165 SparseTensorDenseMatMulOp<CPUDevice, TypeT, TypeIndex>);
208 #define REGISTER_GPU(TypeT, TypeIndex) \ argument
213 .TypeConstraint<TypeIndex>("Tindices") \
215 SparseTensorDenseMatMulOp<GPUDevice, TypeT, TypeIndex>);
Dsparse_tensor_dense_add_op.cc146 #define REGISTER_KERNELS_CPU(TypeT, TypeIndex) \ argument
150 .TypeConstraint<TypeIndex>("Tindices"), \
151 SparseTensorDenseAddOp<CPUDevice, TypeT, TypeIndex>)
/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

12