Searched refs:NumBytes (Results 1 - 25 of 62) sorted by relevance

123

/freebsd-9.3-release/contrib/llvm/lib/Target/ARM/
H A DThumb1FrameLowering.cpp41 int NumBytes, unsigned MIFlags = MachineInstr::NoFlags) {
42 emitThumbRegPlusImmediate(MBB, MBBI, dl, ARM::SP, ARM::SP, NumBytes, TII,
93 unsigned NumBytes = MFI->getStackSize(); local
100 NumBytes = (NumBytes + 3) & ~3;
101 MFI->setStackSize(NumBytes);
113 if (NumBytes != 0)
114 emitSPUpdate(MBB, MBBI, TII, dl, *RegInfo, -NumBytes,
155 unsigned DPRCSOffset = NumBytes - (GPRCS1Size + GPRCS2Size + DPRCSSize);
161 NumBytes);
37 emitSPUpdate(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, const TargetInstrInfo &TII, DebugLoc dl, const Thumb1RegisterInfo &MRI, int NumBytes, unsigned MIFlags = MachineInstr::NoFlags) argument
250 int NumBytes = (int)MFI->getStackSize(); local
[all...]
H A DThumb2InstrInfo.cpp215 unsigned DestReg, unsigned BaseReg, int NumBytes,
218 if (NumBytes == 0 && DestReg != BaseReg) {
225 bool isSub = NumBytes < 0;
226 if (isSub) NumBytes = -NumBytes;
231 NumBytes >= 4096 &&
232 ARM_AM::getT2SOImmVal(NumBytes) == -1) {
234 if (NumBytes < 65536) {
237 .addImm(NumBytes)
240 } else if ((NumBytes
213 emitT2RegPlusImmediate(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, DebugLoc dl, unsigned DestReg, unsigned BaseReg, int NumBytes, ARMCC::CondCodes Pred, unsigned PredReg, const ARMBaseInstrInfo &TII, unsigned MIFlags) argument
[all...]
H A DThumb1RegisterInfo.cpp94 int NumBytes, bool CanChangeCC,
106 if (NumBytes < 0 && !isHigh && CanChangeCC) {
108 NumBytes = -NumBytes;
116 if (NumBytes <= 255 && NumBytes >= 0)
118 .addImm(NumBytes).setMIFlags(MIFlags);
119 else if (NumBytes < 0 && NumBytes >= -255) {
121 .addImm(NumBytes)
90 emitThumbRegPlusImmInReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, DebugLoc dl, unsigned DestReg, unsigned BaseReg, int NumBytes, bool CanChangeCC, const TargetInstrInfo &TII, const ARMBaseRegisterInfo& MRI, unsigned MIFlags = MachineInstr::NoFlags) argument
167 emitThumbRegPlusImmediate(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, DebugLoc dl, unsigned DestReg, unsigned BaseReg, int NumBytes, const TargetInstrInfo &TII, const ARMBaseRegisterInfo& MRI, unsigned MIFlags) argument
[all...]
H A DARMFrameLowering.cpp110 unsigned SrcReg, int NumBytes,
115 emitARMRegPlusImmediate(MBB, MBBI, dl, DestReg, SrcReg, NumBytes,
118 emitT2RegPlusImmediate(MBB, MBBI, dl, DestReg, SrcReg, NumBytes,
124 const ARMBaseInstrInfo &TII, int NumBytes,
128 emitRegPlusImmediate(isARM, MBB, MBBI, dl, TII, ARM::SP, ARM::SP, NumBytes,
146 unsigned NumBytes = MFI->getStackSize(); local
162 // Allocate the vararg register save area. This is not counted in NumBytes.
168 if (NumBytes != 0)
169 emitSPUpdate(isARM, MBB, MBBI, dl, TII, -NumBytes,
219 unsigned DPRCSOffset = NumBytes
107 emitRegPlusImmediate(bool isARM, MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, DebugLoc dl, const ARMBaseInstrInfo &TII, unsigned DestReg, unsigned SrcReg, int NumBytes, unsigned MIFlags = MachineInstr::NoFlags, ARMCC::CondCodes Pred = ARMCC::AL, unsigned PredReg = 0) argument
122 emitSPUpdate(bool isARM, MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, DebugLoc dl, const ARMBaseInstrInfo &TII, int NumBytes, unsigned MIFlags = MachineInstr::NoFlags, ARMCC::CondCodes Pred = ARMCC::AL, unsigned PredReg = 0) argument
372 int NumBytes = (int)MFI->getStackSize(); local
[all...]
H A DARMBaseInstrInfo.h399 unsigned DestReg, unsigned BaseReg, int NumBytes,
405 unsigned DestReg, unsigned BaseReg, int NumBytes,
411 int NumBytes, const TargetInstrInfo &TII,
417 /// NumBytes. This can save a few bytes per function in code-size, but
421 unsigned NumBytes);
/freebsd-9.3-release/contrib/llvm/lib/Target/Sparc/
H A DSparcFrameLowering.cpp39 int NumBytes,
47 if (NumBytes >= -4096 && NumBytes < 4096) {
49 .addReg(SP::O6).addImm(NumBytes);
55 if (NumBytes >= 0) {
57 // sethi %hi(NumBytes), %g1
58 // or %g1, %lo(NumBytes), %g1
61 .addImm(HI22(NumBytes));
63 .addReg(SP::G1).addImm(LO10(NumBytes));
70 // sethi %hix(NumBytes),
36 emitSPAdjustment(MachineFunction &MF, MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, int NumBytes, unsigned ADDrr, unsigned ADDri) const argument
92 int NumBytes = (int) MFI->getStackSize(); local
158 int NumBytes = (int) MFI->getStackSize(); local
[all...]
H A DSparcFrameLowering.h58 int NumBytes, unsigned ADDrr, unsigned ADDri) const;
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Rewrite/Core/
H A DRewriteRope.cpp116 /// 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
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Target/MSP430/
H A DMSP430FrameLowering.cpp54 uint64_t NumBytes = 0; local
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);
127 uint64_t NumBytes local
[all...]
/freebsd-9.3-release/contrib/llvm/include/llvm/Support/
H A DMemory.h55 /// \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,
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Rewrite/Core/
H A DRewriteRope.h173 void erase(unsigned Offset, unsigned NumBytes);
226 void erase(unsigned Offset, unsigned NumBytes) { argument
227 assert(Offset+NumBytes <= size() && "Invalid region to erase!");
228 if (NumBytes == 0) return;
229 Chunks.erase(Offset, NumBytes);
/freebsd-9.3-release/contrib/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.h98 int64_t NumBytes,
103 unsigned ScratchReg, int64_t NumBytes,
H A DAArch64InstrInfo.cpp635 int64_t NumBytes, MachineInstr::MIFlag MIFlags) {
636 if (NumBytes == 0 && DstReg == SrcReg)
638 else if (abs64(NumBytes) & ~0xffffff) {
642 uint64_t Bits = static_cast<uint64_t>(abs64(NumBytes));
672 unsigned AddOp = NumBytes > 0 ? AArch64::ADDxxx_uxtx : AArch64::SUBxxx_uxtx;
687 if (NumBytes >= 0) {
693 NumBytes = abs64(NumBytes);
698 if ((NumBytes & 0xfff) || NumBytes
631 emitRegUpdate(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, DebugLoc dl, const TargetInstrInfo &TII, unsigned DstReg, unsigned SrcReg, unsigned ScratchReg, int64_t NumBytes, MachineInstr::MIFlag MIFlags) argument
716 emitSPUpdate(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, DebugLoc dl, const TargetInstrInfo &TII, unsigned ScratchReg, int64_t NumBytes, MachineInstr::MIFlag MIFlags) argument
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Target/X86/
H A DX86FrameLowering.cpp147 unsigned StackPtr, int64_t NumBytes,
150 bool isSub = NumBytes < 0;
151 uint64_t Offset = isSub ? -NumBytes : NumBytes;
205 unsigned StackPtr, uint64_t *NumBytes = NULL) {
214 if (NumBytes)
215 *NumBytes += PI->getOperand(2).getImm();
220 if (NumBytes)
221 *NumBytes -= PI->getOperand(2).getImm();
230 unsigned StackPtr, uint64_t *NumBytes
146 emitSPUpdate(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, unsigned StackPtr, int64_t NumBytes, bool Is64Bit, bool IsLP64, bool UseLEA, const TargetInstrInfo &TII, const TargetRegisterInfo &TRI) argument
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Support/Unix/
H A DMemory.inc83 Memory::allocateMappedMemory(size_t NumBytes,
88 if (NumBytes == 0)
92 const size_t NumPages = (NumBytes+PageSize-1)/PageSize;
124 return allocateMappedMemory(NumBytes, 0, PFlags, EC);
180 Memory::AllocateRWX(size_t NumBytes, const MemoryBlock* NearBlock,
182 if (NumBytes == 0) return MemoryBlock();
185 size_t NumPages = (NumBytes+PageSize-1)/PageSize;
217 return AllocateRWX(NumBytes, 0);
/freebsd-9.3-release/contrib/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsAsmBackend.cpp126 unsigned NumBytes = (getFixupKindInfo(Kind).TargetSize + 7) / 8; local
145 for (unsigned i = 0; i != NumBytes; ++i) {
155 for (unsigned i = 0; i != NumBytes; ++i) {
/freebsd-9.3-release/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCAsmBackend.cpp106 unsigned NumBytes = getFixupKindNumBytes(Fixup.getKind()); local
111 for (unsigned i = 0; i != NumBytes; ++i)
112 Data[Offset + i] |= uint8_t((Value >> ((NumBytes - i - 1)*8)) & 0xff);
/freebsd-9.3-release/contrib/llvm/include/llvm/MC/
H A DMCObjectStreamer.h117 virtual void EmitFill(uint64_t NumBytes, uint8_t FillValue);
118 virtual void EmitZeros(uint64_t NumBytes);
/freebsd-9.3-release/contrib/llvm/lib/Support/Windows/
H A DMemory.inc69 MemoryBlock Memory::allocateMappedMemory(size_t NumBytes,
74 if (NumBytes == 0)
81 const size_t NumBlocks = (NumBytes+Granularity-1)/Granularity;
100 return allocateMappedMemory(NumBytes, NULL, Flags, EC);
155 MemoryBlock Memory::AllocateRWX(size_t NumBytes,
160 MB = allocateMappedMemory(NumBytes, NearBlock,
/freebsd-9.3-release/contrib/llvm/lib/Target/SystemZ/
H A DSystemZFrameLowering.cpp283 // Emit instructions before MBBI (in MBB) to add NumBytes to Reg.
287 unsigned Reg, int64_t NumBytes,
289 while (NumBytes) {
291 int64_t ThisVal = NumBytes;
292 if (isInt<16>(NumBytes))
308 NumBytes -= ThisVal;
440 uint64_t NumBytes = Offset - 0x7fff8; local
442 NumBytes, ZII);
443 Offset -= NumBytes;
284 emitIncrement(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, const DebugLoc &DL, unsigned Reg, int64_t NumBytes, const TargetInstrInfo *TII) argument
/freebsd-9.3-release/contrib/llvm/lib/Target/Hexagon/
H A DHexagonFrameLowering.cpp86 int NumBytes = (int) MFI->getStackSize(); local
120 if (NumBytes >= ALLOCFRAME_MAX) {
126 HEXAGON_RESERVED_REG_1).addImm(NumBytes);
132 BuildMI(MBB, InsertPt, dl, TII.get(Hexagon::ALLOCFRAME)).addImm(NumBytes);
/freebsd-9.3-release/contrib/llvm/lib/Support/
H A Draw_ostream.cpp302 size_t NumBytes = OutBufEnd - OutBufCur; local
308 size_t BytesToWrite = Size - (Size % NumBytes);
321 copy_to_buffer(Ptr, NumBytes);
323 return write(Ptr + NumBytes, Size - NumBytes);
/freebsd-9.3-release/contrib/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64AsmBackend.cpp180 unsigned NumBytes = getFixupKindInfo(Fixup.getKind()).TargetSize / 8; local
185 assert(Offset + NumBytes <= DataSize && "Invalid fixup offset!");
189 for (unsigned i = 0; i != NumBytes; ++i) {
/freebsd-9.3-release/contrib/llvm/lib/MC/
H A DMCObjectStreamer.cpp371 void MCObjectStreamer::EmitFill(uint64_t NumBytes, uint8_t FillValue) { argument
374 getOrCreateDataFragment()->getContents().append(NumBytes, FillValue);
377 void MCObjectStreamer::EmitZeros(uint64_t NumBytes) { argument
379 insert(new MCFillFragment(0, ItemSize, NumBytes));
H A DMCStreamer.cpp157 /// EmitFill - Emit NumBytes bytes worth of the value specified by
159 void MCStreamer::EmitFill(uint64_t NumBytes, uint8_t FillValue) { argument
161 for (uint64_t i = 0, e = NumBytes; i != e; ++i)
166 void MCStreamer::EmitZeros(uint64_t NumBytes) { argument
167 EmitFill(NumBytes, 0);

Completed in 181 milliseconds

123