Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DMemProfRadixTree.cpp53 uint32_t CommonLen = 0; in encodeCallStack() local
57 CommonLen = std::distance(CallStack->rbegin(), Pos.second); in encodeCallStack()
61 assert(CommonLen <= Indexes.size()); in encodeCallStack()
62 Indexes.resize(CommonLen); in encodeCallStack()
65 if (CommonLen) { in encodeCallStack()
75 assert(CommonLen <= CallStack->size()); in encodeCallStack()
76 for (FrameIdTy F : llvm::drop_begin(llvm::reverse(*CallStack), CommonLen)) { in encodeCallStack()
/freebsd/contrib/llvm-project/llvm/lib/LineEditor/
H A DLineEditor.cpp44 size_t CommonLen = 0; in getCommonPrefix() local
45 for (; CommonLen != Len; ++CommonLen) { in getCommonPrefix()
46 if (CommonPrefix[CommonLen] != C.TypedText[CommonLen]) in getCommonPrefix()
49 CommonPrefix.resize(CommonLen); in getCommonPrefix()