LLVM
8.0.1
|
#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 uint32_t | caseFoldingDjbHashCharSlow (StringRef &Buffer, uint32_t H) |
Definition at line 61 of file DJB.cpp.
References C, chopOneUTF32(), llvm::djbHash(), foldCharDwarf(), and toUTF8().
Referenced by llvm::caseFoldingDjbHash().
Definition at line 22 of file DJB.cpp.
References assert(), llvm::StringRef::begin(), C, llvm::ConvertUTF8toUTF32(), llvm::StringRef::drop_front(), llvm::StringRef::empty(), llvm::StringRef::end(), and llvm::lenientConversion.
Referenced by caseFoldingDjbHashCharSlow().
Definition at line 52 of file DJB.cpp.
References llvm::sys::unicode::foldCharSimple().
Referenced by caseFoldingDjbHashCharSlow().
|
static |
Definition at line 38 of file DJB.cpp.
References assert(), llvm::MutableArrayRef< T >::begin(), C, llvm::conversionOK, llvm::ConvertUTF32toUTF8(), llvm::MutableArrayRef< T >::end(), and llvm::strictConversion.
Referenced by caseFoldingDjbHashCharSlow().