Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMSelectionDAGInfo.cpp148 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()
[all …]
DARMISelLowering.cpp10202 unsigned BytesLeft = SizeVal % UnitSize; in EmitStructByval() local
10203 unsigned LoopSize = SizeVal - BytesLeft; in EmitStructByval()
10226 for (unsigned i = 0; i < BytesLeft; i++) { in EmitStructByval()
10381 for (unsigned i = 0; i < BytesLeft; i++) { in EmitStructByval()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86SelectionDAGInfo.cpp108 unsigned BytesLeft = 0; in EmitTargetCodeForMemset() local
141 BytesLeft = SizeVal % UBytes; in EmitTargetCodeForMemset()
166 if (BytesLeft) { in EmitTargetCodeForMemset()
168 unsigned Offset = SizeVal - BytesLeft; in EmitTargetCodeForMemset()
176 DAG.getConstant(BytesLeft, dl, SizeVT), in EmitTargetCodeForMemset()
260 const uint64_t BytesLeft = Size % BlockBytes; in emitConstantSizeRepmov() local
266 if (BytesLeft == 0) in emitConstantSizeRepmov()
269 assert(BytesLeft && "We have leftover at this point"); in emitConstantSizeRepmov()
279 unsigned Offset = Size - BytesLeft; in emitConstantSizeRepmov()
286 DAG.getConstant(BytesLeft, dl, SizeVT), Align, isVolatile, in emitConstantSizeRepmov()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/MSF/
DMappedBlockStream.cpp248 uint32_t BytesLeft = Buffer.size(); in readBytes() local
251 while (BytesLeft > 0) { in readBytes()
260 uint32_t BytesInChunk = std::min(BytesLeft, BlockSize - OffsetInBlock); in readBytes()
264 BytesLeft -= BytesInChunk; in readBytes()
396 uint32_t BytesLeft = Buffer.size(); in writeBytes() local
398 while (BytesLeft > 0) { in writeBytes()
401 std::min(BytesLeft, getBlockSize() - OffsetInBlock); in writeBytes()
410 BytesLeft -= BytesToWriteInChunk; in writeBytes()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DMemoryBuffer.cpp387 size_t BytesLeft = MapSize; in getOpenFileImpl() local
393 while (BytesLeft) { in getOpenFileImpl()
395 ssize_t NumRead = ::pread(FD, BufPtr, BytesLeft, MapSize-BytesLeft+Offset); in getOpenFileImpl()
397 ssize_t NumRead = ::read(FD, BufPtr, BytesLeft); in getOpenFileImpl()
406 memset(BufPtr, 0, BytesLeft); // zero-initialize rest of the buffer. in getOpenFileImpl()
409 BytesLeft -= NumRead; in getOpenFileImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFInstrInfo.cpp86 unsigned BytesLeft = CopyLen & (Alignment - 1); in expandMEMCPY() local
88 bool Hanging4Byte = BytesLeft & 0x4; in expandMEMCPY()
89 bool Hanging2Byte = BytesLeft & 0x2; in expandMEMCPY()
90 bool Hanging1Byte = BytesLeft & 0x1; in expandMEMCPY()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DConstantFolding.cpp381 unsigned BytesLeft, const DataLayout &DL) { in ReadDataFromGlobal() argument
398 for (unsigned i = 0; i != BytesLeft && ByteOffset != IntBytes; ++i) { in ReadDataFromGlobal()
411 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal()
415 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal()
419 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal()
437 BytesLeft, DL)) in ReadDataFromGlobal()
449 if (BytesLeft <= NextEltOffset - CurEltOffset - ByteOffset) in ReadDataFromGlobal()
454 BytesLeft -= NextEltOffset - CurEltOffset - ByteOffset; in ReadDataFromGlobal()
475 BytesLeft, DL)) in ReadDataFromGlobal()
480 if (BytesWritten >= BytesLeft) in ReadDataFromGlobal()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
DTypeRecordMapping.cpp153 size_t BytesLeft = IO.maxFieldLength(); in mapNameAndUniqueName() local
158 if (BytesNeeded > BytesLeft) { in mapNameAndUniqueName()
159 size_t BytesToDrop = (BytesNeeded - BytesLeft); in mapNameAndUniqueName()
172 auto N = StringRef(Name).take_front(BytesLeft - 1); in mapNameAndUniqueName()