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/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.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
299 emitSPUpdate(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, const TargetInstrInfo &TII, DebugLoc dl, const Thumb1RegisterInfo &MRI, int NumBytes) argument
[all...]
H A DARMFrameLowering.cpp123 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
160 // Allocate the vararg register save area. This is not counted in NumBytes.
166 if (NumBytes != 0)
167 emitSPUpdate(isARM, MBB, MBBI, dl, TII, -NumBytes,
233 unsigned DPRCSOffset = NumBytes - (GPRCS1Size + GPRCS2Size + DPRCSSize);
238 NumBytes);
258 // Adjust NumBytes t
120 emitSPUpdate(bool isARM, MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, DebugLoc dl, const ARMBaseInstrInfo &TII, int NumBytes, unsigned MIFlags = MachineInstr::NoFlags) argument
360 int NumBytes = (int)MFI->getStackSize(); local
[all...]
H A DARMBaseInstrInfo.h378 unsigned DestReg, unsigned BaseReg, int NumBytes,
384 unsigned DestReg, unsigned BaseReg, int NumBytes,
390 int NumBytes, const TargetInstrInfo &TII,
H A DARMFastISel.cpp209 unsigned &NumBytes,
214 unsigned &NumBytes, bool isVarArg);
1876 unsigned &NumBytes,
1926 NumBytes = CCInfo.getNextStackOffset();
1932 .addImm(NumBytes));
2013 unsigned &NumBytes, bool isVarArg) {
2018 .addImm(NumBytes).addImm(0));
2210 unsigned NumBytes; local
2212 RegArgs, CC, NumBytes, false))
2243 if (!FinishCall(RetVT, UsedRegs, I, CC, NumBytes, fals
1870 ProcessCallArgs(SmallVectorImpl<Value*> &Args, SmallVectorImpl<unsigned> &ArgRegs, SmallVectorImpl<MVT> &ArgVTs, SmallVectorImpl<ISD::ArgFlagsTy> &ArgFlags, SmallVectorImpl<unsigned> &RegArgs, CallingConv::ID CC, unsigned &NumBytes, bool isVarArg) argument
2011 FinishCall(MVT RetVT, SmallVectorImpl<unsigned> &UsedRegs, const Instruction *I, CallingConv::ID CC, unsigned &NumBytes, bool isVarArg) argument
2340 unsigned NumBytes; local
[all...]
/external/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);
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/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/Core/
H A DRewriteRope.h172 void erase(unsigned Offset, unsigned NumBytes);
225 void erase(unsigned Offset, unsigned NumBytes) { argument
226 assert(Offset+NumBytes <= size() && "Invalid region to erase!");
227 if (NumBytes == 0) return;
228 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/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/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/Mips/MCTargetDesc/
H A DMipsAsmBackend.cpp109 unsigned NumBytes = (getFixupKindInfo(Kind).TargetSize + 7) / 8; local
128 for (unsigned i = 0; i != NumBytes; ++i) {
138 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/ARM/MCTargetDesc/
H A DARMAsmBackend.cpp577 unsigned NumBytes = 4; // FIXME: 2 for Thumb local
586 for (unsigned i = 0; i != NumBytes; ++i)
662 unsigned NumBytes = getFixupKindNumBytes(Fixup.getKind()); local
667 assert(Offset + NumBytes <= DataSize && "Invalid fixup offset!");
671 for (unsigned i = 0; i != NumBytes; ++i)
/external/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp512 Value *NumBytes = local
517 NewCall = Builder.CreateMemSet(BasePtr, SplatValue,NumBytes,StoreAlignment);
534 NewCall = Builder.CreateCall3(MSP, BasePtr, PatternPtr, NumBytes);
618 Value *NumBytes = local
622 Builder.CreateMemCpy(StoreBasePtr, LoadBasePtr, NumBytes,
/external/llvm/include/llvm/MC/
H A DMCStreamer.h409 /// EmitFill - Emit NumBytes bytes worth of the value specified by
411 virtual void EmitFill(uint64_t NumBytes, uint8_t FillValue,
414 /// EmitZeros - Emit NumBytes worth of zeros. This is a convenience
416 void EmitZeros(uint64_t NumBytes, unsigned AddrSpace) { argument
417 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.cpp195 virtual void EmitFill(uint64_t NumBytes, uint8_t FillValue,
703 /// EmitFill - Emit NumBytes bytes worth of the value specified by
705 void MCAsmStreamer::EmitFill(uint64_t NumBytes, uint8_t FillValue, argument
707 if (NumBytes == 0) return;
711 OS << ZeroDirective << NumBytes; local
719 MCStreamer::EmitFill(NumBytes, FillValue, AddrSpace);
/external/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.cpp512 int NumBytes = FltVal.getBitWidth() / 8; // 8 bits per byte. local
515 int Start = (LittleEndian ? 0 : NumBytes - 1);
516 int Stop = (LittleEndian ? NumBytes : -1);
554 int NumBytes = Val.getBitWidth() / 8; // 8 bits per byte. local
558 for (int i = 0; i < NumBytes; i++) {
563 c = Ptr64[(NumBytes - 1 - i) / 8] >> (8 * ((NumBytes - 1 - i) & 7));
/external/llvm/lib/Target/MBlaze/
H A DMBlazeISelLowering.cpp715 unsigned NumBytes = CCInfo.getNextStackOffset(); local
718 if (isVarArg && NumBytes < 24) NumBytes = 24;
720 Chain = DAG.getCALLSEQ_START(Chain, DAG.getIntPtrConstant(NumBytes, true));
829 Chain = DAG.getCALLSEQ_END(Chain, DAG.getIntPtrConstant(NumBytes, true),
/external/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp2325 unsigned NumBytes = PPCFrameLowering::getLinkageSize(isPPC64, true); local
2349 NumBytes = ((NumBytes+15)/16)*16;
2351 NumBytes += CalculateStackSlotSize(ArgVT, Flags, PtrByteSize);
2356 NumBytes = ((NumBytes+15)/16)*16;
2357 NumBytes += 16*nAltivecParamsAtEnd;
2365 NumBytes = std::max(NumBytes,
2373 NumBytes
2612 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
2838 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
3057 unsigned NumBytes = CCByValInfo.getNextStackOffset(); local
3217 unsigned NumBytes = local
[all...]

Completed in 476 milliseconds

12