/external/tensorflow/tensorflow/core/framework/ |
type_index.h | 21 #include <typeindex> 35 // A thin TypeIndex class that mimics std::type_index but does not use RTTI. As 41 class TypeIndex { 43 TypeIndex(const TypeIndex& src) : hash_(src.hash_) {} 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() {} [all...] |
/external/llvm/include/llvm/DebugInfo/CodeView/ |
TypeTableBuilder.h | 14 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 40 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) [all...] |
TypeIndex.h | 1 //===- TypeIndex.h ----------------------------------------------*- C++ -*-===// 89 class TypeIndex { 96 TypeIndex() : Index(0) {} 97 explicit TypeIndex(uint32_t Index) : Index(Index) {} 98 explicit TypeIndex(SimpleTypeKind Kind) 100 TypeIndex(SimpleTypeKind Kind, SimpleTypeMode Mode) 118 static TypeIndex None() { return TypeIndex(SimpleTypeKind::None); } 119 static TypeIndex Void() { return TypeIndex(SimpleTypeKind::Void); [all...] |
TypeRecord.h | 18 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 78 MemberPointerInfo(TypeIndex ContainingType, 84 bool remapTypeIndices(ArrayRef<TypeIndex> IndexMap); 88 TypeIndex getContainingType() const { return ContainingType; } 95 TypeIndex ClassType; 99 TypeIndex ContainingType; 117 ModifierRecord(TypeIndex ModifiedType, ModifierOptions Modifiers) 123 bool remapTypeIndices(ArrayRef<TypeIndex> IndexMap); 128 TypeIndex getModifiedType() const { return ModifiedType; } 133 TypeIndex ModifiedType [all...] |
MemoryTypeTableBuilder.h | 28 uint32_t Index = TypeIndex::FirstNonSimpleIndex; 31 Func(TypeIndex(Index), R); 37 TypeIndex writeRecord(llvm::StringRef Data) override; 42 DenseMap<StringRef, TypeIndex> HashedRecords;
|
TypeSymbolEmitter.h | 14 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 33 virtual void writeUserDefinedType(TypeIndex TI, StringRef Name) = 0;
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/CodeView/ |
TypeIndex.h | 1 //===- TypeIndex.h ----------------------------------------------*- C++ -*-===// 96 class TypeIndex { 104 TypeIndex() : Index(static_cast<uint32_t>(SimpleTypeKind::None)) {} 105 explicit TypeIndex(uint32_t Index) : Index(Index) {} 106 explicit TypeIndex(SimpleTypeKind Kind) 108 TypeIndex(SimpleTypeKind Kind, SimpleTypeMode Mode) 123 static TypeIndex fromArrayIndex(uint32_t Index) { 124 return TypeIndex(Index + FirstNonSimpleIndex); 137 static TypeIndex None() { return TypeIndex(SimpleTypeKind::None); [all...] |
TypeCollection.h | 15 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 26 virtual Optional<TypeIndex> getFirst() = 0; 27 virtual Optional<TypeIndex> getNext(TypeIndex Prev) = 0; 29 virtual CVType getType(TypeIndex Index) = 0; 30 virtual StringRef getTypeName(TypeIndex Index) = 0; 31 virtual bool contains(TypeIndex Index) = 0; 36 Optional<TypeIndex> Next = getFirst(); 39 TypeIndex N = *Next;
|
TypeStreamMerger.h | 21 class TypeIndex; 31 /// \param SourceToDest A vector, indexed by the TypeIndex in the source 40 SmallVectorImpl<TypeIndex> &SourceToDest, 56 /// \param SourceToDest A vector, indexed by the TypeIndex in the source 64 Error mergeIdRecords(MergingTypeTableBuilder &Dest, ArrayRef<TypeIndex> Types, 65 SmallVectorImpl<TypeIndex> &SourceToDest, 75 /// \param SourceToDest A vector, indexed by the TypeIndex in the source 85 SmallVectorImpl<TypeIndex> &SourceToDest, 90 SmallVectorImpl<TypeIndex> &SourceToDest, 95 SmallVectorImpl<TypeIndex> &SourceToDest [all...] |
TypeTableCollection.h | 25 Optional<TypeIndex> getFirst() override; 26 Optional<TypeIndex> getNext(TypeIndex Prev) override; 28 CVType getType(TypeIndex Index) override; 29 StringRef getTypeName(TypeIndex Index) override; 30 bool contains(TypeIndex Index) override;
|
LazyRandomTypeCollection.h | 17 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 33 /// a symbol record one of the fields may be the TypeIndex of the symbol's 35 /// be a TypeIndex for the element type. Sequential access is perfect when 72 uint32_t getOffsetOfType(TypeIndex Index); 74 Optional<CVType> tryGetType(TypeIndex Index); 76 CVType getType(TypeIndex Index) override; 77 StringRef getTypeName(TypeIndex Index) override; 78 bool contains(TypeIndex Index) override; 81 Optional<TypeIndex> getFirst() override; 82 Optional<TypeIndex> getNext(TypeIndex Prev) override [all...] |
MergingTypeTableBuilder.h | 20 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 42 DenseMap<LocallyHashedType, TypeIndex> HashedRecords; 44 /// Contains a list of all records indexed by TypeIndex.toArrayIndex(). 52 Optional<TypeIndex> getFirst() override; 53 Optional<TypeIndex> getNext(TypeIndex Prev) override; 54 CVType getType(TypeIndex Index) override; 55 StringRef getTypeName(TypeIndex Index) override; 56 bool contains(TypeIndex Index) override; 62 TypeIndex nextTypeIndex() const [all...] |
AppendingTypeTableBuilder.h | 18 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 35 /// Contains a list of all records indexed by TypeIndex.toArrayIndex(). 43 Optional<TypeIndex> getFirst() override; 44 Optional<TypeIndex> getNext(TypeIndex Prev) override; 45 CVType getType(TypeIndex Index) override; 46 StringRef getTypeName(TypeIndex Index) override; 47 bool contains(TypeIndex Index) override; 53 TypeIndex nextTypeIndex() const; 58 TypeIndex insertRecordBytes(ArrayRef<uint8_t> &Record) [all...] |
GlobalTypeTableBuilder.h | 20 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 42 DenseMap<GloballyHashedType, TypeIndex> HashedRecords; 44 /// Contains a list of all records indexed by TypeIndex.toArrayIndex(). 47 /// Contains a list of all hash values inexed by TypeIndex.toArrayIndex(). 55 Optional<TypeIndex> getFirst() override; 56 Optional<TypeIndex> getNext(TypeIndex Prev) override; 57 CVType getType(TypeIndex Index) override; 58 StringRef getTypeName(TypeIndex Index) override; 59 bool contains(TypeIndex Index) override [all...] |
TypeRecord.h | 22 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 106 MemberPointerInfo(TypeIndex ContainingType, 110 TypeIndex getContainingType() const { return ContainingType; } 115 TypeIndex ContainingType; 135 ModifierRecord(TypeIndex ModifiedType, ModifierOptions Modifiers) 139 TypeIndex getModifiedType() const { return ModifiedType; } 142 TypeIndex ModifiedType; 151 ProcedureRecord(TypeIndex ReturnType, CallingConvention CallConv, 153 TypeIndex ArgumentList) 158 TypeIndex getReturnType() const { return ReturnType; [all...] |
RecordName.h | 15 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 19 std::string computeTypeName(TypeCollection &Types, TypeIndex Index);
|
TypeSymbolEmitter.h | 14 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 33 virtual void writeUserDefinedType(TypeIndex TI, StringRef Name) = 0;
|
/art/libdexfile/dex/ |
type_reference.h | 34 TypeReference(const DexFile* dex_file, dex::TypeIndex index) 37 dex::TypeIndex TypeIndex() const { 38 return dex::TypeIndex(index); 47 StringReference sr1(tr1.dex_file, tr1.dex_file->GetTypeId(tr1.TypeIndex()).descriptor_idx_); 48 StringReference sr2(tr2.dex_file, tr2.dex_file->GetTypeId(tr2.TypeIndex()).descriptor_idx_);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/CodeView/ |
AppendingTypeTableBuilder.cpp | 17 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 31 TypeIndex AppendingTypeTableBuilder::nextTypeIndex() const { 32 return TypeIndex::fromArrayIndex(SeenRecords.size()); 40 Optional<TypeIndex> AppendingTypeTableBuilder::getFirst() { 44 return TypeIndex(TypeIndex::FirstNonSimpleIndex); 47 Optional<TypeIndex> AppendingTypeTableBuilder::getNext(TypeIndex Prev) { 53 CVType AppendingTypeTableBuilder::getType(TypeIndex Index) { 62 StringRef AppendingTypeTableBuilder::getTypeName(TypeIndex Index) [all...] |
MergingTypeTableBuilder.cpp | 17 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 31 TypeIndex MergingTypeTableBuilder::nextTypeIndex() const { 32 return TypeIndex::fromArrayIndex(SeenRecords.size()); 42 Optional<TypeIndex> MergingTypeTableBuilder::getFirst() { 46 return TypeIndex(TypeIndex::FirstNonSimpleIndex); 49 Optional<TypeIndex> MergingTypeTableBuilder::getNext(TypeIndex Prev) { 55 CVType MergingTypeTableBuilder::getType(TypeIndex Index) { 64 StringRef MergingTypeTableBuilder::getTypeName(TypeIndex Index) [all...] |
TypeTableCollection.cpp | 24 Optional<TypeIndex> TypeTableCollection::getFirst() { 27 return TypeIndex::fromArrayIndex(0); 30 Optional<TypeIndex> TypeTableCollection::getNext(TypeIndex Prev) { 38 CVType TypeTableCollection::getType(TypeIndex Index) { 47 StringRef TypeTableCollection::getTypeName(TypeIndex Index) { 49 return TypeIndex::simpleTypeName(Index); 59 bool TypeTableCollection::contains(TypeIndex Index) {
|
GlobalTypeTableBuilder.cpp | 17 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 31 TypeIndex GlobalTypeTableBuilder::nextTypeIndex() const { 32 return TypeIndex::fromArrayIndex(SeenRecords.size()); 42 Optional<TypeIndex> GlobalTypeTableBuilder::getFirst() { 46 return TypeIndex(TypeIndex::FirstNonSimpleIndex); 49 Optional<TypeIndex> GlobalTypeTableBuilder::getNext(TypeIndex Prev) { 55 CVType GlobalTypeTableBuilder::getType(TypeIndex Index) { 67 StringRef GlobalTypeTableBuilder::getTypeName(TypeIndex Index) [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
CodeViewDebug.h | 24 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 124 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) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/CodeView/ |
TypeHashingTest.cpp | 18 static TypeIndex createPointerRecord(AppendingTypeTableBuilder &Builder, 19 TypeIndex TI) { 27 static TypeIndex createArgListRecord(AppendingTypeTableBuilder &Builder, 28 TypeIndex Q, TypeIndex R) { 35 static TypeIndex createProcedureRecord(AppendingTypeTableBuilder &Builder, 36 uint32_t ParamCount, TypeIndex Return, 37 TypeIndex ArgList) { 48 TypeIndex TI) { 65 TypeIndex CharStar(SimpleTypeKind::SignedCharacter [all...] |
TypeIndexDiscoveryTest.cpp | 92 TypeIndex TI) const { 98 ArrayRef<TypeIndex> Indices( 99 reinterpret_cast<const TypeIndex *>(Loc.data()), Ref.Count); 101 [TI](const TypeIndex &Other) { return Other == TI; })) 116 TypeIndex TI, Indices &&... Rest) const { 174 static FuncIdRecord FuncId(TypeIndex(1), TypeIndex(2), "FuncId"); 175 static MemberFuncIdRecord MemFuncId(TypeIndex(3), TypeIndex(4), "FuncId"); 176 static StringIdRecord StringId(TypeIndex(5), "TheString") [all...] |