| /llvm-project-15.0.7/llvm/test/DebugInfo/PDB/ |
| H A D | module-stats.test | 5 ALL-NEXT: Stream 12, 308 bytes 7 ALL-NEXT: Total: 6 entries ( 204 bytes) 9 ALL-NEXT: S_COMPILE3: 1 entries ( 60 bytes) 10 ALL-NEXT: S_OBJNAME: 1 entries ( 56 bytes) 11 ALL-NEXT: S_GPROC32: 1 entries ( 44 bytes) 12 ALL-NEXT: S_FRAMEPROC: 1 entries ( 32 bytes) 13 ALL-NEXT: S_BUILDINFO: 1 entries ( 8 bytes) 14 ALL-NEXT: S_END: 1 entries ( 4 bytes) 16 ALL-NEXT: Total: 2 entries ( 88 bytes) 21 ALL-NEXT: Stream 14, 520 bytes [all …]
|
| H A D | type-stats.test | 7 ALL-NEXT: Total: 75 entries ( 5,336 bytes, 71.15 avg) 9 ALL-NEXT: LF_FIELDLIST: 14 entries ( 1,956 bytes, 139.71 avg) 10 ALL-NEXT: LF_STRUCTURE: 14 entries ( 1,584 bytes, 113.14 avg) 11 ALL-NEXT: LF_ENUM: 8 entries ( 988 bytes, 123.50 avg) 12 ALL-NEXT: LF_MFUNCTION: 14 entries ( 392 bytes, 28.00 avg) 13 ALL-NEXT: LF_ARGLIST: 10 entries ( 176 bytes, 17.60 avg) 14 ALL-NEXT: LF_METHODLIST: 5 entries ( 116 bytes, 23.20 avg) 15 ALL-NEXT: LF_POINTER: 8 entries ( 96 bytes, 12.00 avg) 16 ALL-NEXT: LF_PROCEDURE: 1 entries ( 16 bytes, 16.00 avg) 17 ALL-NEXT: LF_MODIFIER: 1 entries ( 12 bytes, 12.00 avg)
|
| H A D | pdbdump-raw-stream.test | 1 ; RUN: llvm-pdbutil bytes -stream-data=1 %p/Inputs/empty.pdb | FileCheck --check-prefix=STREAM %s 3 ; RUN: llvm-pdbutil bytes -stream-data=1,100 %p/Inputs/empty.pdb 2>&1 | FileCheck --check-prefix=BO… 5 ; RUN: llvm-pdbutil bytes -stream-data=1:10 %p/Inputs/empty.pdb | FileCheck --check-prefix=OFFSET %s 6 ; RUN: llvm-pdbutil bytes -stream-data=1@20 %p/Inputs/empty.pdb | FileCheck --check-prefix=SIZED %s 7 ; RUN: llvm-pdbutil bytes -stream-data=1:8@20 %p/Inputs/empty.pdb | FileCheck --check-prefix=SLICE … 13 STREAM-NEXT: Stream 1: PDB Stream (dumping 118 / 118 bytes) 27 BOTH-NEXT: Stream 1: PDB Stream (dumping 118 / 118 bytes) 38 OFFSET-NEXT: Stream 1: PDB Stream (dumping 108 / 118 bytes) 48 SIZED-NEXT: Stream 1: PDB Stream (dumping 20 / 118 bytes) 55 SLICE-NEXT: Stream 1: PDB Stream (dumping 20 / 118 bytes) [all …]
|
| /llvm-project-15.0.7/flang/lib/Parser/ |
| H A D | characters.cpp | 72 result.bytes = 1; in EncodeCharacter() 81 result.bytes = 1; in EncodeCharacter() 85 result.bytes = 2; in EncodeCharacter() 90 result.bytes = 3; in EncodeCharacter() 98 result.bytes = 4; in EncodeCharacter() 149 if (bytes >= 1) { in DecodeRawCharacter() 226 code.bytes = count[code.bytes - 1]; in DecodeEscapedCharacters() 264 for (auto bytes{s.size()}; bytes != 0;) { in DecodeString() local 268 if (static_cast<std::size_t>(decoded.bytes) <= bytes) { in DecodeString() 270 bytes -= decoded.bytes; in DecodeString() [all …]
|
| /llvm-project-15.0.7/openmp/libomptarget/plugins/amdgpu/impl/ |
| H A D | msgpack.h | 54 void cb_array_elements(byte_range bytes) { in cb_array_elements() argument 55 derived().handle_array_elements(bytes); in cb_array_elements() 64 return derived().handle_map(N, bytes); in cb_map() 81 const unsigned char *next = skip_next_message(bytes.start, bytes.end); in handle_array() 85 cb_array_elements(bytes); in handle_array() 86 bytes.start = next; in handle_array() 88 return bytes.start; in handle_array() 104 bytes.start = end_value; in handle_map() 106 return bytes.start; in handle_map() 128 const unsigned char *end = bytes.end; in handle_msgpack_given_type() [all …]
|
| H A D | msgpack.cpp | 181 bool message_is_string(byte_range bytes, const char *needle) { in message_is_string() argument 195 void dump(byte_range bytes) { in dump() argument 201 void handle_string(size_t N, const unsigned char *bytes) { in dump() 203 memcpy(tmp, bytes, N); in dump() 222 bytes.start = next; in dump() 230 return bytes.start; in dump() 233 const unsigned char *handle_map(uint64_t N, byte_range bytes) { in dump() 238 const unsigned char *start_key = bytes.start; in dump() 257 bytes.start = end_value; in dump() 263 return bytes.start; in dump() [all …]
|
| /llvm-project-15.0.7/lldb/unittests/Utility/ |
| H A D | StreamTest.cpp | 376 std::size_t bytes; in TEST_F() local 378 EXPECT_EQ(2U, bytes); in TEST_F() 380 EXPECT_EQ(4U, bytes); in TEST_F() 382 EXPECT_EQ(8U, bytes); in TEST_F() 390 std::size_t bytes; in TEST_F() local 392 EXPECT_EQ(2U, bytes); in TEST_F() 394 EXPECT_EQ(4U, bytes); in TEST_F() 396 EXPECT_EQ(8U, bytes); in TEST_F() 537 EXPECT_EQ(1U, bytes); in TEST_F() 544 EXPECT_EQ(2U, bytes); in TEST_F() [all …]
|
| /llvm-project-15.0.7/llvm/utils/ |
| H A D | codegen-diff | 13 my ($addr, $bytes, $instr) = ($1, $2, $4); 15 $bytes =~ s/\s*(.*\S)\s*/$1/; # trim any remaining whitespace 18 print "addr=$addr bytes='$bytes' instr='$instr'\n" if $DEBUG; 33 my ($addr, $bytes, $instr) = ($1, $3, $2); 34 $bytes =~ s/0x//g; 35 $bytes =~ s/\s+/ /g; # regularize whitespace 36 $bytes =~ s/\s*(.*\S)\s*/$1/; # trim any remaining whitespace 39 print "addr=$addr bytes='$bytes' instr='$instr'\n" if $DEBUG; 43 my ($addr, $bytes, $instr) = ($got_addr, $2, $1); 44 $bytes =~ s/0x//g; [all …]
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | ELFAttributeParserTest.cpp | 34 Error e = parser.parse(bytes, support::little); in testParseError() 39 static const uint8_t bytes[] = {1}; in TEST() local 40 testParseError(bytes, "unrecognized format-version: 0x1"); in TEST() 44 static const uint8_t bytes[] = {'A', 3, 0, 0, 0}; in TEST() local 45 testParseError(bytes, "invalid section length 3 at offset 0x1"); in TEST() 49 static const uint8_t bytes[] = {'A', 7, 0, 0, 0, 'x', 'y', 0}; in TEST() local 50 testParseError(bytes, "unrecognized vendor-name: xy"); in TEST() 54 static const uint8_t bytes[] = {'A', 14, 0, 0, 0, 't', 'e', 's', in TEST() local 56 testParseError(bytes, "unrecognized tag 0x4 at offset 0xa"); in TEST() 60 static const uint8_t bytes[] = {'A', 14, 0, 0, 0, 't', 'e', 's', in TEST() local [all …]
|
| /llvm-project-15.0.7/flang/unittests/Runtime/ |
| H A D | BufferTest.cpp | 24 explicit Store(std::size_t bytes = 65536) : bytes_{bytes} { in Store() argument 25 data_.reset(new char[bytes]); 26 std::memset(&data_[0], 0, bytes); 28 std::size_t bytes() const { return bytes_; } in bytes() function in Store 56 static_cast<int>(bytes)); in Write() 58 std::memcpy(&data_[at], from, bytes); in Write() 59 expect_ = at + bytes; in Write() 60 return bytes; in Write() 87 const auto bytes{static_cast<FileOffset>(store.bytes())}; in TEST() local 90 while (at < bytes) { in TEST() [all …]
|
| /llvm-project-15.0.7/lld/test/MachO/ |
| H A D | arm64-thunk-starvation.s | 17 ## 6 * 4 = 24 bytes for branches 18 ## Currently leaves 12 bytes for one thunk, so 36 bytes. 19 ## Uses < instead of <=, so 40 bytes. 26 ## both spacers when processing _f1 (24 bytes for the 4 bytes code for each 27 ## of the 6 _f functions, 12 bytes for one thunk, 4 bytes because the forward 28 ## branch range is 128 Mib - 4 bytes, and another 4 bytes because the algorithm 29 ## uses `<` instead of `<=`, for a total of 44 bytes slop.) Of the slop, 20 30 ## bytes are actually room for thunks. 32 ## But when a thunk is inserted to jump from _f1 to _fn1, that needs 12 bytes 33 ## but _f2 is only 4 bytes later, so after _f1 there are only [all …]
|
| /llvm-project-15.0.7/flang/include/flang/Evaluate/ |
| H A D | initial-image.h | 32 explicit InitialImage(std::size_t bytes) : data_(bytes) {} in InitialImage() argument 44 if (offset < 0 || offset + bytes > data_.size()) { in Add() 49 bytes != in Add() 52 } else if (bytes == 0) { in Add() 56 std::memcpy(&data_.at(offset), &x.values().at(0), bytes); in Add() 62 Result Add(ConstantSubscript offset, std::size_t bytes, in Add() argument 65 if (offset < 0 || offset + bytes > data_.size()) { in Add() 69 auto elementBytes{bytes > 0 ? bytes / elements : 0}; in Add() 70 if (elements * elementBytes != bytes) { in Add() 72 } else if (bytes == 0) { in Add() [all …]
|
| /llvm-project-15.0.7/lldb/include/lldb/Utility/ |
| H A D | UUID.h | 45 static UUID fromData(const void *bytes, uint32_t num_bytes) { in fromData() argument 46 if (bytes) in fromData() 47 return fromData({reinterpret_cast<const uint8_t *>(bytes), num_bytes}); in fromData() 53 static UUID fromData(llvm::ArrayRef<uint8_t> bytes) { return UUID(bytes); } in fromData() argument 57 static UUID fromOptionalData(const void *bytes, uint32_t num_bytes) { in fromOptionalData() argument 58 if (bytes) in fromOptionalData() 60 {reinterpret_cast<const uint8_t *>(bytes), num_bytes}); in fromOptionalData() 66 static UUID fromOptionalData(llvm::ArrayRef<uint8_t> bytes) { in fromOptionalData() argument 67 if (llvm::all_of(bytes, [](uint8_t b) { return b == 0; })) in fromOptionalData() 69 return UUID(bytes); in fromOptionalData() [all …]
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | padding_message.cpp | 4 Excessive padding in 'struct IntSandwich' (6 padding bytes, where 2 is optimal). \ 17 Excessive padding in 'struct TurDuckHen' (6 padding bytes, where 2 is optimal). \ 32 Excessive padding in 'struct SmallIntSandwich' (4 padding bytes, where 0 is optimal). \ 60 Excessive padding in 'struct HoldsAUnion' (6 padding bytes, where 2 is optimal). \ 81 Excessive padding in 'struct StructSandwich' (6 padding bytes, where 2 is optimal). \ 94 Excessive padding in 'TypedefSandwich' (6 padding bytes, where 2 is optimal). \ 107 Excessive padding in 'struct StructAttrAlign' (10 padding bytes, where 2 is optimal). \ 149 Excessive padding in 'struct X' (6 padding bytes, where 2 is optimal). \ in internalStructFunc() 165 Excessive padding in 'S' (6 padding bytes, where 2 is optimal). \ in typedefStructFunc() 238 Excessive padding in 'class InnerPaddedB' (6 padding bytes, where 2 is optimal). \ [all …]
|
| /llvm-project-15.0.7/flang/runtime/ |
| H A D | buffer.h | 67 FileOffset at, std::size_t bytes, IoErrorHandler &handler) { in ReadFrame() argument 69 Reallocate(bytes, handler); in ReadFrame() 79 MakeDataContiguous(handler, bytes); in ReadFrame() 82 if (FrameLength() < bytes) { in ReadFrame() 85 auto minBytes{bytes - FrameLength()}; in ReadFrame() 96 Reallocate(bytes, handler); in WriteFrame() 104 MakeDataContiguous(handler, bytes); in WriteFrame() 110 length_ = std::max<std::int64_t>(length_, frame_ + bytes); in WriteFrame() 144 if (bytes > size_) { in Reallocate() 147 size_ = std::max<std::int64_t>(bytes, size_ + minBuffer); in Reallocate() [all …]
|
| /llvm-project-15.0.7/mlir/lib/AsmParser/ |
| H A D | Token.cpp | 84 StringRef bytes = getSpelling().drop_front(); in getStringValue() local 86 bytes = bytes.drop_back(); in getStringValue() 88 bytes = bytes.drop_front(); in getStringValue() 92 result.reserve(bytes.size()); in getStringValue() 93 for (unsigned i = 0, e = bytes.size(); i != e;) { in getStringValue() 94 auto c = bytes[i++]; in getStringValue() 101 auto c1 = bytes[i++]; in getStringValue() 118 auto c2 = bytes[i++]; in getStringValue() 133 StringRef bytes = getSpelling().drop_front().drop_back(); in getHexStringValue() local 139 if (!bytes.consume_front("0x") || (bytes.size() & 1) || in getHexStringValue() [all …]
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-readobj/ELF/ |
| H A D | dynamic-tags.test | 15 # LLVM64-NEXT: 0x0000000000000002 PLTRELSZ 16 (bytes) 306 # LLVM32-NEXT: 0x00000002 PLTRELSZ 16 (bytes) 312 # LLVM32-NEXT: 0x00000008 RELASZ 16 (bytes) 314 # LLVM32-NEXT: 0x0000000A STRSZ 16 (bytes) 322 # LLVM32-NEXT: 0x00000012 RELSZ 16 (bytes) 331 # LLVM32-NEXT: 0x0000001B INIT_ARRAYSZ 16 (bytes) 332 # LLVM32-NEXT: 0x0000001C FINI_ARRAYSZ 16 (bytes) 336 # LLVM32-NEXT: 0x00000021 PREINIT_ARRAYSZ 16 (bytes) 338 # LLVM32-NEXT: 0x00000023 RELRSZ 16 (bytes) 342 # LLVM32-NEXT: 0x60000010 ANDROID_RELSZ 16 (bytes) [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/ |
| H A D | memset-03.ll | 8 ; No bytes, i32 version. 17 ; No bytes, i64 version. 44 ; 2 bytes, i32 version. 53 ; 2 bytes, i64 version. 62 ; 3 bytes, i32 version. 72 ; 3 bytes, i64 version. 82 ; 4 bytes, i32 version. 91 ; 4 bytes, i64 version. 100 ; 5 bytes, i32 version. 110 ; 5 bytes, i64 version. [all …]
|
| H A D | memset-04.ll | 8 ; No bytes, i32 version. 17 ; No bytes, i64 version. 44 ; 2 bytes, i32 version. 53 ; 2 bytes, i64 version. 62 ; 3 bytes, i32 version. 72 ; 3 bytes, i64 version. 82 ; 4 bytes, i32 version. 91 ; 4 bytes, i64 version. 100 ; 5 bytes, i32 version. 110 ; 5 bytes, i64 version. [all …]
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/PDB/DIA/ |
| H A D | pdbdump-linenumbers.test | 5 ; LINE_NUMS_FPO: Line 5, Address: [0x000011a0 - 0x000011a5] (6 bytes) 6 ; LINE_NUMS_FPO: Line 6, Address: [0x000011a6 - 0x000011a6] (1 bytes) 9 ; LINE_NUMS: Line 6, Address: [0x00001060 - 0x00001066] (7 bytes) 10 ; LINE_NUMS: Line 80, Address: [0x000010d0 - 0x000010d1] (2 bytes) 11 ; LINE_NUMS: Line 81, Address: [0x000010d2 - 0x000010d5] (4 bytes) 12 ; LINE_NUMS: Line 28, Address: [0x00001170 - 0x0000117a] (11 bytes) 13 ; LINE_NUMS: Line 21, Address: [0x00001180 - 0x0000118a] (11 bytes) 14 ; LINE_NUMS: Line 20, Address: [0x00001190 - 0x0000119a] (11 bytes)
|
| /llvm-project-15.0.7/llvm/test/Transforms/Util/ |
| H A D | trivial-auto-var-init-call.ll | 332 ; CHECK-NEXT: Variables: dst (1 bytes). 364 ; CHECK-NEXT: Variables: dst (1 bytes). 395 ; CHECK-NEXT: Variables: dst (1 bytes). 554 ; CHECK-NEXT: Variables: dst2 (1 bytes), dst (1 bytes). 568 ; CHECK-NEXT: Variables: dst2 (1 bytes), dst (1 bytes). 571 ; CHECK-NEXT: Variables: dst2 (1 bytes), dst (1 bytes). 574 ; CHECK-NEXT: Variables: dst2 (1 bytes), dst (1 bytes). 584 ; CHECK-NEXT: Variables: dst2 (1 bytes), destination2 (1 bytes), destination (1 bytes). 600 ; CHECK-NEXT: Variables: dst2 (1 bytes), destination2 (1 bytes), destination (1 bytes). 603 ; CHECK-NEXT: Variables: dst2 (1 bytes), destination2 (1 bytes), destination (1 bytes). [all …]
|
| H A D | trivial-auto-var-init-store.ll | 7 ; CHECK-NEXT: Store size: 4 bytes. 82 ; CHECK-NEXT: Store size: 4 bytes. 115 ; CHECK-NEXT: Store size: 4 bytes. 126 ; CHECK-NEXT: Store size: 4 bytes. 139 ; CHECK-NEXT: Store size: 4 bytes. 150 ; CHECK-NEXT: Store size: 4 bytes. 162 ; CHECK-NEXT: Store size: 4 bytes. 174 ; CHECK-NEXT: Store size: 4 bytes. 175 ; CHECK-NEXT: Variables: destination2 (4 bytes), destination (4 bytes). 188 ; CHECK-NEXT: Variables: dst2 (4 bytes), dst (4 bytes). [all …]
|
| /llvm-project-15.0.7/lldb/source/Utility/ |
| H A D | RegisterValue.cpp | 201 memset(buffer.bytes, 0, sizeof(buffer.bytes)); in SetValueFromData() 287 std::vector<uint8_t> bytes; in ParseVectorEncoding() local 294 bytes.push_back(byte); in ParseVectorEncoding() 299 if (bytes.size() != byte_size) in ParseVectorEncoding() 499 ::memcpy(buffer.bytes, rhs.buffer.bytes, kMaxRegisterByteSize); in CopyValue() 705 m_scalar.GetBytes(buffer.bytes); in GetBytes() 706 return buffer.bytes; in GetBytes() 708 return buffer.bytes; in GetBytes() 757 if (bytes && length > 0) { in SetBytes() 762 memcpy(buffer.bytes, bytes, length); in SetBytes() [all …]
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-pdbutil/ |
| H A D | stripped.test | 24 ; CHECK-NEXT: Stream 0 ( 88 bytes): [Old MSF Directory] 26 ; CHECK-NEXT: Stream 1 ( 78 bytes): [PDB Stream] 28 ; CHECK-NEXT: Stream 2 ( 56 bytes): [TPI Stream] 30 ; CHECK-NEXT: Stream 3 (1355 bytes): [DBI Stream] 32 ; CHECK-NEXT: Stream 4 ( 56 bytes): [IPI Stream] 36 ; CHECK-NEXT: Stream 6 ( 200 bytes): [Section Header Data] 38 ; CHECK-NEXT: Stream 7 ( 16 bytes): [Global Symbol Hash] 40 ; CHECK-NEXT: Stream 8 ( 928 bytes): [Public Symbol Hash] 42 ; CHECK-NEXT: Stream 9 ( 716 bytes): [Symbol Records] 44 ; CHECK-NEXT: Stream 10 ( 0 bytes): [TPI Hash] [all …]
|
| /llvm-project-15.0.7/llvm/test/MC/X86/AlignedBundling/ |
| H A D | misaligned-bundle.s | 18 movl $0x1, (%esp) # 7 bytes 19 movl $0x1, (%esp) # 7 bytes 21 movl $0x2, 0x1(%esp) # 8 bytes 22 movl $0x2, 0x1(%esp) # 8 bytes 25 movl $0x2, 0x1(%esp) # 8 bytes 26 movl $0x2, (%esp) # 7 bytes 29 movl $0x3, (%esp) # 7 bytes 30 movl $0x3, (%esp) # 7 bytes
|