| /llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/ |
| H A D | SPIRVCompositeOps.td | 9 // This file contains composite ops for SPIR-V dialect. It corresponds 24 Construct a new composite object from a set of constituent objects. 28 Result Type must be a composite type, whose top-level 49 composite-construct-op ::= ssa-id `=` `spv.CompositeConstruct` 73 let summary = "Extract a part of a composite object."; 79 Composite is the composite to extract from. 91 `:` composite-type 105 SPV_Composite:$composite, 146 `:` object-type `into` composite-type 158 SPV_Composite:$composite, [all …]
|
| H A D | SPIRVStructureOps.td | 86 * `OpConstantComposite` for composite constants 548 TODO Add support for composite specialization constants. 617 let summary = "Declare a new composite specialization constant."; 620 This op declares a SPIR-V composite specialization constant. This covers 624 A constituent of a spec constant composite can be: 631 spv-spec-constant-composite-op ::= `spv.SpecConstantComposite` symbol-ref-id ` (` 633 `) :` composite-type 636 where `composite-type` is some non-scalar type that can be represented in the `spv` 651 - spec constant composite.
|
| H A D | SPIRVMemoryOps.td | 23 Create a pointer into a composite object that can be used with OpLoad 33 Base must be a pointer, pointing to the base of a composite object. 37 level member/element/component/element of the base composite. All 38 composite constituents use zero-based numbering, as described by their 40 result, and so on. Once any non-composite type is reached, there must be
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/Transforms/ |
| H A D | Passes.td | 15 : Pass<"decorate-spirv-composite-type-layout", "ModuleOp"> { 16 let summary = "Decorate SPIR-V composite type with layout info"; 26 let summary = "Decorate SPIR-V composite type with layout info";
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/ |
| H A D | SPIRVCanonicalization.cpp | 50 static Attribute extractCompositeElement(Attribute composite, in extractCompositeElement() argument 53 if (!composite) in extractCompositeElement() 57 return composite; in extractCompositeElement() 59 if (auto vector = composite.dyn_cast<ElementsAttr>()) { in extractCompositeElement() 64 if (auto array = composite.dyn_cast<ArrayAttr>()) { in extractCompositeElement()
|
| H A D | SPIRVOps.cpp | 1689 Value composite, in build() argument 1693 getElementType(composite.getType(), indexAttr, state.location); in build() 1697 build(builder, state, elementType, composite, indexAttr); in build() 1725 printer << ' ' << composite() << indices() << " : " << composite().getType(); in print() 1731 getElementType(composite().getType(), indicesArrayAttr, getLoc()); in verify() 1748 Value object, Value composite, in build() argument 1751 build(builder, state, composite.getType(), object, composite, indexAttr); in build() 1774 getElementType(composite().getType(), indicesArrayAttr, getLoc()); in verify() 1783 if (composite().getType() != getType()) { in verify() 1786 << composite().getType() << " vs " << getType(); in verify() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/Transforms/ |
| H A D | RewriteInsertsPass.cpp | 84 op.composite().getType().cast<spirv::CompositeType>().getNumElements(); in collectInsertionChain() 98 op = op.composite().getDefiningOp<spirv::CompositeInsertOp>(); in collectInsertionChain()
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/Sparc/ |
| H A D | entry-value-complex-reg-expr.ll | 5 ; as a composite location description with two sub-registers. Previously we 6 ; emitted a single DW_OP_entry_value wrapping that whole composite location 10 ; In the future we may want to emit a composite location description where each
|
| /llvm-project-15.0.7/llvm/docs/AMDGPUDwarfExtensionAllowLocationDescriptionOnTheDwarfExpressionStack/ |
| H A D | AMDGPUDwarfExtensionAllowLocationDescriptionOnTheDwarfExpressionStack.md | 397 incomplete composite location. 408 an incomplete composite location description, the incomplete composite location 485 composite location descriptions. 501 - For composite, it is a linear stream of bytes defined by the composite's parts. 534 composite. Currently, creating a composite must always be the last operation of 650 composite location description, otherwise it creates a new incomplete composite 720 byte part of the composite. 1501 > incomplete composite location description can update the composite location 2606 A composite location description specifies a composite location storage. The bit 2621 A composite location description that specifies a composite location storage [all …]
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | SubElementInterfaces.td | 10 // sub-elements, e.g. held attributes and types, of a composite attribute or 125 and sub-attributes of a composite attribute. 139 and sub-attributes of a composite type.
|
| /llvm-project-15.0.7/mlir/test/Dialect/SPIRV/IR/ |
| H A D | composite-ops.mlir | 40 // expected-error @+1 {{result type must be a composite type, but provided 'f32'}} 176 // expected-error @+1 {{cannot extract from non-composite type 'f32' with index 3}} 184 // expected-error @+1 {{cannot extract from non-composite type 'f32' with index 1}} 260 …// expected-error @+1 {{result type should be the same as the composite type, but found '!spv.arra…
|
| H A D | memory-ops.mlir | 51 // expected-error @+1 {{cannot extract from non-composite type 'f32' with index 0}} 97 …// expected-error @+1 {{expected a pointer to composite type, but provided '!spv.array<4 x !spv.ar… 144 // expected-error @+1 {{cannot extract from non-composite type 'f32' with index 0}}
|
| /llvm-project-15.0.7/llvm/docs/ |
| H A D | AMDGPUDwarfExtensionsForHeterogeneousDebugging.rst | 113 values, be undefined, or a composite of any of these. 277 :ref:`amdgpu-dwarf-composite-location-description-operations`. 435 :ref:`amdgpu-dwarf-composite-location-description-operations`. 496 :ref:`amdgpu-dwarf-composite-location-description-operations`. 1045 *composite location storage* 2599 .. _amdgpu-dwarf-composite-location-description-operations: 2627 A composite location description specifies a composite location storage. The bit 2642 makes an incomplete composite location storage complete. 2644 A composite location description that specifies a composite location storage 2646 composite location description that specifies a composite location storage that [all …]
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/MIR/ARM/ |
| H A D | split-superreg-complex.mir | 4 # This is an artificial example of a debug value residing in a composite 6 # expression to a composite location are ill-defined, the compiler should bail
|
| /llvm-project-15.0.7/llvm/test/ThinLTO/X86/ |
| H A D | debuginfo-compositetype-import.ll | 8 ; By default, composite types are imported as type declarations 23 ; Ensure that full type definitions of composite types are imported if requested
|
| /llvm-project-15.0.7/mlir/test/Examples/Toy/Ch7/ |
| H A D | struct-ast.toy | 15 # We initialize struct values using a composite initializer.
|
| H A D | struct-codegen.toy | 16 # We initialize struct values using a composite initializer.
|
| /llvm-project-15.0.7/mlir/docs/Tutorials/Toy/ |
| H A D | _index.md | 36 - [Chapter #7](Ch-7.md): Extending Toy: Adding support for a composite type.
|
| H A D | Ch-7.md | 7 language to support a new composite `struct` type. 27 composite initializer, or a comma-separated list of other initializers 43 # We initialize struct values using a composite initializer. 395 # We initialize struct values using a composite initializer.
|
| /llvm-project-15.0.7/mlir/lib/Conversion/SPIRVToLLVM/ |
| H A D | SPIRVToLLVM.cpp | 568 Type containerType = op.composite().getType(); in matchAndRewrite() 574 op, dstType, adaptor.composite(), index); in matchAndRewrite() 578 op, dstType, adaptor.composite(), op.indices()); in matchAndRewrite() 598 Type containerType = op.composite().getType(); in matchAndRewrite() 604 op, dstType, adaptor.composite(), adaptor.object(), index); in matchAndRewrite() 608 op, dstType, adaptor.composite(), adaptor.object(), op.indices()); in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/test/Target/SPIRV/ |
| H A D | debug.mlir | 32 …spv.func @composite(%arg0 : !spv.struct<(f32, !spv.struct<(!spv.array<4xf32>, f32)>)>, %arg1: !spv…
|
| /llvm-project-15.0.7/llvm/include/llvm/Frontend/Directive/ |
| H A D | DirectiveBase.td | 132 // Name of the directive. Can be composite directive sepearted by whitespace.
|
| /llvm-project-15.0.7/llvm/test/Transforms/SimplifyCFG/ |
| H A D | dbginfo.ll | 7 %llvm.dbg.composite.type = type { i32, { }*, i8*, { }*, i32, i64, i64, i64, i32, { }*, { }* }
|
| /llvm-project-15.0.7/mlir/test/Dialect/SPIRV/Transforms/ |
| H A D | layout-decoration.mlir | 1 // RUN: mlir-opt -decorate-spirv-composite-type-layout -split-input-file -verify-diagnostics %s -o …
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/COFF/ |
| H A D | unnamed.ll | 5 ; structs/unions. If a forward reference is emitted for an unnamed composite
|