Lines Matching refs:BytesLeft
148 unsigned BytesLeft = SizeVal & 3; in EmitTargetCodeForMemcpy() local
196 if (BytesLeft == 0) in EmitTargetCodeForMemcpy()
200 auto getRemainingValueType = [](unsigned BytesLeft) { in EmitTargetCodeForMemcpy() argument
201 return (BytesLeft >= 2) ? MVT::i16 : MVT::i8; in EmitTargetCodeForMemcpy()
203 auto getRemainingSize = [](unsigned BytesLeft) { in EmitTargetCodeForMemcpy() argument
204 return (BytesLeft >= 2) ? 2 : 1; in EmitTargetCodeForMemcpy()
207 unsigned BytesLeftSave = BytesLeft; in EmitTargetCodeForMemcpy()
209 while (BytesLeft) { in EmitTargetCodeForMemcpy()
210 VT = getRemainingValueType(BytesLeft); in EmitTargetCodeForMemcpy()
211 VTSize = getRemainingSize(BytesLeft); in EmitTargetCodeForMemcpy()
219 BytesLeft -= VTSize; in EmitTargetCodeForMemcpy()
225 BytesLeft = BytesLeftSave; in EmitTargetCodeForMemcpy()
226 while (BytesLeft) { in EmitTargetCodeForMemcpy()
227 VT = getRemainingValueType(BytesLeft); in EmitTargetCodeForMemcpy()
228 VTSize = getRemainingSize(BytesLeft); in EmitTargetCodeForMemcpy()
235 BytesLeft -= VTSize; in EmitTargetCodeForMemcpy()