/external/llvm-project/mlir/lib/IR/ |
D | AttributeDetail.h | 31 using KeyTy = AffineMap; member 37 bool operator==(const KeyTy &key) const { return key == value; } 41 construct(AttributeStorageAllocator &allocator, KeyTy key) { in construct() 51 using KeyTy = ArrayRef<Attribute>; member 56 bool operator==(const KeyTy &key) const { return key == value; } 60 const KeyTy &key) { in construct() 73 using KeyTy = ArrayRef<NamedAttribute>; member 80 bool operator==(const KeyTy &key) const { return key == getElements(); } 84 construct(AttributeStorageAllocator &allocator, const KeyTy &key) { in construct() 119 using KeyTy = std::pair<Type, APFloat>; member [all …]
|
D | TypeDetail.h | 36 using KeyTy = std::pair<Identifier, StringRef>; member 37 bool operator==(const KeyTy &key) const { 38 return key == KeyTy(dialectNamespace, typeData); 42 const KeyTy &key) { in construct() 62 using KeyTy = std::pair<unsigned, IntegerType::SignednessSemantics>; member 64 static llvm::hash_code hashKey(const KeyTy &key) { in hashKey() 68 bool operator==(const KeyTy &key) const { 69 return KeyTy(width, signedness) == key; 73 KeyTy key) { in construct() 90 using KeyTy = std::pair<TypeRange, TypeRange>; member [all …]
|
D | LocationDetail.h | 30 using KeyTy = std::pair<Location, Location>; member 31 bool operator==(const KeyTy &key) const { 32 return key == KeyTy(callee, caller); 37 construct(AttributeStorageAllocator &allocator, const KeyTy &key) { in construct() 51 using KeyTy = std::tuple<Identifier, unsigned, unsigned>; member 52 bool operator==(const KeyTy &key) const { 53 return key == KeyTy(filename, line, column); 58 construct(AttributeStorageAllocator &allocator, const KeyTy &key) { in construct() 79 using KeyTy = std::pair<ArrayRef<Location>, Attribute>; member 80 bool operator==(const KeyTy &key) const { [all …]
|
D | AffineExprDetail.h | 35 using KeyTy = std::tuple<unsigned, AffineExpr, AffineExpr>; member 37 bool operator==(const KeyTy &key) const { 43 construct(StorageUniquer::StorageAllocator &allocator, const KeyTy &key) { in construct() 58 using KeyTy = std::pair<unsigned, unsigned>; member 60 bool operator==(const KeyTy &key) const { 66 construct(StorageUniquer::StorageAllocator &allocator, const KeyTy &key) { in construct() 79 using KeyTy = int64_t; member 81 bool operator==(const KeyTy &key) const { return constant == key; } 84 construct(StorageUniquer::StorageAllocator &allocator, const KeyTy &key) { in construct()
|
/external/llvm-project/mlir/lib/Dialect/Quant/IR/ |
D | TypeDetail.h | 46 struct KeyTy { struct 47 KeyTy(unsigned flags, Type storageType, Type expressedType, in KeyTy() function 67 bool operator==(const KeyTy &other) const { 77 AnyQuantizedTypeStorage(const KeyTy &key) in AnyQuantizedTypeStorage() 81 bool operator==(const KeyTy &key) const { 82 return KeyTy::genericIsEqual(*this, key); 87 const KeyTy &key) { in construct() 92 static unsigned hashKey(const KeyTy &key) { return key.getHashValue(); } in hashKey() 96 struct KeyTy { struct 97 KeyTy(unsigned flags, Type storageType, Type expressedType, double scale, in KeyTy() function [all …]
|
/external/llvm-project/mlir/lib/Dialect/SDBM/ |
D | SDBMExprDetail.h | 36 using KeyTy = std::tuple<unsigned, SDBMDirectExpr, SDBMConstantExpr>; member 38 bool operator==(const KeyTy &key) const { 44 construct(StorageUniquer::StorageAllocator &allocator, const KeyTy &key) { in construct() 59 using KeyTy = std::pair<SDBMDirectExpr, SDBMTermExpr>; member 61 bool operator==(const KeyTy &key) const { 66 construct(StorageUniquer::StorageAllocator &allocator, const KeyTy &key) { in construct() 81 using KeyTy = int64_t; member 83 bool operator==(const KeyTy &key) const { return constant == key; } 86 construct(StorageUniquer::StorageAllocator &allocator, const KeyTy &key) { in construct() 98 using KeyTy = std::pair<unsigned, unsigned>; member [all …]
|
/external/llvm-project/mlir/lib/Dialect/LLVMIR/IR/ |
D | TypeDetail.h | 147 using KeyTy = Key; member 200 LLVMStructTypeStorage(const KeyTy &key) { in LLVMStructTypeStorage() 223 bool operator==(const KeyTy &other) const { return getKey() == other; }; 224 static llvm::hash_code hashKey(const KeyTy &key) { return key.hashValue(); } in hashKey() 226 const KeyTy &key) { in construct() 331 using KeyTy = std::tuple<LLVMType, ArrayRef<LLVMType>, bool>; member 343 const KeyTy &key) { in construct() 350 static unsigned hashKey(const KeyTy &key) { in hashKey() 356 bool operator==(const KeyTy &key) const { 383 using KeyTy = unsigned; member [all …]
|
/external/llvm-project/llvm/tools/dsymutil/ |
D | BinaryHolder.h | 102 struct KeyTy { struct 106 KeyTy() : Filename(), Timestamp() {} in KeyTy() argument 107 KeyTy(StringRef Filename, TimestampTy Timestamp) in KeyTy() function 121 DenseMap<KeyTy, ObjectEntry> MemberCache; 148 template <> struct DenseMapInfo<dsymutil::BinaryHolder::ArchiveEntry::KeyTy> { 150 static inline dsymutil::BinaryHolder::ArchiveEntry::KeyTy getEmptyKey() { 151 return dsymutil::BinaryHolder::ArchiveEntry::KeyTy(); 154 static inline dsymutil::BinaryHolder::ArchiveEntry::KeyTy getTombstoneKey() { 155 return dsymutil::BinaryHolder::ArchiveEntry::KeyTy("/", {}); 159 getHashValue(const dsymutil::BinaryHolder::ArchiveEntry::KeyTy &K) { [all …]
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/ |
D | tf_attributes.cc | 25 using KeyTy = std::pair<ArrayRef<int64_t>, bool>; typedef 30 bool operator==(const KeyTy& key) const { in operator ==() 31 return key == KeyTy(shape, unranked); in operator ==() 33 static unsigned hashKey(const KeyTy& key) { in hashKey() 39 const KeyTy& key) { in construct() 50 using KeyTy = std::pair<Attribute, Attribute>; typedef 55 bool operator==(const KeyTy& key) const { return key == KeyTy(name, attrs); } in operator ==() 56 static unsigned hashKey(const KeyTy& key) { in hashKey() 61 const KeyTy& key) { in construct()
|
D | tf_types.h | 170 using KeyTy = ArrayRef<TensorType>; 174 const KeyTy& key) { in construct() 180 explicit TypeWithSubtypeStorage(const KeyTy& key) : subtypes_(key) {} in TypeWithSubtypeStorage() 182 bool operator==(const KeyTy& key) const { return key == subtypes_; } 184 static llvm::hash_code hashKey(const KeyTy& key) { in hashKey() 188 KeyTy subtypes_;
|
/external/llvm/include/llvm/Linker/ |
D | IRMover.h | 28 struct KeyTy { struct 31 KeyTy(ArrayRef<Type *> E, bool P); 32 KeyTy(const StructType *ST); 33 bool operator==(const KeyTy &that) const; 34 bool operator!=(const KeyTy &that) const; 38 static unsigned getHashValue(const KeyTy &Key); 40 static bool isEqual(const KeyTy &LHS, const StructType *RHS);
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Linker/ |
D | IRMover.h | 27 struct KeyTy { struct 30 KeyTy(ArrayRef<Type *> E, bool P); 31 KeyTy(const StructType *ST); 32 bool operator==(const KeyTy &that) const; 33 bool operator!=(const KeyTy &that) const; 37 static unsigned getHashValue(const KeyTy &Key); 39 static bool isEqual(const KeyTy &LHS, const StructType *RHS);
|
/external/llvm-project/llvm/include/llvm/Linker/ |
D | IRMover.h | 27 struct KeyTy { struct 30 KeyTy(ArrayRef<Type *> E, bool P); 31 KeyTy(const StructType *ST); 32 bool operator==(const KeyTy &that) const; 33 bool operator!=(const KeyTy &that) const; 37 static unsigned getHashValue(const KeyTy &Key); 39 static bool isEqual(const KeyTy &LHS, const StructType *RHS);
|
/external/llvm-project/flang/lib/Optimizer/Dialect/ |
D | FIRType.cpp | 364 using KeyTy = KindTy; typedef 366 static unsigned hashKey(const KeyTy &key) { return llvm::hash_combine(key); } in hashKey() 368 bool operator==(const KeyTy &key) const { return key == getFKind(); } in operator ==() 387 using KeyTy = unsigned; typedef 389 static unsigned hashKey(const KeyTy &key) { return llvm::hash_combine(key); } in hashKey() 391 bool operator==(const KeyTy &key) const { return key == getRank(); } in operator ==() 411 using KeyTy = KindTy; typedef 413 static unsigned hashKey(const KeyTy &) { return llvm::hash_combine(0); } in hashKey() 415 bool operator==(const KeyTy &) const { return true; } in operator ==() 430 using KeyTy = KindTy; typedef [all …]
|
D | FIRAttr.cpp | 23 using KeyTy = std::pair<int, llvm::APFloat>; typedef 27 RealAttributeStorage(const KeyTy &key) in RealAttributeStorage() 30 static unsigned hashKey(const KeyTy &key) { return llvm::hash_value(key); } in hashKey() 32 bool operator==(const KeyTy &key) const { in operator ==() 38 construct(mlir::AttributeStorageAllocator &allocator, const KeyTy &key) { in construct() 53 using KeyTy = mlir::Type; typedef 60 bool operator==(const KeyTy &key) const { return key == value; } in operator ==() 64 construct(mlir::AttributeStorageAllocator &allocator, KeyTy key) { in construct()
|
/external/llvm-project/mlir/lib/Dialect/SPIRV/ |
D | SPIRVTypes.cpp | 105 using KeyTy = std::tuple<Type, unsigned, unsigned>; typedef 108 const KeyTy &key) { in construct() 112 bool operator==(const KeyTy &key) const { in operator ==() 113 return key == KeyTy(elementType, elementCount, stride); in operator ==() 116 ArrayTypeStorage(const KeyTy &key) in ArrayTypeStorage() 277 using KeyTy = std::tuple<Type, Scope, unsigned, unsigned>; typedef 280 construct(TypeStorageAllocator &allocator, const KeyTy &key) { in construct() 285 bool operator==(const KeyTy &key) const { in operator ==() 286 return key == KeyTy(elementType, scope, rows, columns); in operator ==() 289 CooperativeMatrixTypeStorage(const KeyTy &key) in CooperativeMatrixTypeStorage() [all …]
|
D | SPIRVAttributes.cpp | 31 using KeyTy = std::tuple<Attribute, Attribute, Attribute>; typedef 38 bool operator==(const KeyTy &key) const { in operator ==() 44 construct(AttributeStorageAllocator &allocator, const KeyTy &key) { in construct() 56 using KeyTy = std::tuple<Attribute, Attribute, Attribute>; typedef 62 bool operator==(const KeyTy &key) const { in operator ==() 68 construct(AttributeStorageAllocator &allocator, const KeyTy &key) { in construct() 80 using KeyTy = std::tuple<Attribute, Vendor, DeviceType, uint32_t, Attribute>; typedef 88 bool operator==(const KeyTy &key) const { in operator ==() 94 construct(AttributeStorageAllocator &allocator, const KeyTy &key) { in construct()
|
/external/llvm-project/mlir/lib/Conversion/PDLToPDLInterp/ |
D | Predicate.h | 76 using KeyTy = Key; 97 bool operator==(const KeyTy &key) const { return this->key == key; } 101 const KeyTy &getValue() const { return key; } in getValue() 104 KeyTy key; 171 explicit AttributePosition(const KeyTy &key); 188 explicit OperandPosition(const KeyTy &key); 236 explicit ResultPosition(const KeyTy &key) : Base(key) { parent = key.first; } in ResultPosition() 252 explicit TypePosition(const KeyTy &key) : Base(key) { in TypePosition() 345 KeyTy key) { in construct() 346 return Base::construct(alloc, KeyTy{alloc.copyInto(std::get<0>(key)), in construct()
|
D | Predicate.cpp | 23 AttributePosition::AttributePosition(const KeyTy &key) : Base(key) { in AttributePosition() 30 OperandPosition::OperandPosition(const KeyTy &key) : Base(key) { in OperandPosition()
|
/external/llvm/lib/IR/ |
D | LLVMContextImpl.h | 81 struct KeyTy { struct 84 KeyTy(const ArrayRef<Type*>& E, bool P) : in KeyTy() function 86 KeyTy(const StructType *ST) in KeyTy() argument 88 bool operator==(const KeyTy& that) const { 95 bool operator!=(const KeyTy& that) const { 105 static unsigned getHashValue(const KeyTy& Key) { in getHashValue() 111 return getHashValue(KeyTy(ST)); in getHashValue() 113 static bool isEqual(const KeyTy& LHS, const StructType *RHS) { in isEqual() 116 return LHS == KeyTy(RHS); in isEqual() 124 struct KeyTy { struct [all …]
|
/external/tensorflow/tensorflow/compiler/mlir/tfr/ir/ |
D | tfr_types.h | 42 using KeyTy = ArrayRef<StringAttr>; member 46 static TFRTypeStorage* construct(TypeStorageAllocator& allocator, KeyTy key) { in construct() 58 bool operator==(const KeyTy& attrs) const { return attrs == GetAttrs(); } 60 KeyTy GetAttrs() const { in GetAttrs()
|
/external/llvm-project/mlir/docs/Tutorials/ |
D | DefiningAttributesAndTypes.md | 76 * Define a type alias, `KeyTy`, that maps to a type that uniquely identifies 80 - `static Storage *construct(TypeStorageAllocator &, const KeyTy &key)` 81 * Provide a comparison method between the storage and `KeyTy`. 82 - `bool operator==(const KeyTy &) const` 83 * Provide a method to generate the `KeyTy` from a list of arguments passed to 84 the uniquer. (Note: This is only necessary if the `KeyTy` cannot be default 86 - `static KeyTy getKey(Args...&& args)` 87 * Provide a method to hash an instance of the `KeyTy`. (Note: This is not 88 necessary if an `llvm::DenseMapInfo<KeyTy>` specialization exists) 89 - `static llvm::hash_code hashKey(const KeyTy &)` [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | LLVMContextImpl.h | 98 struct KeyTy { struct 102 KeyTy(const ArrayRef<Type*>& E, bool P) : in KeyTy() function 105 KeyTy(const StructType *ST) in KeyTy() function 108 bool operator==(const KeyTy& that) const { 115 bool operator!=(const KeyTy& that) const { 128 static unsigned getHashValue(const KeyTy& Key) { in getHashValue() 135 return getHashValue(KeyTy(ST)); in getHashValue() 138 static bool isEqual(const KeyTy& LHS, const StructType *RHS) { in isEqual() 141 return LHS == KeyTy(RHS); in isEqual() 150 struct KeyTy { struct [all …]
|
/external/llvm-project/mlir/test/lib/Dialect/Test/ |
D | TestTypes.h | 65 using KeyTy = StringRef; member 69 bool operator==(const KeyTy &other) const { return name == other; } 72 const KeyTy &key) { in construct()
|
/external/llvm-project/llvm/lib/IR/ |
D | LLVMContextImpl.h | 76 struct KeyTy { struct 80 KeyTy(const ArrayRef<Type*>& E, bool P) : in KeyTy() argument 83 KeyTy(const StructType *ST) in KeyTy() function 86 bool operator==(const KeyTy& that) const { 93 bool operator!=(const KeyTy& that) const { 106 static unsigned getHashValue(const KeyTy& Key) { in getHashValue() 113 return getHashValue(KeyTy(ST)); in getHashValue() 116 static bool isEqual(const KeyTy& LHS, const StructType *RHS) { in isEqual() 119 return LHS == KeyTy(RHS); in isEqual() 128 struct KeyTy { struct [all …]
|