| /NextBSD/sys/contrib/dev/acpica/components/utilities/ |
| HD | utmisc.c | 141 UINT8 Bytes[4]; in AcpiUtDwordByteSwap() member 146 UINT8 Bytes[4]; in AcpiUtDwordByteSwap() member 155 Out.Bytes[0] = In.Bytes[3]; in AcpiUtDwordByteSwap() 156 Out.Bytes[1] = In.Bytes[2]; in AcpiUtDwordByteSwap() 157 Out.Bytes[2] = In.Bytes[1]; in AcpiUtDwordByteSwap() 158 Out.Bytes[3] = In.Bytes[0]; in AcpiUtDwordByteSwap()
|
| /NextBSD/contrib/llvm/lib/Target/SystemZ/ |
| HD | SystemZSelectionDAGInfo.cpp | 91 uint64_t Bytes = CSize->getZExtValue(); in EmitTargetCodeForMemset() local 92 if (Bytes == 0) in EmitTargetCodeForMemset() 101 Bytes <= 16 && countPopulation(Bytes) <= 2 : in EmitTargetCodeForMemset() 102 Bytes <= 4) { in EmitTargetCodeForMemset() 103 unsigned Size1 = Bytes == 16 ? 8 : 1 << findLastSet(Bytes); in EmitTargetCodeForMemset() 104 unsigned Size2 = Bytes - Size1; in EmitTargetCodeForMemset() 118 if (Bytes <= 2) { in EmitTargetCodeForMemset() 121 if (Bytes == 1) in EmitTargetCodeForMemset() 131 assert(Bytes >= 2 && "Should have dealt with 0- and 1-byte cases already"); in EmitTargetCodeForMemset() 137 Chain, Dst, Dst, Bytes); in EmitTargetCodeForMemset() [all …]
|
| /NextBSD/contrib/llvm/lib/Support/ |
| HD | circular_raw_ostream.cpp | 26 unsigned Bytes = in write_impl() local 28 memcpy(Cur, Ptr, Bytes); in write_impl() 29 Size -= Bytes; in write_impl() 30 Cur += Bytes; in write_impl()
|
| HD | StreamingMemoryObject.cpp | 103 memcpy(Buf, &Bytes[Address + BytesSkipped], Size); in readBytes() 116 Bytes.reserve(size); in setKnownObjectSize() 128 : Bytes(kChunkSize), Streamer(std::move(Streamer)), BytesRead(0), in StreamingMemoryObject() 130 BytesRead = this->Streamer->GetBytes(&Bytes[0], kChunkSize); in StreamingMemoryObject()
|
| /NextBSD/contrib/llvm/lib/DebugInfo/DWARF/ |
| HD | DWARFDebugLoc.cpp | 66 unsigned Bytes = data.getU16(&Offset); in parse() local 68 StringRef str = data.getData().substr(Offset, Bytes); in parse() 69 Offset += Bytes; in parse() 99 unsigned Bytes = data.getU16(&Offset); in parse() local 101 StringRef str = data.getData().substr(Offset, Bytes); in parse() 102 Offset += Bytes; in parse()
|
| /NextBSD/contrib/llvm/tools/llvm-mc/ |
| HD | Disassembler.cpp | 35 const ByteArrayTy &Bytes, in PrintInsts() argument 39 ArrayRef<uint8_t> Data(Bytes.first.data(), Bytes.first.size()); in PrintInsts() 45 for (Index = 0; Index < Bytes.first.size(); Index += Size) { in PrintInsts() 53 SM.PrintMessage(SMLoc::getFromPointer(Bytes.second[Index]), in PrintInsts() 66 SM.PrintMessage(SMLoc::getFromPointer(Bytes.second[Index]), in PrintInsts()
|
| /NextBSD/usr.sbin/ctm/ctm/ |
| HD | ctm_syntax.c | 22 #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 };
|
| /NextBSD/contrib/llvm/lib/Target/Sparc/Disassembler/ |
| HD | SparcDisassembler.cpp | 40 ArrayRef<uint8_t> Bytes, uint64_t Address, 230 static DecodeStatus readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t Address, in readInstruction32() argument 234 if (Bytes.size() < 4) { in readInstruction32() 240 ? (Bytes[0] << 0) | (Bytes[1] << 8) | (Bytes[2] << 16) | in readInstruction32() 241 (Bytes[3] << 24) in readInstruction32() 242 : (Bytes[3] << 0) | (Bytes[2] << 8) | (Bytes[1] << 16) | in readInstruction32() 243 (Bytes[0] << 24); in readInstruction32() 249 ArrayRef<uint8_t> Bytes, in getInstruction() argument 256 readInstruction32(Bytes, Address, Size, Insn, isLittleEndian); in getInstruction()
|
| /NextBSD/contrib/llvm/include/llvm/Support/ |
| HD | StreamingMemoryObject.h | 55 mutable std::vector<unsigned char> Bytes; variable 72 Bytes.resize(BytesRead + BytesSkipped + kChunkSize); in fetchToPos() 73 size_t bytes = Streamer->GetBytes(&Bytes[BytesRead + BytesSkipped], in fetchToPos()
|
| /NextBSD/contrib/llvm/lib/Target/ARM/ |
| HD | ThumbRegisterInfo.cpp | 188 unsigned Bytes = (unsigned)NumBytes; in emitThumbRegPlusImmediate() local 189 if (isSub) Bytes = -NumBytes; in emitThumbRegPlusImmediate() 262 assert(((Bytes & 3) == 0 || ExtraScale == 1) && in emitThumbRegPlusImmediate() 267 if (CopyOpc && Bytes < CopyScale) { in emitThumbRegPlusImmediate() 275 unsigned RangeAfterCopy = (CopyRange > Bytes) ? 0 : (Bytes - CopyRange); in emitThumbRegPlusImmediate() 303 unsigned CopyImm = std::min(Bytes, CopyRange) / CopyScale; in emitThumbRegPlusImmediate() 304 Bytes -= CopyImm * CopyScale; in emitThumbRegPlusImmediate() 319 while (Bytes) { in emitThumbRegPlusImmediate() 320 unsigned ExtraImm = std::min(Bytes, ExtraRange) / ExtraScale; in emitThumbRegPlusImmediate() 321 Bytes -= ExtraImm * ExtraScale; in emitThumbRegPlusImmediate()
|
| HD | ARMLoadStoreOptimizer.cpp | 999 unsigned Bytes, unsigned Limit, in isMatchingDecrement() argument 1018 if (Bytes == 0 || (Limit && Bytes >= Limit)) in isMatchingDecrement() 1025 (MI->getOperand(2).getImm() * Scale) == Bytes && in isMatchingDecrement() 1034 unsigned Bytes, unsigned Limit, in isMatchingIncrement() argument 1052 if (Bytes == 0 || (Limit && Bytes >= Limit)) in isMatchingIncrement() 1060 (MI->getOperand(2).getImm() * Scale) == Bytes && in isMatchingIncrement() 1154 unsigned Bytes = getLSMultipleTransferSize(MI); in MergeBaseUpdateLSMultiple() local 1178 isMatchingDecrement(PrevMBBI, Base, Bytes, 0, Pred, PredReg)) { in MergeBaseUpdateLSMultiple() 1182 isMatchingDecrement(PrevMBBI, Base, Bytes, 0, Pred, PredReg)) { in MergeBaseUpdateLSMultiple() 1197 isMatchingIncrement(NextMBBI, Base, Bytes, 0, Pred, PredReg)) { in MergeBaseUpdateLSMultiple() [all …]
|
| /NextBSD/contrib/llvm/lib/Target/XCore/Disassembler/ |
| HD | XCoreDisassembler.cpp | 39 ArrayRef<uint8_t> Bytes, uint64_t Address, 45 static bool readInstruction16(ArrayRef<uint8_t> Bytes, uint64_t Address, in readInstruction16() argument 48 if (Bytes.size() < 2) { in readInstruction16() 53 Insn = (Bytes[0] << 0) | (Bytes[1] << 8); in readInstruction16() 57 static bool readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t Address, in readInstruction32() argument 60 if (Bytes.size() < 4) { in readInstruction32() 66 (Bytes[0] << 0) | (Bytes[1] << 8) | (Bytes[2] << 16) | (Bytes[3] << 24); in readInstruction32() 739 MCInst &instr, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address, in getInstruction() argument 743 if (!readInstruction16(Bytes, Address, Size, insn16)) { in getInstruction() 757 if (!readInstruction32(Bytes, Address, Size, insn32)) { in getInstruction()
|
| /NextBSD/contrib/llvm/lib/Target/Mips/Disassembler/ |
| HD | MipsDisassembler.cpp | 58 ArrayRef<uint8_t> Bytes, uint64_t Address, 769 static DecodeStatus readInstruction16(ArrayRef<uint8_t> Bytes, uint64_t Address, in readInstruction16() argument 773 if (Bytes.size() < 2) { in readInstruction16() 779 Insn = (Bytes[0] << 8) | Bytes[1]; in readInstruction16() 781 Insn = (Bytes[1] << 8) | Bytes[0]; in readInstruction16() 789 static DecodeStatus readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t Address, in readInstruction32() argument 793 if (Bytes.size() < 4) { in readInstruction32() 809 (Bytes[3] << 0) | (Bytes[2] << 8) | (Bytes[1] << 16) | (Bytes[0] << 24); in readInstruction32() 812 Insn = (Bytes[2] << 0) | (Bytes[3] << 8) | (Bytes[0] << 16) | in readInstruction32() 813 (Bytes[1] << 24); in readInstruction32() [all …]
|
| /NextBSD/contrib/llvm/include/llvm/IR/ |
| HD | Attributes.h | 143 uint64_t Bytes); 145 uint64_t Bytes); 305 uint64_t Bytes) const; 311 uint64_t Bytes) const; 532 AttrBuilder &addDereferenceableAttr(uint64_t Bytes); 536 AttrBuilder &addDereferenceableOrNullAttr(uint64_t Bytes);
|
| /NextBSD/contrib/llvm/lib/Target/SystemZ/Disassembler/ |
| HD | SystemZDisassembler.cpp | 31 ArrayRef<uint8_t> Bytes, uint64_t Address, 347 ArrayRef<uint8_t> Bytes, in getInstruction() argument 353 if (Bytes.size() < 2) in getInstruction() 358 if (Bytes[0] < 0x40) { in getInstruction() 361 } else if (Bytes[0] < 0xc0) { in getInstruction() 370 if (Bytes.size() < Size) in getInstruction() 376 Inst = (Inst << 8) | Bytes[I]; in getInstruction()
|
| /NextBSD/contrib/llvm/utils/TableGen/ |
| HD | DAGISelMatcherEmitter.cpp | 377 unsigned Bytes=1+EmitVBRValue(cast<CheckIntegerMatcher>(N)->getValue(), OS); in EmitMatcher() local 379 return Bytes; in EmitMatcher() 384 unsigned Bytes=1+EmitVBRValue(cast<CheckChildIntegerMatcher>(N)->getValue(), in EmitMatcher() local 387 return Bytes; in EmitMatcher() 420 unsigned Bytes=1+EmitVBRValue(cast<CheckAndImmMatcher>(N)->getValue(), OS); in EmitMatcher() local 422 return Bytes; in EmitMatcher() 427 unsigned Bytes = 1+EmitVBRValue(cast<CheckOrImmMatcher>(N)->getValue(), OS); in EmitMatcher() local 429 return Bytes; in EmitMatcher() 440 unsigned Bytes = 2+EmitVBRValue(Val, OS); in EmitMatcher() local 442 return Bytes; in EmitMatcher()
|
| /NextBSD/contrib/llvm/lib/IR/ |
| HD | Attributes.cpp | 92 uint64_t Bytes) { in getWithDereferenceableBytes() argument 93 assert(Bytes && "Bytes must be non-zero."); in getWithDereferenceableBytes() 94 return get(Context, Dereferenceable, Bytes); in getWithDereferenceableBytes() 98 uint64_t Bytes) { in getWithDereferenceableOrNullBytes() argument 99 assert(Bytes && "Bytes must be non-zero."); in getWithDereferenceableOrNullBytes() 100 return get(Context, DereferenceableOrNull, Bytes); in getWithDereferenceableOrNullBytes() 908 uint64_t Bytes) const { in addDereferenceableAttr() 910 B.addDereferenceableAttr(Bytes); in addDereferenceableAttr() 916 uint64_t Bytes) const { in addDereferenceableOrNullAttr() 918 B.addDereferenceableOrNullAttr(Bytes); in addDereferenceableOrNullAttr() [all …]
|
| /NextBSD/contrib/llvm/tools/llvm-objdump/ |
| HD | llvm-objdump.cpp | 227 ArrayRef<uint8_t> Bytes, uint64_t Address, in printInst() argument 233 dumpBytes(Bytes, outs()); in printInst() 241 void printLead(ArrayRef<uint8_t> Bytes, uint64_t Address, in printLead() argument 244 (Bytes[3] << 24) | (Bytes[2] << 16) | (Bytes[1] << 8) | Bytes[0]; in printLead() 248 dumpBytes(Bytes.slice(0, 4), OS); in printLead() 253 ArrayRef<uint8_t> Bytes, uint64_t Address, in printInst() argument 271 printLead(Bytes, Address, OS); in printInst() 284 Bytes = Bytes.slice(4); in printInst() 906 ArrayRef<uint8_t> Bytes(reinterpret_cast<const uint8_t *>(BytesStr.data()), in DisassembleObject() 935 if (DisAsm->getInstruction(Inst, Size, Bytes.slice(Index), in DisassembleObject() [all …]
|
| /NextBSD/contrib/llvm/lib/Target/NVPTX/ |
| HD | NVPTXAsmPrinter.h | 110 unsigned addBytes(unsigned char *Ptr, int Num, int Bytes) { in addBytes() argument 112 assert((curpos + Bytes) <= size); in addBytes() 117 for (int i = Num; i < Bytes; ++i) { in addBytes() 288 void bufferLEByte(const Constant *CPV, int Bytes, AggBuffer *aggBuffer);
|
| HD | NVPTXAsmPrinter.cpp | 1786 void NVPTXAsmPrinter::bufferLEByte(const Constant *CPV, int Bytes, in bufferLEByte() argument 1793 if (s < Bytes) in bufferLEByte() 1794 s = Bytes; in bufferLEByte() 1807 aggBuffer->addBytes(ptr, 1, Bytes); in bufferLEByte() 1811 aggBuffer->addBytes(ptr, 2, Bytes); in bufferLEByte() 1816 aggBuffer->addBytes(ptr, 4, Bytes); in bufferLEByte() 1823 aggBuffer->addBytes(ptr, 4, Bytes); in bufferLEByte() 1838 aggBuffer->addBytes(ptr, 8, Bytes); in bufferLEByte() 1845 aggBuffer->addBytes(ptr, 8, Bytes); in bufferLEByte() 1867 aggBuffer->addBytes(ptr, 4, Bytes); in bufferLEByte() [all …]
|
| /NextBSD/contrib/llvm/lib/Target/X86/Disassembler/ |
| HD | X86Disassembler.cpp | 99 ArrayRef<uint8_t> Bytes; member 101 Region(ArrayRef<uint8_t> Bytes, uint64_t Base) : Bytes(Bytes), Base(Base) {} in Region() 112 ArrayRef<uint8_t> Bytes = R->Bytes; in regionReader() local 114 if (Bytes.size() <= Index) in regionReader() 116 *Byte = Bytes[Index]; in regionReader() 139 MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address, in getInstruction() argument 149 Region R(Bytes, Address); in getInstruction()
|
| /NextBSD/contrib/llvm/lib/Target/Hexagon/Disassembler/ |
| HD | HexagonDisassembler.cpp | 48 ArrayRef<uint8_t> Bytes, uint64_t Address, 52 ArrayRef<uint8_t> Bytes, uint64_t Address, 229 ArrayRef<uint8_t> Bytes, in getInstruction() argument 241 if (Bytes.size() < HEXAGON_INSTR_SIZE) in getInstruction() 244 Result = getSingleInstruction(*Inst, MI, Bytes, Address, os, cs, Complete); in getInstruction() 247 Bytes = Bytes.slice(HEXAGON_INSTR_SIZE); in getInstruction() 253 MCInst &MI, MCInst &MCB, ArrayRef<uint8_t> Bytes, uint64_t Address, in getSingleInstruction() argument 255 assert(Bytes.size() >= HEXAGON_INSTR_SIZE); in getSingleInstruction() 259 llvm::support::unaligned>(Bytes.data()); in getSingleInstruction()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/AST/ |
| HD | AttrIterator.h | 26 void *operator new(size_t Bytes, const clang::ASTContext &C, 30 void *operator new[](size_t Bytes, const clang::ASTContext &C,
|
| HD | Attr.h | 68 void* operator new(size_t Bytes, ASTContext &C, 70 return ::operator new(Bytes, C, Alignment); in throw()
|
| /NextBSD/sys/contrib/dev/acpica/compiler/ |
| HD | aslmain.c | 100 UINT8 Bytes[4]; in AcpiIsBigEndianMachine() member 103 return (Overlay.Bytes[0]); /* Returns 0xFF (TRUE) for big endian */ in AcpiIsBigEndianMachine()
|