HomeSort by relevance Sort by last modified time
    Searched refs:DenseMapInfo (Results 1 - 25 of 50) sorted by null

1 2

  /external/clang/include/clang/AST/
BaseSubobject.h 55 template<> struct DenseMapInfo<clang::BaseSubobject> {
58 DenseMapInfo<const clang::CXXRecordDecl *>::getEmptyKey(),
59 clang::CharUnits::fromQuantity(DenseMapInfo<int64_t>::getEmptyKey()));
64 DenseMapInfo<const clang::CXXRecordDecl *>::getTombstoneKey(),
65 clang::CharUnits::fromQuantity(DenseMapInfo<int64_t>::getTombstoneKey()));
70 return DenseMapInfo<PairTy>::getHashValue(PairTy(Base.getBase(),
TypeOrdering.h 38 template<class> struct DenseMapInfo;
40 template<> struct DenseMapInfo<clang::QualType> {
58 template<> struct DenseMapInfo<clang::CanQualType> {
GlobalDecl.h 94 template<class> struct DenseMapInfo;
96 template<> struct DenseMapInfo<clang::GlobalDecl> {
107 return DenseMapInfo<void*>::getHashValue(GD.getAsOpaquePtr());
CharUnits.h 17 #include "llvm/ADT/DenseMapInfo.h"
190 template<> struct DenseMapInfo<clang::CharUnits> {
193 DenseMapInfo<clang::CharUnits::QuantityType>::getEmptyKey();
200 DenseMapInfo<clang::CharUnits::QuantityType>::getTombstoneKey();
207 return DenseMapInfo<clang::CharUnits::QuantityType>::getHashValue(Quantity);
DeclarationName.h 21 template <typename T> struct DenseMapInfo;
570 /// Define DenseMapInfo so that DeclarationNames can be used as keys
573 struct DenseMapInfo<clang::DeclarationName> {
583 return DenseMapInfo<void*>::getHashValue(Name.getAsOpaquePtr());
  /external/llvm/include/llvm/ADT/
DenseMapInfo.h 1 //===- llvm/ADT/DenseMapInfo.h - Type traits for DenseMap -------*- C++ -*-===//
10 // This file defines DenseMapInfo traits for DenseMap.
23 struct DenseMapInfo {
30 // Provide DenseMapInfo for all pointers.
32 struct DenseMapInfo<T*> {
50 // Provide DenseMapInfo for chars.
51 template<> struct DenseMapInfo<char> {
60 // Provide DenseMapInfo for unsigned ints.
61 template<> struct DenseMapInfo<unsigned> {
70 // Provide DenseMapInfo for unsigned longs
    [all...]
ImmutableList.h 205 template<typename T> struct DenseMapInfo;
206 template<typename T> struct DenseMapInfo<ImmutableList<T> > {
ScopedHashTable.h 39 template <typename K, typename V, typename KInfo = DenseMapInfo<K>,
81 template <typename K, typename V, typename KInfo = DenseMapInfo<K>,
113 template <typename K, typename V, typename KInfo = DenseMapInfo<K> >
DenseSet.h 25 template<typename ValueT, typename ValueInfoT = DenseMapInfo<ValueT> >
PointerUnion.h 18 #include "llvm/ADT/DenseMapInfo.h"
480 struct DenseMapInfo<PointerUnion<T, U> > {
482 typedef DenseMapInfo<T> FirstInfo;
483 typedef DenseMapInfo<U> SecondInfo;
493 return DenseMapInfo<intptr_t>::getHashValue(key);
PointerIntPair.h 25 struct DenseMapInfo;
159 // Provide specialization of DenseMapInfo for PointerIntPair.
161 struct DenseMapInfo<PointerIntPair<PointerTy, IntBits, IntType> > {
  /external/clang/lib/CodeGen/
CodeGenTBAA.h 129 template<> struct DenseMapInfo<clang::CodeGen::TBAAPathTag> {
132 DenseMapInfo<const clang::Type *>::getEmptyKey(),
133 DenseMapInfo<const MDNode *>::getEmptyKey(),
134 DenseMapInfo<uint64_t>::getEmptyKey());
139 DenseMapInfo<const clang::Type *>::getTombstoneKey(),
140 DenseMapInfo<const MDNode *>::getTombstoneKey(),
141 DenseMapInfo<uint64_t>::getTombstoneKey());
145 return DenseMapInfo<const clang::Type *>::getHashValue(Val.BaseT) ^
146 DenseMapInfo<const MDNode *>::getHashValue(Val.AccessN) ^
147 DenseMapInfo<uint64_t>::getHashValue(Val.Offset)
    [all...]
  /external/llvm/include/llvm/IR/
DebugLoc.h 21 template <typename T> struct DenseMapInfo;
30 friend struct DenseMapInfo<DebugLoc>;
115 struct DenseMapInfo<DebugLoc> {
ValueHandle.h 17 #include "llvm/ADT/DenseMapInfo.h"
110 V != DenseMapInfo<Value *>::getEmptyKey() &&
111 V != DenseMapInfo<Value *>::getTombstoneKey();
238 // Specialize DenseMapInfo to allow AssertingVH to participate in DenseMap.
240 struct DenseMapInfo<AssertingVH<T> > {
241 typedef DenseMapInfo<T*> PointerInfo;
ValueMap.h 80 typedef DenseMap<ValueMapCVH, ValueT, DenseMapInfo<ValueMapCVH> > MapT;
202 friend struct DenseMapInfo<ValueMapCallbackVH>;
254 struct DenseMapInfo<ValueMapCallbackVH<KeyT, ValueT, Config> > {
256 typedef DenseMapInfo<KeyT> PointerInfo;
Attributes.h 35 template<typename T> struct DenseMapInfo;
214 template <typename Ty> friend struct DenseMapInfo;
368 /// \brief Provide DenseMapInfo for AttributeSet.
369 template<> struct DenseMapInfo<AttributeSet> {
  /external/llvm/lib/Transforms/Scalar/
EarlyCSE.cpp 40 return DenseMapInfo<const void*>::getHashValue(V);
58 return Inst == DenseMapInfo<Instruction*>::getEmptyKey() ||
59 Inst == DenseMapInfo<Instruction*>::getTombstoneKey();
76 template<> struct DenseMapInfo<SimpleValue> {
78 return DenseMapInfo<Instruction*>::getEmptyKey();
81 return DenseMapInfo<Instruction*>::getTombstoneKey();
88 unsigned DenseMapInfo<SimpleValue>::getHashValue(SimpleValue Val) {
142 bool DenseMapInfo<SimpleValue>::isEqual(SimpleValue LHS, SimpleValue RHS) {
201 return Inst == DenseMapInfo<Instruction*>::getEmptyKey() ||
202 Inst == DenseMapInfo<Instruction*>::getTombstoneKey()
    [all...]
SampleProfile.cpp 85 template <> struct DenseMapInfo<InstructionLocation> {
86 typedef DenseMapInfo<int> OffsetInfo;
87 typedef DenseMapInfo<unsigned> DiscriminatorInfo;
97 return DenseMapInfo<std::pair<int, unsigned>>::getHashValue(
    [all...]
  /external/llvm/include/llvm/Analysis/
AliasSetTracker.h 47 TBAAInfo(DenseMapInfo<const MDNode *>::getEmptyKey()) {}
62 if (TBAAInfo == DenseMapInfo<const MDNode *>::getEmptyKey())
67 TBAAInfo = DenseMapInfo<const MDNode *>::getTombstoneKey();
76 if (TBAAInfo == DenseMapInfo<const MDNode *>::getEmptyKey() ||
77 TBAAInfo == DenseMapInfo<const MDNode *>::getTombstoneKey())
294 struct ASTCallbackVHDenseMapInfo : public DenseMapInfo<Value *> {};
AliasAnalysis.h 565 // Specialize DenseMapInfo for Location.
567 struct DenseMapInfo<AliasAnalysis::Location> {
570 AliasAnalysis::Location(DenseMapInfo<const Value *>::getEmptyKey(),
575 AliasAnalysis::Location(DenseMapInfo<const Value *>::getTombstoneKey(),
579 return DenseMapInfo<const Value *>::getHashValue(Val.Ptr) ^
580 DenseMapInfo<uint64_t>::getHashValue(Val.Size) ^
581 DenseMapInfo<const MDNode *>::getHashValue(Val.TBAATag);
  /external/llvm/lib/IR/
LLVMContextImpl.h 121 return DenseMapInfo<StructType*>::getEmptyKey();
124 return DenseMapInfo<StructType*>::getTombstoneKey();
169 return DenseMapInfo<FunctionType*>::getEmptyKey();
172 return DenseMapInfo<FunctionType*>::getTombstoneKey();
  /external/clang/include/clang/Sema/
ScopeInfo.h 191 friend class DenseMapInfo;
224 // We can't specialize the usual llvm::DenseMapInfo at the end of the file
227 class DenseMapInfo {
238 return llvm::DenseMapInfo<Pair>::getHashValue(Pair(Val.Base,
278 WeakObjectProfileTy::DenseMapInfo>
  /frameworks/compile/mclinker/lib/Target/Mips/
MipsRelocator.h 12 #include <llvm/ADT/DenseMapInfo.h>
  /external/clang/include/clang/Basic/
SourceLocation.h 28 template <typename T> struct DenseMapInfo;
398 /// Define DenseMapInfo so that FileID's can be used as keys in DenseMap and
401 struct DenseMapInfo<clang::FileID> {
  /external/clang/include/clang/Analysis/
ProgramPoint.h 675 template <> struct DenseMapInfo<clang::ProgramPoint> {
679 reinterpret_cast<uintptr_t>(DenseMapInfo<void*>::getEmptyKey()) & ~0x7;
685 reinterpret_cast<uintptr_t>(DenseMapInfo<void*>::getTombstoneKey()) & ~0x7;

Completed in 651 milliseconds

1 2