| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/VE/ |
| H A D | VEFrameLowering.cpp | 234 if (NumBytes == 0) { in emitSPAdjustment() 236 } else if (isInt<7>(NumBytes)) { in emitSPAdjustment() 240 .addImm(NumBytes); in emitSPAdjustment() 241 } else if (isInt<32>(NumBytes)) { in emitSPAdjustment() 246 .addImm(Lo_32(NumBytes)); in emitSPAdjustment() 256 .addImm(Lo_32(NumBytes)); in emitSPAdjustment() 263 .addImm(Hi_32(NumBytes)); in emitSPAdjustment() 337 NumBytes = STI.getAdjustedFrameSize(NumBytes); in emitPrologue() 342 NumBytes = alignTo(NumBytes, MFI.getMaxAlign()); in emitPrologue() 345 MFI.setStackSize(NumBytes); in emitPrologue() [all …]
|
| H A D | VEFrameLowering.h | 32 MachineBasicBlock::iterator MBBI, uint64_t NumBytes, 35 MachineBasicBlock::iterator MBBI, uint64_t NumBytes, 78 MachineBasicBlock::iterator MBBI, int64_t NumBytes,
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Rewrite/ |
| H A D | RewriteRope.cpp | 371 NumBytes -= CoverBytes; in erase() 376 if (NumBytes == 0) return; in erase() 381 Pieces[StartPiece].StartOffs += NumBytes; in erase() 384 Size -= NumBytes; in erase() 574 Size -= NumBytes; in erase() 583 while (NumBytes) { in erase() 589 CurChild->erase(Offset, NumBytes); in erase() 598 NumBytes -= BytesFromChild; in erase() 607 NumBytes -= CurChild->size(); in erase() 659 return Leaf->erase(Offset, NumBytes); in erase() [all …]
|
| /freebsd-13.1/contrib/llvm-project/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() 108 int NumBytes = (int) MFI.getStackSize(); in emitPrologue() local 113 if (NumBytes == 0) in emitPrologue() 140 NumBytes = Subtarget.getAdjustedFrameSize(NumBytes); in emitPrologue() 144 NumBytes = alignTo(NumBytes, MFI.getMaxAlign()); in emitPrologue() 147 MFI.setStackSize(NumBytes); in emitPrologue() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | Thumb1FrameLowering.cpp | 74 if (std::abs(NumBytes) > 508 * 3) { in emitPrologueEpilogueSPUpdate() 174 NumBytes = (NumBytes + 3) & ~3; in emitPrologue() 175 MFI.setStackSize(NumBytes); in emitPrologue() 250 NumBytes = DPRCSOffset; in emitPrologue() 257 adjustedGPRCS1Size += NumBytes; in emitPrologue() 258 NumBytes = 0; in emitPrologue() 324 if (NumBytes > 508) in emitPrologue() 372 if (NumBytes) { in emitPrologue() 389 CFAOffset += NumBytes; in emitPrologue() 512 NumBytes = AFI->getFramePtrSpillOffset() - NumBytes; in emitEpilogue() [all …]
|
| H A D | ThumbRegisterInfo.cpp | 137 if (NumBytes < 0 && !isHigh && CanChangeCC) { in emitThumbRegPlusImmInReg() 139 NumBytes = -NumBytes; in emitThumbRegPlusImmInReg() 147 if (NumBytes <= 255 && NumBytes >= 0 && CanChangeCC) { in emitThumbRegPlusImmInReg() 150 .addImm(NumBytes) in emitThumbRegPlusImmInReg() 152 } else if (NumBytes < 0 && NumBytes >= -255 && CanChangeCC) { in emitThumbRegPlusImmInReg() 155 .addImm(NumBytes) in emitThumbRegPlusImmInReg() 163 .addImm(NumBytes).setMIFlags(MIFlags); in emitThumbRegPlusImmInReg() 192 bool isSub = NumBytes < 0; in emitThumbRegPlusImmediate() 193 unsigned Bytes = (unsigned)NumBytes; in emitThumbRegPlusImmediate() 194 if (isSub) Bytes = -NumBytes; in emitThumbRegPlusImmediate() [all …]
|
| H A D | Thumb2InstrInfo.cpp | 289 bool isSub = NumBytes < 0; in emitT2RegPlusImmediate() 290 if (isSub) NumBytes = -NumBytes; in emitT2RegPlusImmediate() 295 NumBytes >= 4096 && in emitT2RegPlusImmediate() 298 if (NumBytes < 65536) { in emitT2RegPlusImmediate() 301 .addImm(NumBytes) in emitT2RegPlusImmediate() 308 .addImm(NumBytes >> 16) in emitT2RegPlusImmediate() 338 while (NumBytes) { in emitT2RegPlusImmediate() 339 unsigned ThisVal = NumBytes; in emitT2RegPlusImmediate() 375 NumBytes = 0; in emitT2RegPlusImmediate() 381 NumBytes = 0; in emitT2RegPlusImmediate() [all …]
|
| H A D | ARMFrameLowering.cpp | 482 unsigned NumBytes = MFI.getStackSize(); in emitPrologue() local 640 NumBytes = DPRCSOffset; in emitPrologue() 643 uint32_t NumWords = NumBytes >> 2; in emitPrologue() 686 NumBytes = 0; in emitPrologue() 689 if (NumBytes) { in emitPrologue() 913 int NumBytes = (int)MFI.getStackSize(); in emitEpilogue() local 926 if (NumBytes - ReservedArgStack != 0) in emitEpilogue() 941 NumBytes -= (ReservedArgStack + in emitEpilogue() 951 NumBytes = AFI->getFramePtrSpillOffset() - NumBytes; in emitEpilogue() 952 if (NumBytes) { in emitEpilogue() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/MSP430/ |
| H A D | MSP430FrameLowering.cpp | 54 uint64_t NumBytes = 0; in emitPrologue() local 58 NumBytes = FrameSize - MSP430FI->getCalleeSavedFrameSize(); in emitPrologue() 63 MFI.setOffsetAdjustment(-NumBytes); in emitPrologue() 88 if (NumBytes) { // adjust stack pointer: SP -= numbytes in emitPrologue() 96 if (NumBytes) { in emitPrologue() 99 .addReg(MSP430::SP).addImm(NumBytes); in emitPrologue() 127 uint64_t NumBytes = 0; in emitEpilogue() local 132 NumBytes = FrameSize - CSSize; in emitEpilogue() 137 NumBytes = StackSize - CSSize; in emitEpilogue() 168 if (NumBytes) { in emitEpilogue() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Support/ |
| H A D | FormattedStream.cpp | 76 unsigned NumBytes; in UpdatePosition() local 77 for (const char *End = Ptr + Size; Ptr < End; Ptr += NumBytes) { in UpdatePosition() 78 NumBytes = getNumBytesForUTF8(*Ptr); in UpdatePosition() 85 if ((unsigned)(End - Ptr) < NumBytes) { in UpdatePosition() 90 ProcessUTF8CodePoint(StringRef(Ptr, NumBytes)); in UpdatePosition()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/M68k/ |
| H A D | M68kFrameLowering.cpp | 340 bool IsSub = NumBytes < 0; in emitSPUpdate() 341 uint64_t Offset = IsSub ? -NumBytes : NumBytes; in emitSPUpdate() 527 uint64_t NumBytes = 0; in emitPrologue() local 542 NumBytes = alignTo(NumBytes, MaxAlign); in emitPrologue() 547 MFI.setOffsetAdjustment(-NumBytes); in emitPrologue() 649 if (!HasFP && NumBytes) { in emitPrologue() 693 uint64_t NumBytes = 0; in emitEpilogue() local 698 NumBytes = FrameSize - CSSize; in emitEpilogue() 709 NumBytes = StackSize - CSSize; in emitEpilogue() 730 if (NumBytes || MFI.hasVarSizedObjects()) in emitEpilogue() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
| H A D | RuntimeDyldMachOAArch64.h | 37 unsigned NumBytes = 1 << RE.Size; in decodeAddend() local 53 if (NumBytes != 4 && NumBytes != 8) { in decodeAddend() 70 assert(NumBytes == 4 && "Invalid relocation size."); in decodeAddend() 82 if (NumBytes == 4) in decodeAddend() 155 void encodeAddend(uint8_t *LocalAddress, unsigned NumBytes, in encodeAddend() argument 163 assert((NumBytes == 4 || NumBytes == 8) && "Invalid relocation size."); in encodeAddend() 170 assert(NumBytes == 4 && "Invalid relocation size."); in encodeAddend() 182 if (NumBytes == 4) in encodeAddend() 491 unsigned NumBytes = 1 << Size; in processSubtractRelocation() local 500 SignExtend64(readBytesUnaligned(LocalAddress, NumBytes), NumBytes * 8); in processSubtractRelocation()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Rewrite/Core/ |
| H A D | RewriteRope.h | 161 void erase(unsigned Offset, unsigned NumBytes); 207 void erase(unsigned Offset, unsigned NumBytes) { in erase() argument 208 assert(Offset+NumBytes <= size() && "Invalid region to erase!"); in erase() 209 if (NumBytes == 0) return; in erase() 210 Chunks.erase(Offset, NumBytes); in erase()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/ |
| H A D | CSKYAsmBackend.cpp | 116 unsigned NumBytes = alignTo(Info.TargetSize + Info.TargetOffset, 8) / 8; in applyFixup() local 118 assert(Offset + NumBytes <= Data.size() && "Invalid fixup offset!"); in applyFixup() 124 if (IsLittleEndian && (NumBytes == 4)) { in applyFixup() 130 for (unsigned I = 0; I != NumBytes; I++) { in applyFixup() 131 unsigned Idx = IsLittleEndian ? I : (NumBytes - 1 - I); in applyFixup()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/VE/MCTargetDesc/ |
| H A D | VEAsmBackend.cpp | 199 unsigned NumBytes = getFixupKindNumBytes(Fixup.getKind()); in applyFixup() local 201 assert(Offset + NumBytes <= Data.size() && "Invalid fixup offset!"); in applyFixup() 205 for (unsigned i = 0; i != NumBytes; ++i) { in applyFixup() 206 unsigned Idx = Endian == support::little ? i : (NumBytes - 1) - i; in applyFixup()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
| H A D | WebAssemblyAsmBackend.cpp | 103 unsigned NumBytes = alignTo(Info.TargetSize, 8) / 8; in applyFixup() local 111 assert(Offset + NumBytes <= Data.size() && "Invalid fixup offset!"); in applyFixup() 115 for (unsigned I = 0; I != NumBytes; ++I) in applyFixup()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64FrameLowering.cpp | 450 if (NumBytes) { in appendVGScaledOffsetExpr() 454 Comment << (NumBytes < 0 ? " - " : " + ") << std::abs(NumBytes); in appendVGScaledOffsetExpr() 1197 if (!NumBytes) in emitPrologue() 1243 NumBytes = 0; in emitPrologue() 1393 .addImm(NumBytes) in emitPrologue() 1396 NumBytes = 0; in emitPrologue() 1427 if (NumBytes) { in emitPrologue() 1830 NumBytes -= PrologueSaveSize; in emitEpilogue() 1869 NumBytes = 0; in emitEpilogue() 1912 NumBytes = 0; in emitEpilogue() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Lanai/MCTargetDesc/ |
| H A D | LanaiAsmBackend.cpp | 99 unsigned NumBytes = (getFixupKindInfo(Kind).TargetSize + 7) / 8; in applyFixup() local 106 for (unsigned i = 0; i != NumBytes; ++i) { in applyFixup() 117 for (unsigned i = 0; i != NumBytes; ++i) { in applyFixup()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/MSP430/MCTargetDesc/ |
| H A D | MSP430AsmBackend.cpp | 139 unsigned NumBytes = alignTo(Info.TargetSize + Info.TargetOffset, 8) / 8; in applyFixup() local 141 assert(Offset + NumBytes <= Data.size() && "Invalid fixup offset!"); in applyFixup() 145 for (unsigned i = 0; i != NumBytes; ++i) { in applyFixup()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86FrameLowering.cpp | 209 bool isSub = NumBytes < 0; in emitSPUpdate() 210 uint64_t Offset = isSub ? -NumBytes : NumBytes; in emitSPUpdate() 1428 uint64_t NumBytes = 0; in emitPrologue() local 1462 NumBytes = alignTo(NumBytes, MaxAlign); in emitPrologue() 1665 int64_t Alloc = isEAXAlive ? NumBytes - 8 : NumBytes; in emitPrologue() 1683 .addImm(isEAXAlive ? NumBytes - 4 : NumBytes) in emitPrologue() 1702 } else if (NumBytes) { in emitPrologue() 1709 .addImm(NumBytes) in emitPrologue() 1882 if (!HasFP && NumBytes) { in emitPrologue() 2019 uint64_t NumBytes = 0; in emitEpilogue() local [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
| H A D | AMDGPUAsmBackend.cpp | 145 unsigned NumBytes = getFixupKindNumBytes(Fixup.getKind()); in applyFixup() local 147 assert(Offset + NumBytes <= Data.size() && "Invalid fixup offset!"); in applyFixup() 151 for (unsigned i = 0; i != NumBytes; ++i) in applyFixup()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/MSF/ |
| H A D | MSFCommon.h | 108 inline uint64_t bytesToBlocks(uint64_t NumBytes, uint64_t BlockSize) { in bytesToBlocks() argument 109 return divideCeil(NumBytes, BlockSize); in bytesToBlocks()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonFrameLowering.cpp | 643 int NumBytes = 0; in insertPrologueInBlock() local 698 if (NumBytes != 0) in insertPrologueInBlock() 699 NumBytes = alignTo(NumBytes, ObjAlign); in insertPrologueInBlock() 723 NumBytes = alignTo(NumBytes, 8); in insertPrologueInBlock() 728 NumBytes = (NumVarArgRegs % 2 == 0) ? NumBytes : NumBytes + 4; in insertPrologueInBlock() 753 } else if (NumBytes > 0) { in insertPrologueInBlock() 754 assert(alignTo(NumBytes, 8) == NumBytes); in insertPrologueInBlock() 757 .addImm(-int(NumBytes)); in insertPrologueInBlock() 782 if (NumBytes) { in insertEpilogueInBlock() 785 .addImm(NumBytes); in insertEpilogueInBlock() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/ |
| H A D | PPCAsmBackend.cpp | 148 unsigned NumBytes = getFixupKindNumBytes(Kind); in applyFixup() local 153 for (unsigned i = 0; i != NumBytes; ++i) { in applyFixup() 154 unsigned Idx = Endian == support::little ? i : (NumBytes - 1 - i); in applyFixup()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Sparc/MCTargetDesc/ |
| H A D | SparcAsmBackend.cpp | 304 unsigned NumBytes = getFixupKindNumBytes(Fixup.getKind()); in applyFixup() local 309 for (unsigned i = 0; i != NumBytes; ++i) { in applyFixup() 310 unsigned Idx = Endian == support::little ? i : (NumBytes - 1) - i; in applyFixup()
|