HomeSort by relevance Sort by last modified time
    Searched refs:NumBytes (Results 1 - 25 of 68) sorted by null

1 2 3

  /external/llvm/lib/Target/Sparc/
SparcFrameLowering.cpp 43 int NumBytes,
51 if (NumBytes >= -4096 && NumBytes < 4096) {
53 .addReg(SP::O6).addImm(NumBytes);
59 if (NumBytes >= 0) {
61 // sethi %hi(NumBytes), %g1
62 // or %g1, %lo(NumBytes), %g1
65 .addImm(HI22(NumBytes));
67 .addReg(SP::G1).addImm(LO10(NumBytes));
74 // sethi %hix(NumBytes), %g
    [all...]
SparcFrameLowering.h 54 int NumBytes, unsigned ADDrr, unsigned ADDri) const;
  /external/llvm/lib/Target/ARM/
Thumb1FrameLowering.cpp 45 int NumBytes, unsigned MIFlags = MachineInstr::NoFlags) {
46 emitThumbRegPlusImmediate(MBB, MBBI, dl, ARM::SP, ARM::SP, NumBytes, TII,
99 unsigned NumBytes = MFI->getStackSize();
100 assert(NumBytes >= ArgRegsSaveSize &&
101 "ArgRegsSaveSize is included in NumBytes");
109 NumBytes = (NumBytes + 3) & ~3;
110 MFI->setStackSize(NumBytes);
128 if (NumBytes - ArgRegsSaveSize != 0) {
129 emitSPUpdate(MBB, MBBI, TII, dl, *RegInfo, -(NumBytes - ArgRegsSaveSize)
    [all...]
Thumb2InstrInfo.cpp 214 unsigned DestReg, unsigned BaseReg, int NumBytes,
217 if (NumBytes == 0 && DestReg != BaseReg) {
224 bool isSub = NumBytes < 0;
225 if (isSub) NumBytes = -NumBytes;
230 NumBytes >= 4096 &&
231 ARM_AM::getT2SOImmVal(NumBytes) == -1) {
233 if (NumBytes < 65536) {
236 .addImm(NumBytes)
239 } else if ((NumBytes & 0xffff) == 0)
    [all...]
Thumb1RegisterInfo.cpp 92 int NumBytes, bool CanChangeCC,
104 if (NumBytes < 0 && !isHigh && CanChangeCC) {
106 NumBytes = -NumBytes;
114 if (NumBytes <= 255 && NumBytes >= 0)
116 .addImm(NumBytes).setMIFlags(MIFlags);
117 else if (NumBytes < 0 && NumBytes >= -255) {
119 .addImm(NumBytes).setMIFlags(MIFlags)
    [all...]
ARMFrameLowering.cpp 117 unsigned SrcReg, int NumBytes,
122 emitARMRegPlusImmediate(MBB, MBBI, dl, DestReg, SrcReg, NumBytes,
125 emitT2RegPlusImmediate(MBB, MBBI, dl, DestReg, SrcReg, NumBytes,
131 const ARMBaseInstrInfo &TII, int NumBytes,
135 emitRegPlusImmediate(isARM, MBB, MBBI, dl, TII, ARM::SP, ARM::SP, NumBytes,
175 unsigned NumBytes = MFI->getStackSize();
204 (!STI.isTargetWindows() || !WindowsRequiresStackProbe(MF, NumBytes))) {
205 if (NumBytes - ArgRegsSaveSize != 0) {
206 emitSPUpdate(isARM, MBB, MBBI, dl, TII, -(NumBytes - ArgRegsSaveSize),
208 CFAOffset -= NumBytes - ArgRegsSaveSize
    [all...]
ARMBaseInstrInfo.h 402 unsigned DestReg, unsigned BaseReg, int NumBytes,
408 unsigned DestReg, unsigned BaseReg, int NumBytes,
414 int NumBytes, const TargetInstrInfo &TII,
420 /// NumBytes. This can save a few bytes per function in code-size, but
425 unsigned NumBytes);
  /external/clang/lib/Rewrite/Core/
RewriteRope.cpp 116 /// erase - Remove NumBytes from this node at the specified offset. We are
118 void erase(unsigned Offset, unsigned NumBytes);
218 /// erase - Remove NumBytes from this node at the specified offset. We are
220 void erase(unsigned Offset, unsigned NumBytes);
334 /// erase - Remove NumBytes from this node at the specified offset. We are
336 void RopePieceBTreeLeaf::erase(unsigned Offset, unsigned NumBytes) {
347 // Figure out how many pieces completely cover 'NumBytes'. We want to remove
349 for (; Offset+NumBytes > PieceOffs+getPiece(i).size(); ++i)
353 if (Offset+NumBytes == PieceOffs+getPiece(i).size())
368 NumBytes -= CoverBytes
    [all...]
  /external/llvm/lib/Target/MSP430/
MSP430FrameLowering.cpp 54 uint64_t NumBytes = 0;
58 NumBytes = FrameSize - MSP430FI->getCalleeSavedFrameSize();
63 MFI->setOffsetAdjustment(-NumBytes);
79 NumBytes = StackSize - MSP430FI->getCalleeSavedFrameSize();
88 if (NumBytes) { // adjust stack pointer: SPW -= numbytes
91 //NumBytes -= mergeSPUpdates(MBB, MBBI, true);
94 // mergeSPUpdatesDown(MBB, MBBI, &NumBytes);
96 if (NumBytes) {
99 .addReg(MSP430::SPW).addImm(NumBytes);
    [all...]
  /external/llvm/include/llvm/Support/
Memory.h 55 /// \p NumBytes bytes of virtual memory is made.
77 static MemoryBlock allocateMappedMemory(size_t NumBytes,
113 /// attempt to allocate \p NumBytes bytes of virtual memory is made.
121 static MemoryBlock AllocateRWX(size_t NumBytes,
  /external/clang/include/clang/Rewrite/Core/
RewriteRope.h 179 void erase(unsigned Offset, unsigned NumBytes);
232 void erase(unsigned Offset, unsigned NumBytes) {
233 assert(Offset+NumBytes <= size() && "Invalid region to erase!");
234 if (NumBytes == 0) return;
235 Chunks.erase(Offset, NumBytes);
  /external/llvm/lib/Target/X86/
X86FrameLowering.cpp 150 unsigned StackPtr, int64_t NumBytes,
153 bool isSub = NumBytes < 0;
154 uint64_t Offset = isSub ? -NumBytes : NumBytes;
208 unsigned StackPtr, uint64_t *NumBytes = nullptr) {
217 if (NumBytes)
218 *NumBytes += PI->getOperand(2).getImm();
223 if (NumBytes)
224 *NumBytes -= PI->getOperand(2).getImm();
234 unsigned StackPtr, uint64_t *NumBytes = nullptr)
    [all...]
X86MCInstLower.cpp 686 static void EmitNops(MCStreamer &OS, unsigned NumBytes, bool Is64Bit, const MCSubtargetInfo &STI) {
690 while (NumBytes) {
694 switch (NumBytes) {
696 case 1: NumBytes -= 1; Opc = X86::NOOP; break;
697 case 2: NumBytes -= 2; Opc = X86::XCHG16ar; break;
698 case 3: NumBytes -= 3; Opc = X86::NOOPL; break;
699 case 4: NumBytes -= 4; Opc = X86::NOOPL; Displacement = 8; break;
700 case 5: NumBytes -= 5; Opc = X86::NOOPL; Displacement = 8;
702 case 6: NumBytes -= 6; Opc = X86::NOOPW; Displacement = 8;
704 case 7: NumBytes -= 7; Opc = X86::NOOPL; Displacement = 512; break
    [all...]
  /external/llvm/lib/Target/AArch64/
AArch64FrameLowering.cpp 73 unsigned NumBytes = AFI->getLocalStackSize();
78 if (MFI->hasCalls() || hasFP(MF) || NumBytes > 128)
216 int NumBytes = (int)MFI->getStackSize();
221 AFI->setLocalStackSize(NumBytes);
228 if (NumBytes && !canUseRedZone(MF)) {
229 emitFrameOffset(MBB, MBBI, DL, AArch64::SP, AArch64::SP, -NumBytes, TII,
234 MCCFIInstruction::createDefCfaOffset(FrameLabel, -NumBytes));
237 } else if (NumBytes) {
268 NumBytes -= 16;
270 assert(NumBytes >= 0 && "Negative stack allocation size!?")
    [all...]
AArch64AsmPrinter.cpp 391 // [<def>], <id>, <numBytes>, <target>, <numArgs>
423 unsigned NumBytes = Opers.getMetaOper(PatchPointOpers::NBytesPos).getImm();
424 assert(NumBytes >= EncodedBytes &&
426 assert((NumBytes - EncodedBytes) % 4 == 0 &&
428 for (unsigned i = EncodedBytes; i < NumBytes; i += 4)
  /external/llvm/lib/Target/PowerPC/MCTargetDesc/
PPCAsmBackend.cpp 120 unsigned NumBytes = getFixupKindNumBytes(Fixup.getKind());
125 for (unsigned i = 0; i != NumBytes; ++i) {
126 unsigned Idx = IsLittleEndian ? i : (NumBytes - 1 - i);
  /external/llvm/include/llvm/MC/
MCObjectStreamer.h 125 void EmitFill(uint64_t NumBytes, uint8_t FillValue) override;
126 void EmitZeros(uint64_t NumBytes) override;
  /external/llvm/lib/Target/SystemZ/
SystemZFrameLowering.cpp 281 // Emit instructions before MBBI (in MBB) to add NumBytes to Reg.
285 unsigned Reg, int64_t NumBytes,
287 while (NumBytes) {
289 int64_t ThisVal = NumBytes;
290 if (isInt<16>(NumBytes))
306 NumBytes -= ThisVal;
432 uint64_t NumBytes = Offset - 0x7fff8;
434 NumBytes, ZII);
435 Offset -= NumBytes;
  /external/llvm/lib/Target/Hexagon/
HexagonFrameLowering.cpp 86 int NumBytes = (int) MFI->getStackSize();
120 if (NumBytes >= ALLOCFRAME_MAX) {
126 HEXAGON_RESERVED_REG_1).addImm(NumBytes);
132 BuildMI(MBB, InsertPt, dl, TII.get(Hexagon::ALLOCFRAME)).addImm(NumBytes);
  /external/llvm/lib/Target/Mips/MCTargetDesc/
MipsAsmBackend.cpp 178 unsigned NumBytes = (getFixupKindInfo(Kind).TargetSize + 7) / 8;
202 for (unsigned i = 0; i != NumBytes; ++i) {
214 for (unsigned i = 0; i != NumBytes; ++i) {
  /external/llvm/lib/Support/
raw_ostream.cpp 308 size_t NumBytes = OutBufEnd - OutBufCur;
314 size_t BytesToWrite = Size - (Size % NumBytes);
327 copy_to_buffer(Ptr, NumBytes);
329 return write(Ptr + NumBytes, Size - NumBytes);
  /external/llvm/lib/MC/
MCObjectStreamer.cpp 363 void MCObjectStreamer::EmitFill(uint64_t NumBytes, uint8_t FillValue) {
366 getOrCreateDataFragment()->getContents().append(NumBytes, FillValue);
369 void MCObjectStreamer::EmitZeros(uint64_t NumBytes) {
371 insert(new MCFillFragment(0, ItemSize, NumBytes));
  /external/llvm/tools/yaml2obj/
yaml2coff.cpp 207 template <size_t NumBytes>
212 template <size_t NumBytes>
213 raw_ostream &operator<<(raw_ostream &OS, const zeros_impl<NumBytes> &) {
214 char Buffer[NumBytes];
  /external/llvm/lib/ExecutionEngine/RuntimeDyld/
RuntimeDyldMachO.cpp 564 unsigned NumBytes = 1 << Size;
566 memcpy(&Addend, LocalAddress, NumBytes);
629 unsigned NumBytes = 1 << Size;
631 memcpy(&Addend, LocalAddress, NumBytes);
693 unsigned NumBytes = 1 << Size;
695 memcpy(&Addend, LocalAddress, NumBytes);
739 Value.Addend += Offset + NumBytes;
  /external/llvm/lib/Target/AArch64/MCTargetDesc/
AArch64AsmBackend.cpp 205 unsigned NumBytes = getFixupKindNumBytes(Fixup.getKind());
216 assert(Offset + NumBytes <= DataSize && "Invalid fixup offset!");
220 for (unsigned i = 0; i != NumBytes; ++i)

Completed in 260 milliseconds

1 2 3