| /freebsd-12.1/contrib/llvm/lib/Target/ARM/ |
| H A D | ARMSelectionDAGInfo.cpp | 149 unsigned BytesLeft = SizeVal & 3; in EmitTargetCodeForMemcpy() local 197 if (BytesLeft == 0) in EmitTargetCodeForMemcpy() 205 return (BytesLeft >= 2) ? 2 : 1; in EmitTargetCodeForMemcpy() 208 unsigned BytesLeftSave = BytesLeft; in EmitTargetCodeForMemcpy() 210 while (BytesLeft) { in EmitTargetCodeForMemcpy() 212 VTSize = getRemainingSize(BytesLeft); in EmitTargetCodeForMemcpy() 220 BytesLeft -= VTSize; in EmitTargetCodeForMemcpy() 226 BytesLeft = BytesLeftSave; in EmitTargetCodeForMemcpy() 227 while (BytesLeft) { in EmitTargetCodeForMemcpy() 229 VTSize = getRemainingSize(BytesLeft); in EmitTargetCodeForMemcpy() [all …]
|
| H A D | ARMISelLowering.cpp | 8890 unsigned BytesLeft = SizeVal % UnitSize; in EmitStructByval() local 8891 unsigned LoopSize = SizeVal - BytesLeft; in EmitStructByval() 8914 for (unsigned i = 0; i < BytesLeft; i++) { in EmitStructByval() 9064 for (unsigned i = 0; i < BytesLeft; i++) { in EmitStructByval()
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/ |
| H A D | X86SelectionDAGInfo.cpp | 56 uint64_t BytesLeft() const { return Size % UBytes(); } in BytesLeft() function 127 unsigned BytesLeft = 0; in EmitTargetCodeForMemset() local 160 BytesLeft = SizeVal % UBytes; in EmitTargetCodeForMemset() 185 if (BytesLeft) { in EmitTargetCodeForMemset() 187 unsigned Offset = SizeVal - BytesLeft; in EmitTargetCodeForMemset() 195 DAG.getConstant(BytesLeft, dl, SizeVT), in EmitTargetCodeForMemset() 251 if (Repeats.BytesLeft() > 0 && in EmitTargetCodeForMemcpy() 277 if (Repeats.BytesLeft()) { in EmitTargetCodeForMemcpy() 279 unsigned Offset = Repeats.Size - Repeats.BytesLeft(); in EmitTargetCodeForMemcpy() 290 DAG.getConstant(Repeats.BytesLeft(), dl, in EmitTargetCodeForMemcpy()
|
| /freebsd-12.1/contrib/llvm/lib/DebugInfo/MSF/ |
| H A D | MappedBlockStream.cpp | 249 uint32_t BytesLeft = Buffer.size(); in readBytes() local 252 while (BytesLeft > 0) { in readBytes() 261 uint32_t BytesInChunk = std::min(BytesLeft, BlockSize - OffsetInBlock); in readBytes() 265 BytesLeft -= BytesInChunk; in readBytes() 397 uint32_t BytesLeft = Buffer.size(); in writeBytes() local 399 while (BytesLeft > 0) { in writeBytes() 402 std::min(BytesLeft, getBlockSize() - OffsetInBlock); in writeBytes() 411 BytesLeft -= BytesToWriteInChunk; in writeBytes()
|
| /freebsd-12.1/contrib/llvm/lib/Support/ |
| H A D | MemoryBuffer.cpp | 465 size_t BytesLeft = MapSize; in getOpenFileImpl() local 471 while (BytesLeft) { in getOpenFileImpl() 473 ssize_t NumRead = sys::RetryAfterSignal(-1, ::pread, FD, BufPtr, BytesLeft, in getOpenFileImpl() 474 MapSize - BytesLeft + Offset); in getOpenFileImpl() 476 ssize_t NumRead = sys::RetryAfterSignal(-1, ::read, FD, BufPtr, BytesLeft); in getOpenFileImpl() 483 memset(BufPtr, 0, BytesLeft); // zero-initialize rest of the buffer. in getOpenFileImpl() 486 BytesLeft -= NumRead; in getOpenFileImpl()
|
| /freebsd-12.1/contrib/llvm/lib/Target/BPF/ |
| H A D | BPFInstrInfo.cpp | 87 unsigned BytesLeft = CopyLen & (Alignment - 1); in expandMEMCPY() local 89 bool Hanging4Byte = BytesLeft & 0x4; in expandMEMCPY() 90 bool Hanging2Byte = BytesLeft & 0x2; in expandMEMCPY() 91 bool Hanging1Byte = BytesLeft & 0x1; in expandMEMCPY()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Utility/ |
| H A D | DataEncoder.h | 362 return length <= BytesLeft(offset); in ValidOffsetForDataOfSize() 365 uint32_t BytesLeft(uint32_t offset) const { in BytesLeft() function
|
| H A D | DataExtractor.h | 1080 return length <= BytesLeft(offset); in ValidOffsetForDataOfSize() 1089 lldb::offset_t BytesLeft(lldb::offset_t offset) const { in BytesLeft() function
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 376 unsigned BytesLeft, const DataLayout &DL) { in ReadDataFromGlobal() argument 406 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal() 432 BytesLeft, DL)) in ReadDataFromGlobal() 444 if (BytesLeft <= NextEltOffset - CurEltOffset - ByteOffset) in ReadDataFromGlobal() 449 BytesLeft -= NextEltOffset - CurEltOffset - ByteOffset; in ReadDataFromGlobal() 470 BytesLeft, DL)) in ReadDataFromGlobal() 475 if (BytesWritten >= BytesLeft) in ReadDataFromGlobal() 479 BytesLeft -= BytesWritten; in ReadDataFromGlobal() 489 BytesLeft, DL); in ReadDataFromGlobal() 556 unsigned BytesLeft = BytesLoaded; in FoldReinterpretLoadFromConstPtr() local [all …]
|
| /freebsd-12.1/contrib/llvm/lib/DebugInfo/CodeView/ |
| H A D | TypeRecordMapping.cpp | 53 size_t BytesLeft = IO.maxFieldLength(); in mapNameAndUniqueName() local 58 if (BytesNeeded > BytesLeft) { in mapNameAndUniqueName() 59 size_t BytesToDrop = (BytesNeeded - BytesLeft); in mapNameAndUniqueName() 72 auto N = StringRef(Name).take_front(BytesLeft - 1); in mapNameAndUniqueName()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Disassembler/llvm/ |
| H A D | DisassemblerLLVMC.cpp | 240 const size_t opcode_data_len = data.BytesLeft(data_offset); in Decode()
|