Home
last modified time | relevance | path

Searched refs:LengthOrHashCode (Results 1 – 1 of 1) sorted by relevance

/freebsd-src/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DFunctionId.h42 uint64_t LengthOrHashCode = 0; variable
63 : Data(Str.data()), LengthOrHashCode(Str.size()) { in FunctionId()
68 : LengthOrHashCode(HashCode) { in FunctionId()
77 return LengthOrHashCode == Other.LengthOrHashCode && in equals()
78 compareMemory(Data, Other.Data, LengthOrHashCode) == 0; in equals()
87 Data, Other.Data, std::min(LengthOrHashCode, Other.LengthOrHashCode)); in compare()
90 if (LengthOrHashCode == Other.LengthOrHashCode) in compare()
92 return LengthOrHashCode < Other.LengthOrHashCode ? -1 : 1; in compare()
99 return std::string(Data, LengthOrHashCode); in str()
100 if (LengthOrHashCode != 0) in str()
[all …]