| /llvm-project-15.0.7/mlir/python/mlir/dialects/ |
| H A D | _structured_transform_ops_ext.py | 12 from typing import List, Optional, Sequence, Union 14 IntOrAttrList = Sequence[Union[IntegerAttr, int]] 36 values: Optional[Union[ArrayAttr, Sequence[Union[IntegerAttr, int]]]] 54 values: Optional[Union[ArrayAttr, Sequence[Union[ArrayAttr, 98 target: Union[Operation, Value], 117 target: Union[Operation, Value], 140 target: Union[Operation, Value], 147 transpose_paddings: Optional[Union[ArrayAttr, Sequence[Union[ 182 target: Union[Operation, Value], 215 target: Union[Operation, Value], [all …]
|
| H A D | _pdl_ops_ext.py | 11 from typing import Union, Optional, Sequence, List, Mapping 48 def _get_type_attr(type: Union[TypeAttr, Type]) -> TypeAttr: 60 name: Union[str, StringAttr], 75 name: Union[str, StringAttr], 141 name: Optional[Union[str, StringAttr]] = None, 165 benefit: Union[IntegerAttr, int], 186 op: Union[OpView, Operation, Value], 202 parent: Union[OpView, Operation, Value], 203 index: Union[IntegerAttr, int], 218 parent: Union[OpView, Operation, Value], [all …]
|
| H A D | _loop_transform_ops_ext.py | 12 from typing import Optional, Union 15 def _get_int64_attr(arg: Optional[Union[int, IntegerAttr]], 31 target: Union[Operation, Value], 48 target: Union[Operation, Value], 50 func_name: Union[str, StringAttr], 66 target: Union[Operation, Value], 68 fail_if_already_divisible: Union[bool, BoolAttr] = False, 85 target: Union[Operation, Value], 88 read_latency: Optional[Union[int, IntegerAttr]] = None, 104 target: Union[Operation, Value], [all …]
|
| H A D | _transform_ops_ext.py | 12 from typing import Optional, overload, Sequence, Union 15 def _get_symbol_ref_attr(value: Union[Attribute, str]): 34 handles: Sequence[Union[Operation, Value]], 49 target: Union[Operation, Value], 50 pattern_name: Union[Attribute, str], 65 pattern: Union[Operation, Value], 66 handles: Sequence[Union[Operation, Value]], 82 optionalRoot: Optional[Union[Operation, Value]]): 86 def __init__(self, resultsOrRoot: Optional[Union[Operation, Value]], 111 target: Optional[Union[Operation, Value]] = None, [all …]
|
| H A D | _memref_ops_ext.py | 11 from typing import Optional, Sequence, Union 18 memref: Union[Operation, OpView, Value], 19 indices: Optional[Union[Operation, OpView,
|
| H A D | _arith_ops_ext.py | 9 from typing import Any, List, Union 39 value: Union[int, float, Attribute], 64 def literal_value(self) -> Union[int, float]:
|
| H A D | _bufferization_ops_ext.py | 6 from typing import Sequence, Union 10 from typing import Any, List, Union
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | constexpr-printing.cpp | 50 union Union { union 51 constexpr Union(int n) : b(n) {} in Union() function 52 constexpr Union(const Union &u) : b(u.b) {} in Union() function 55 constexpr Union myUnion = 76; 57 constexpr int badness(Union u) { return u.a + u.b; } // expected-note {{read of member 'a' of union… in badness()
|
| H A D | type-traits.cpp | 29 union Union { int i; float f; }; union 221 { int arr[T(__is_pod(Union))]; } in is_pod() 326 typedef Union UnionAr[10]; 327 typedef Union UnionType; 662 int t24[F(__is_void(Union))]; in is_void() 694 int t26[F(__is_array(Union))]; in is_array() 821 int t04[T(__is_object(Union))]; in is_object() 853 int t22[F(__is_scalar(Union))]; in is_scalar() 1088 int t50[F(__is_const(Union))]; in is_const() 1914 { int arr[F(__is_base_of(Union, Union))]; } in is_base_of() [all …]
|
| /llvm-project-15.0.7/lldb/unittests/Utility/ |
| H A D | RangeTest.cpp | 187 TEST(RangeTest, Union) { in TEST() argument 191 EXPECT_FALSE(r.Union(RangeT(9, 1))); in TEST() 196 EXPECT_FALSE(r.Union(RangeT(1, 1))); in TEST() 200 EXPECT_TRUE(r.Union(RangeT(8, 2))); in TEST() 204 EXPECT_TRUE(r.Union(RangeT(1, 2))); in TEST() 208 EXPECT_TRUE(r.Union(RangeT(8, 3))); in TEST() 212 EXPECT_TRUE(r.Union(RangeT(0, 1))); in TEST() 216 EXPECT_TRUE(r.Union(RangeT(0, 3))); in TEST() 218 EXPECT_TRUE(r.Union(RangeT(5, 1))); in TEST() 220 EXPECT_TRUE(r.Union(RangeT(9, 2))); in TEST()
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | 2009-03-08-ZeroEltStructCrash.c | 4 struct Union { struct 9 static inline void Foo(struct Union *u) { in Foo() argument 12 static void Bar(struct Union *u) { in Bar()
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | PointerUnion.h | 282 using Union = PointerUnion<PTs...>; 286 static inline Union getEmptyKey() { return Union(FirstInfo::getEmptyKey()); } 288 static inline Union getTombstoneKey() { 289 return Union(FirstInfo::getTombstoneKey()); 292 static unsigned getHashValue(const Union &UnionVal) { 297 static bool isEqual(const Union &LHS, const Union &RHS) {
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | NativeTypeUDT.cpp | 28 Union(std::move(UR)), Tag(Union.getPointer()) {} in NativeTypeUDT() 52 if (getUdtKind() != PDB_UdtType::Union) in dump() 107 return Union->getSize(); in getLength() 117 case TypeRecordKind::Union: in getUdtKind() 118 return PDB_UdtType::Union; in getUdtKind()
|
| /llvm-project-15.0.7/lldb/test/Shell/SymbolFile/PDB/Inputs/ |
| H A D | ClassLayoutTest.cpp | 9 union Union { union 16 Union UnionVar; 97 Union m_union;
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/Native/ |
| H A D | TpiHashing.h | 35 : FullRecordHash(Full), ForwardDeclHash(Forward), Union(std::move(UR)) { in TagRecordHash() 49 return Union; in getRecord() 58 codeview::UnionRecord Union; member
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/ |
| H A D | is_array.pass.cpp | 56 union Union {}; union 78 test_is_array<Union[]>(); in main() 88 test_is_not_array<Union>(); in main()
|
| /llvm-project-15.0.7/mlir/python/mlir/dialects/linalg/opdsl/lang/ |
| H A D | dsl.py | 5 from typing import Dict, List, Sequence, Union 20 StructuredOpOuts = Union[ir.Operation, ir.OpView, ir.OpResultList, 21 Sequence[Union[ir.Value, ir.Operation, ir.OpView]]] 60 def __call__(self, *ins: Union[ir.Operation, ir.OpView, ir.Value],
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/COFF/ |
| H A D | enum-co.ll | 22 ; union Union { 25 ; Union U; 79 ; CHECK: Name: Func::Struct::Union::NestedEnum 80 ; CHECK: LinkageName: .?AW4NestedEnum@Union@Struct@?1??Func@@YAXXZ@ 89 %struct.Struct = type { %"union.Func()::Struct::Union" } 90 %"union.Func()::Struct::Union" = type { i8 } 152 …: 16, baseType: !4, size: 32, elements: !24, identifier: ".?AW4NestedEnum@Union@Struct@?1??Func@@Y… 153 !19 = distinct !DICompositeType(tag: DW_TAG_union_type, name: "Union", scope: !20, file: !1, line: …
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/ |
| H A D | is_move_assignable.pass.cpp | 44 union Union {}; union 61 test_is_move_assignable<Union> (); in main()
|
| H A D | is_nothrow_move_assignable.pass.cpp | 43 union Union {}; union 58 test_has_nothrow_assign<Union>(); in main()
|
| H A D | is_nothrow_copy_assignable.pass.cpp | 43 union Union {}; union 58 test_has_nothrow_assign<Union>(); in main()
|
| H A D | is_trivially_move_assignable.pass.cpp | 43 union Union {}; union 63 test_has_trivial_assign<Union>(); in main()
|
| H A D | is_trivially_copy_assignable.pass.cpp | 43 union Union {}; union 63 test_has_trivially_copy_assignable<Union>(); in main()
|
| H A D | is_copy_assignable.pass.cpp | 44 union Union {}; union 72 test_is_copy_assignable<Union> (); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/meta/meta.unary/meta.unary.comp/ |
| H A D | union.pass.cpp | 38 union Union union 46 test_union<Union>(); in main()
|