Home
last modified time | relevance | path

Searched refs:UnionType (Results 1 – 7 of 7) sorted by relevance

/external/swiftshader/third_party/LLVM/test/Transforms/ScalarRepl/
D2007-05-29-MemcpyPreserve.ll9 %struct.UnionType = type { %struct.LongestMember }
11 define void @_Z4testP9UnionTypePS0_(%struct.UnionType* %p, %struct.UnionType** %pointerToUnion) {
13 %tmp = alloca %struct.UnionType, align 8
14 %tmp2 = getelementptr %struct.UnionType* %tmp, i32 0, i32 0, i32 0
15 %tmp13 = getelementptr %struct.UnionType* %p, i32 0, i32 0, i32 0
17 %tmp5 = load %struct.UnionType** %pointerToUnion
18 %tmp56 = getelementptr %struct.UnionType* %tmp5, i32 0, i32 0, i32 0
19 %tmp7 = getelementptr %struct.UnionType* %tmp, i32 0, i32 0, i32 0
/external/v8/src/compiler/
Dtypes.h393 friend class UnionType; variable
493 class UnionType : public StructuralType {
498 UnionType(int length, Zone* zone) : StructuralType(kUnion, length, zone) {} in UnionType() function
501 return AsType(new (zone->New(sizeof(UnionType))) UnionType(length, zone)); in New()
504 static UnionType* cast(Type* type) { in cast()
506 return static_cast<UnionType*>(FromType(type)); in cast()
620 UnionType* AsUnionForTesting() { return AsUnion(); } in AsUnionForTesting()
627 friend UnionType; variable
641 UnionType* AsUnion() { return UnionType::cast(this); } in AsUnion()
652 static int UpdateRange(Type* type, UnionType* result, int size, Zone* zone);
[all …]
Dtypes.cc598 bool UnionType::Wellformed() { in Wellformed()
664 Type* result_type = UnionType::New(size, zone); in Intersect()
665 UnionType* result = result_type->AsUnion(); in Intersect()
687 int Type::UpdateRange(Type* range, UnionType* result, int size, Zone* zone) { in UpdateRange()
725 int Type::IntersectAux(Type* lhs, Type* rhs, UnionType* result, int size, in IntersectAux()
868 Type* result_type = UnionType::New(size, zone); in Union()
869 UnionType* result = result_type->AsUnion(); in Union()
901 int Type::AddToUnion(Type* type, UnionType* result, int size, Zone* zone) { in AddToUnion()
917 UnionType* unioned = union_type->AsUnion(); in NormalizeUnion()
/external/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVValue.h183 union UnionType{ union
188 UnionType() { in UnionType() function
/external/flatbuffers/reflection/
Dreflection.fbs33 // If base_type == Union, UnionType, or integral derived
/external/clang/test/SemaCXX/
Dtype-traits.cpp270 typedef Union UnionType; typedef
275 { int arr[T(__is_union(UnionType))]; } in is_union()
/external/clang/lib/Sema/
DSemaExpr.cpp7607 ExprResult &EResult, QualType UnionType, in ConstructTransparentUnion() argument
7614 Initializer->setType(UnionType); in ConstructTransparentUnion()
7619 TypeSourceInfo *unionTInfo = C.getTrivialTypeSourceInfo(UnionType); in ConstructTransparentUnion()
7620 EResult = new (C) CompoundLiteralExpr(SourceLocation(), unionTInfo, UnionType, in ConstructTransparentUnion()