Searched refs:Bytes (Results 1 - 25 of 51) sorted by relevance

123

/freebsd-9.3-release/contrib/llvm/include/llvm/Support/
H A DStringRefMemoryObject.h26 StringRef Bytes; member in class:llvm::StringRefMemoryObject
29 StringRefMemoryObject(StringRef Bytes, uint64_t Base = 0) argument
30 : Bytes(Bytes), Base(Base) {}
33 uint64_t getExtent() const LLVM_OVERRIDE { return Bytes.size(); }
H A DStreamableMemoryObject.h139 mutable std::vector<unsigned char> Bytes; member in class:llvm::StreamingMemoryObject
141 mutable size_t BytesRead; // Bytes read from stream
142 size_t BytesSkipped;// Bytes skipped at start of stream (e.g. wrapper/header)
154 Bytes.resize(BytesRead + BytesSkipped + kChunkSize);
155 size_t bytes = Streamer->GetBytes(&Bytes[BytesRead + BytesSkipped],
/freebsd-9.3-release/contrib/llvm/lib/Support/
H A Dcircular_raw_ostream.cpp26 unsigned Bytes = local
28 memcpy(Cur, Ptr, Bytes);
29 Size -= Bytes;
30 Cur += Bytes;
H A DStringRefMemoryObject.cpp17 *Byte = Bytes[Addr - Base];
27 memcpy(Buf, Bytes.data() + Offset, Size);
H A DStreamableMemoryObject.cpp105 *ptr = Bytes[address + BytesSkipped];
113 memcpy(buf, &Bytes[address + BytesSkipped], size);
126 Bytes.reserve(size);
137 Bytes(kChunkSize), Streamer(streamer), BytesRead(0), BytesSkipped(0),
139 BytesRead = streamer->GetBytes(&Bytes[0], kChunkSize);
/freebsd-9.3-release/usr.sbin/ctm/ctm/
H A Dctm_syntax.c22 #define Bytes CTM_F_Bytes macro
36 MD5|After|Chunk, Count, Bytes,0 };
40 MD5|Before|Force, MD5|After|Chunk, Count, Bytes,0 };
44 MD5|Before, MD5|After, Count, Bytes,0 };
/freebsd-9.3-release/contrib/llvm/tools/llvm-mc/
H A DDisassembler.cpp35 const ByteArrayTy &Bytes; member in class:__anon3546::VectorMemoryObject
37 VectorMemoryObject(const ByteArrayTy &bytes) : Bytes(bytes) {}
40 uint64_t getExtent() const { return Bytes.size(); }
45 *Byte = Bytes[Addr].first;
52 const ByteArrayTy &Bytes,
56 VectorMemoryObject memoryObject(Bytes);
62 for (Index = 0; Index < Bytes.size(); Index += Size) {
70 SM.PrintMessage(SMLoc::getFromPointer(Bytes[Index].second),
83 SM.PrintMessage(SMLoc::getFromPointer(Bytes[Index].second),
51 PrintInsts(const MCDisassembler &DisAsm, const ByteArrayTy &Bytes, SourceMgr &SM, raw_ostream &Out, MCStreamer &Streamer, bool InAtomicBlock) argument
/freebsd-9.3-release/contrib/llvm/lib/Target/SystemZ/
H A DSystemZSelectionDAGInfo.cpp97 uint64_t Bytes = CSize->getZExtValue(); local
98 if (Bytes == 0)
107 Bytes <= 16 && CountPopulation_64(Bytes) <= 2 :
108 Bytes <= 4) {
109 unsigned Size1 = Bytes == 16 ? 8 : 1 << findLastSet(Bytes);
110 unsigned Size2 = Bytes - Size1;
124 if (Bytes <= 2) {
127 if (Bytes
198 uint64_t Bytes = CSize->getZExtValue(); local
[all...]
/freebsd-9.3-release/contrib/llvm/lib/DebugInfo/
H A DDWARFDebugLoc.cpp65 unsigned Bytes = data.getU16(&Offset); local
67 StringRef str = data.getData().substr(Offset, Bytes);
68 Offset += Bytes;
/freebsd-9.3-release/contrib/llvm/lib/Target/Sparc/Disassembler/
H A DSparcDisassembler.cpp186 uint8_t Bytes[4]; local
188 // We want to read exactly 4 Bytes of data.
189 if (region.readBytes(address, 4, Bytes) == -1) {
195 insn = (Bytes[3] << 0) |
196 (Bytes[2] << 8) |
197 (Bytes[1] << 16) |
198 (Bytes[0] << 24);
/freebsd-9.3-release/sys/contrib/dev/acpica/utilities/
H A Dutmisc.c588 UINT8 Bytes[4]; member in union:__anon6217
593 UINT8 Bytes[4]; member in union:__anon6218
602 Out.Bytes[0] = In.Bytes[3];
603 Out.Bytes[1] = In.Bytes[2];
604 Out.Bytes[2] = In.Bytes[1];
605 Out.Bytes[3] = In.Bytes[
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Target/ARM/
H A DThumb1RegisterInfo.cpp143 static unsigned calcNumMI(int Opc, int ExtraOpc, unsigned Bytes, argument
149 unsigned ThisVal = (Bytes > Chunk) ? Chunk : Bytes;
150 Bytes -= ThisVal;
157 NumMIs += Bytes / Chunk;
158 if ((Bytes % Chunk) != 0)
175 unsigned Bytes = (unsigned)NumBytes;
176 if (isSub) Bytes = -NumBytes;
177 bool isMul4 = (Bytes & 3) == 0;
198 Bytes
[all...]
H A DARMLoadStoreOptimizer.cpp610 unsigned Bytes, unsigned Limit,
628 if (Bytes == 0 || (Limit && Bytes >= Limit))
634 (MI->getOperand(2).getImm()*Scale) == Bytes &&
643 unsigned Bytes, unsigned Limit,
660 if (Bytes == 0 || (Limit && Bytes >= Limit))
667 (MI->getOperand(2).getImm()*Scale) == Bytes &&
797 unsigned Bytes = getLSMultipleTransferSize(MI); local
819 isMatchingDecrement(PrevMBBI, Base, Bytes,
609 isMatchingDecrement(MachineInstr *MI, unsigned Base, unsigned Bytes, unsigned Limit, ARMCC::CondCodes Pred, unsigned PredReg) argument
642 isMatchingIncrement(MachineInstr *MI, unsigned Base, unsigned Bytes, unsigned Limit, ARMCC::CondCodes Pred, unsigned PredReg) argument
933 unsigned Bytes = getLSMultipleTransferSize(MI); local
1778 unsigned Bytes = getLSMultipleTransferSize(Op); local
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/AST/
H A DAttr.h67 void* operator new(size_t Bytes, ASTContext &C, argument
69 return ::operator new(Bytes, C, Alignment);
H A DAttrIterator.h26 void *operator new(size_t Bytes, const clang::ASTContext &C,
30 void *operator new[](size_t Bytes, const clang::ASTContext &C,
/freebsd-9.3-release/contrib/llvm/include/llvm-c/
H A DDisassembler.h197 * parameter Bytes, and contains at least BytesSize number of bytes. The
204 size_t LLVMDisasmInstruction(LLVMDisasmContextRef DC, uint8_t *Bytes,
/freebsd-9.3-release/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.h110 unsigned addBytes(unsigned char *Ptr, int Num, int Bytes) { argument
112 assert((curpos + Bytes) <= size);
117 for (int i = Num; i < Bytes; ++i) {
269 void bufferLEByte(const Constant *CPV, int Bytes, AggBuffer *aggBuffer);
H A DNVPTXAsmPrinter.cpp1783 void NVPTXAsmPrinter::bufferLEByte(const Constant *CPV, int Bytes, argument
1790 if (s < Bytes)
1791 s = Bytes;
1805 aggBuffer->addBytes(ptr, 1, Bytes);
1809 aggBuffer->addBytes(ptr, 2, Bytes);
1814 aggBuffer->addBytes(ptr, 4, Bytes);
1821 aggBuffer->addBytes(ptr, 4, Bytes);
1836 aggBuffer->addBytes(ptr, 8, Bytes);
1843 aggBuffer->addBytes(ptr, 8, Bytes);
1865 aggBuffer->addBytes(ptr, 4, Bytes);
1911 int Bytes; local
[all...]
/freebsd-9.3-release/contrib/llvm/tools/llvm-objdump/
H A DMachODump.cpp325 StringRef Bytes; local
326 Sections[SectIdx].getContents(Bytes);
327 StringRefMemoryObject memoryObject(Bytes);
413 DumpBytes(StringRef(Bytes.data() + Index, Length));
416 DumpDataInCode(Bytes.data() + Index, Length, Kind);
422 DumpBytes(StringRef(Bytes.data() + Index, Size));
456 DumpBytes(StringRef(Bytes.data() + Index, InstSize));
/freebsd-9.3-release/contrib/llvm/lib/MC/MCDisassembler/
H A DDisassembler.cpp129 uint8_t *Bytes; member in class:__anon2252::DisasmMemoryObject
134 Bytes(bytes), Size(size), BasePC(basePC) {}
142 *Byte = Bytes[Addr - BasePC];
257 // instruction are specified in the parameter Bytes, and contains at least
266 size_t LLVMDisasmInstruction(LLVMDisasmContextRef DCR, uint8_t *Bytes, argument
270 // Wrap the pointer to the Bytes, BytesSize and PC in a MemoryObject.
271 DisasmMemoryObject MemoryObject(Bytes, BytesSize, PC);
/freebsd-9.3-release/contrib/llvm/lib/Target/Mips/Disassembler/
H A DMipsDisassembler.cpp318 uint8_t Bytes[4]; local
320 // We want to read exactly 4 Bytes of data.
321 if (region.readBytes(address, 4, Bytes) == -1) {
328 insn = (Bytes[3] << 0) |
329 (Bytes[2] << 8) |
330 (Bytes[1] << 16) |
331 (Bytes[0] << 24);
339 insn = (Bytes[2] << 0) |
340 (Bytes[3] << 8) |
341 (Bytes[
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Target/SystemZ/Disassembler/
H A DSystemZDisassembler.cpp295 uint8_t Bytes[6];
297 if (Region.readBytes(Address, 2, Bytes) == -1)
302 if (Bytes[0] < 0x40) {
305 } else if (Bytes[0] < 0xc0) {
314 if (Size > 2 && Region.readBytes(Address + 2, Size - 2, Bytes + 2) == -1)
320 Inst = (Inst << 8) | Bytes[I];
/freebsd-9.3-release/contrib/llvm/include/llvm/MC/
H A DMCContext.h443 /// @param Bytes The number of bytes to allocate. Calculated by the compiler.
448 inline void *operator new(size_t Bytes, llvm::MCContext &C, argument
450 return C.Allocate(Bytes, Alignment);
477 /// @param Bytes The number of bytes to allocate. Calculated by the compiler.
482 inline void *operator new[](size_t Bytes, llvm::MCContext& C, argument
484 return C.Allocate(Bytes, Alignment);
/freebsd-9.3-release/contrib/llvm/lib/Target/XCore/Disassembler/
H A DXCoreDisassembler.cpp53 uint8_t Bytes[4]; local
55 // We want to read exactly 2 Bytes of data.
56 if (region.readBytes(address, 2, Bytes) == -1) {
61 insn = (Bytes[0] << 0) | (Bytes[1] << 8);
69 uint8_t Bytes[4]; local
71 // We want to read exactly 4 Bytes of data.
72 if (region.readBytes(address, 4, Bytes) == -1) {
77 insn = (Bytes[0] << 0) | (Bytes[
[all...]
/freebsd-9.3-release/contrib/llvm/utils/TableGen/
H A DDAGISelMatcherEmitter.cpp378 unsigned Bytes=1+EmitVBRValue(cast<CheckIntegerMatcher>(N)->getValue(), OS); local
380 return Bytes;
413 unsigned Bytes=1+EmitVBRValue(cast<CheckAndImmMatcher>(N)->getValue(), OS); local
415 return Bytes;
420 unsigned Bytes = 1+EmitVBRValue(cast<CheckOrImmMatcher>(N)->getValue(), OS); local
422 return Bytes;
433 unsigned Bytes = 2+EmitVBRValue(Val, OS); local
435 return Bytes;

Completed in 480 milliseconds

123