Searched refs:DenseMapInfo (Results 51 - 75 of 106) sorted by relevance

12345

/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DAPValue.cpp115 llvm::DenseMapInfo<clang::APValue::LValueBase>::getEmptyKey() {
117 DenseMapInfo<const ValueDecl*>::getEmptyKey());
121 llvm::DenseMapInfo<clang::APValue::LValueBase>::getTombstoneKey() {
123 DenseMapInfo<const ValueDecl*>::getTombstoneKey());
135 unsigned llvm::DenseMapInfo<clang::APValue::LValueBase>::getHashValue(
140 bool llvm::DenseMapInfo<clang::APValue::LValueBase>::isEqual(
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineOutliner.cpp116 /// Set to -3 for compatability with \p DenseMapInfo<unsigned>.
188 assert(LegalInstrNumber != DenseMapInfo<unsigned>::getEmptyKey() &&
190 assert(LegalInstrNumber != DenseMapInfo<unsigned>::getTombstoneKey() &&
224 assert(IllegalInstrNumber != DenseMapInfo<unsigned>::getEmptyKey() &&
227 assert(IllegalInstrNumber != DenseMapInfo<unsigned>::getTombstoneKey() &&
320 // Make sure that the implementation of DenseMapInfo<unsigned> hasn't
322 assert(DenseMapInfo<unsigned>::getEmptyKey() == (unsigned)-1 &&
323 "DenseMapInfo<unsigned>'s empty key isn't -1!");
324 assert(DenseMapInfo<unsigned>::getTombstoneKey() == (unsigned)-2 &&
325 "DenseMapInfo<unsigne
[all...]
H A DStackMaps.cpp10 #include "llvm/ADT/DenseMapInfo.h"
330 assert((uint64_t)Loc.Offset != DenseMapInfo<uint64_t>::getEmptyKey() &&
332 DenseMapInfo<uint64_t>::getTombstoneKey() &&
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DWholeProgramDevirt.cpp56 #include "llvm/ADT/DenseMapInfo.h"
311 template <> struct DenseMapInfo<VTableSlot> { struct in namespace:llvm
313 return {DenseMapInfo<Metadata *>::getEmptyKey(),
314 DenseMapInfo<uint64_t>::getEmptyKey()};
317 return {DenseMapInfo<Metadata *>::getTombstoneKey(),
318 DenseMapInfo<uint64_t>::getTombstoneKey()};
321 return DenseMapInfo<Metadata *>::getHashValue(I.TypeID) ^
322 DenseMapInfo<uint64_t>::getHashValue(I.ByteOffset);
330 template <> struct DenseMapInfo<VTableSlotSummary> { struct in namespace:llvm
332 return {DenseMapInfo<StringRe
[all...]
H A DOpenMPOpt.cpp95 // Provide DenseMapInfo for ICVValue
96 template <> struct DenseMapInfo<ICVValue> { struct in namespace:llvm
97 using InstInfo = DenseMapInfo<Instruction *>;
98 using ValueInfo = DenseMapInfo<Value *>;
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DMetadata.h20 #include "llvm/ADT/DenseMapInfo.h"
685 // Specialize DenseMapInfo for AAMDNodes.
687 struct DenseMapInfo<AAMDNodes> { struct
689 return AAMDNodes(DenseMapInfo<MDNode *>::getEmptyKey(),
694 return AAMDNodes(DenseMapInfo<MDNode *>::getTombstoneKey(),
699 return DenseMapInfo<MDNode *>::getHashValue(Val.TBAA) ^
700 DenseMapInfo<MDNode *>::getHashValue(Val.TBAAStruct) ^
701 DenseMapInfo<MDNode *>::getHashValue(Val.Scope) ^
702 DenseMapInfo<MDNode *>::getHashValue(Val.NoAlias);
H A DModuleSummaryIndex.h257 template <> struct DenseMapInfo<ValueInfo> { struct in struct:llvm::CalleeInfo
758 template <> struct DenseMapInfo<FunctionSummary::VFuncId> { struct in struct:llvm::CalleeInfo
772 template <> struct DenseMapInfo<FunctionSummary::ConstVCall> { struct in struct:llvm::CalleeInfo
783 return DenseMapInfo<FunctionSummary::VFuncId>::isEqual(L.VFunc, R.VFunc) &&
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DScopeInfo.h27 #include "llvm/ADT/DenseMapInfo.h"
298 // We can't specialize the usual llvm::DenseMapInfo at the end of the file
301 class DenseMapInfo { class in class:clang::sema::FunctionScopeInfo::WeakObjectProfileTy
314 return llvm::DenseMapInfo<Pair>::getHashValue(Pair(Val.Base,
356 WeakObjectProfileTy::DenseMapInfo>;
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DBranchProbabilityInfo.h17 #include "llvm/ADT/DenseMapInfo.h"
180 DenseSet<BasicBlockCallbackVH, DenseMapInfo<Value*>> Handles;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsOptimizePICCall.cpp62 DenseMapInfo<ValueType>, AllocatorTy>;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A DSmallPtrSet.cpp15 #include "llvm/ADT/DenseMapInfo.h"
66 unsigned Bucket = DenseMapInfo<void *>::getHashValue(Ptr) & (CurArraySize-1);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContextImpl.h23 #include "llvm/ADT/DenseMapInfo.h"
119 return DenseMapInfo<StructType*>::getEmptyKey();
123 return DenseMapInfo<StructType*>::getTombstoneKey();
174 return DenseMapInfo<FunctionType*>::getEmptyKey();
178 return DenseMapInfo<FunctionType*>::getTombstoneKey();
258 /// DenseMapInfo for MDTuple.
275 /// DenseMapInfo for DILocation.
302 /// DenseMapInfo for GenericDINode.
1170 /// DenseMapInfo for MDNode subclasses.
1176 return DenseMapInfo<NodeT
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSmallBitVector.h715 template <> struct DenseMapInfo<SmallBitVector> { struct in namespace:llvm
724 return DenseMapInfo<std::pair<unsigned, ArrayRef<uintptr_t>>>::getHashValue(
H A DDenseMap.h16 #include "llvm/ADT/DenseMapInfo.h"
53 typename KeyInfoT = DenseMapInfo<KeyT>,
171 /// The DenseMapInfo is responsible for supplying methods
269 /// The DenseMapInfo is responsible for supplying methods
712 typename KeyInfoT = DenseMapInfo<KeyT>,
878 typename KeyInfoT = DenseMapInfo<KeyT>,
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineOperand.h944 friend struct DenseMapInfo<MachineOperand>;
959 template <> struct DenseMapInfo<MachineOperand> {
H A DTargetInstrInfo.h18 #include "llvm/ADT/DenseMapInfo.h"
1850 /// Provide DenseMapInfo for TargetInstrInfo::RegSubRegPair.
1851 template <> struct DenseMapInfo<TargetInstrInfo::RegSubRegPair> { struct in namespace:llvm
1852 using RegInfo = DenseMapInfo<unsigned>;
1868 return DenseMapInfo<std::pair<unsigned, unsigned>>::getHashValue(PairVal);
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DDeclarationName.h22 #include "llvm/ADT/DenseMapInfo.h"
838 /// Define DenseMapInfo so that DeclarationNames can be used as keys
841 struct DenseMapInfo<clang::DeclarationName> { struct in namespace:llvm
851 return DenseMapInfo<void*>::getHashValue(Name.getAsOpaquePtr());
/freebsd-13-stable/contrib/llvm-project/clang/lib/Basic/
H A DIdentifierTable.cpp21 #include "llvm/ADT/DenseMapInfo.h"
363 unsigned llvm::DenseMapInfo<clang::Selector>::getHashValue(clang::Selector S) {
364 return DenseMapInfo<void*>::getHashValue(S.getAsOpaquePtr());
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86OptimizeLEAs.cpp24 #include "llvm/ADT/DenseMapInfo.h"
115 /// Provide DenseMapInfo for MemOpKey.
118 template <> struct DenseMapInfo<MemOpKey> { struct in namespace:llvm
119 using PtrInfo = DenseMapInfo<const MachineOperand *>;
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/TextAPI/MachO/
H A DInterfaceFile.h134 template <> struct DenseMapInfo<SymbolsMapKey> { struct in namespace:llvm
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DGVN.h204 friend struct DenseMapInfo<Expression>;
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/
H A DProgramPoint.h754 template <> struct DenseMapInfo<clang::ProgramPoint> { struct in namespace:llvm
758 reinterpret_cast<uintptr_t>(DenseMapInfo<void*>::getEmptyKey()) & ~0x7;
764 reinterpret_cast<uintptr_t>(DenseMapInfo<void*>::getTombstoneKey()) & ~0x7;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DMemorySSA.cpp15 #include "llvm/ADT/DenseMapInfo.h"
189 template <> struct DenseMapInfo<MemoryLocOrCall> { struct in namespace:llvm
191 return MemoryLocOrCall(DenseMapInfo<MemoryLocation>::getEmptyKey());
195 return MemoryLocOrCall(DenseMapInfo<MemoryLocation>::getTombstoneKey());
202 DenseMapInfo<MemoryLocation>::getHashValue(MLOC.getLoc()));
205 hash_combine(MLOC.IsCall, DenseMapInfo<const Value *>::getHashValue(
209 hash = hash_combine(hash, DenseMapInfo<const Value *>::getHashValue(Arg));
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp1172 template <> struct DenseMapInfo<PrivateMethodKey> { struct in namespace:llvm
1173 using InterfaceInfo = DenseMapInfo<const ObjCInterfaceDecl *>;
1174 using SelectorInfo = DenseMapInfo<Selector>;
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DIdentifierTable.h20 #include "llvm/ADT/DenseMapInfo.h"
940 /// Define DenseMapInfo so that Selectors can be used as keys in DenseMap and
943 struct DenseMapInfo<clang::Selector> {

Completed in 164 milliseconds

12345