/external/llvm/unittests/MC/ |
Disassembler.cpp | 39 unsigned NumBytes = sizeof(Bytes); 42 InstSize = LLVMDisasmInstruction(DCR, BytesP, NumBytes, PC, OutString, 48 NumBytes -= InstSize; 50 InstSize = LLVMDisasmInstruction(DCR, BytesP, NumBytes, PC, OutString, 56 NumBytes -= InstSize; 58 InstSize = LLVMDisasmInstruction(DCR, BytesP, NumBytes, PC, OutString,
|
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
MipsAsmBackend.cpp | 196 unsigned NumBytes = (getFixupKindInfo(Kind).TargetSize + 7) / 8; 221 for (unsigned i = 0; i != NumBytes; ++i) { 233 for (unsigned i = 0; i != NumBytes; ++i) {
|
/external/llvm/lib/Target/PowerPC/MCTargetDesc/ |
PPCAsmBackend.cpp | 122 unsigned NumBytes = getFixupKindNumBytes(Fixup.getKind()); 127 for (unsigned i = 0; i != NumBytes; ++i) { 128 unsigned Idx = IsLittleEndian ? i : (NumBytes - 1 - i);
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
RuntimeDyldMachOAArch64.h | 38 unsigned NumBytes = 1 << RE.Size; 45 assert((NumBytes == 4 || NumBytes == 8) && "Invalid relocation size."); 52 assert(NumBytes == 4 && "Invalid relocation size."); 63 if (NumBytes == 4) 133 void encodeAddend(uint8_t *LocalAddress, unsigned NumBytes, 140 assert((NumBytes == 4 || NumBytes == 8) && "Invalid relocation size."); 147 assert(NumBytes == 4 && "Invalid relocation size."); 158 if (NumBytes == 4 [all...] |
RuntimeDyldMachOI386.h | 144 unsigned NumBytes = 1 << Size; 145 uint64_t Addend = readBytesUnaligned(LocalAddress, NumBytes); 204 unsigned NumBytes = 1 << Size; 205 int64_t Addend = readBytesUnaligned(LocalAddress, NumBytes);
|
/external/llvm/lib/Target/MSP430/ |
MSP430FrameLowering.cpp | 55 uint64_t NumBytes = 0; 59 NumBytes = FrameSize - MSP430FI->getCalleeSavedFrameSize(); 64 MFI->setOffsetAdjustment(-NumBytes); 80 NumBytes = StackSize - MSP430FI->getCalleeSavedFrameSize(); 89 if (NumBytes) { // adjust stack pointer: SP -= numbytes 92 //NumBytes -= mergeSPUpdates(MBB, MBBI, true); 95 // mergeSPUpdatesDown(MBB, MBBI, &NumBytes); 97 if (NumBytes) { 100 .addReg(MSP430::SP).addImm(NumBytes); [all...] |
MSP430ISelLowering.cpp | 594 unsigned NumBytes = CCInfo.getNextStackOffset(); 596 Chain = DAG.getCALLSEQ_START(Chain ,DAG.getConstant(NumBytes, 703 DAG.getConstant(NumBytes, getPointerTy(), true), [all...] |
/external/llvm/lib/Target/Sparc/ |
SparcFrameLowering.cpp | 43 int NumBytes, 51 if (NumBytes >= -4096 && NumBytes < 4096) { 53 .addReg(SP::O6).addImm(NumBytes); 59 if (NumBytes >= 0) { 61 // sethi %hi(NumBytes), %g1 62 // or %g1, %lo(NumBytes), %g1 65 .addImm(HI22(NumBytes)); 67 .addReg(SP::G1).addImm(LO10(NumBytes)); 74 // sethi %hix(NumBytes), %g [all...] |
/external/llvm/lib/Target/AArch64/ |
AArch64AsmPrinter.cpp | 392 // [<def>], <id>, <numBytes>, <target>, <numArgs> 424 unsigned NumBytes = Opers.getMetaOper(PatchPointOpers::NBytesPos).getImm(); 425 assert(NumBytes >= EncodedBytes && 427 assert((NumBytes - EncodedBytes) % 4 == 0 && 429 for (unsigned i = EncodedBytes; i < NumBytes; i += 4)
|
AArch64FrameLowering.cpp | 128 unsigned NumBytes = AFI->getLocalStackSize(); 133 if (MFI->hasCalls() || hasFP(MF) || NumBytes > 128) 272 int NumBytes = (int)MFI->getStackSize(); 277 AFI->setLocalStackSize(NumBytes); 284 if (NumBytes && !canUseRedZone(MF)) { 285 emitFrameOffset(MBB, MBBI, DL, AArch64::SP, AArch64::SP, -NumBytes, TII, 290 MCCFIInstruction::createDefCfaOffset(FrameLabel, -NumBytes)); 294 } else if (NumBytes) { 325 NumBytes -= 16; 327 assert(NumBytes >= 0 && "Negative stack allocation size!?") [all...] |
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
AArch64AsmBackend.cpp | 207 unsigned NumBytes = getFixupKindNumBytes(Fixup.getKind()); 218 assert(Offset + NumBytes <= DataSize && "Invalid fixup offset!"); 222 for (unsigned i = 0; i != NumBytes; ++i)
|
/external/llvm/lib/Target/ARM/ |
Thumb1FrameLowering.cpp | 45 int NumBytes, unsigned MIFlags = MachineInstr::NoFlags) { 46 emitThumbRegPlusImmediate(MBB, MBBI, dl, ARM::SP, ARM::SP, NumBytes, TII, 98 unsigned NumBytes = MFI->getStackSize(); 99 assert(NumBytes >= ArgRegsSaveSize && 100 "ArgRegsSaveSize is included in NumBytes"); 108 NumBytes = (NumBytes + 3) & ~3; 109 MFI->setStackSize(NumBytes); 128 if (NumBytes - ArgRegsSaveSize != 0) { 129 emitSPUpdate(MBB, MBBI, TII, dl, *RegInfo, -(NumBytes - ArgRegsSaveSize) [all...] |
ARMExpandPseudoInsts.cpp | [all...] |
/external/llvm/lib/Target/Hexagon/ |
HexagonFrameLowering.cpp | 87 int NumBytes = (int) MFI->getStackSize(); 121 if (NumBytes >= ALLOCFRAME_MAX) { 127 HEXAGON_RESERVED_REG_1).addImm(NumBytes); 133 BuildMI(MBB, InsertPt, dl, TII.get(Hexagon::S2_allocframe)).addImm(NumBytes);
|
/external/llvm/lib/Target/SystemZ/ |
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; 434 uint64_t NumBytes = Offset - 0x7fff8; 436 NumBytes, ZII); 437 Offset -= NumBytes;
|
/external/llvm/utils/TableGen/ |
DAGISelMatcherEmitter.cpp | 105 unsigned NumBytes = 0; 108 ++NumBytes; 110 return NumBytes+1; 122 unsigned NumBytes = 0; 126 ++NumBytes; 132 return NumBytes+1;
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
RuntimeDyldMachO.cpp | 46 unsigned NumBytes = 1 << RE.Size; 49 return static_cast<int64_t>(readBytesUnaligned(Src, NumBytes));
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
ARMAsmBackend.cpp | 722 unsigned NumBytes = getFixupKindNumBytes(Fixup.getKind()); 728 assert(Offset + NumBytes <= DataSize && "Invalid fixup offset!"); 735 assert(NumBytes <= FullSizeBytes && "Invalid fixup size!"); 741 for (unsigned i = 0; i != NumBytes; ++i) {
|
/external/llvm/lib/Target/BPF/ |
BPFISelLowering.cpp | 287 unsigned NumBytes = CCInfo.getNextStackOffset(); 306 Chain, DAG.getConstant(NumBytes, getPointerTy(), true), CLI.DL); 377 Chain, DAG.getConstant(NumBytes, getPointerTy(), true),
|
/external/llvm/lib/Support/ |
raw_ostream.cpp | 309 size_t NumBytes = OutBufEnd - OutBufCur; 315 assert(NumBytes != 0 && "undefined behavior"); 316 size_t BytesToWrite = Size - (Size % NumBytes); 329 copy_to_buffer(Ptr, NumBytes); 331 return write(Ptr + NumBytes, Size - NumBytes);
|
/external/llvm/lib/Target/X86/ |
X86MCInstLower.cpp | 66 // Emit a minimal sequence of nops spanning NumBytes bytes. 67 static void EmitNops(MCStreamer &OS, unsigned NumBytes, bool Is64Bit, 757 static void EmitNops(MCStreamer &OS, unsigned NumBytes, bool Is64Bit, const MCSubtargetInfo &STI) { 761 while (NumBytes) { 765 switch (NumBytes) { 767 case 1: NumBytes -= 1; Opc = X86::NOOP; break; 768 case 2: NumBytes -= 2; Opc = X86::XCHG16ar; break; 769 case 3: NumBytes -= 3; Opc = X86::NOOPL; break; 770 case 4: NumBytes -= 4; Opc = X86::NOOPL; Displacement = 8; break; 771 case 5: NumBytes -= 5; Opc = X86::NOOPL; Displacement = 8 [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
DwarfUnit.cpp | 681 int NumBytes = FltVal.getBitWidth() / 8; // 8 bits per byte. 684 int Start = (LittleEndian ? 0 : NumBytes - 1); 685 int Stop = (LittleEndian ? NumBytes : -1); 738 int NumBytes = Val.getBitWidth() / 8; // 8 bits per byte. 742 for (int i = 0; i < NumBytes; i++) { 747 c = Ptr64[(NumBytes - 1 - i) / 8] >> (8 * ((NumBytes - 1 - i) & 7)); [all...] |
/external/llvm/lib/Target/Mips/ |
MipsFastISel.cpp | 170 unsigned &NumBytes); 171 bool finishCall(CallLoweringInfo &CLI, MVT RetVT, unsigned NumBytes); 945 unsigned &NumBytes) { 951 NumBytes = CCInfo.getNextStackOffset(); 953 if (NumBytes < 16) 954 NumBytes = 16; [all...] |
/external/llvm/lib/Target/PowerPC/ |
PPCAsmPrinter.cpp | 360 // [<def>], <id>, <numBytes>, <target>, <numArgs> 395 unsigned NumBytes = Opers.getMetaOper(PatchPointOpers::NBytesPos).getImm(); 396 assert(NumBytes >= EncodedBytes && 398 assert((NumBytes - EncodedBytes) % 4 == 0 && 400 for (unsigned i = EncodedBytes; i < NumBytes; i += 4) [all...] |
/external/llvm/lib/Transforms/Scalar/ |
LoopIdiomRecognize.cpp | [all...] |