LLVM 20.0.0git
|
#include "llvm/Support/DJB.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/ConvertUTF.h"
#include "llvm/Support/Unicode.h"
Go to the source code of this file.
Functions | |
static UTF32 | chopOneUTF32 (StringRef &Buffer) |
static StringRef | toUTF8 (UTF32 C, MutableArrayRef< UTF8 > Storage) |
static UTF32 | foldCharDwarf (UTF32 C) |
static std::optional< uint32_t > | fastCaseFoldingDjbHash (StringRef Buffer, uint32_t H) |
Definition at line 21 of file DJB.cpp.
References assert(), llvm::StringRef::begin(), llvm::CallingConv::C, llvm::ConvertUTF8toUTF32(), llvm::StringRef::drop_front(), llvm::StringRef::empty(), llvm::StringRef::end(), and llvm::lenientConversion.
Referenced by llvm::caseFoldingDjbHash().
Definition at line 60 of file DJB.cpp.
References llvm::CallingConv::C, and H.
Referenced by llvm::caseFoldingDjbHash().
Definition at line 51 of file DJB.cpp.
References llvm::CallingConv::C, and llvm::sys::unicode::foldCharSimple().
Referenced by llvm::caseFoldingDjbHash().
|
static |
Definition at line 37 of file DJB.cpp.
References assert(), llvm::MutableArrayRef< T >::begin(), llvm::CallingConv::C, llvm::conversionOK, llvm::ConvertUTF32toUTF8(), llvm::MutableArrayRef< T >::end(), and llvm::strictConversion.
Referenced by llvm::caseFoldingDjbHash().