Home
last modified time | relevance | path

Searched refs:KeyTy (Results 1 – 11 of 11) sorted by relevance

/openbsd-src/gnu/llvm/llvm/tools/dsymutil/
H A DBinaryHolder.h102 struct KeyTy { struct
106 KeyTy() {} in KeyTy() argument
107 KeyTy(StringRef Filename, TimestampTy Timestamp) in KeyTy() argument
121 DenseMap<KeyTy, std::unique_ptr<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 …]
H A DBinaryHolder.cpp171 KeyTy Key = {ObjectFilename, Timestamp}; in getObjectEntry()
/openbsd-src/gnu/llvm/llvm/include/llvm/Linker/
H A DIRMover.h28 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);
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DLLVMContextImpl.h93 struct KeyTy { struct
97 KeyTy(const ArrayRef<Type *> &E, bool P) : ETypes(E), isPacked(P) {} in KeyTy() function
99 KeyTy(const StructType *ST) in KeyTy() function
102 bool operator==(const KeyTy &that) const {
109 bool operator!=(const KeyTy &that) const { return !this->operator==(that); }
120 static unsigned getHashValue(const KeyTy &Key) { in getHashValue()
126 return getHashValue(KeyTy(ST)); in getHashValue()
129 static bool isEqual(const KeyTy &LHS, const StructType *RHS) { in isEqual()
132 return LHS == KeyTy(RHS); in isEqual()
141 struct KeyTy { struct
[all …]
H A DMetadataImpl.h23 const typename InfoT::KeyTy &Key) { in getUniqued()
H A DType.cpp366 const FunctionTypeKeyInfo::KeyTy Key(ReturnType, Params, isVarArg); in get()
411 const AnonStructTypeKeyInfo::KeyTy Key(ETypes, isPacked); in get()
815 const TargetExtTypeKeyInfo::KeyTy Key(Name, Types, Ints); in get()
H A DDebugInfoMetadata.cpp75 DILocationInfo::KeyTy(Line, Column, Scope, in getImpl()
327 GenericDINodeInfo::KeyTy Key(Tag, Header, DwarfOps); in getImpl()
346 setHash(GenericDINodeInfo::KeyTy::calculateHash(this)); in recalculateHash()
355 CLASS##Info::KeyTy(UNWRAP_ARGS(ARGS)))) \
H A DMetadata.cpp795 setHash(MDTupleInfo::KeyTy::calculateHash(this)); in recalculateHash()
925 MDTupleInfo::KeyTy Key(MDs); in getImpl()
/openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVDuplicatesTracker.h182 template <typename KeyTy> class SPIRVDuplicatesTrackerBase {
187 using StorageTy = MapVector<KeyTy, SPIRV::DTSortableEntry>;
193 void add(KeyTy V, const MachineFunction *MF, Register R) {
200 typename std::remove_pointer<KeyTy>::type>::type>() ||
203 typename std::remove_pointer<KeyTy>::type>::type>())
207 typename std::remove_pointer<KeyTy>::type>::type>())
211 Register find(KeyTy V, const MachineFunction *MF) const {
/openbsd-src/gnu/llvm/llvm/lib/Linker/
H A DIRMover.cpp1690 IRMover::StructTypeKeyInfo::KeyTy::KeyTy(ArrayRef<Type *> E, bool P) in KeyTy() function in IRMover::StructTypeKeyInfo::KeyTy
1693 IRMover::StructTypeKeyInfo::KeyTy::KeyTy(const StructType *ST) in KeyTy() function in IRMover::StructTypeKeyInfo::KeyTy
1696 bool IRMover::StructTypeKeyInfo::KeyTy::operator==(const KeyTy &That) const { in operator ==()
1700 bool IRMover::StructTypeKeyInfo::KeyTy::operator!=(const KeyTy &That) const { in operator !=()
1712 unsigned IRMover::StructTypeKeyInfo::getHashValue(const KeyTy &Key) { in getHashValue()
1718 return getHashValue(KeyTy(ST)); in getHashValue()
1721 bool IRMover::StructTypeKeyInfo::isEqual(const KeyTy &LHS, in isEqual()
1725 return LHS == KeyTy(RHS); in isEqual()
1732 return KeyTy(LHS) == KeyTy(RHS); in isEqual()
1756 IRMover::StructTypeKeyInfo::KeyTy Key(ETypes, IsPacked); in findNonOpaque()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DMemoryDependenceAnalysis.cpp89 template <typename KeyTy>
91 RemoveFromReverseMap(DenseMap<Instruction *, SmallPtrSet<KeyTy, 4>> &ReverseMap, in RemoveFromReverseMap() argument
92 Instruction *Inst, KeyTy Val) { in RemoveFromReverseMap()
93 typename DenseMap<Instruction *, SmallPtrSet<KeyTy, 4>>::iterator InstIt = in RemoveFromReverseMap()