| /freebsd-12.1/contrib/llvm/tools/clang/lib/Rewrite/ |
| H A D | RewriteRope.cpp | 372 NumBytes -= CoverBytes; in erase() 377 if (NumBytes == 0) return; in erase() 382 Pieces[StartPiece].StartOffs += NumBytes; in erase() 385 Size -= NumBytes; in erase() 575 Size -= NumBytes; in erase() 584 while (NumBytes) { in erase() 590 CurChild->erase(Offset, NumBytes); in erase() 599 NumBytes -= BytesFromChild; in erase() 608 NumBytes -= CurChild->size(); in erase() 660 return Leaf->erase(Offset, NumBytes); in erase() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/Sparc/ |
| H A D | SparcFrameLowering.cpp | 51 if (NumBytes >= -4096 && NumBytes < 4096) { in emitSPAdjustment() 53 .addReg(SP::O6).addImm(NumBytes); in emitSPAdjustment() 59 if (NumBytes >= 0) { in emitSPAdjustment() 65 .addImm(HI22(NumBytes)); in emitSPAdjustment() 78 .addImm(HIX22(NumBytes)); in emitSPAdjustment() 113 int NumBytes = (int) MFI.getStackSize(); in emitPrologue() local 118 if (NumBytes == 0) in emitPrologue() 145 NumBytes = Subtarget.getAdjustedFrameSize(NumBytes); in emitPrologue() 150 NumBytes = alignTo(NumBytes, MFI.getMaxAlignment()); in emitPrologue() 154 MFI.setStackSize(NumBytes); in emitPrologue() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/MSP430/ |
| H A D | MSP430FrameLowering.cpp | 55 uint64_t NumBytes = 0; in emitPrologue() local 59 NumBytes = FrameSize - MSP430FI->getCalleeSavedFrameSize(); in emitPrologue() 64 MFI.setOffsetAdjustment(-NumBytes); in emitPrologue() 89 if (NumBytes) { // adjust stack pointer: SP -= numbytes in emitPrologue() 97 if (NumBytes) { in emitPrologue() 100 .addReg(MSP430::SP).addImm(NumBytes); in emitPrologue() 128 uint64_t NumBytes = 0; in emitEpilogue() local 133 NumBytes = FrameSize - CSSize; in emitEpilogue() 138 NumBytes = StackSize - CSSize; in emitEpilogue() 169 if (NumBytes) { in emitEpilogue() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARM/ |
| H A D | Thumb1FrameLowering.cpp | 136 NumBytes = (NumBytes + 3) & ~3; in emitPrologue() 137 MFI.setStackSize(NumBytes); in emitPrologue() 211 NumBytes = DPRCSOffset; in emitPrologue() 217 FramePtrOffsetInBlock = NumBytes; in emitPrologue() 218 adjustedGPRCS1Size += NumBytes; in emitPrologue() 219 NumBytes = 0; in emitPrologue() 285 if (NumBytes > 508) in emitPrologue() 333 if (NumBytes) { in emitPrologue() 338 CFAOffset -= NumBytes; in emitPrologue() 459 NumBytes = AFI->getFramePtrSpillOffset() - NumBytes; in emitEpilogue() [all …]
|
| H A D | Thumb2InstrInfo.cpp | 246 bool isSub = NumBytes < 0; in emitT2RegPlusImmediate() 247 if (isSub) NumBytes = -NumBytes; in emitT2RegPlusImmediate() 252 NumBytes >= 4096 && in emitT2RegPlusImmediate() 255 if (NumBytes < 65536) { in emitT2RegPlusImmediate() 258 .addImm(NumBytes) in emitT2RegPlusImmediate() 295 while (NumBytes) { in emitT2RegPlusImmediate() 319 NumBytes = 0; in emitT2RegPlusImmediate() 326 NumBytes = 0; in emitT2RegPlusImmediate() 331 NumBytes &= ~ThisVal; in emitT2RegPlusImmediate() 339 NumBytes = 0; in emitT2RegPlusImmediate() [all …]
|
| H A D | ThumbRegisterInfo.cpp | 138 if (NumBytes < 0 && !isHigh && CanChangeCC) { in emitThumbRegPlusImmInReg() 140 NumBytes = -NumBytes; in emitThumbRegPlusImmInReg() 148 if (NumBytes <= 255 && NumBytes >= 0 && CanChangeCC) { in emitThumbRegPlusImmInReg() 151 .addImm(NumBytes) in emitThumbRegPlusImmInReg() 153 } else if (NumBytes < 0 && NumBytes >= -255 && CanChangeCC) { in emitThumbRegPlusImmInReg() 156 .addImm(NumBytes) in emitThumbRegPlusImmInReg() 164 .addImm(NumBytes).setMIFlags(MIFlags); in emitThumbRegPlusImmInReg() 193 bool isSub = NumBytes < 0; in emitThumbRegPlusImmediate() 194 unsigned Bytes = (unsigned)NumBytes; in emitThumbRegPlusImmediate() 195 if (isSub) Bytes = -NumBytes; in emitThumbRegPlusImmediate() [all …]
|
| H A D | ARMFrameLowering.cpp | 368 unsigned NumBytes = MFI.getStackSize(); in emitPrologue() local 512 NumBytes = DPRCSOffset; in emitPrologue() 515 uint32_t NumWords = NumBytes >> 2; in emitPrologue() 558 NumBytes = 0; in emitPrologue() 561 if (NumBytes) { in emitPrologue() 778 int NumBytes = (int)MFI.getStackSize(); in emitEpilogue() local 791 if (NumBytes - ArgRegsSaveSize != 0) in emitEpilogue() 805 NumBytes -= (ArgRegsSaveSize + in emitEpilogue() 814 NumBytes = AFI->getFramePtrSpillOffset() - NumBytes; in emitEpilogue() 815 if (NumBytes) { in emitEpilogue() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
| H A D | RuntimeDyldMachOAArch64.h | 38 unsigned NumBytes = 1 << RE.Size; in decodeAddend() local 54 if (NumBytes != 4 && NumBytes != 8) { in decodeAddend() 71 assert(NumBytes == 4 && "Invalid relocation size."); in decodeAddend() 83 if (NumBytes == 4) in decodeAddend() 156 void encodeAddend(uint8_t *LocalAddress, unsigned NumBytes, in encodeAddend() argument 164 assert((NumBytes == 4 || NumBytes == 8) && "Invalid relocation size."); in encodeAddend() 171 assert(NumBytes == 4 && "Invalid relocation size."); in encodeAddend() 183 if (NumBytes == 4) in encodeAddend() 492 unsigned NumBytes = 1 << Size; in processSubtractRelocation() local 501 SignExtend64(readBytesUnaligned(LocalAddress, NumBytes), NumBytes * 8); in processSubtractRelocation()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Rewrite/Core/ |
| H A D | RewriteRope.h | 157 void erase(unsigned Offset, unsigned NumBytes); 203 void erase(unsigned Offset, unsigned NumBytes) { in erase() argument 204 assert(Offset+NumBytes <= size() && "Invalid region to erase!"); in erase() 205 if (NumBytes == 0) return; in erase() 206 Chunks.erase(Offset, NumBytes); in erase()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AArch64/ |
| H A D | AArch64FrameLowering.cpp | 856 AFI->setLocalStackSize(NumBytes); in emitPrologue() 857 if (!NumBytes) in emitPrologue() 900 NumBytes = 0; in emitPrologue() 904 NumBytes -= PrologueSaveSize; in emitPrologue() 952 if (NumBytes >= (1 << 28)) in emitPrologue() 1024 .addImm(NumBytes) in emitPrologue() 1026 NumBytes = 0; in emitPrologue() 1030 if (NumBytes) { in emitPrologue() 1374 NumBytes -= PrologueSaveSize; in emitEpilogue() 1408 NumBytes = 0; in emitEpilogue() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
| H A D | WebAssemblyAsmBackend.cpp | 110 unsigned NumBytes = alignTo(Info.TargetSize, 8) / 8; in applyFixup() local 118 assert(Offset + NumBytes <= Data.size() && "Invalid fixup offset!"); in applyFixup() 122 for (unsigned i = 0; i != NumBytes; ++i) in applyFixup()
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/ |
| H A D | X86FrameLowering.cpp | 254 bool isSub = NumBytes < 0; in emitSPUpdate() 255 uint64_t Offset = isSub ? -NumBytes : NumBytes; in emitSPUpdate() 1071 uint64_t NumBytes = 0; in emitPrologue() local 1105 NumBytes = alignTo(NumBytes, MaxAlign); in emitPrologue() 1263 int Alloc = isEAXAlive ? NumBytes - 8 : NumBytes; in emitPrologue() 1281 .addImm(isEAXAlive ? NumBytes - 4 : NumBytes) in emitPrologue() 1300 } else if (NumBytes) { in emitPrologue() 1307 .addImm(NumBytes) in emitPrologue() 1474 if (!HasFP && NumBytes) { in emitPrologue() 1605 uint64_t NumBytes = 0; in emitEpilogue() local [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/Lanai/MCTargetDesc/ |
| H A D | LanaiAsmBackend.cpp | 109 unsigned NumBytes = (getFixupKindInfo(Kind).TargetSize + 7) / 8; in applyFixup() local 116 for (unsigned i = 0; i != NumBytes; ++i) { in applyFixup() 127 for (unsigned i = 0; i != NumBytes; ++i) { in applyFixup()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfStringPool.cpp | 33 Entry.Offset = NumBytes; in getEntryImpl() 36 NumBytes += Str.size() + 1; in getEntryImpl() 37 assert(NumBytes > Entry.Offset && "Unexpected overflow"); in getEntryImpl()
|
| /freebsd-12.1/contrib/llvm/lib/Target/SystemZ/ |
| H A D | SystemZFrameLowering.cpp | 317 unsigned Reg, int64_t NumBytes, in emitIncrement() argument 319 while (NumBytes) { in emitIncrement() 321 int64_t ThisVal = NumBytes; in emitIncrement() 322 if (isInt<16>(NumBytes)) in emitIncrement() 338 NumBytes -= ThisVal; in emitIncrement() 500 uint64_t NumBytes = Offset - 0x7fff8; in emitEpilogue() local 502 NumBytes, ZII); in emitEpilogue() 503 Offset -= NumBytes; in emitEpilogue()
|
| H A D | SystemZAsmPrinter.cpp | 482 unsigned NumBytes, const MCSubtargetInfo &STI) { in EmitNop() argument 483 if (NumBytes < 2) { in EmitNop() 487 else if (NumBytes < 4) { in EmitNop() 492 else if (NumBytes < 6) { in EmitNop() 585 unsigned NumBytes = Opers.getNumPatchBytes(); in LowerPATCHPOINT() local 586 assert(NumBytes >= EncodedBytes && in LowerPATCHPOINT() 588 assert((NumBytes - EncodedBytes) % 2 == 0 && in LowerPATCHPOINT() 590 while (EncodedBytes < NumBytes) in LowerPATCHPOINT() 591 EncodedBytes += EmitNop(OutContext, *OutStreamer, NumBytes - EncodedBytes, in LowerPATCHPOINT()
|
| /freebsd-12.1/contrib/llvm/lib/Target/MSP430/MCTargetDesc/ |
| H A D | MSP430AsmBackend.cpp | 148 unsigned NumBytes = alignTo(Info.TargetSize + Info.TargetOffset, 8) / 8; in applyFixup() local 150 assert(Offset + NumBytes <= Data.size() && "Invalid fixup offset!"); in applyFixup() 154 for (unsigned i = 0; i != NumBytes; ++i) { in applyFixup()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
| H A D | AMDGPUAsmBackend.cpp | 120 unsigned NumBytes = getFixupKindNumBytes(Fixup.getKind()); in applyFixup() local 122 assert(Offset + NumBytes <= Data.size() && "Invalid fixup offset!"); in applyFixup() 126 for (unsigned i = 0; i != NumBytes; ++i) in applyFixup()
|
| /freebsd-12.1/contrib/llvm/lib/Support/Windows/ |
| H A D | Memory.inc | 70 MemoryBlock Memory::allocateMappedMemory(size_t NumBytes, 75 if (NumBytes == 0) 90 const size_t NumBlocks = (NumBytes+Granularity-1)/Granularity; 109 return allocateMappedMemory(NumBytes, NULL, Flags, EC);
|
| /freebsd-12.1/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/ |
| H A D | PPCAsmBackend.cpp | 126 unsigned NumBytes = getFixupKindNumBytes(Fixup.getKind()); in applyFixup() local 131 for (unsigned i = 0; i != NumBytes; ++i) { in applyFixup() 132 unsigned Idx = Endian == support::little ? i : (NumBytes - 1 - i); in applyFixup()
|
| /freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/MSF/ |
| H A D | MSFCommon.h | 109 inline uint64_t bytesToBlocks(uint64_t NumBytes, uint64_t BlockSize) { in bytesToBlocks() argument 110 return divideCeil(NumBytes, BlockSize); in bytesToBlocks()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Sparc/MCTargetDesc/ |
| H A D | SparcAsmBackend.cpp | 307 unsigned NumBytes = getFixupKindNumBytes(Fixup.getKind()); in applyFixup() local 312 for (unsigned i = 0; i != NumBytes; ++i) { in applyFixup() 313 unsigned Idx = Endian == support::little ? i : (NumBytes - 1) - i; in applyFixup()
|
| /freebsd-12.1/contrib/llvm/lib/Target/RISCV/MCTargetDesc/ |
| H A D | RISCVAsmBackend.cpp | 279 unsigned NumBytes = alignTo(Info.TargetSize + Info.TargetOffset, 8) / 8; in applyFixup() local 281 assert(Offset + NumBytes <= Data.size() && "Invalid fixup offset!"); in applyFixup() 285 for (unsigned i = 0; i != NumBytes; ++i) { in applyFixup()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| H A D | HexagonAsmBackend.cpp | 432 unsigned NumBytes = getFixupKindNumBytes(Kind); in applyFixup() local 433 assert(Offset + NumBytes <= Data.size() && "Invalid fixup offset!"); in applyFixup() 518 uint32_t OldData = 0; for (unsigned i = 0; i < NumBytes; i++) OldData |= in applyFixup() 528 for (unsigned i = 0; i < NumBytes; i++){ in applyFixup() 534 for (unsigned i = 0; i < NumBytes; i++) NewData |= in applyFixup()
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldMachO.cpp | 48 unsigned NumBytes = 1 << RE.Size; in memcpyAddend() local 51 return static_cast<int64_t>(readBytesUnaligned(Src, NumBytes)); in memcpyAddend() 71 unsigned NumBytes = 1 << Size; in processScatteredVANILLA() local 72 int64_t Addend = readBytesUnaligned(LocalAddress, NumBytes); in processScatteredVANILLA()
|