Home
last modified time | relevance | path

Searched refs:Logical (Results 1 – 25 of 226) sorted by relevance

12345678910

/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dlogical.h26 constexpr Logical() {} // .FALSE. in Logical() function
28 constexpr Logical(Logical<B, C> x) : word_{Represent(x.IsTrue())} {} in Logical() function
33 template <int B, bool C> constexpr Logical &operator=(Logical<B, C> x) {
82 constexpr Logical AND(const Logical &that) const { in AND()
86 constexpr Logical OR(const Logical &that) const { in OR()
90 constexpr Logical EQV(const Logical &that) const { return NEQV(that).NOT(); } in EQV()
92 constexpr Logical NEQV(const Logical &that) const { in NEQV()
105 extern template class Logical<8>;
106 extern template class Logical<16>;
107 extern template class Logical<32>;
[all …]
H A Dtype.h55 using LogicalResult = Type<TypeCategory::Logical, 4>;
73 case TypeCategory::Logical: in IsValidKindOfIntrinsicType()
305 class Type<TypeCategory::Logical, KIND>
306 : public TypeBase<TypeCategory::Logical, KIND> {
308 using Scalar = value::Logical<8 * KIND>;
341 using LogicalTypes = CategoryTypes<TypeCategory::Logical>;
376 SomeKind<TypeCategory::Character>, SomeKind<TypeCategory::Logical>>;
422 using SomeLogical = SomeKind<TypeCategory::Logical>;
479 PREFIX<Type<TypeCategory::Logical, K>> SUFFIX;
/llvm-project-15.0.7/mlir/test/Dialect/SPIRV/Linking/ModuleCombiner/
H A Dconflict-resolution.mlir18 spv.module Logical GLSL450 {
24 spv.module Logical GLSL450 {
54 spv.module Logical GLSL450 {
60 spv.module Logical GLSL450 {
67 spv.module Logical GLSL450 {
97 spv.module Logical GLSL450 {
103 spv.module Logical GLSL450 {
138 spv.module Logical GLSL450 {
144 spv.module Logical GLSL450 {
177 spv.module Logical GLSL450 {
[all …]
H A Dbasic.mlir6 // CHECK-NEXT: spv.module Logical GLSL450 {
26 spv.module Logical GLSL450 {
36 spv.module Logical GLSL450 {
54 spv.module Logical GLSL450 {
61 spv.module Logical Simple {
65 spv.module Logical GLSL450 {
72 spv.module Logical GLSL450 {
76 spv.module Logical GLSL450 requires #spv.vce<v1.0, [Shader], [SPV_KHR_storage_buffer_storage_class]…
H A Ddeduplication.mlir24 spv.module Logical GLSL450 {
34 spv.module Logical GLSL450 {
63 spv.module Logical GLSL450 {
67 spv.module Logical GLSL450 {
92 spv.module Logical GLSL450 {
96 spv.module Logical GLSL450 {
127 spv.module Logical GLSL450 {
136 spv.module Logical GLSL450 {
163 spv.module Logical GLSL450 {
171 spv.module Logical GLSL450 {
[all …]
H A Dsymbol-rename-listener.mlir4 spv.module @Module1 Logical GLSL450 {
16 spv.module @Module2 Logical GLSL450 {
30 spv.module @Module3 Logical GLSL450 {
/llvm-project-15.0.7/mlir/test/Dialect/SPIRV/IR/
H A Dstructure-ops.mlir7 spv.module Logical GLSL450 {
31 spv.module Logical GLSL450 {
41 spv.module Logical GLSL450 {
139 spv.module Logical GLSL450 {
147 spv.module Logical GLSL450 {
161 spv.module Logical GLSL450 {
171 spv.module Logical GLSL450 {
186 spv.module Logical GLSL450 {
425 spv.module Logical GLSL450
453 spv.module Logical { }
[all …]
H A Dcontrol-flow-ops.mlir158 spv.module Logical GLSL450 {
203 spv.module Logical GLSL450 {
213 spv.module Logical GLSL450 {
223 spv.module Logical GLSL450 {
233 spv.module Logical GLSL450 {
244 spv.module Logical GLSL450 {
255 spv.module Logical GLSL450 {
531 spv.module Logical GLSL450 {
540 spv.module Logical GLSL450 {
618 spv.module Logical GLSL450 {
[all …]
/llvm-project-15.0.7/mlir/test/Target/SPIRV/
H A Ddecorations.mlir3 spv.module Logical GLSL450 requires #spv.vce<v1.0, [Shader], []> {
10 spv.module Logical GLSL450 requires #spv.vce<v1.0, [Shader], []> {
17 spv.module Logical GLSL450 requires #spv.vce<v1.0, [Shader], []> {
24 spv.module Logical GLSL450 requires #spv.vce<v1.0, [Shader], []> {
33 spv.module Logical GLSL450 requires #spv.vce<v1.0, [Shader], []> {
40 spv.module Logical GLSL450 requires #spv.vce<v1.0, [Shader], []> {
47 spv.module Logical GLSL450 requires #spv.vce<v1.0, [Shader], []> {
54 spv.module Logical GLSL450 requires #spv.vce<v1.0, [Shader], []> {
H A Dmodule.mlir3 // CHECK: spv.module Logical GLSL450 requires #spv.vce<v1.0, [Shader], []> {
9 spv.module Logical GLSL450 requires #spv.vce<v1.0, [Shader], []> {
18 spv.module Logical GLSL450 requires #spv.vce<v1.5, [Shader], []> {
24 spv.module Logical GLSL450 requires #spv.vce<v1.0, [Shader, Float16], []> {
30 spv.module Logical GLSL450 requires #spv.vce<v1.0, [Shader], [SPV_KHR_float_controls, SPV_KHR_subgr…
H A Dphi.mlir5 spv.module Logical GLSL450 requires #spv.vce<v1.0, [Shader], []> {
26 spv.module Logical GLSL450 requires #spv.vce<v1.0, [Shader], []> {
50 spv.module Logical GLSL450 requires #spv.vce<v1.0, [Shader], []> {
80 spv.module Logical GLSL450 requires #spv.vce<v1.0, [Shader], []> {
112 spv.module Logical GLSL450 requires #spv.vce<v1.0, [Shader], []> {
161 spv.module Logical GLSL450 requires #spv.vce<v1.0, [Shader], []> {
244 spv.module Logical GLSL450 requires #spv.vce<v1.0, [Shader], []> {
292 spv.module Logical GLSL450 requires #spv.vce<v1.0, [Shader], []> {
311 spv.module Logical GLSL450 requires #spv.vce<v1.0, [Shader], []> {
330 spv.module Logical GLSL450 requires #spv.vce<v1.0, [Shader], []> {
H A Dmemory-ops.mlir7 spv.module Logical GLSL450 requires #spv.vce<v1.0, [Shader], []> {
17 spv.module Logical GLSL450 requires #spv.vce<v1.0, [Shader], []> {
29 spv.module Logical GLSL450 requires #spv.vce<v1.0, [Shader], []> {
63 spv.module Logical GLSL450 requires #spv.vce<v1.0, [Shader], []> {
75 spv.module Logical GLSL450 requires #spv.vce<v1.0, [Shader], []> {
86 spv.module Logical GLSL450 requires #spv.vce<v1.0, [Shader], []> {
H A Dglobal-variable.mlir8 spv.module Logical GLSL450 requires #spv.vce<v1.0, [Shader], []> {
17 spv.module Logical GLSL450 requires #spv.vce<v1.0, [Shader], []> {
26 spv.module Logical GLSL450 requires #spv.vce<v1.0, [Shader], []> {
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dlogical.cpp13 template class Logical<8>; variable
14 template class Logical<16>; variable
15 template class Logical<32>; variable
16 template class Logical<64>; variable
H A Dfold-logical.cpp30 static_assert(T::category == TypeCategory::Logical); in FoldAllAny()
45 Expr<Type<TypeCategory::Logical, KIND>> FoldIntrinsicFunction( in FoldIntrinsicFunction()
47 FunctionRef<Type<TypeCategory::Logical, KIND>> &&funcRef) { in FoldIntrinsicFunction() argument
48 using T = Type<TypeCategory::Logical, KIND>; in FoldIntrinsicFunction()
261 static_assert(T::category != TypeCategory::Logical); in FoldOperation()
278 Expr<Type<TypeCategory::Logical, KIND>> FoldOperation( in FoldOperation()
283 using Ty = Type<TypeCategory::Logical, KIND>; in FoldOperation()
292 Expr<Type<TypeCategory::Logical, KIND>> FoldOperation( in FoldOperation()
294 using LOGICAL = Type<TypeCategory::Logical, KIND>; in FoldOperation()
H A Dtype.cpp148 case TypeCategory::Logical: in MeasureSizeInBytes()
437 case TypeCategory::Logical: in ResultTypeForMultiply()
439 case TypeCategory::Logical: in ResultTypeForMultiply()
440 return DynamicType{TypeCategory::Logical, std::max(kind_, that.kind_)}; in ResultTypeForMultiply()
536 case TypeCategory::Logical: in ComparisonType()
538 case TypeCategory::Logical: in ComparisonType()
539 return DynamicType{TypeCategory::Logical, LogicalResult::kind}; in ComparisonType()
/llvm-project-15.0.7/mlir/test/Conversion/SPIRVToLLVM/
H A Dmodule-ops-to-llvm.mlir8 spv.module Logical GLSL450 {}
11 spv.module @foo Logical GLSL450 {}
14 spv.module Logical GLSL450 requires #spv.vce<v1.0, [Shader], [SPV_KHR_16bit_storage]> {}
17 spv.module Logical GLSL450 {
/llvm-project-15.0.7/mlir/test/Dialect/SPIRV/Transforms/
H A Dvce-deduction.mlir11 spv.module Logical GLSL450 attributes {
25 spv.module Logical GLSL450 attributes {
42 spv.module Logical GLSL450 attributes {
68 spv.module Logical GLSL450 attributes {
89 spv.module Logical GLSL450 attributes {
100 spv.module Logical GLSL450 attributes {
114 spv.module Logical GLSL450 attributes {
126 spv.module Logical GLSL450 attributes {
138 spv.module Logical GLSL450 attributes {
156 spv.module Logical GLSL450 attributes {
[all …]
H A Dinlining.mlir3 spv.module Logical GLSL450 {
18 spv.module Logical GLSL450 {
35 spv.module Logical GLSL450 {
70 spv.module Logical GLSL450 {
93 spv.module Logical GLSL450 {
122 spv.module Logical GLSL450 {
149 spv.module Logical GLSL450 {
186 spv.module Logical GLSL450 {
/llvm-project-15.0.7/flang/runtime/
H A Dtype-code.cpp91 case TypeCategory::Logical: in TypeCode()
161 return std::make_pair(TypeCategory::Logical, 1); in GetCategoryAndKind()
163 return std::make_pair(TypeCategory::Logical, 1); in GetCategoryAndKind()
165 return std::make_pair(TypeCategory::Logical, 2); in GetCategoryAndKind()
167 return std::make_pair(TypeCategory::Logical, 4); in GetCategoryAndKind()
169 return std::make_pair(TypeCategory::Logical, 8); in GetCategoryAndKind()
H A Dtools.h197 case TypeCategory::Logical: in ApplyType()
200 return FUNC<TypeCategory::Logical, 1>{}(std::forward<A>(x)...); in ApplyType()
202 return FUNC<TypeCategory::Logical, 2>{}(std::forward<A>(x)...); in ApplyType()
204 return FUNC<TypeCategory::Logical, 4>{}(std::forward<A>(x)...); in ApplyType()
206 return FUNC<TypeCategory::Logical, 8>{}(std::forward<A>(x)...); in ApplyType()
340 case TypeCategory::Logical: in GetResultType()
341 if (yCat == TypeCategory::Logical) { in GetResultType()
342 return std::make_pair(TypeCategory::Logical, maxKind); in GetResultType()
H A Ddot-product.cpp31 if constexpr (RCAT == TypeCategory::Logical) { in AccumulateIndexed()
63 if constexpr (RCAT != TypeCategory::Logical) { in DoDotProduct()
116 (resultType->second <= RKIND || RCAT == TypeCategory::Logical)) { in operator ()()
135 if (RCAT != TypeCategory::Logical && x.type() == y.type()) { in operator ()()
220 return DotProduct<TypeCategory::Logical, 1>{}(x, y, source, line); in RTNAME()
/llvm-project-15.0.7/mlir/test/Conversion/GPUToSPIRV/
H A Dbuiltins.mlir11 // CHECK-LABEL: spv.module @{{.*}} Logical GLSL450
37 // CHECK-LABEL: spv.module @{{.*}} Logical GLSL450
61 // CHECK-LABEL: spv.module @{{.*}} Logical GLSL450
85 // CHECK-LABEL: spv.module @{{.*}} Logical GLSL450
110 // CHECK-LABEL: spv.module @{{.*}} Logical GLSL450
132 // CHECK-LABEL: spv.module @{{.*}} Logical GLSL450
154 // CHECK-LABEL: spv.module @{{.*}} Logical GLSL450
178 // CHECK-LABEL: spv.module @{{.*}} Logical GLSL450
195 // CHECK-LABEL: spv.module @{{.*}} Logical GLSL450
211 // CHECK-LABEL: spv.module @{{.*}} Logical GLSL450
[all …]
/llvm-project-15.0.7/flang/unittests/Runtime/
H A DReduction.cpp41 auto mask{MakeArray<TypeCategory::Logical, 1>( in TEST()
123 auto mask{MakeArray<TypeCategory::Logical, 1>(shape, in TEST()
163 auto falseMask{MakeArray<TypeCategory::Logical, 4>( in TEST()
180 auto trueMask{MakeArray<TypeCategory::Logical, 4>( in TEST()
277 auto mask{MakeArray<TypeCategory::Logical, 1>( in TEST()
345 TEST(Reductions, Logical) { in TEST() argument
347 auto array{MakeArray<TypeCategory::Logical, 4>( in TEST()
358 EXPECT_EQ(res.type().raw(), (TypeCode{TypeCategory::Logical, 4}.raw())); in TEST()
375 auto array1{MakeArray<TypeCategory::Logical, 4>( in TEST()
606 auto logicalVector1{MakeArray<TypeCategory::Logical, 1>( in TEST()
[all …]
H A DMatmul.cpp79 auto xLog{MakeArray<TypeCategory::Logical, 1>(std::vector<int>{2, 3}, in TEST()
81 auto yLog{MakeArray<TypeCategory::Logical, 2>(std::vector<int>{3, 2}, in TEST()
89 ASSERT_EQ(result.type(), (TypeCode{TypeCategory::Logical, 2})); in TEST()

12345678910