| /llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMSelectionDAGInfo.cpp | 198 unsigned BytesLeft = SizeVal & 3; in EmitTargetCodeForMemcpy() 246 if (BytesLeft == 0) in EmitTargetCodeForMemcpy() 250 auto getRemainingValueType = [](unsigned BytesLeft) { in EmitTargetCodeForMemcpy() argument 251 return (BytesLeft >= 2) ? MVT::i16 : MVT::i8; in EmitTargetCodeForMemcpy() 253 auto getRemainingSize = [](unsigned BytesLeft) { in EmitTargetCodeForMemcpy() 254 return (BytesLeft >= 2) ? 2 : 1; in EmitTargetCodeForMemcpy() 257 unsigned BytesLeftSave = BytesLeft; in EmitTargetCodeForMemcpy() 259 while (BytesLeft) { in EmitTargetCodeForMemcpy() 260 VT = getRemainingValueType(BytesLeft); in EmitTargetCodeForMemcpy() 261 VTSize = getRemainingSize(BytesLeft); in EmitTargetCodeForMemcpy() 195 unsigned BytesLeft = SizeVal & 3; EmitTargetCodeForMemcpy() local 247 __anon69052b260302(unsigned BytesLeft) EmitTargetCodeForMemcpy() argument [all...] |
| H A D | ARMISelLowering.cpp | 11559 unsigned BytesLeft = SizeVal % UnitSize; in EmitStructByval() 11560 unsigned LoopSize = SizeVal - BytesLeft; in EmitStructByval() 11583 for (unsigned i = 0; i < BytesLeft; i++) { in EmitStructByval() 11727 // Add epilogue to handle BytesLeft. in EmitLowered__chkstk() 11735 for (unsigned i = 0; i < BytesLeft; i++) { in EmitLowered__chkstk() 11526 unsigned BytesLeft = SizeVal % UnitSize; EmitStructByval() local
|
| /llvm-project/llvm/lib/Target/X86/ |
| H A D | X86SelectionDAGInfo.cpp | 161 uint64_t BytesLeft = 0; in emitRepmovs() 180 BytesLeft = Size % BlockBytes; in emitRepmovsB() 188 if (BytesLeft == 0) in getOptimalRepmovsType() 194 unsigned Offset = Size - BytesLeft; in getOptimalRepmovsType() 201 OriginalVal, DAG.getConstant(BytesLeft, dl, SizeVT), in getOptimalRepmovsType() 295 const uint64_t BytesLeft = Size % BlockBytes; 301 if (BytesLeft == 0) 304 assert(BytesLeft && "We have leftover at this point"); 309 unsigned Offset = Size - BytesLeft; 316 DAG.getConstant(BytesLeft, d 76 unsigned BytesLeft = 0; EmitTargetCodeForMemset() local 231 const uint64_t BytesLeft = Size % BlockBytes; emitConstantSizeRepmov() local [all...] |
| /llvm-project/llvm/lib/DebugInfo/MSF/ |
| H A D | MappedBlockStream.cpp | 246 uint64_t BytesLeft = Buffer.size(); in readBytes() local 249 while (BytesLeft > 0) { in readBytes() 258 uint64_t BytesInChunk = std::min(BytesLeft, BlockSize - OffsetInBlock); in readBytes() 262 BytesLeft -= BytesInChunk; in readBytes() 394 uint64_t BytesLeft = Buffer.size(); in writeBytes() local 396 while (BytesLeft > 0) { in writeBytes() 399 std::min(BytesLeft, getBlockSize() - OffsetInBlock); in writeBytes() 408 BytesLeft -= BytesToWriteInChunk; in writeBytes()
|
| /llvm-project/lldb/tools/debugserver/source/ |
| H A D | DNBDataRef.h | 55 size_t BytesLeft(size_t offset) const { in BytesLeft() function 62 bool ValidOffset(offset_t offset) const { return BytesLeft(offset) > 0; } in ValidOffset() 64 return num_bytes <= BytesLeft(offset); in ValidOffsetForDataOfSize()
|
| /llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFInstrInfo.cpp | 87 unsigned BytesLeft = CopyLen & (Alignment - 1); in expandMEMCPY() 89 bool Hanging4Byte = BytesLeft & 0x4; in expandMEMCPY() 90 bool Hanging2Byte = BytesLeft & 0x2; in expandMEMCPY() 91 bool Hanging1Byte = BytesLeft & 0x1; in expandMEMCPY() 86 unsigned BytesLeft = CopyLen & (Alignment - 1); expandMEMCPY() local
|
| /llvm-project/lldb/include/lldb/Utility/ |
| H A D | DataEncoder.h | 264 uint32_t BytesLeft(uint32_t offset) const { in BytesLeft() function 277 return length <= BytesLeft(offset); in ValidOffsetForDataOfSize()
|
| H A D | DataExtractor.h | 965 return length <= BytesLeft(offset); in ValidOffsetForDataOfSize() 974 lldb::offset_t BytesLeft(lldb::offset_t offset) const { in BytesLeft() function
|
| /llvm-project/llvm/lib/DebugInfo/CodeView/ |
| H A D | TypeRecordMapping.cpp | 186 size_t BytesLeft = IO.maxFieldLength(); in mapNameAndUniqueName() local 189 if (BytesNeeded > BytesLeft) { in mapNameAndUniqueName() 191 assert(BytesLeft >= 70); in mapNameAndUniqueName() 202 size_t TakeN = std::min(MaxTakeN, BytesLeft - UniqueB.size() - 2) - 32; in mapNameAndUniqueName() 217 auto N = StringRef(Name).take_front(BytesLeft - 1); in mapNameAndUniqueName()
|
| /llvm-project/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 423 /// results into and BytesLeft is the number of bytes left in in ReadDataFromGlobal() 426 unsigned BytesLeft, const DataLayout &DL) { in ReadDataFromGlobal() 441 for (unsigned i = 0; i != BytesLeft && ByteOffset != IntBytes; ++i) { in ReadDataFromGlobal() 454 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal() 458 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal() 462 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal() 480 BytesLeft, DL)) in ReadDataFromGlobal() 492 if (BytesLeft <= NextEltOffset - CurEltOffset - ByteOffset) in ReadDataFromGlobal() 497 BytesLeft -= NextEltOffset - CurEltOffset - ByteOffset; in ReadDataFromGlobal() 527 BytesLeft, D in ReadDataFromGlobal() 418 ReadDataFromGlobal(Constant * C,uint64_t ByteOffset,unsigned char * CurPtr,unsigned BytesLeft,const DataLayout & DL) ReadDataFromGlobal() argument 607 unsigned BytesLeft = BytesLoaded; FoldReinterpretLoadFromConst() local [all...] |
| /llvm-project/llvm/lib/DebugInfo/BTF/ |
| H A D | BTFParser.cpp | 222 uint64_t BytesLeft = RawData.size() - Pos; in parseTypesInfo() local 225 if (BytesLeft < sizeof(*Type)) in parseTypesInfo() 230 if (BytesLeft < Size) in parseTypesInfo()
|
| /llvm-project/llvm/unittests/Support/ |
| H A D | BinaryStreamTest.cpp | 45 uint64_t BytesLeft = Size - Ref.size(); in readBytes() local 48 ::memcpy(Ptr + Ref.size(), Data.data(), BytesLeft); in readBytes() 78 uint64_t BytesLeft = SrcData.size() - Ref.size(); in writeBytes() local 80 ::memcpy(&Data[0], SrcData.data() + Ref.size(), BytesLeft); in writeBytes()
|
| /llvm-project/lldb/source/Plugins/SymbolFile/CTF/ |
| H A D | SymbolFileCTF.cpp | 152 zstr.avail_in = m_data.BytesLeft(offset); in ParseHeader()
|
| /llvm-project/lldb/source/Plugins/Disassembler/LLVMC/ |
| H A D | DisassemblerLLVMC.cpp | 522 const size_t opcode_data_len = data.BytesLeft(data_offset); in Decode()
|
| /llvm-project/lldb/source/Expression/ |
| H A D | DWARFExpression.cpp | 737 param_subexpr_extractor.BytesLeft(param_subexpr_offset) != 0) in UpdateValueTypeFromLocationDescription()
|