Home
last modified time | relevance | path

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

/llvm-project/clang/include/clang/Lex/
H A DLiteralSupport.h267 return StringRef(ResultBuf.data(), GetStringLength()); in GetString()
269 unsigned GetStringLength() const { return ResultPtr-ResultBuf.data(); } in GetStringLength() function
272 return GetStringLength() / CharByteWidth; in GetNumStringChars()
/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp371 uint64_t Len = GetStringLength(Src); in optimizeStrCat()
427 uint64_t SrcLen = GetStringLength(Src); in optimizeStrNCat()
485 uint64_t Len = GetStringLength(SrcStr); in optimizeStrChr()
582 uint64_t Len1 = GetStringLength(Str1P); in optimizeStrCmp()
585 uint64_t Len2 = GetStringLength(Str2P); in optimizeStrCmp()
662 uint64_t Len1 = GetStringLength(Str1P); in optimizeStrNCmp()
665 uint64_t Len2 = GetStringLength(Str2P); in optimizeStrNCmp()
690 uint64_t SrcLen = GetStringLength(Src); in optimizeStrNDup()
707 uint64_t Len = GetStringLength(Src); in optimizeStrCpy()
734 uint64_t Len = GetStringLength(Sr in optimizeStpCpy()
[all...]
/llvm-project/llvm/include/llvm/Analysis/
H A DValueTracking.h703 uint64_t GetStringLength(const Value *V, unsigned CharSize = 8);
/llvm-project/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp382 APInt Size(IntTyBits, GetStringLength(Mapper(CB->getArgOperand(0)))); in getAllocSize()
H A DValueTracking.cpp6696 uint64_t llvm::GetStringLength(const Value *V, unsigned CharSize) { in isSafeToSpeculativelyExecuteWithOpcode()
6331 uint64_t llvm::GetStringLength(const Value *V, unsigned CharSize) { GetStringLength() function in llvm
/llvm-project/clang/lib/Lex/
H A DLiteralSupport.cpp2262 if (GetStringLength() > 256) { in init()
H A DModuleMap.cpp1713 unsigned Length = StringLiteral.GetStringLength(); in consumeToken()
/llvm-project/clang/lib/AST/
H A DExpr.cpp1382 unsigned TokNumBytes = SLP.GetStringLength(); in getLocationOfByte()