Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/CodeGen/
DCGExprConstant.cpp933 unsigned NonzeroLength = ArrayBound; in EmitArrayConstant() local
934 if (Elements.size() < NonzeroLength && Filler->isNullValue()) in EmitArrayConstant()
935 NonzeroLength = Elements.size(); in EmitArrayConstant()
936 if (NonzeroLength == Elements.size()) { in EmitArrayConstant()
937 while (NonzeroLength > 0 && Elements[NonzeroLength - 1]->isNullValue()) in EmitArrayConstant()
938 --NonzeroLength; in EmitArrayConstant()
941 if (NonzeroLength == 0) in EmitArrayConstant()
945 unsigned TrailingZeroes = ArrayBound - NonzeroLength; in EmitArrayConstant()
947 assert(Elements.size() >= NonzeroLength && in EmitArrayConstant()
952 if (CommonElementType && NonzeroLength >= 8) { in EmitArrayConstant()
[all …]