/llvm-project/clang/test/CodeGen/ |
H A D | aapcs-bitfield-access-unit.c | 1 …width -fdump-record-layouts-simple -emit-llvm -o /dev/null %s | FileCheck %s -check-prefixes=LAYOUT 2 …width -fdump-record-layouts-simple -emit-llvm -o /dev/null %s | FileCheck %s -check-prefixes=LAYOUT 4 …width -fdump-record-layouts-simple -emit-llvm -o /dev/null %s | FileCheck %s -check-prefixes=LAYOUT 5 …width -fdump-record-layouts-simple -emit-llvm -o /dev/null %s | FileCheck %s -check-prefixes=LAYOUT 10 // LAYOUT-LABEL: LLVMType:%struct.st0 = 11 // LAYOUT-SAME: type { i8, i8 } 12 // LAYOUT: BitFields:[ 13 // LAYOUT-NEXT: <CGBitFieldInfo Offset:{{[0-9]+}} Size:7 IsSigned:1 StorageSize:8 StorageOffset:0 14 // LAYOUT-NEXT: ]> 20 // LAYOUT-LABEL: LLVMType:%struct.st1 = [all …]
|
H A D | bitfield-access-unit.c | 6 // RUN: %clang_cc1 -triple=aarch64-apple-darwin %s -emit-llvm -o /dev/null -fdump-record-layouts-simple | FileCheck --check-prefixes CHECK,LAYOUT,LAYOUT-FLEX,LAYOUT-FLEX64,CHECK-64,LAYOUT-64-DWN %s 7 // RUN: %clang_cc1 -triple=aarch64-linux-gnu %s -emit-llvm -o /dev/null -fdump-record-layouts-simple | FileCheck --check-prefixes CHECK,LAYOUT,LAYOUT-FLEX,LAYOUT-FLEX64,CHECK-64,LAYOUT-64,LAYOUT-64-FLEX %s 8 // RUN: %clang_cc1 -triple=loongarch64-elf %s -emit-llvm -o /dev/null -fdump-record-layouts-simple | FileCheck --check-prefixes CHECK,LAYOUT,LAYOU [all...] |
H A D | bitfield-access-pad.c | 5 // RUN: %clang_cc1 -triple=aarch64-apple-darwin %s -emit-llvm -o /dev/null -fdump-record-layouts-simple | FileCheck --check-prefixes CHECK,LAYOUT-T %s 6 // RUN: %clang_cc1 -triple=aarch64-linux-gnu %s -emit-llvm -o /dev/null -fdump-record-layouts-simple | FileCheck --check-prefixes CHECK,LAYOUT-T %s 7 // RUN: %clang_cc1 -triple=arm-apple-darwin %s -emit-llvm -o /dev/null -fdump-record-layouts-simple | FileCheck --check-prefixes CHECK,LAYOUT-DWN32 %s 8 // RUN: %clang_cc1 -triple=arm-none-eabi %s -emit-llvm -o /dev/null -fdump-record-layouts-simple | FileCheck --check-prefixes CHECK,LAYOUT-T %s 9 // RUN: %clang_cc1 -triple=i686-linux-gnu %s -emit-llvm -o /dev/null -fdump-record-layouts-simple | FileCheck --check-prefixes CHECK,LAYOUT-T %s 10 // RUN: %clang_cc1 -triple=x86_64-linux-gnu %s -emit-llvm -o /dev/null -fdump-record-layouts-simple | FileCheck --check-prefixes CHECK,LAYOUT-T %s 13 // RUN: %clang_cc1 -triple=powerpc-linux-gnu %s -emit-llvm -o /dev/null -fdump-record-layouts-simple | FileCheck --check-prefixes CHECK,LAYOUT-T %s 14 // RUN: %clang_cc1 -triple=powerpc64-linux-gnu %s -emit-llvm -o /dev/null -fdump-record-layouts-simple | FileCheck --check-prefixes CHECK,LAYOUT-T %s 18 // RUN: %clang_cc1 -triple=hexagon-elf %s -emit-llvm -o /dev/null -fdump-record-layouts-simple | FileCheck --check-prefixes CHECK,LAYOUT-T %s 21 // RUN: %clang_cc1 -triple=m68k-elf %s -emit-llvm -o /dev/null -fdump-record-layouts-simple | FileCheck --check-prefixes CHECK,LAYOUT [all...] |
H A D | arm-bitfield-alignment.c | 1 …d-layouts-simple -ffreestanding -emit-llvm -o %t %s | FileCheck %s -check-prefixes=LAYOUT,LAYOUT-32 3 …d-layouts-simple -ffreestanding -emit-llvm -o %t %s | FileCheck %s -check-prefixes=LAYOUT,LAYOUT-64 20 // LAYOUT-LABEL: LLVMType:%struct.T = 21 // LAYOUT-32-SAME: type { i32, i8 } 22 // LAYOUT-64-SAME: type { i64 } 23 // LAYOUT: BitFields:[ 24 // LAYOUT-32-NEXT: <CGBitFieldInfo Offset:0 Size:8 IsSigned:1 StorageSize:32 StorageOffset:0 25 // LAYOUT-32-NEXT: <CGBitFieldInfo Offset:8 Size:24 IsSigned:1 StorageSize:32 StorageOffset:0 26 // LAYOUT-32-NEXT: <CGBitFieldInfo Offset:0 Size:1 IsSigned:1 StorageSize:8 StorageOffset:4 27 // LAYOUT-64-NEXT: <CGBitFieldInfo Offset:0 Size:8 IsSigned:1 StorageSize:64 StorageOffset:0 [all …]
|
/llvm-project/clang/test/CodeGenCXX/ |
H A D | bitfield-access-empty.cpp | 5 // RUN: %clang_cc1 -triple=aarch64-apple-darwin %s -emit-llvm -o /dev/null -fdump-record-layouts-simple | FileCheck --check-prefixes CHECK,LAYOUT %s 6 // RUN: %clang_cc1 -triple=aarch64-linux-gnu %s -emit-llvm -o /dev/null -fdump-record-layouts-simple | FileCheck --check-prefixes CHECK,LAYOUT %s 7 // RUN: %clang_cc1 -triple=arm-apple-darwin %s -emit-llvm -o /dev/null -fdump-record-layouts-simple | FileCheck --check-prefixes CHECK,LAYOUT-DWN32 %s 8 // RUN: %clang_cc1 -triple=arm-none-eabi %s -emit-llvm -o /dev/null -fdump-record-layouts-simple | FileCheck --check-prefixes CHECK,LAYOUT %s 9 // RUN: %clang_cc1 -triple=i686-linux-gnu %s -emit-llvm -o /dev/null -fdump-record-layouts-simple | FileCheck --check-prefixes CHECK,LAYOUT %s 10 // RUN: %clang_cc1 -triple=loongarch64-elf %s -emit-llvm -o /dev/null -fdump-record-layouts-simple | FileCheck --check-prefixes CHECK,LAYOUT %s 11 // RUN: %clang_cc1 -triple=powerpcle-linux-gnu %s -emit-llvm -o /dev/null -fdump-record-layouts-simple | FileCheck --check-prefixes CHECK,LAYOUT %s 12 // RUN: %clang_cc1 -triple=ve-elf %s -emit-llvm -o /dev/null -fdump-record-layouts-simple | FileCheck --check-prefixes CHECK,LAYOUT %s 13 // RUN: %clang_cc1 -triple=wasm32 %s -emit-llvm -o /dev/null -fdump-record-layouts-simple | FileCheck --check-prefixes CHECK,LAYOUT %s 14 // RUN: %clang_cc1 -triple=wasm64 %s -emit-llvm -o /dev/null -fdump-record-layouts-simple | FileCheck --check-prefixes CHECK,LAYOUT [all...] |
H A D | bitfield-access-tail.cpp | 5 // RUN: %clang_cc1 -triple=aarch64-apple-darwin %s -emit-llvm -o /dev/null -fdump-record-layouts-simple | FileCheck --check-prefixes CHECK,LAYOUT,LAYOUT64 %s 6 // RUN: %clang_cc1 -triple=aarch64-linux-gnu %s -emit-llvm -o /dev/null -fdump-record-layouts-simple | FileCheck --check-prefixes CHECK,LAYOUT,LAYOUT64 %s 7 // RUN: %clang_cc1 -triple=arm-apple-darwin %s -emit-llvm -o /dev/null -fdump-record-layouts-simple | FileCheck --check-prefixes CHECK,LAYOUT-DWN32 %s 8 // RUN: %clang_cc1 -triple=arm-none-eabi %s -emit-llvm -o /dev/null -fdump-record-layouts-simple | FileCheck --check-prefixes CHECK,LAYOUT,LAYOUT32 %s 9 // RUN: %clang_cc1 -triple=i686-linux-gnu %s -emit-llvm -o /dev/null -fdump-record-layouts-simple | FileCheck --check-prefixes CHECK,LAYOUT,LAYOUT32 %s 10 // RUN: %clang_cc1 -triple=loongarch64-elf %s -emit-llvm -o /dev/null -fdump-record-layouts-simple | FileCheck --check-prefixes CHECK,LAYOUT,LAYOUT64 %s 11 // RUN: %clang_cc1 -triple=powerpcle-linux-gnu %s -emit-llvm -o /dev/null -fdump-record-layouts-simple | FileCheck --check-prefixes CHECK,LAYOUT,LAYOUT32 %s 12 // RUN: %clang_cc1 -triple=ve-elf %s -emit-llvm -o /dev/null -fdump-record-layouts-simple | FileCheck --check-prefixes CHECK,LAYOUT,LAYOUT64 %s 13 // RUN: %clang_cc1 -triple=wasm32 %s -emit-llvm -o /dev/null -fdump-record-layouts-simple | FileCheck --check-prefixes CHECK,LAYOUT,LAYOUT32 %s 14 // RUN: %clang_cc1 -triple=wasm64 %s -emit-llvm -o /dev/null -fdump-record-layouts-simple | FileCheck --check-prefixes CHECK,LAYOUT,LAYOUT6 [all...] |
H A D | bitfield.cpp | 2 // RUN: -emit-llvm -o %t %s | FileCheck -check-prefixes=LAYOUT,LAYOUT-X86-64 %s 5 // RUN: -emit-llvm -o %t %s | FileCheck -check-prefixes=LAYOUT,LAYOUT-PPC64 %s 12 // Test basic bitfield layout access across interesting byte and word 24 // LAYOUT-LABEL: LLVMType:%"struct.N0::S" = 25 // LAYOUT-SAME: type { i64 } 26 // LAYOUT: BitFields:[ 27 // LAYOUT-X86-64-NEXT: <CGBitFieldInfo Offset:0 Size:14 IsSigned:0 StorageSize:64 StorageOffset:0 28 // LAYOUT [all...] |
/llvm-project/mlir/docs/ |
H A D | DataLayout.md | 1 # Data Layout Modeling 3 Data layout information allows the compiler to answer questions related to how a 9 The data layout subsystem is designed to scale to MLIR's open type and operation 12 * attribute interfaces that can be implemented by concrete data layout 14 * type interfaces that should be implemented by types subject to data layout; 16 as data layout scopes (e.g., modules); 17 * and dialect interfaces for data layout properties unrelated to specific 30 Following MLIR's nested structure, data layout properties are _scoped_ to 33 partially control the data layout properties and may have attributes that affect 34 them, typically organized in a data layout specification. [all …]
|
/llvm-project/mlir/unittests/Interfaces/ |
H A D | DataLayoutInterfacesTest.cpp | 24 constexpr static llvm::StringLiteral kAttrName = "dltest.layout"; 38 /// Trivial array storage for the custom data layout spec attribute, just a list 58 /// Simple data layout spec containing a list of entries that always verifies 151 /// A type subject to data layout that exits the program if it is queried more 164 llvm::TypeSize getTypeSizeInBits(const DataLayout &layout, in getTypeSizeInBits() 174 uint64_t getABIAlignment(const DataLayout &layout, in getABIAlignment() 184 uint64_t getPreferredAlignment(const DataLayout &layout, in getPreferredAlignment() 231 /// A types that is not subject to data layout. in get() 242 /// An op that serves as scope for data layout queries with the relevant 243 /// attribute attached. This can handle data layout request 450 DataLayout layout(module.get()); TEST() local 479 DataLayout layout(op); TEST() local 520 DataLayout layout(op); TEST() local 569 DataLayout layout(op); TEST() local 612 DataLayout layout(*module); TEST() local 635 DataLayout layout(op); TEST() local 666 DataLayout layout(op); TEST() local 692 DataLayout layout(op); TEST() local 711 DataLayout layout(op); TEST() local [all...] |
/llvm-project/llvm/tools/llvm-pdbutil/ |
H A D | PrettyClassDefinitionDumper.cpp | 34 ClassLayout Layout(Class); in start() local 35 start(Layout); in start() 38 void ClassDefinitionDumper::start(const ClassLayout &Layout) { in start() argument 39 prettyPrintClassIntro(Layout); in start() 42 DumpedAnything |= Dumper.start(Layout); in start() 44 prettyPrintClassOutro(Layout); in start() 47 void ClassDefinitionDumper::prettyPrintClassIntro(const ClassLayout &Layout) { in prettyPrintClassIntro() argument 51 uint32_t Size = Layout.getSize(); in prettyPrintClassIntro() 52 const PDBSymbolTypeUDT &Class = Layout.getClass(); in prettyPrintClassIntro() 54 if (Layout.getClass().isConstType()) in prettyPrintClassIntro() [all …]
|
H A D | PrettyClassLayoutGraphicalDumper.cpp | 35 bool PrettyClassLayoutGraphicalDumper::start(const UDTLayoutBase &Layout) { in start() argument 39 for (const auto &Other : Layout.other_items()) in start() 41 for (const auto &Func : Layout.funcs()) in start() 45 const BitVector &UseMap = Layout.usedBytes(); in start() 48 for (const auto &Item : Layout.layout_items()) { in start() 69 VTableLayoutItem &Layout = static_cast<VTableLayoutItem &>(*CurrentItem); in start() local 72 VarDumper.startVbptr(CurrentAbsoluteOffset, Layout.getSize()); in start() 85 auto TailPadding = Layout.tailPadding(); in start() 87 if (TailPadding != 1 || Layout.getSize() != 1) { in start() 113 BaseClassLayout &Layout = static_cast<BaseClassLayout &>(*CurrentItem); in dump() local [all …]
|
/llvm-project/clang/test/CodeGenObjC/ |
H A D | mrr-captured-block-var-inlined-layout.m | 1 … -fobjc-arc -triple x86_64-apple-darwin -print-ivar-layout -emit-llvm -o /dev/null %s > %t-64.layo… 2 // RUN: FileCheck --input-file=%t-64.layout %s 3 …ak -fobjc-arc -triple i386-apple-darwin -print-ivar-layout -emit-llvm -o /dev/null %s > %t-32.layo… 4 // RUN: FileCheck --input-file=%t-32.layout %s 20 // block variable layout: BL_STRONG:1, BL_OPERATOR:0 21 // CHECK: Inline block variable layout: 0x0100, BL_STRONG:1, BL_OPERATOR:0 26 // block variable layout: BL_STRONG:2, BL_BYREF:1, BL_OPERATOR:0 27 // CHECK: Inline block variable layout: 0x0210, BL_STRONG:2, BL_BYREF:1, BL_OPERATOR:0 34 // block variable layout: BL_STRONG:2, BL_BYREF:3, BL_OPERATOR:0 35 // CHECK: Inline block variable layout: 0x0230, BL_STRONG:2, BL_BYREF:3, BL_OPERATOR:0 [all …]
|
H A D | arc-captured-block-var-inlined-layout.m | 1 …me-has-weak -triple x86_64-apple-darwin -print-ivar-layout -emit-llvm -o /dev/null %s > %t-64.layo… 2 // RUN: FileCheck --input-file=%t-64.layout %s 3 …time-has-weak -triple i386-apple-darwin -print-ivar-layout -emit-llvm -o /dev/null %s > %t-32.lay… 4 // RUN: FileCheck --input-file=%t-32.layout %s 19 // CHECK: Inline block variable layout: 0x0100, BL_STRONG:1, BL_OPERATOR:0 24 // CHECK: Inline block variable layout: 0x0210, BL_STRONG:2, BL_BYREF:1, BL_OPERATOR:0 31 // CHECK: Inline block variable layout: 0x0230, BL_STRONG:2, BL_BYREF:3, BL_OPERATOR:0 40 // CHECK: Inline block variable layout: 0x0231, BL_STRONG:2, BL_BYREF:3, BL_WEAK:1, BL_OPERATOR:0 51 // CHECK: Inline block variable layout: 0x0235, BL_STRONG:2, BL_BYREF:3, BL_WEAK:5, BL_OPERATOR:0 66 // CHECK: Inline block variable layout: 0x035, BL_BYREF:3, BL_WEAK:5, BL_OPERATOR:0 [all …]
|
H A D | arc-captured-block-var-layout.m | 1 …me-has-weak -triple x86_64-apple-darwin -print-ivar-layout -emit-llvm -o /dev/null %s > %t-64.layo… 2 // RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.layout %s 34 // Inline instruction for block variable layout: 0x0320 (3 strong 2 byref) 35 // CHECK-LP64: Inline block variable layout: 0x0320, BL_STRONG:3, BL_BYREF:2, BL_OPERATOR:0 46 // Inline instruction for block variable layout: 0x0331 (3 strong 3 byref 1 weak) 47 // CHECK-LP64: Inline block variable layout: 0x0331, BL_STRONG:3, BL_BYREF:3, BL_WEAK:1, BL_OPERATO… 68 // Inline instruction for block variable layout: 0x0401 (4 strong 0 byref 1 weak) 69 // CHECK-LP64: Inline block variable layout: 0x0401, BL_STRONG:4, BL_WEAK:1, BL_OPERATOR:0 110 // CHECK-LP64: Block variable layout: BL_BYREF:1, BL_NON_OBJECT_WORD:1, BL_UNRETAINED:1, BL_NON_OBJ… 125 // CHECK-LP64: Block variable layout: BL_UNRETAINED:4, BL_OPERATOR:0 [all …]
|
/llvm-project/libcxx/test/std/containers/views/mdspan/mdspan/ |
H A D | index_operator.pass.cpp | 116 template <class Layout> in test_layout() 119 test_iteration(construct_mapping(Layout(), std::extents<int>())); in test_layout() 120 test_iteration(construct_mapping(Layout(), std::extents<unsigned, D>(1))); in test_layout() 121 test_iteration(construct_mapping(Layout(), std::extents<unsigned, D>(7))); in test_layout() 122 test_iteration(construct_mapping(Layout(), std::extents<unsigned, 7>())); in test_layout() 123 test_iteration(construct_mapping(Layout(), std::extents<unsigned, 7, 8>())); in test_layout() 124 test_iteration(construct_mapping(Layout(), std::extents<signed char, D, D, D, D>(1, 1, 1, 1))); in test_layout() 130 static_assert(check_operator_constraints(std::mdspan(data, construct_mapping(Layout(), std::extents<int, D>(1))), 0)); in test_layout() 132 !check_operator_constraints(std::mdspan(data, construct_mapping(Layout(), std::extents<int, D>(1))), 0, 0)); in test_layout() 136 check_operator_constraints(std::mdspan(data, construct_mapping(Layout(), st in test_layout() [all...] |
/llvm-project/llvm/lib/DebugInfo/MSF/ |
H A D | MappedBlockStream.cpp | 44 const MSFStreamLayout &Layout, in MappedBlockStream() argument 47 : BlockSize(BlockSize), StreamLayout(Layout), MsfData(MsfData), in MappedBlockStream() 51 uint32_t BlockSize, const MSFStreamLayout &Layout, BinaryStreamRef MsfData, in createStream() argument 54 BlockSize, Layout, MsfData, Allocator); in createStream() 58 const MSFLayout &Layout, BinaryStreamRef MsfData, uint32_t StreamIndex, in createIndexedStream() argument 60 assert(StreamIndex < Layout.StreamMap.size() && "Invalid stream index"); in createIndexedStream() 62 SL.Blocks = Layout.StreamMap[StreamIndex]; in createIndexedStream() 63 SL.Length = Layout.StreamSizes[StreamIndex]; in createIndexedStream() 65 Layout.SB->BlockSize, SL, MsfData, Allocator); in createIndexedStream() 69 MappedBlockStream::createDirectoryStream(const MSFLayout &Layout, in createDirectoryStream() argument [all …]
|
/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
H A D | DbiModuleDescriptorBuilder.cpp | 36 Size += 0; // TODO: Layout.C11Bytes in calculateDiSymbolStreamSize() 47 ::memset(&Layout, 0, sizeof(Layout)); in DbiModuleDescriptorBuilder() 48 Layout.Mod = ModIndex; in DbiModuleDescriptorBuilder() 54 return Layout.ModDiStream; in getStreamIndex() 67 Layout.SC = SC; in setFirstSectionContrib() 114 uint32_t L = sizeof(Layout); in calculateSerializedLength() 121 Layout.FileNameOffs = 0; // TODO: Fix this in finalize() 122 Layout.Flags = 0; // TODO: Fix this in finalize() 123 Layout.C11Bytes = 0; in finalize() 124 Layout.C13Bytes = calculateC13DebugInfoSize(); in finalize() [all …]
|
/llvm-project/mlir/test/Dialect/Bufferization/Transforms/ |
H A D | one-shot-module-bufferize-out-params.mlir | 1 …rize-function-boundaries function-boundary-type-conversion=fully-dynamic-layout-map" -drop-equival… 2 …dentity-layout-map" -drop-equivalent-buffer-results -buffer-results-to-out-params -split-input-fil… 3 …e="bufferize-function-boundaries function-boundary-type-conversion=infer-layout-map" -drop-equival… 5 // Note: function-boundary-type-conversion=infer-layout-map with 24 // CHECK-NO-LAYOUT-LABEL: func @callee( 25 // CHECK-NO-LAYOUT-SAME: %[[arg0:.*]]: memref<5xf32>, 26 // CHECK-NO-LAYOUT-SAME: %[[arg1:.*]]: memref<5xf32>) { 27 // CHECK-NO-LAYOUT: %[[alloc:.*]] = memref.alloc() {{.*}} : memref<5xf32> 28 // CHECK-NO-LAYOUT: memref.copy %[[arg0]], %[[alloc]] 29 // CHECK-NO-LAYOUT: memref.store {{.*}}, %[[alloc]] [all …]
|
/llvm-project/mlir/test/lib/Dialect/DLTI/ |
H A D | TestDataLayoutQuery.cpp | 1 //===- TestDataLayoutQuery.cpp - Test Data Layout Queries -----------------===// 20 /// attributes containing the results of data layout queries for operation 26 StringRef getArgument() const final { return "test-data-layout-query"; } in MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID() 27 StringRef getDescription() const final { return "Test data layout queries"; } in getDescription() 38 const DataLayout &layout = layouts.getAbove(op); in runOnOperation() local 39 llvm::TypeSize size = layout.getTypeSize(op.getType()); in runOnOperation() 40 llvm::TypeSize bitsize = layout.getTypeSizeInBits(op.getType()); in runOnOperation() 41 uint64_t alignment = layout.getTypeABIAlignment(op.getType()); in runOnOperation() 42 uint64_t preferred = layout.getTypePreferredAlignment(op.getType()); in runOnOperation() 43 uint64_t index = layout.getTypeIndexBitwidth(op.getType()).value_or(0); in runOnOperation() [all …]
|
/llvm-project/clang/test/CodeGenCXX/Inputs/ |
H A D | override-layout-ms.layout | 1 *** Dumping AST Record Layout 4 Layout: <ASTRecordLayout 11 *** Dumping AST Record Layout 14 Layout: <ASTRecordLayout 21 *** Dumping AST Record Layout 24 Layout: <ASTRecordLayout 31 *** Dumping AST Record Layout 34 Layout: <ASTRecordLayout 41 *** Dumping AST Record Layout 44 Layout: <ASTRecordLayout
|
/llvm-project/clang/test/Layout/ |
H A D | ms-x86-declspec-empty_bases.cpp | 19 // CHECK: *** Dumping AST Record Layout 25 // CHECK: *** Dumping AST Record Layout 30 // CHECK: *** Dumping AST Record Layout 36 // CHECK: *** Dumping AST Record Layout 41 // CHECK: *** Dumping AST Record Layout 74 // CHECK: *** Dumping AST Record Layout 80 // CHECK: *** Dumping AST Record Layout 85 // CHECK: *** Dumping AST Record Layout 93 // CHECK: *** Dumping AST Record Layout 98 // CHECK: *** Dumping AST Record Layout [all …]
|
H A D | aix-double-struct-member.cpp | 10 // Test the class layout when having a double which is/is not the first struct 30 // CHECK: *** Dumping AST Record Layout 37 // CHECK: *** Dumping AST Record Layout 46 // CHECK: *** Dumping AST Record Layout 57 // Test the class layout when having a zero-sized bitfield followed by double. 65 // CHECK: *** Dumping AST Record Layout 74 // Test the class layout when having a double member in union. 87 // CHECK: *** Dumping AST Record Layout 94 // CHECK: *** Dumping AST Record Layout 106 // Test the class layout when having multiple base classes. [all …]
|
/llvm-project/clang/test/Frontend/ |
H A D | stack-layout-remark.c | 1 // Check that backend stack layout diagnostics are working correctly with and 8 … x86_64-unknown-linux-gnu -target-cpu corei7 -Rpass-analysis=stack-frame-layout -o /dev/null -O0 … 9 … x86_64-unknown-linux-gnu -target-cpu corei7 -Rpass-analysis=stack-frame-layout -o /dev/null -O0 … 10 …layout -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -opt-record-file %t/s… 11 // RUN: cat %t/stack-layout-remark.c.yml | FileCheck %s --check-prefix=YAML 22 // YAML: Pass: stack-frame-layout 24 // YAML: DebugLoc: { File: '{{.*}}stack-layout-remark.c',{{[[:space:]]*}}Line: [[# @LINE + 2… 31 // YAML: - DataLoc: 'a @ {{.*}}stack-layout-remark.c:[[# @LINE + 19]]' 32 // YAML: - DataLoc: 'f @ {{.*}}stack-layout-remark.c:[[# @LINE + 21]]' 40 // O0-DEBUG-NEXT: a @ {{.*}}stack-layout-remark.c:[[# @LINE + 10]] [all …]
|
/llvm-project/mlir/lib/Target/LLVMIR/ |
H A D | DataLayoutImporter.h | 1 //===- DataLayoutImporter.h - LLVM to MLIR data layout conversion -*- C++ -*-=// 9 // This file implements the translation between the LLVMIR data layout and the 40 /// Helper class that translates an LLVM data layout to an MLIR data layout 43 /// entries from the default data layout specification found in the language 44 /// reference (https://llvm.org/docs/LangRef.html#data-layout) if they are not 45 /// overwritten by the provided data layout. 54 /// Returns the MLIR data layout specification translated from the LLVM 55 /// data layout. 58 /// Returns the last data layout token that has been processed before 59 /// the data layout translation failed. [all …]
|
/llvm-project/clang/test/CodeGen/X86/ |
H A D | x86-vec-struct-packing.c | 127 // CHECK-MS: *** Dumping AST Record Layout 132 // CHECK-MS: *** Dumping AST Record Layout 137 // CHECK-MS: *** Dumping AST Record Layout 142 // CHECK-MS: *** Dumping AST Record Layout 147 // CHECK-MS: *** Dumping AST Record Layout 152 // CHECK-MS: *** Dumping AST Record Layout 157 // CHECK-MS: *** Dumping AST Record Layout 162 // CHECK-MS: *** Dumping AST Record Layout 167 // CHECK-MS: *** Dumping AST Record Layout 172 // CHECK-MS: *** Dumping AST Record Layout [all …]
|