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

123

/freebsd-10.0-release/contrib/llvm/lib/Target/Sparc/
H A DSparcFrameLowering.cpp38 int NumBytes = (int) MFI->getStackSize(); local
43 NumBytes += 128;
46 assert(NumBytes % 16 == 0 && "Stack size not 16-byte aligned");
55 NumBytes += 92;
59 NumBytes = RoundUpToAlignment(NumBytes, 8);
61 NumBytes = -NumBytes;
63 if (NumBytes >= -4096) {
65 .addReg(SP::O6).addImm(NumBytes);
[all...]
/freebsd-10.0-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,
92 unsigned NumBytes = MFI->getStackSize(); local
99 NumBytes = (NumBytes + 3) & ~3;
100 MFI->setStackSize(NumBytes);
112 if (NumBytes != 0)
113 emitSPUpdate(MBB, MBBI, TII, dl, *RegInfo, -NumBytes,
159 unsigned DPRCSOffset = NumBytes - (GPRCS1Size + GPRCS2Size + DPRCSSize);
165 NumBytes);
37 emitSPUpdate(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, const TargetInstrInfo &TII, DebugLoc dl, const Thumb1RegisterInfo &MRI, int NumBytes, unsigned MIFlags = MachineInstr::NoFlags) argument
253 int NumBytes = (int)MFI->getStackSize(); local
[all...]
H A DThumb2InstrInfo.cpp214 unsigned DestReg, unsigned BaseReg, int NumBytes,
217 bool isSub = NumBytes < 0;
218 if (isSub) NumBytes = -NumBytes;
223 NumBytes >= 4096 &&
224 ARM_AM::getT2SOImmVal(NumBytes) == -1) {
226 if (NumBytes < 65536) {
229 .addImm(NumBytes)
232 } else if ((NumBytes & 0xffff) == 0) {
236 .addImm(NumBytes >> 1
212 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.cpp122 int NumBytes, unsigned MIFlags = MachineInstr::NoFlags,
125 emitARMRegPlusImmediate(MBB, MBBI, dl, ARM::SP, ARM::SP, NumBytes,
128 emitT2RegPlusImmediate(MBB, MBBI, dl, ARM::SP, ARM::SP, NumBytes,
145 unsigned NumBytes = MFI->getStackSize(); local
161 // Allocate the vararg register save area. This is not counted in NumBytes.
167 if (NumBytes != 0)
168 emitSPUpdate(isARM, MBB, MBBI, dl, TII, -NumBytes,
234 unsigned DPRCSOffset = NumBytes - (GPRCS1Size + GPRCS2Size + DPRCSSize);
239 NumBytes);
259 // Adjust NumBytes t
119 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
361 int NumBytes = (int)MFI->getStackSize(); local
[all...]
H A DARMBaseInstrInfo.h392 unsigned DestReg, unsigned BaseReg, int NumBytes,
398 unsigned DestReg, unsigned BaseReg, int NumBytes,
404 int NumBytes, const TargetInstrInfo &TII,
/freebsd-10.0-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-10.0-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-10.0-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-10.0-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-10.0-release/contrib/llvm/lib/Target/Hexagon/
H A DHexagonFrameLowering.cpp91 int NumBytes = (int) MFI->getStackSize(); local
147 if (NumBytes >= ALLOCFRAME_MAX) {
153 HEXAGON_RESERVED_REG_1).addImm(NumBytes);
159 BuildMI(MBB, InsertPt, dl, TII.get(Hexagon::ALLOCFRAME)).addImm(NumBytes);
186 int NumBytes = (int) MFI->getStackSize(); local
198 .addImm(NumBytes);
200 BuildMI(MBB, MBBI, dl, TII.get(Hexagon::DEALLOCFRAME)).addImm(NumBytes);
/freebsd-10.0-release/contrib/llvm/lib/Support/Unix/
H A DMemory.inc79 Memory::allocateMappedMemory(size_t NumBytes,
84 if (NumBytes == 0)
88 const size_t NumPages = (NumBytes+PageSize-1)/PageSize;
120 return allocateMappedMemory(NumBytes, 0, PFlags, EC);
176 Memory::AllocateRWX(size_t NumBytes, const MemoryBlock* NearBlock,
178 if (NumBytes == 0) return MemoryBlock();
181 size_t NumPages = (NumBytes+PageSize-1)/PageSize;
213 return AllocateRWX(NumBytes, 0);
/freebsd-10.0-release/contrib/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsAsmBackend.cpp114 unsigned NumBytes = (getFixupKindInfo(Kind).TargetSize + 7) / 8; local
133 for (unsigned i = 0; i != NumBytes; ++i) {
143 for (unsigned i = 0; i != NumBytes; ++i) {
/freebsd-10.0-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-10.0-release/contrib/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.h102 int64_t NumBytes,
107 unsigned ScratchReg, int64_t NumBytes,
H A DAArch64InstrInfo.cpp618 int64_t NumBytes, MachineInstr::MIFlag MIFlags) {
619 if (NumBytes == 0 && DstReg == SrcReg)
621 else if (abs64(NumBytes) & ~0xffffff) {
625 uint64_t Bits = static_cast<uint64_t>(abs64(NumBytes));
655 unsigned AddOp = NumBytes > 0 ? AArch64::ADDxxx_uxtx : AArch64::SUBxxx_uxtx;
670 if (NumBytes >= 0) {
676 NumBytes = abs64(NumBytes);
681 if ((NumBytes & 0xfff) || NumBytes
614 emitRegUpdate(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, DebugLoc dl, const TargetInstrInfo &TII, unsigned DstReg, unsigned SrcReg, unsigned ScratchReg, int64_t NumBytes, MachineInstr::MIFlag MIFlags) argument
699 emitSPUpdate(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, DebugLoc dl, const TargetInstrInfo &TII, unsigned ScratchReg, int64_t NumBytes, MachineInstr::MIFlag MIFlags) argument
[all...]
/freebsd-10.0-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-10.0-release/contrib/llvm/lib/Target/SystemZ/
H A DSystemZFrameLowering.cpp263 // Emit instructions before MBBI (in MBB) to add NumBytes to Reg.
267 unsigned Reg, int64_t NumBytes,
269 while (NumBytes) {
271 int64_t ThisVal = NumBytes;
272 if (isInt<16>(NumBytes))
288 NumBytes -= ThisVal;
425 uint64_t NumBytes = Offset - 0x7fff8; local
427 NumBytes, ZII);
428 Offset -= NumBytes;
264 emitIncrement(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, const DebugLoc &DL, unsigned Reg, int64_t NumBytes, const TargetInstrInfo *TII) argument
/freebsd-10.0-release/contrib/llvm/lib/Support/
H A Draw_ostream.cpp301 size_t NumBytes = OutBufEnd - OutBufCur; local
307 size_t BytesToWrite = Size - (Size % NumBytes);
320 copy_to_buffer(Ptr, NumBytes);
322 return write(Ptr + NumBytes, Size - NumBytes);
/freebsd-10.0-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-10.0-release/contrib/llvm/include/llvm/MC/
H A DMCObjectStreamer.h113 virtual void EmitFill(uint64_t NumBytes, uint8_t FillValue,
H A DMCStreamer.h470 /// EmitFill - Emit NumBytes bytes worth of the value specified by
472 virtual void EmitFill(uint64_t NumBytes, uint8_t FillValue,
475 /// EmitZeros - Emit NumBytes worth of zeros. This is a convenience
477 void EmitZeros(uint64_t NumBytes, unsigned AddrSpace = 0) { argument
478 EmitFill(NumBytes, 0, AddrSpace);
/freebsd-10.0-release/contrib/llvm/lib/MC/
H A DMCObjectStreamer.cpp354 void MCObjectStreamer::EmitFill(uint64_t NumBytes, uint8_t FillValue, argument
359 getOrCreateDataFragment()->getContents().append(NumBytes, FillValue);
/freebsd-10.0-release/contrib/llvm/utils/TableGen/
H A DDAGISelMatcherEmitter.cpp105 unsigned NumBytes = 0; local
108 ++NumBytes;
110 return NumBytes+1;
122 unsigned NumBytes = 0; local
126 ++NumBytes;
132 return NumBytes+1;
/freebsd-10.0-release/contrib/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp1014 Value *NumBytes = local
1019 NewCall = Builder.CreateMemSet(BasePtr, SplatValue,NumBytes,StoreAlignment);
1036 NewCall = Builder.CreateCall3(MSP, BasePtr, PatternPtr, NumBytes);
1120 Value *NumBytes = local
1124 Builder.CreateMemCpy(StoreBasePtr, LoadBasePtr, NumBytes,

Completed in 136 milliseconds

123