LLVM 20.0.0git
|
Declares the hasher member, and functions forwarding directly to the hasher. More...
#include "llvm/Support/HashBuilder.h"
Public Types | |
template<typename HasherT_ = HasherT> | |
using | HashResultTy = decltype(std::declval< HasherT_ & >().final()) |
Public Member Functions | |
HasherT & | getHasher () |
void | update (ArrayRef< uint8_t > Data) |
Forward to HasherT::update(ArrayRef<uint8_t>) . | |
void | update (StringRef Data) |
Forward to HasherT::update(ArrayRef<uint8_t>) . | |
template<typename HasherT_ = HasherT> | |
HashResultTy< HasherT_ > | final () |
Forward to HasherT::final() if available. | |
template<typename HasherT_ = HasherT> | |
HashResultTy< HasherT_ > | result () |
Forward to HasherT::result() if available. | |
Protected Member Functions | |
HashBuilderBase (HasherT &Hasher) | |
template<typename... ArgTypes> | |
HashBuilderBase (ArgTypes &&...Args) | |
Declares the hasher member, and functions forwarding directly to the hasher.
Definition at line 41 of file HashBuilder.h.
using llvm::HashBuilderBase< HasherT >::HashResultTy = decltype(std::declval<HasherT_ &>().final()) |
Definition at line 44 of file HashBuilder.h.
|
inlineexplicitprotected |
Definition at line 76 of file HashBuilder.h.
|
inlineexplicitprotected |
Definition at line 79 of file HashBuilder.h.
|
inline |
Forward to HasherT::final()
if available.
Definition at line 66 of file HashBuilder.h.
References llvm::HashBuilderBase< HasherT >::getHasher().
Referenced by computeFullStackId(), and computeStackId().
|
inline |
Definition at line 46 of file HashBuilder.h.
Referenced by llvm::HashBuilderBase< HasherT >::final(), llvm::hash_value(), llvm::HashBuilderBase< HasherT >::result(), and llvm::HashBuilderBase< HasherT >::update().
|
inline |
Forward to HasherT::result()
if available.
Definition at line 71 of file HashBuilder.h.
References llvm::HashBuilderBase< HasherT >::getHasher().
|
inline |
Forward to HasherT::update(ArrayRef<uint8_t>)
.
This may not take the size of Data
into account. Users of this function should pay attention to respect endianness contraints.
Definition at line 53 of file HashBuilder.h.
References llvm::HashBuilderBase< HasherT >::getHasher().
Referenced by llvm::HashBuilder< HasherT, Endianness >::add(), llvm::HashBuilder< HasherT, Endianness >::adjustForEndiannessAndAdd(), and llvm::HashBuilderBase< HasherT >::update().
|
inline |
Forward to HasherT::update(ArrayRef<uint8_t>)
.
This may not take the size of Data
into account. Users of this function should pay attention to respect endianness contraints.
Definition at line 60 of file HashBuilder.h.
References llvm::Data, and llvm::HashBuilderBase< HasherT >::update().