LLVM  6.0.0svn
Hashing.cpp
Go to the documentation of this file.
1 //===-------------- lib/Support/Hashing.cpp -------------------------------===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file provides implementation bits for the LLVM common hashing
11 // infrastructure. Documentation and most of the other information is in the
12 // header file.
13 //
14 //===----------------------------------------------------------------------===//
15 
16 #include "llvm/ADT/Hashing.h"
17 
18 using namespace llvm;
19 
20 // Provide a definition and static initializer for the fixed seed. This
21 // initializer should always be zero to ensure its value can never appear to be
22 // non-zero, even during dynamic initialization.
24 
25 // Implement the function for forced setting of the fixed seed.
26 // FIXME: Use atomic operations here so that there is no data race.
27 void llvm::set_fixed_execution_hash_seed(size_t fixed_value) {
29 }
Compute iterated dominance frontiers using a linear time algorithm.
Definition: AllocatorList.h:24
void set_fixed_execution_hash_seed(size_t fixed_value)
Override the execution seed with a fixed value.
Definition: Hashing.cpp:27
size_t fixed_seed_override
A global, fixed seed-override variable.
Definition: Hashing.cpp:23