Home
last modified time | relevance | path

Searched refs:Union (Results 1 – 25 of 176) sorted by relevance

12345678

/llvm-project-15.0.7/mlir/python/mlir/dialects/
H A D_structured_transform_ops_ext.py12 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.py11 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.py12 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.py12 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.py11 from typing import Optional, Sequence, Union
18 memref: Union[Operation, OpView, Value],
19 indices: Optional[Union[Operation, OpView,
H A D_arith_ops_ext.py9 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.py6 from typing import Sequence, Union
10 from typing import Any, List, Union
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dconstexpr-printing.cpp50 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 Dtype-traits.cpp29 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 DRangeTest.cpp187 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 D2009-03-08-ZeroEltStructCrash.c4 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 DPointerUnion.h282 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 DNativeTypeUDT.cpp28 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 DClassLayoutTest.cpp9 union Union { union
16 Union UnionVar;
97 Union m_union;
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/Native/
H A DTpiHashing.h35 : 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 Dis_array.pass.cpp56 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 Ddsl.py5 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 Denum-co.ll22 ; 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 Dis_move_assignable.pass.cpp44 union Union {}; union
61 test_is_move_assignable<Union> (); in main()
H A Dis_nothrow_move_assignable.pass.cpp43 union Union {}; union
58 test_has_nothrow_assign<Union>(); in main()
H A Dis_nothrow_copy_assignable.pass.cpp43 union Union {}; union
58 test_has_nothrow_assign<Union>(); in main()
H A Dis_trivially_move_assignable.pass.cpp43 union Union {}; union
63 test_has_trivial_assign<Union>(); in main()
H A Dis_trivially_copy_assignable.pass.cpp43 union Union {}; union
63 test_has_trivially_copy_assignable<Union>(); in main()
H A Dis_copy_assignable.pass.cpp44 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 Dunion.pass.cpp38 union Union union
46 test_union<Union>(); in main()

12345678