/external/llvm/lib/Target/Sparc/ |
H A D | SparcFrameLowering.cpp | 38 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 D | Thumb2InstrInfo.cpp | 179 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 D | Thumb1FrameLowering.cpp | 41 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 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 | ARMExpandPseudoInsts.cpp | 789 int32_t NumBytes = AFI->getFramePtrSpillOffset(); local 796 FramePtr, -NumBytes, ARMCC::AL, 0, *TII); 799 FramePtr, -NumBytes, *TII, RI); 802 FramePtr, -NumBytes, ARMCC::AL, 0,
|
H A D | ARMFrameLowering.cpp | 122 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...] |
/external/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...] |
H A D | MSP430ISelLowering.cpp | 476 unsigned NumBytes = CCInfo.getNextStackOffset(); local 478 Chain = DAG.getCALLSEQ_START(Chain ,DAG.getConstant(NumBytes, 584 DAG.getConstant(NumBytes, getPointerTy(), true),
|
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
H A D | MipsAsmBackend.cpp | 114 unsigned NumBytes = (getFixupKindInfo(Kind).TargetSize + 7) / 8; local 133 for (unsigned i = 0; i != NumBytes; ++i) { 143 for (unsigned i = 0; i != NumBytes; ++i) {
|
/external/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...] |
/external/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);
|
/external/llvm/include/llvm/MC/ |
H A D | MCStreamer.h | 460 /// EmitFill - Emit NumBytes bytes worth of the value specified by 462 virtual void EmitFill(uint64_t NumBytes, uint8_t FillValue, 465 /// EmitZeros - Emit NumBytes worth of zeros. This is a convenience 467 void EmitZeros(uint64_t NumBytes, unsigned AddrSpace = 0) { argument 468 EmitFill(NumBytes, 0, AddrSpace);
|
/external/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) {
|
/external/llvm/lib/Target/Hexagon/ |
H A D | HexagonFrameLowering.cpp | 91 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);
|
/external/llvm/lib/MC/ |
H A D | MCObjectStreamer.cpp | 341 void MCObjectStreamer::EmitFill(uint64_t NumBytes, uint8_t FillValue, argument 346 getOrCreateDataFragment()->getContents().append(NumBytes, FillValue);
|
H A D | MCStreamer.cpp | 149 /// EmitFill - Emit NumBytes bytes worth of the value specified by 151 void MCStreamer::EmitFill(uint64_t NumBytes, uint8_t FillValue, argument 154 for (uint64_t i = 0, e = NumBytes; i != e; ++i)
|
/external/llvm/utils/TableGen/ |
H A D | DAGISelMatcherEmitter.cpp | 105 unsigned NumBytes = 0; local 108 ++NumBytes; 110 return NumBytes+1; 122 unsigned NumBytes = 0; local 126 ++NumBytes; 132 return NumBytes+1;
|
/external/llvm/lib/Support/ |
H A D | raw_ostream.cpp | 301 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);
|
/external/llvm/lib/Target/AArch64/ |
H A D | AArch64InstrInfo.cpp | 618 int64_t NumBytes, MachineInstr::MIFlag MIFlags) { 619 if (NumBytes == 0 && DstReg == SrcReg) 621 else if (abs(NumBytes) & ~0xffffff) { 625 uint64_t Bits = static_cast<uint64_t>(abs(NumBytes)); 655 unsigned AddOp = NumBytes > 0 ? AArch64::ADDxxx_uxtx : AArch64::SUBxxx_uxtx; 670 if (NumBytes >= 0) { 676 NumBytes = abs(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...] |
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMAsmBackend.cpp | 610 unsigned NumBytes = getFixupKindNumBytes(Fixup.getKind()); local 615 assert(Offset + NumBytes <= DataSize && "Invalid fixup offset!"); 620 for (unsigned i = 0; i != NumBytes; ++i)
|
/external/clang/lib/CodeGen/ |
H A D | CGRecordLayoutBuilder.cpp | 175 llvm::Type *getByteArrayType(CharUnits NumBytes); 740 CharUnits NumBytes = AlignedNonVirtualTypeSize - AlignedNextFieldOffset; local 741 FieldTypes.push_back(getByteArrayType(NumBytes));
|
/external/clang/lib/Frontend/ |
H A D | CacheTokens.cpp | 196 void EmitBuf(const char *Ptr, unsigned NumBytes) { argument 197 Out.write(Ptr, NumBytes);
|
/external/llvm/lib/Target/MBlaze/ |
H A D | MBlazeISelLowering.cpp | 717 unsigned NumBytes = CCInfo.getNextStackOffset(); local 720 if (isVarArg && NumBytes < 24) NumBytes = 24; 722 Chain = DAG.getCALLSEQ_START(Chain, DAG.getIntPtrConstant(NumBytes, true)); 831 Chain = DAG.getCALLSEQ_END(Chain, DAG.getIntPtrConstant(NumBytes, true),
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | LoopIdiomRecognize.cpp | 1014 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,
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
H A D | AsmPrinter.cpp | 1764 unsigned NumBytes = API.getBitWidth() / 8; local 1765 unsigned TrailingBytes = NumBytes % sizeof(uint64_t); 1780 for (Chunk = 0; Chunk < NumBytes / sizeof(uint64_t); ++Chunk)
|