/external/llvm/unittests/MC/ |
H A D | Disassembler.cpp | 39 unsigned NumBytes = sizeof(Bytes); local 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/WebAssembly/MCTargetDesc/ |
H A D | WebAssemblyAsmBackend.cpp | 76 unsigned NumBytes = RoundUpToAlignment(Info.TargetSize, 8); local 84 assert(Offset + NumBytes <= DataSize && "Invalid fixup offset!"); 88 for (unsigned i = 0; i != NumBytes; ++i)
|
/external/llvm/lib/Target/Sparc/ |
H A D | 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), 40 emitSPAdjustment(MachineFunction &MF, MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, int NumBytes, unsigned ADDrr, unsigned ADDri) const argument 112 int NumBytes = (int) MFI->getStackSize(); local 218 int NumBytes = (int) MFI->getStackSize(); local [all...] |
H A D | SparcFrameLowering.h | 62 int NumBytes, unsigned ADDrr, unsigned ADDri) const;
|
/external/clang/lib/Rewrite/ |
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...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfStringPool.cpp | 28 Entry.Offset = NumBytes; 31 NumBytes += Str.size() + 1; 32 assert(NumBytes > Entry.Offset && "Unexpected overflow");
|
H A D | DwarfStringPool.h | 32 unsigned NumBytes = 0; member in class:llvm::DwarfStringPool
|
/external/llvm/lib/Target/MSP430/ |
H A D | MSP430FrameLowering.cpp | 56 uint64_t NumBytes = 0; local 60 NumBytes = FrameSize - MSP430FI->getCalleeSavedFrameSize(); 65 MFI->setOffsetAdjustment(-NumBytes); 81 NumBytes = StackSize - MSP430FI->getCalleeSavedFrameSize(); 90 if (NumBytes) { // adjust stack pointer: SP -= numbytes 93 //NumBytes -= mergeSPUpdates(MBB, MBBI, true); 96 // mergeSPUpdatesDown(MBB, MBBI, &NumBytes); 98 if (NumBytes) { 101 .addReg(MSP430::SP).addImm(NumBytes); 129 uint64_t NumBytes local [all...] |
/external/llvm/lib/Target/ARM/ |
H A D | Thumb1FrameLowering.cpp | 46 int NumBytes, unsigned MIFlags = MachineInstr::NoFlags) { 47 emitThumbRegPlusImmediate(MBB, MBBI, dl, ARM::SP, ARM::SP, NumBytes, TII, 99 unsigned NumBytes = MFI->getStackSize(); local 100 assert(NumBytes >= ArgRegsSaveSize && 101 "ArgRegsSaveSize is included in NumBytes"); 113 NumBytes = (NumBytes + 3) & ~3; 114 MFI->setStackSize(NumBytes); 133 if (NumBytes - ArgRegsSaveSize != 0) { 134 emitSPUpdate(MBB, MBBI, TII, dl, *RegInfo, -(NumBytes 42 emitSPUpdate(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, const TargetInstrInfo &TII, DebugLoc dl, const ThumbRegisterInfo &MRI, int NumBytes, unsigned MIFlags = MachineInstr::NoFlags) argument 335 int NumBytes = (int)MFI->getStackSize(); local [all...] |
H A D | ThumbRegisterInfo.cpp | 128 int NumBytes, bool CanChangeCC, 140 if (NumBytes < 0 && !isHigh && CanChangeCC) { 142 NumBytes = -NumBytes; 150 if (NumBytes <= 255 && NumBytes >= 0 && CanChangeCC) { 152 .addImm(NumBytes).setMIFlags(MIFlags); 153 } else if (NumBytes < 0 && NumBytes >= -255 && CanChangeCC) { 155 .addImm(NumBytes) 124 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 180 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 | Thumb2InstrInfo.cpp | 218 unsigned DestReg, unsigned BaseReg, int NumBytes, 221 if (NumBytes == 0 && DestReg != BaseReg) { 228 bool isSub = NumBytes < 0; 229 if (isSub) NumBytes = -NumBytes; 234 NumBytes >= 4096 && 235 ARM_AM::getT2SOImmVal(NumBytes) == -1) { 237 if (NumBytes < 65536) { 240 .addImm(NumBytes) 243 } else if ((NumBytes 216 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 | ARMFrameLowering.cpp | 126 unsigned SrcReg, int NumBytes, 131 emitARMRegPlusImmediate(MBB, MBBI, dl, DestReg, SrcReg, NumBytes, 134 emitT2RegPlusImmediate(MBB, MBBI, dl, DestReg, SrcReg, NumBytes, 140 const ARMBaseInstrInfo &TII, int NumBytes, 144 emitRegPlusImmediate(isARM, MBB, MBBI, dl, TII, ARM::SP, ARM::SP, NumBytes, 306 unsigned NumBytes = MFI->getStackSize(); local 337 (!STI.isTargetWindows() || !WindowsRequiresStackProbe(MF, NumBytes))) { 338 if (NumBytes - ArgRegsSaveSize != 0) { 339 emitSPUpdate(isARM, MBB, MBBI, dl, TII, -(NumBytes - ArgRegsSaveSize), 342 NumBytes 123 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 138 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 502 DefCFAOffsetCandidates.addInst(std::prev(MBBI), NumBytes); local 709 int NumBytes = (int)MFI->getStackSize(); local [all...] |
/external/clang/include/clang/Rewrite/Core/ |
H A D | RewriteRope.h | 155 void erase(unsigned Offset, unsigned NumBytes); 202 void erase(unsigned Offset, unsigned NumBytes) { argument 203 assert(Offset+NumBytes <= size() && "Invalid region to erase!"); 204 if (NumBytes == 0) return; 205 Chunks.erase(Offset, NumBytes);
|
/external/llvm/include/llvm/Support/ |
H A D | Memory.h | 56 /// \p NumBytes bytes of virtual memory is made. 78 static MemoryBlock allocateMappedMemory(size_t NumBytes, 114 /// attempt to allocate \p NumBytes bytes of virtual memory is made. 122 static MemoryBlock AllocateRWX(size_t NumBytes,
|
/external/tpm2/ |
H A D | TcpServer.c | 15 BOOL ReadBytes(SOCKET s, char* buffer, int NumBytes); 18 BOOL WriteBytes(SOCKET s, char* buffer, int NumBytes); 316 // This function reads the indicated number of bytes (NumBytes) into buffer from the indicated socket. 322 int NumBytes 327 while(numGot<NumBytes) 329 res = recv(s, buffer+numGot, NumBytes-numGot, 0); 347 // This function will send the indicated number of bytes (NumBytes) to the indicated socket 353 int NumBytes 358 while(numSent<NumBytes) 360 res = send(s, buffer+numSent, NumBytes [all...] |
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
H A D | RuntimeDyldMachOAArch64.h | 38 unsigned NumBytes = 1 << RE.Size; local 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, argument 140 assert((NumBytes == 4 || NumBytes == 8) && "Invalid relocation size."); 147 assert(NumBytes == 4 && "Invalid relocation size."); 158 if (NumBytes [all...] |
H A D | RuntimeDyldMachOX86_64.h | 158 unsigned NumBytes = 1 << Size; local 167 SignExtend64(readBytesUnaligned(LocalAddress, NumBytes), NumBytes * 8);
|
/external/llvm/lib/Target/AArch64/ |
H A D | AArch64FrameLowering.cpp | 128 unsigned NumBytes = AFI->getLocalStackSize(); local 133 if (MFI->hasCalls() || hasFP(MF) || NumBytes > 128) 300 int NumBytes = (int)MFI->getStackSize(); local 305 AFI->setLocalStackSize(NumBytes); 312 if (NumBytes && !canUseRedZone(MF)) { 313 emitFrameOffset(MBB, MBBI, DL, AArch64::SP, AArch64::SP, -NumBytes, TII, 318 MCCFIInstruction::createDefCfaOffset(FrameLabel, -NumBytes)); 322 } else if (NumBytes) { 337 NumBytes -= 16; 339 assert(NumBytes > 553 int NumBytes = MFI->getStackSize(); local [all...] |
/external/deqp/framework/common/ |
H A D | tcuFormatUtil.hpp | 134 template <typename T, size_t NumBytes = sizeof(T)> 152 return stream << Hex<NumBytes*2>((deUint64)m_value); 161 return Hex<NumBytes*2>((deUint64)m_value).toString(); 169 template <typename T, size_t NumBytes> 170 inline std::ostream& operator<< (std::ostream& stream, const Enum<T, NumBytes>& fmt) { return fmt.toStream(stream); }
|
/external/llvm/lib/Support/Unix/ |
H A D | Memory.inc | 82 Memory::allocateMappedMemory(size_t NumBytes, 87 if (NumBytes == 0) 91 const size_t NumPages = (NumBytes+PageSize-1)/PageSize; 123 return allocateMappedMemory(NumBytes, nullptr, 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, nullptr);
|
/external/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
H A D | AMDGPUAsmBackend.cpp | 123 unsigned NumBytes = getFixupKindNumBytes(Fixup.getKind()); local 132 assert(Offset + NumBytes <= DataSize && "Invalid fixup offset!"); 136 for (unsigned i = 0; i != NumBytes; ++i)
|
/external/llvm/lib/Target/PowerPC/MCTargetDesc/ |
H A D | PPCAsmBackend.cpp | 122 unsigned NumBytes = getFixupKindNumBytes(Fixup.getKind()); variable 127 for (unsigned i = 0; i != NumBytes; ++i) { 128 unsigned Idx = IsLittleEndian ? i : (NumBytes - 1 - i);
|
/external/llvm/lib/Support/Windows/ |
H A D | Memory.inc | 70 MemoryBlock Memory::allocateMappedMemory(size_t NumBytes, 75 if (NumBytes == 0) 90 const size_t NumBlocks = (NumBytes+Granularity-1)/Granularity; 109 return allocateMappedMemory(NumBytes, NULL, Flags, EC); 164 MemoryBlock Memory::AllocateRWX(size_t NumBytes, 169 MB = allocateMappedMemory(NumBytes, NearBlock,
|
/external/llvm/lib/Target/X86/ |
H A D | X86FrameLowering.cpp | 250 int64_t NumBytes, bool InEpilogue) const { 251 bool isSub = NumBytes < 0; 252 uint64_t Offset = isSub ? -NumBytes : NumBytes; 998 uint64_t NumBytes = 0; 1026 NumBytes = FrameSize - X86FI->getCalleeSavedFrameSize(); 1030 NumBytes = RoundUpToAlignment(NumBytes, MaxAlign); 1036 MFI->setOffsetAdjustment(-NumBytes); 1038 assert(MFI->getOffsetAdjustment() == -(int)NumBytes 248 emitSPUpdate(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, int64_t NumBytes, bool InEpilogue) const argument [all...] |
/external/llvm/lib/Target/SystemZ/ |
H A D | SystemZFrameLowering.cpp | 285 // Emit instructions before MBBI (in MBB) to add NumBytes to Reg. 289 unsigned Reg, int64_t NumBytes, 291 while (NumBytes) { 293 int64_t ThisVal = NumBytes; 294 if (isInt<16>(NumBytes)) 310 NumBytes -= ThisVal; 443 uint64_t NumBytes = Offset - 0x7fff8; local 445 NumBytes, ZII); 446 Offset -= NumBytes; 286 emitIncrement(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, const DebugLoc &DL, unsigned Reg, int64_t NumBytes, const TargetInstrInfo *TII) argument
|