Home
last modified time | relevance | path

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

/external/llvm/lib/Target/ARM/
DARMSelectionDAGInfo.cpp156 unsigned BytesLeft = SizeVal & 3; in EmitTargetCodeForMemcpy() local
198 if (BytesLeft == 0) in EmitTargetCodeForMemcpy()
202 unsigned BytesLeftSave = BytesLeft; in EmitTargetCodeForMemcpy()
204 while (BytesLeft) { in EmitTargetCodeForMemcpy()
205 if (BytesLeft >= 2) { in EmitTargetCodeForMemcpy()
221 BytesLeft -= VTSize; in EmitTargetCodeForMemcpy()
227 BytesLeft = BytesLeftSave; in EmitTargetCodeForMemcpy()
228 while (BytesLeft) { in EmitTargetCodeForMemcpy()
229 if (BytesLeft >= 2) { in EmitTargetCodeForMemcpy()
243 BytesLeft -= VTSize; in EmitTargetCodeForMemcpy()
DARMISelLowering.cpp7608 unsigned BytesLeft = SizeVal % UnitSize; in EmitStructByval() local
7609 unsigned LoopSize = SizeVal - BytesLeft; in EmitStructByval()
7632 for (unsigned i = 0; i < BytesLeft; i++) { in EmitStructByval()
7775 for (unsigned i = 0; i < BytesLeft; i++) { in EmitStructByval()
/external/llvm/lib/Target/X86/
DX86SelectionDAGInfo.cpp107 unsigned BytesLeft = 0; in EmitTargetCodeForMemset() local
141 BytesLeft = SizeVal % UBytes; in EmitTargetCodeForMemset()
178 } else if (BytesLeft) { in EmitTargetCodeForMemset()
180 unsigned Offset = SizeVal - BytesLeft; in EmitTargetCodeForMemset()
188 DAG.getConstant(BytesLeft, dl, SizeVT), in EmitTargetCodeForMemset()
245 unsigned BytesLeft = SizeVal % UBytes; in EmitTargetCodeForMemcpy() local
264 if (BytesLeft) { in EmitTargetCodeForMemcpy()
266 unsigned Offset = SizeVal - BytesLeft; in EmitTargetCodeForMemcpy()
277 DAG.getConstant(BytesLeft, dl, SizeVT), in EmitTargetCodeForMemcpy()
/external/llvm/lib/Support/
DMemoryBuffer.cpp379 size_t BytesLeft = MapSize; in getOpenFileImpl() local
385 while (BytesLeft) { in getOpenFileImpl()
387 ssize_t NumRead = ::pread(FD, BufPtr, BytesLeft, MapSize-BytesLeft+Offset); in getOpenFileImpl()
389 ssize_t NumRead = ::read(FD, BufPtr, BytesLeft); in getOpenFileImpl()
398 memset(BufPtr, 0, BytesLeft); // zero-initialize rest of the buffer. in getOpenFileImpl()
401 BytesLeft -= NumRead; in getOpenFileImpl()
/external/llvm/lib/Analysis/
DConstantFolding.cpp279 unsigned char *CurPtr, unsigned BytesLeft, in ReadDataFromGlobal() argument
297 for (unsigned i = 0; i != BytesLeft && ByteOffset != IntBytes; ++i) { in ReadDataFromGlobal()
310 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal()
314 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal()
318 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal()
336 BytesLeft, DL)) in ReadDataFromGlobal()
348 if (BytesLeft <= NextEltOffset - CurEltOffset - ByteOffset) in ReadDataFromGlobal()
353 BytesLeft -= NextEltOffset - CurEltOffset - ByteOffset; in ReadDataFromGlobal()
374 BytesLeft, DL)) in ReadDataFromGlobal()
379 if (BytesWritten >= BytesLeft) in ReadDataFromGlobal()
[all …]