/external/swiftshader/third_party/LLVM/lib/Target/PTX/ |
D | PTXSelectionDAGInfo.cpp | 51 unsigned BytesLeft = SizeVal & 3; in EmitTargetCodeForMemcpy() local 93 if (BytesLeft == 0) in EmitTargetCodeForMemcpy() 97 unsigned BytesLeftSave = BytesLeft; in EmitTargetCodeForMemcpy() 99 while (BytesLeft) { in EmitTargetCodeForMemcpy() 100 if (BytesLeft >= 2) { in EmitTargetCodeForMemcpy() 115 BytesLeft -= VTSize; in EmitTargetCodeForMemcpy() 120 BytesLeft = BytesLeftSave; in EmitTargetCodeForMemcpy() 121 while (BytesLeft) { in EmitTargetCodeForMemcpy() 122 if (BytesLeft >= 2) { in EmitTargetCodeForMemcpy() 136 BytesLeft -= VTSize; in EmitTargetCodeForMemcpy()
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMSelectionDAGInfo.cpp | 49 unsigned BytesLeft = SizeVal & 3; in EmitTargetCodeForMemcpy() local 90 if (BytesLeft == 0) in EmitTargetCodeForMemcpy() 94 unsigned BytesLeftSave = BytesLeft; in EmitTargetCodeForMemcpy() 96 while (BytesLeft) { in EmitTargetCodeForMemcpy() 97 if (BytesLeft >= 2) { in EmitTargetCodeForMemcpy() 112 BytesLeft -= VTSize; in EmitTargetCodeForMemcpy() 117 BytesLeft = BytesLeftSave; in EmitTargetCodeForMemcpy() 118 while (BytesLeft) { in EmitTargetCodeForMemcpy() 119 if (BytesLeft >= 2) { in EmitTargetCodeForMemcpy() 133 BytesLeft -= VTSize; in EmitTargetCodeForMemcpy()
|
/external/llvm/lib/Target/ARM/ |
D | ARMSelectionDAGInfo.cpp | 149 unsigned BytesLeft = SizeVal & 3; in EmitTargetCodeForMemcpy() local 197 if (BytesLeft == 0) in EmitTargetCodeForMemcpy() 201 unsigned BytesLeftSave = BytesLeft; in EmitTargetCodeForMemcpy() 203 while (BytesLeft) { in EmitTargetCodeForMemcpy() 204 if (BytesLeft >= 2) { in EmitTargetCodeForMemcpy() 220 BytesLeft -= VTSize; in EmitTargetCodeForMemcpy() 226 BytesLeft = BytesLeftSave; in EmitTargetCodeForMemcpy() 227 while (BytesLeft) { in EmitTargetCodeForMemcpy() 228 if (BytesLeft >= 2) { in EmitTargetCodeForMemcpy() 242 BytesLeft -= VTSize; in EmitTargetCodeForMemcpy()
|
D | ARMISelLowering.cpp | 7946 unsigned BytesLeft = SizeVal % UnitSize; in EmitStructByval() local 7947 unsigned LoopSize = SizeVal - BytesLeft; in EmitStructByval() 7970 for (unsigned i = 0; i < BytesLeft; i++) { in EmitStructByval() 8113 for (unsigned i = 0; i < BytesLeft; i++) { in EmitStructByval()
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86SelectionDAGInfo.cpp | 83 unsigned BytesLeft = 0; in EmitTargetCodeForMemset() local 117 BytesLeft = SizeVal % UBytes; in EmitTargetCodeForMemset() 156 } else if (BytesLeft) { in EmitTargetCodeForMemset() 158 unsigned Offset = SizeVal - BytesLeft; in EmitTargetCodeForMemset() 166 DAG.getConstant(BytesLeft, SizeVT), in EmitTargetCodeForMemset() 217 unsigned BytesLeft = SizeVal % UBytes; in EmitTargetCodeForMemcpy() local 240 if (BytesLeft) { in EmitTargetCodeForMemcpy() 242 unsigned Offset = SizeVal - BytesLeft; in EmitTargetCodeForMemcpy() 251 DAG.getConstant(BytesLeft, SizeVT), in EmitTargetCodeForMemcpy()
|
/external/llvm/lib/Target/X86/ |
D | X86SelectionDAGInfo.cpp | 106 unsigned BytesLeft = 0; in EmitTargetCodeForMemset() local 140 BytesLeft = SizeVal % UBytes; in EmitTargetCodeForMemset() 177 } else if (BytesLeft) { in EmitTargetCodeForMemset() 179 unsigned Offset = SizeVal - BytesLeft; in EmitTargetCodeForMemset() 187 DAG.getConstant(BytesLeft, dl, SizeVT), in EmitTargetCodeForMemset() 244 unsigned BytesLeft = SizeVal % UBytes; in EmitTargetCodeForMemcpy() local 263 if (BytesLeft) { in EmitTargetCodeForMemcpy() 265 unsigned Offset = SizeVal - BytesLeft; in EmitTargetCodeForMemcpy() 276 DAG.getConstant(BytesLeft, dl, SizeVT), in EmitTargetCodeForMemcpy()
|
/external/llvm/lib/DebugInfo/PDB/Raw/ |
D | MappedBlockStream.cpp | 199 uint32_t BytesLeft = Buffer.size(); in readBytes() local 203 while (BytesLeft > 0) { in readBytes() 213 std::min(BytesLeft, Pdb.getBlockSize() - OffsetInBlock); in readBytes() 217 BytesLeft -= BytesInChunk; in readBytes() 237 uint32_t BytesLeft = Buffer.size(); in writeBytes() local 240 while (BytesLeft > 0) { in writeBytes() 243 std::min(BytesLeft, Pdb.getBlockSize() - OffsetInBlock); in writeBytes() 250 BytesLeft -= BytesToWriteInChunk; in writeBytes()
|
/external/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 387 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()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | MemoryBuffer.cpp | 387 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()
|
/external/puffin/src/ |
D | puff_reader.h | 33 virtual size_t BytesLeft() const = 0; 52 size_t BytesLeft() const override;
|
D | puffin_unittest.cc | 43 while (puff_reader.BytesLeft() != 0) { in DecompressPuff() 75 *puff_size = *puff_size - puff_reader.BytesLeft(); in DecompressPuff() 108 TEST_AND_RETURN_FALSE_SET_ERROR(puff_reader.BytesLeft() == 0, in HuffDeflate()
|
D | puff_reader.cc | 121 size_t BufferPuffReader::BytesLeft() const { in BytesLeft() function in puffin::BufferPuffReader
|
D | huffer.cc | 35 while (pr->BytesLeft() != 0) { in HuffDeflate()
|
D | puff_io_unittest.cc | 223 ASSERT_EQ(buf.size() - pr.BytesLeft(), pw.Size()); in TEST() 224 ASSERT_EQ(buf.size() - pr.BytesLeft(), epw.Size()); in TEST()
|
D | puffin_stream.cc | 392 TEST_AND_RETURN_FALSE(puff_reader.BytesLeft() == 0); in Write()
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | MemoryBuffer.cpp | 323 size_t BytesLeft = MapSize; in getOpenFile() local 327 while (BytesLeft) { in getOpenFile() 328 ssize_t NumRead = ::read(FD, BufPtr, BytesLeft); in getOpenFile() 341 BytesLeft -= NumRead; in getOpenFile()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ConstantFolding.cpp | 239 unsigned char *CurPtr, unsigned BytesLeft, in ReadDataFromGlobal() argument 257 for (unsigned i = 0; i != BytesLeft && ByteOffset != IntBytes; ++i) { in ReadDataFromGlobal() 267 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, TD); in ReadDataFromGlobal() 271 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, TD); in ReadDataFromGlobal() 289 BytesLeft, TD)) in ReadDataFromGlobal() 301 if (BytesLeft <= NextEltOffset-CurEltOffset-ByteOffset) in ReadDataFromGlobal() 306 BytesLeft -= NextEltOffset-CurEltOffset-ByteOffset; in ReadDataFromGlobal() 319 BytesLeft, TD)) in ReadDataFromGlobal() 321 if (EltSize >= BytesLeft) in ReadDataFromGlobal() 325 BytesLeft -= EltSize; in ReadDataFromGlobal() [all …]
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 287 unsigned BytesLeft, const DataLayout &DL) { in ReadDataFromGlobal() argument 304 for (unsigned i = 0; i != BytesLeft && ByteOffset != IntBytes; ++i) { in ReadDataFromGlobal() 317 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal() 321 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal() 325 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal() 343 BytesLeft, DL)) in ReadDataFromGlobal() 355 if (BytesLeft <= NextEltOffset - CurEltOffset - ByteOffset) in ReadDataFromGlobal() 360 BytesLeft -= NextEltOffset - CurEltOffset - ByteOffset; in ReadDataFromGlobal() 381 BytesLeft, DL)) in ReadDataFromGlobal() 386 if (BytesWritten >= BytesLeft) in ReadDataFromGlobal() [all …]
|