Home
last modified time | relevance | path

Searched refs:type2 (Results 1 – 25 of 70) sorted by relevance

123

/llvm-project-15.0.7/flang/test/Semantics/
H A Dstructconst01.f9015 type, extends(type1) :: type2(k) type
18 end type type2
32 type(type2(0,0)), intent(in) :: x
51 call type2arg(type2(0,0)(n=1,m=2))
52 call type2arg(type2(0,0)(m=2))
54 call type2arg(type2(0,0)())
55 call type2arg(type2(0,0)(type1=type1(0)(n=1),m=2))
56 call type2arg(type2(0,0)(type1=type1(0)(),m=2))
58 call type2arg(type2(0,0)(n=1,type1=type1(0)(n=2),m=3))
62 call type2arg(type2(0,0)(type1=type1(0)(1),n=2,m=3))
[all …]
H A Dresolve43.f9013 type, extends(type1) :: type2(k) type
16 end type type2
26 type(type2(0,0)), intent(in) :: x
34 call type2arg(type2(0,0)(n=1,m=2))
35 call type2arg(type2(0,0)(m=2))
36 call type2arg(type2(0,0)(type1=type1(0)(n=1),m=2))
37 call type2arg(type2(0,0)(type1=type1(0)(),m=2))
H A Dallocate12.f9014 type type2 type
27 class(type2), allocatable :: ct2(:, :)[:, :, :]
/llvm-project-15.0.7/llvm/test/Transforms/HotColdSplit/
H A Dlifetime-markers-on-inputs-3.ll4 %type2 = type opaque
10 declare void @use(%type1**, %type2**)
12 declare void @use2(%type1**, %type2**) cold
18 %local2 = alloca %type2*
20 %local2_cast = bitcast %type2** %local2 to i8*
24 call void @use(%type1** %local1, %type2** %local2)
30 ; CHECK-NEXT: [[local2_cast:%.*]] = bitcast %type2** %local2 to i8*
37 call void @use2(%type1** %local1, %type2** %local2)
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dcheck-allocate.cpp268 const DeclTypeSpec &type1, const DeclTypeSpec &type2) { in IsTypeCompatible() argument
293 if (type2.category() != evaluate::TypeCategory::Derived) { in IsTypeCompatible()
295 return intrinsicType1->category() == type2.category(); in IsTypeCompatible()
299 } else if (!type2.IsUnlimitedPolymorphic()) { in IsTypeCompatible()
300 return IsTypeCompatible(type1, type2.GetDerivedTypeSpec()); in IsTypeCompatible()
310 const DeclTypeSpec &type1, const DeclTypeSpec &type2) { in HaveSameAssumedTypeParameters() argument
311 if (type2.category() == DeclTypeSpec::Category::Character) { in HaveSameAssumedTypeParameters()
382 } else if (type2.IsUnlimitedPolymorphic()) { in HaveCompatibleKindParameters()
386 *derivedType1, type2.GetDerivedTypeSpec()); in HaveCompatibleKindParameters()
393 const DeclTypeSpec &type1, const DeclTypeSpec &type2) { in HaveCompatibleKindParameters() argument
[all …]
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dconstexpr-many-arguments.cpp10 struct type2 struct
13 constexpr type2(T a00, T a01, T a02, T a03, T a04, T a05, T a06, T a07, T a08, T a09, in type2() argument
25 constexpr type3(type2 a0, type2 a1) : my_data{a0, a1} {} in type3() argument
26 type2 my_data[2];
/llvm-project-15.0.7/clang/test/Sema/
H A Dc11-typedef-redef.c8 typedef int type2; in f() typedef
9 typedef type type2; in f() typedef
10 typedef int type2; in f() typedef
H A Dbuiltin-align.c50 …fine check_same_type(type1, type2) __builtin_types_compatible_p(type1, type2) && __builtin_types_c… argument
/llvm-project-15.0.7/mlir/test/Dialect/PDL/
H A Dops.mlir63 %type2 = type
64 %root = operation -> (%type1, %type2 : !pdl.type, !pdl.type)
78 %type2 = type
79 %root = operation -> (%type1, %type2 : !pdl.type, !pdl.type)
81 %newOp = operation "foo.op" -> (%type1, %type2 : !pdl.type, !pdl.type)
104 %type2 = type
106 %operand2 = operand : %type2
109 %newOp = operation "foo.op" -> (%type1, %type2 : !pdl.type, !pdl.type)
/llvm-project-15.0.7/mlir/lib/Dialect/
H A DTraits.cpp132 Type OpTrait::util::getBroadcastedType(Type type1, Type type2, in getBroadcastedType() argument
138 if (elementType != getElementTypeOrSelf(type2)) in getBroadcastedType()
144 if (type1.isa<UnrankedTensorType>() || type2.isa<UnrankedTensorType>()) { in getBroadcastedType()
145 if (type1.isa<VectorType>() || type2.isa<VectorType>()) in getBroadcastedType()
160 Optional<TypeID> compositeKind2 = getCompositeTypeKind(type2); in getBroadcastedType()
176 if (!getBroadcastedShape(getShape(type1), getShape(type2), resultShape)) in getBroadcastedType()
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dinstantiate-exception-spec-cxx11.cpp82 base(const typename T::type2 &);
91 struct type2 { struct
98 typedef type2<types> type2; typedef
H A Dms-if-exists.cpp14 typedef Nontemplate::value type2; in __if_exists() typedef
27 X<int>::type2 i2; // expected-error{{no type named 'type2' in 'X<int>'}}
H A Dcanonical-expr-type.cpp43 typedef T __attribute__((ext_vector_type(M))) type2; typedef
47 void f0(type2);
H A Dtemp_arg_type.cpp101 template<typename T> typename T::type2 f() noexcept(T::b) {} in f()
105 using type2 = void; typedef
H A Dinstantiate-declref.cpp58 typedef struct { T z; } type2; in foo() typedef
59 type2 t3 = { s1.x }; in foo()
/llvm-project-15.0.7/mlir/unittests/IR/
H A DInterfaceTest.cpp69 auto type2 = builder.getType<test::TestTypeWithLayoutType>(2); in TEST() local
72 typeSet.insert(type2); in TEST()
75 EXPECT_TRUE(typeSet.contains(type2)); in TEST()
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Dldst-zero.ll20 %type2 = getelementptr inbounds %struct.tree_common, %struct.tree_common* %t, i64 0, i32 1
21 store i8* %type, i8** %type2, align 8
53 %type2 = getelementptr inbounds %struct.tree_common, %struct.tree_common* %t, i64 0, i32 1
54 store i8* %type, i8** %type2, align 8
H A Dmisched-stp.ll47 %type2 = getelementptr inbounds %struct.tree_common, %struct.tree_common* %t, i64 0, i32 1
48 store i8* %type, i8** %type2, align 8
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/readability/
H A Dsuspicious-call-argument.cpp329 struct type2;
333 void operator()(type1 &mdl, type2 &arr_vars, type3 &fml, type2 &aux_vars) const {} in operator ()()
337 void operator()(type1 &mdl, type2 &arr_vars, type3 &fml, type2 &aux_vars, in operator ()()
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dmangle-subst.cpp90 typedef int type2; typedef
94 typename X<T>::template Y<T>::type f(typename X<T>::template Y<T>::type2) { return 0; } in f() argument
/llvm-project-15.0.7/llvm/test/Transforms/JumpThreading/
H A Dstale-loop-info-after-unfold-select.ll4 %"type2" = type opaque
6 define dso_local i16* @func2(%"type1"* %this, %"type2"*) {
/llvm-project-15.0.7/llvm/test/Transforms/LowerTypeTests/
H A Dfunction-ext.ll25 %p = call i1 @llvm.type.test(i8* %ptr, metadata !"type2")
38 !1 = !{i64 0, !"type2"}
/llvm-project-15.0.7/llvm/test/Transforms/LoopVectorize/
H A Dlcssa-crash.ll5 %type1 = type { %type2 }
6 %type2 = type { [0 x i8*], i8**, i32, i32, i32 }
/llvm-project-15.0.7/polly/lib/External/isl/
H A Disl_space_private.h48 __isl_keep isl_space *space2, enum isl_dim_type type2);
51 __isl_keep isl_space *space2, enum isl_dim_type type2);
/llvm-project-15.0.7/mlir/lib/IR/
H A DTypeUtilities.cpp76 LogicalResult mlir::verifyCompatibleShape(Type type1, Type type2) { in verifyCompatibleShape() argument
78 auto sType2 = type2.dyn_cast<ShapedType>(); in verifyCompatibleShape()

123