/freebsd-9.3-release/contrib/llvm/lib/Target/ARM/ |
H A D | Thumb1FrameLowering.cpp | 41 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 D | Thumb2InstrInfo.cpp | 215 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 D | Thumb1RegisterInfo.cpp | 94 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 D | ARMFrameLowering.cpp | 110 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 D | ARMBaseInstrInfo.h | 399 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 D | SparcFrameLowering.cpp | 39 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 D | SparcFrameLowering.h | 58 int NumBytes, unsigned ADDrr, unsigned ADDri) const;
|
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Rewrite/Core/ |
H A D | 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 [all...] |
/freebsd-9.3-release/contrib/llvm/lib/Target/MSP430/ |
H A D | MSP430FrameLowering.cpp | 54 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 D | 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,
|
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Rewrite/Core/ |
H A D | RewriteRope.h | 173 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 D | AArch64InstrInfo.h | 98 int64_t NumBytes, 103 unsigned ScratchReg, int64_t NumBytes,
|
H A D | AArch64InstrInfo.cpp | 635 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 D | X86FrameLowering.cpp | 147 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 D | Memory.inc | 83 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 D | MipsAsmBackend.cpp | 126 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 D | PPCAsmBackend.cpp | 106 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 D | MCObjectStreamer.h | 117 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 D | Memory.inc | 69 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 D | SystemZFrameLowering.cpp | 283 // 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 D | HexagonFrameLowering.cpp | 86 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 D | raw_ostream.cpp | 302 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 D | AArch64AsmBackend.cpp | 180 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 D | MCObjectStreamer.cpp | 371 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 D | MCStreamer.cpp | 157 /// 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);
|