/external/libcxx/test/containers/unord/unord.set/ |
H A D | swap_member.pass.cpp | 12 // template <class Value, class Hash = hash<Value>, class Pred = equal_to<Value>, 29 typedef test_hash<std::hash<int> > Hash; typedef 32 typedef std::unordered_set<int, Hash, Compare, Alloc> C; 34 C c1(0, Hash(1), Compare(1), Alloc(1)); 35 C c2(0, Hash(2), Compare(2), Alloc(2)); 41 assert(c1.hash_function() == Hash(2)); 50 assert(c2.hash_function() == Hash(1)); 58 typedef test_hash<std::hash<int> > Hash; typedef 61 typedef std::unordered_set<int, Hash, Compare, Alloc> C; 74 C c1(0, Hash( 106 typedef test_hash<std::hash<int> > Hash; typedef 148 typedef test_hash<std::hash<int> > Hash; typedef 210 typedef test_hash<std::hash<int> > Hash; typedef 239 typedef test_hash<std::hash<int> > Hash; typedef 287 typedef test_hash<std::hash<int> > Hash; typedef 329 typedef test_hash<std::hash<int> > Hash; typedef 391 typedef test_hash<std::hash<int> > Hash; typedef 420 typedef test_hash<std::hash<int> > Hash; typedef 468 typedef test_hash<std::hash<int> > Hash; typedef 510 typedef test_hash<std::hash<int> > Hash; typedef [all...] |
/external/libcxx/test/containers/unord/unord.set/unord.set.swap/ |
H A D | swap_non_member.pass.cpp | 12 // template <class Value, class Hash = hash<Value>, class Pred = equal_to<Value>, 29 typedef test_hash<std::hash<int> > Hash; typedef 32 typedef std::unordered_set<int, Hash, Compare, Alloc> C; 34 C c1(0, Hash(1), Compare(1), Alloc(1)); 35 C c2(0, Hash(2), Compare(2), Alloc(2)); 41 assert(c1.hash_function() == Hash(2)); 50 assert(c2.hash_function() == Hash(1)); 58 typedef test_hash<std::hash<int> > Hash; typedef 61 typedef std::unordered_set<int, Hash, Compare, Alloc> C; 74 C c1(0, Hash( 106 typedef test_hash<std::hash<int> > Hash; typedef 148 typedef test_hash<std::hash<int> > Hash; typedef 210 typedef test_hash<std::hash<int> > Hash; typedef 239 typedef test_hash<std::hash<int> > Hash; typedef 287 typedef test_hash<std::hash<int> > Hash; typedef 329 typedef test_hash<std::hash<int> > Hash; typedef 391 typedef test_hash<std::hash<int> > Hash; typedef 420 typedef test_hash<std::hash<int> > Hash; typedef 468 typedef test_hash<std::hash<int> > Hash; typedef 510 typedef test_hash<std::hash<int> > Hash; typedef [all...] |
/external/llvm/include/llvm/IR/ |
H A D | Metadata.h | 81 /// Hash - If the MDNode is uniqued cache the hash to speed up lookup. 82 unsigned Hash; member in class:llvm::MDNode
|
/external/llvm/include/llvm/MC/ |
H A D | MCObjectFileInfo.h | 263 const MCSection *getDwarfTypesSection(uint64_t Hash) const; 264 const MCSection *getDwarfTypesDWOSection(uint64_t Hash) const;
|
/external/llvm/include/llvm/MC/MCParser/ |
H A D | MCAsmLexer.h | 50 Amp, AmpAmp, Exclaim, ExclaimEqual, Percent, Hash, enumerator in enum:llvm::AsmToken::TokenKind
|
/external/llvm/include/llvm/ProfileData/ |
H A D | InstrProfReader.h | 35 InstrProfRecord(StringRef Name, uint64_t Hash, ArrayRef<uint64_t> Counts) argument 36 : Name(Name), Hash(Hash), Counts(Counts) {} 38 uint64_t Hash; member in struct:llvm::InstrProfRecord 247 uint64_t Hash = endian::readNext<uint64_t, little, unaligned>(D); 255 return InstrProfRecord(K, Hash, CountBuffer);
|
H A D | InstrProfWriter.h | 32 uint64_t Hash; member in struct:llvm::InstrProfWriter::CounterData
|
/external/llvm/include/llvm/Support/ |
H A D | OnDiskHashTable.h | 1 //===--- OnDiskHashTable.h - On-Disk Hash Table Implementation --*- C++ -*-===// 65 const typename Info::hash_value_type Hash; member in class:llvm::OnDiskChainedHashTableGenerator::Item 69 : Key(Key), Data(Data), Next(nullptr), Hash(InfoObj.ComputeHash(Key)) {} 92 Bucket &B = Buckets[E->Hash & (Size - 1)]; 164 LE.write<typename Info::hash_value_type>(I->Hash);
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
H A D | ByteStreamer.h | 56 DIEHash &Hash; member in class:llvm::HashingByteStreamer 58 HashingByteStreamer(DIEHash &H) : Hash(H) {} 60 Hash.update(Byte); 63 Hash.addSLEB128(DWord); 66 Hash.addULEB128(DWord);
|
H A D | DIEHash.cpp | 54 Hash.update(Str); 55 Hash.update(makeArrayRef((uint8_t)'\0')); 69 Hash.update(Byte); 83 Hash.update(Byte); 275 // Hash all of the values in a block like set of values. This assumes that 281 Hash.update((uint64_t)cast<DIEInteger>(*I)->getValue()); 284 // Hash the contents of a loclistptr class. 293 // Hash an individual attribute \param Attr based on the type of attribute and 481 Hash.update(makeArrayRef((uint8_t)'\0')); 508 Hash [all...] |
H A D | DIEHash.h | 117 void update(uint8_t Value) { Hash.update(Value); } 163 MD5 Hash; member in class:llvm::DIEHash
|
H A D | DwarfDebug.cpp | 2381 MD5 Hash; local 2382 Hash.update(Identifier); 2387 Hash.final(Result);
|
/external/llvm/lib/CodeGen/ |
H A D | BranchFolding.cpp | 262 unsigned Hash = MI->getOpcode(); local 288 Hash += ((OperandHash << 3) | Op.getType()) << (i&31); 290 return Hash; 293 /// HashEndOfMBB - Hash the last instruction in the MBB.
|
H A D | BranchFolding.h | 34 unsigned Hash; member in class:llvm::BranchFolder::MergePotentialsElt 38 : Hash(h), Block(b) {} 40 unsigned getHash() const { return Hash; }
|
/external/llvm/lib/IR/ |
H A D | LLVMContextImpl.h | 201 if (X.Hash != IDHash) 209 return X.Hash; // Return cached hash.
|
H A D | Metadata.cpp | 261 N->Hash = ID.ComputeHash(); 388 Hash = ID.ComputeHash();
|
/external/llvm/lib/MC/ |
H A D | MCObjectFileInfo.cpp | 847 const MCSection *MCObjectFileInfo::getDwarfTypesSection(uint64_t Hash) const { 849 SectionKind::getMetadata(), 0, utostr(Hash)); 853 MCObjectFileInfo::getDwarfTypesDWOSection(uint64_t Hash) const { 856 utostr(Hash));
|
/external/llvm/lib/MC/MCParser/ |
H A D | AsmLexer.cpp | 477 // If this comment starts with a '#', then return the Hash token and let 481 return AsmToken(AsmToken::Hash, StringRef(TokStart, 1)); 560 case '#': return AsmToken(AsmToken::Hash, StringRef(TokStart, 1));
|
H A D | AsmParser.cpp | 1204 if (Lexer.is(AsmToken::Hash))
|
H A D | ELFAsmParser.cpp | 354 while (getLexer().is(AsmToken::Hash)) { 439 || getLexer().isNot(AsmToken::Hash)) 614 getLexer().isNot(AsmToken::Hash) && getLexer().isNot(AsmToken::At) &&
|
/external/llvm/lib/ProfileData/ |
H A D | InstrProfIndexed.h | 30 MD5 Hash; local 31 Hash.update(Str); 33 Hash.final(Result);
|
H A D | InstrProfReader.cpp | 99 if ((Line++)->getAsInteger(10, Record.Hash)) 260 Record.Hash = swap(Data->FuncHash); 343 FuncHash = Record.Hash;
|
H A D | InstrProfWriter.cpp | 62 LE.write<uint64_t>(V->Hash); 77 Data.Hash = FunctionHash; 85 if (Data.Hash != FunctionHash)
|
/external/llvm/lib/Support/ |
H A D | FoldingSet.cpp | 1 //===-- Support/FoldingSet.cpp - Uniquing Hash Set --------------*- C++ -*-===// 206 /// GetBucketFor - Hash the specified node ID and return the hash bucket for 208 static void **GetBucketFor(unsigned Hash, void **Buckets, unsigned NumBuckets) { argument 210 unsigned BucketNum = Hash & (NumBuckets-1);
|
/external/llvm/lib/Target/AArch64/AsmParser/ |
H A D | AArch64AsmParser.cpp | 1985 bool Hash = Tok.is(AsmToken::Hash); local 1986 if (Hash || Tok.is(AsmToken::Integer)) { 1987 if (Hash) 2032 if (Parser.getTok().is(AsmToken::Hash)) { 2082 if (Parser.getTok().is(AsmToken::Hash)) { 2100 bool Hash = false; local 2101 if (Parser.getTok().is(AsmToken::Hash)) { 2103 Hash = true; 2150 if (!Hash) 2301 bool Hash = getLexer().is(AsmToken::Hash); local 2596 bool Hash = Tok.is(AsmToken::Hash); local [all...] |