Lines Matching defs:DenseMapInfo

15 #include "llvm/ADT/DenseMapInfo.h"
101 return Inst == DenseMapInfo<Instruction *>::getEmptyKey() ||
102 Inst == DenseMapInfo<Instruction *>::getTombstoneKey();
159 template <> struct DenseMapInfo<SimpleValue> {
161 return DenseMapInfo<Instruction *>::getEmptyKey();
165 return DenseMapInfo<Instruction *>::getTombstoneKey();
346 unsigned DenseMapInfo<SimpleValue>::getHashValue(SimpleValue Val) {
467 bool DenseMapInfo<SimpleValue>::isEqual(SimpleValue LHS, SimpleValue RHS) {
492 return Inst == DenseMapInfo<Instruction *>::getEmptyKey() ||
493 Inst == DenseMapInfo<Instruction *>::getTombstoneKey();
520 template <> struct DenseMapInfo<CallValue> {
522 return DenseMapInfo<Instruction *>::getEmptyKey();
526 return DenseMapInfo<Instruction *>::getTombstoneKey();
535 unsigned DenseMapInfo<CallValue>::getHashValue(CallValue Val) {
542 bool DenseMapInfo<CallValue>::isEqual(CallValue LHS, CallValue RHS) {
578 return Inst == DenseMapInfo<Instruction *>::getEmptyKey() ||
579 Inst == DenseMapInfo<Instruction *>::getTombstoneKey();
591 template <> struct DenseMapInfo<GEPValue> {
593 return DenseMapInfo<Instruction *>::getEmptyKey();
597 return DenseMapInfo<Instruction *>::getTombstoneKey();
606 unsigned DenseMapInfo<GEPValue>::getHashValue(const GEPValue &Val) {
616 bool DenseMapInfo<GEPValue>::isEqual(const GEPValue &LHS, const GEPValue &RHS) {
655 ScopedHashTable<SimpleValue, Value *, DenseMapInfo<SimpleValue>,
698 ScopedHashTable<Value *, LoadValue, DenseMapInfo<Value *>,
710 ScopedHashTable<MemoryLocation, unsigned, DenseMapInfo<MemoryLocation>,
725 using GEPHTType = ScopedHashTable<GEPValue, Value *, DenseMapInfo<GEPValue>,