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

12

/external/llvm/lib/Target/Sparc/
H A DSparcFrameLowering.cpp38 int NumBytes = (int) MFI->getStackSize(); local
47 NumBytes += 92;
51 NumBytes = (NumBytes + 7) & ~7;
52 NumBytes = -NumBytes;
54 if (NumBytes >= -4096) {
56 .addReg(SP::O6).addImm(NumBytes);
60 unsigned OffHi = (unsigned)NumBytes >> 10U;
64 .addReg(SP::G1).addImm(NumBytes
[all...]
/external/clang/lib/Rewrite/
H A DRewriteRope.cpp116 /// erase - Remove NumBytes from this node at the specified offset. We are
118 void erase(unsigned Offset, unsigned NumBytes);
220 /// erase - Remove NumBytes from this node at the specified offset. We are
222 void erase(unsigned Offset, unsigned NumBytes);
337 /// erase - Remove NumBytes from this node at the specified offset. We are
339 void RopePieceBTreeLeaf::erase(unsigned Offset, unsigned NumBytes) {
350 // Figure out how many pieces completely cover 'NumBytes'. We want to remove
352 for (; Offset+NumBytes > PieceOffs+getPiece(i).size(); ++i)
356 if (Offset+NumBytes == PieceOffs+getPiece(i).size())
371 NumBytes
[all...]
/external/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,
57 unsigned NumBytes = MFI->getStackSize(); local
64 NumBytes = (NumBytes + 3) & ~3;
65 MFI->setStackSize(NumBytes);
77 if (NumBytes != 0)
78 emitSPUpdate(MBB, MBBI, TII, dl, *RegInfo, -NumBytes,
124 unsigned DPRCSOffset = NumBytes - (GPRCS1Size + GPRCS2Size + DPRCSSize);
127 AFI->setFramePtrSpillOffset(MFI->getObjectOffset(FramePtrSpillFI) + NumBytes);
37 emitSPUpdate(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, const TargetInstrInfo &TII, DebugLoc dl, const Thumb1RegisterInfo &MRI, int NumBytes, unsigned MIFlags = MachineInstr::NoFlags) argument
215 int NumBytes = (int)MFI->getStackSize(); local
[all...]
H A DThumb2InstrInfo.cpp179 unsigned DestReg, unsigned BaseReg, int NumBytes,
182 bool isSub = NumBytes < 0;
183 if (isSub) NumBytes = -NumBytes;
188 NumBytes >= 4096 &&
189 ARM_AM::getT2SOImmVal(NumBytes) == -1) {
191 if (NumBytes < 65536) {
194 .addImm(NumBytes)
197 } else if ((NumBytes & 0xffff) == 0) {
201 .addImm(NumBytes >> 1
177 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.cpp93 int NumBytes, bool CanChangeCC,
105 if (NumBytes < 0 && !isHigh && CanChangeCC) {
107 NumBytes = -NumBytes;
115 if (NumBytes <= 255 && NumBytes >= 0)
117 .addImm(NumBytes).setMIFlags(MIFlags);
118 else if (NumBytes < 0 && NumBytes >= -255) {
120 .addImm(NumBytes)
89 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
166 emitThumbRegPlusImmediate(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, DebugLoc dl, unsigned DestReg, unsigned BaseReg, int NumBytes, const TargetInstrInfo &TII, const ARMBaseRegisterInfo& MRI, unsigned MIFlags) argument
298 emitSPUpdate(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, const TargetInstrInfo &TII, DebugLoc dl, const Thumb1RegisterInfo &MRI, int NumBytes) argument
[all...]
H A DARMFrameLowering.cpp121 int NumBytes, unsigned MIFlags = MachineInstr::NoFlags) {
123 emitARMRegPlusImmediate(MBB, MBBI, dl, ARM::SP, ARM::SP, NumBytes,
126 emitT2RegPlusImmediate(MBB, MBBI, dl, ARM::SP, ARM::SP, NumBytes,
143 unsigned NumBytes = MFI->getStackSize(); local
154 // Allocate the vararg register save area. This is not counted in NumBytes.
160 if (NumBytes != 0)
161 emitSPUpdate(isARM, MBB, MBBI, dl, TII, -NumBytes,
227 unsigned DPRCSOffset = NumBytes - (GPRCS1Size + GPRCS2Size + DPRCSSize);
232 NumBytes);
252 // Adjust NumBytes t
118 emitSPUpdate(bool isARM, MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, DebugLoc dl, const ARMBaseInstrInfo &TII, int NumBytes, unsigned MIFlags = MachineInstr::NoFlags) argument
354 int NumBytes = (int)MFI->getStackSize(); local
[all...]
H A DARMBaseInstrInfo.h361 unsigned DestReg, unsigned BaseReg, int NumBytes,
367 unsigned DestReg, unsigned BaseReg, int NumBytes,
373 int NumBytes, const TargetInstrInfo &TII,
/external/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...]
/external/llvm/lib/Support/Windows/
H A DMemory.inc27 MemoryBlock Memory::AllocateRWX(size_t NumBytes,
30 if (NumBytes == 0) return MemoryBlock();
33 size_t NumPages = (NumBytes+pageSize-1)/pageSize;
43 return AllocateRWX(NumBytes, NULL, ErrMsg);
/external/clang/include/clang/Rewrite/
H A DRewriteRope.h167 void erase(unsigned Offset, unsigned NumBytes);
219 void erase(unsigned Offset, unsigned NumBytes) { argument
220 assert(Offset+NumBytes <= size() && "Invalid region to erase!");
221 if (NumBytes == 0) return;
222 Chunks.erase(Offset, NumBytes);
/external/llvm/include/llvm/Support/
H A DMemory.h48 /// attempt to allocate \p NumBytes bytes of virtual memory is made.
56 static MemoryBlock AllocateRWX(size_t NumBytes,
/external/llvm/lib/Support/Unix/
H A DMemory.inc32 llvm::sys::Memory::AllocateRWX(size_t NumBytes, const MemoryBlock* NearBlock,
34 if (NumBytes == 0) return MemoryBlock();
37 size_t NumPages = (NumBytes+pageSize-1)/pageSize;
69 return AllocateRWX(NumBytes, 0);
/external/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);
185 int NumBytes = (int) MFI->getStackSize(); local
197 .addImm(NumBytes);
199 BuildMI(MBB, MBBI, dl, TII.get(Hexagon::DEALLOCFRAME)).addImm(NumBytes);
/external/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 UseLEA, const TargetInstrInfo &TII, const TargetRegisterInfo &TRI) argument
[all...]
/external/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsAsmBackend.cpp94 unsigned NumBytes = (getFixupKindInfo(Kind).TargetSize + 7) / 8; local
113 for (unsigned i = 0; i != NumBytes; ++i) {
122 for (unsigned i = 0; i != NumBytes; ++i) {
/external/llvm/lib/Support/
H A Draw_ostream.cpp300 size_t NumBytes = OutBufEnd - OutBufCur; local
306 size_t BytesToWrite = Size - (Size % NumBytes);
314 copy_to_buffer(Ptr, NumBytes);
316 return write(Ptr + NumBytes, Size - NumBytes);
/external/llvm/lib/Target/PTX/
H A DPTXMCAsmStreamer.cpp155 virtual void EmitFill(uint64_t NumBytes, uint8_t FillValue,
410 /// EmitFill - Emit NumBytes bytes worth of the value specified by
412 void PTXMCAsmStreamer::EmitFill(uint64_t NumBytes, uint8_t FillValue, argument
414 if (NumBytes == 0) return;
418 OS << ZeroDirective << NumBytes; local
426 MCStreamer::EmitFill(NumBytes, FillValue, AddrSpace);
/external/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMAsmBackend.cpp532 unsigned NumBytes = 4; // FIXME: 2 for Thumb local
541 for (unsigned i = 0; i != NumBytes; ++i)
617 unsigned NumBytes = getFixupKindNumBytes(Fixup.getKind()); local
622 assert(Offset + NumBytes <= DataSize && "Invalid fixup offset!");
626 for (unsigned i = 0; i != NumBytes; ++i)
/external/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp510 Value *NumBytes = local
515 NewCall = Builder.CreateMemSet(BasePtr, SplatValue,NumBytes,StoreAlignment);
532 NewCall = Builder.CreateCall3(MSP, BasePtr, PatternPtr, NumBytes);
616 Value *NumBytes = local
620 Builder.CreateMemCpy(StoreBasePtr, LoadBasePtr, NumBytes,
/external/llvm/include/llvm/MC/
H A DMCStreamer.h456 /// EmitFill - Emit NumBytes bytes worth of the value specified by
458 virtual void EmitFill(uint64_t NumBytes, uint8_t FillValue,
461 /// EmitZeros - Emit NumBytes worth of zeros. This is a convenience
463 void EmitZeros(uint64_t NumBytes, unsigned AddrSpace) { argument
464 EmitFill(NumBytes, 0, AddrSpace);
/external/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;
/external/llvm/lib/MC/
H A DMCAsmStreamer.cpp194 virtual void EmitFill(uint64_t NumBytes, uint8_t FillValue,
681 /// EmitFill - Emit NumBytes bytes worth of the value specified by
683 void MCAsmStreamer::EmitFill(uint64_t NumBytes, uint8_t FillValue, argument
685 if (NumBytes == 0) return;
689 OS << ZeroDirective << NumBytes; local
697 MCStreamer::EmitFill(NumBytes, FillValue, AddrSpace);
/external/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.cpp517 int NumBytes = FltVal.getBitWidth() / 8; // 8 bits per byte. local
520 int Start = (LittleEndian ? 0 : NumBytes - 1);
521 int Stop = (LittleEndian ? NumBytes : -1);
559 int NumBytes = Val.getBitWidth() / 8; // 8 bits per byte. local
563 for (int i = 0; i < NumBytes; i++) {
568 c = Ptr64[(NumBytes - 1 - i) / 8] >> (8 * ((NumBytes - 1 - i) & 7));
/external/llvm/lib/Target/MBlaze/
H A DMBlazeISelLowering.cpp709 unsigned NumBytes = CCInfo.getNextStackOffset(); local
712 if (isVarArg && NumBytes < 24) NumBytes = 24;
714 Chain = DAG.getCALLSEQ_START(Chain, DAG.getIntPtrConstant(NumBytes, true));
823 Chain = DAG.getCALLSEQ_END(Chain, DAG.getIntPtrConstant(NumBytes, true),
/external/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp2251 unsigned NumBytes = PPCFrameLowering::getLinkageSize(isPPC64, true); local
2275 NumBytes = ((NumBytes+15)/16)*16;
2277 NumBytes += CalculateStackSlotSize(ArgVT, Flags, PtrByteSize);
2282 NumBytes = ((NumBytes+15)/16)*16;
2283 NumBytes += 16*nAltivecParamsAtEnd;
2291 NumBytes = std::max(NumBytes,
2299 NumBytes
2538 PrepareTailCall(SelectionDAG &DAG, SDValue &InFlag, SDValue &Chain, DebugLoc dl, bool isPPC64, int SPDiff, unsigned NumBytes, SDValue LROp, SDValue FPOp, bool isDarwinABI, SmallVector<TailCallArgumentInfo, 8> &TailCallArguments) argument
2764 FinishCall(CallingConv::ID CallConv, DebugLoc dl, bool isTailCall, bool isVarArg, SelectionDAG &DAG, SmallVector<std::pair<unsigned, SDValue>, 8> &RegsToPass, SDValue InFlag, SDValue Chain, SDValue &Callee, int SPDiff, unsigned NumBytes, const SmallVectorImpl<ISD::InputArg> &Ins, SmallVectorImpl<SDValue> &InVals) const argument
2974 unsigned NumBytes = CCByValInfo.getNextStackOffset(); local
3130 unsigned NumBytes = local
[all...]

Completed in 489 milliseconds

12