Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/LineEditor/
H A DLineEditor.cpp43 size_t CommonLen = 0; in getCommonPrefix() local
44 for (; CommonLen != Len; ++CommonLen) { in getCommonPrefix()
45 if (CommonPrefix[CommonLen] != C.TypedText[CommonLen]) in getCommonPrefix()
48 CommonPrefix.resize(CommonLen); in getCommonPrefix()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DMemProf.cpp448 uint32_t CommonLen = 0; in encodeCallStack() local
452 CommonLen = std::distance(CallStack->rbegin(), Pos.second); in encodeCallStack()
456 assert(CommonLen <= Indexes.size()); in encodeCallStack()
457 Indexes.resize(CommonLen); in encodeCallStack()
460 if (CommonLen) { in encodeCallStack()
470 assert(CommonLen <= CallStack->size()); in encodeCallStack()
471 for (FrameId F : llvm::drop_begin(llvm::reverse(*CallStack), CommonLen)) { in encodeCallStack()