| /llvm-project-15.0.7/flang/include/flang/Evaluate/ |
| H A D | logical.h | 26 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 D | type.h | 55 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 D | conflict-resolution.mlir | 18 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 D | basic.mlir | 6 // 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 D | deduplication.mlir | 24 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 D | symbol-rename-listener.mlir | 4 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 D | structure-ops.mlir | 7 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 D | control-flow-ops.mlir | 158 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 D | decorations.mlir | 3 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 D | module.mlir | 3 // 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 D | phi.mlir | 5 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 D | memory-ops.mlir | 7 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 D | global-variable.mlir | 8 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 D | logical.cpp | 13 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 D | fold-logical.cpp | 30 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 D | type.cpp | 148 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 D | module-ops-to-llvm.mlir | 8 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 D | vce-deduction.mlir | 11 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 D | inlining.mlir | 3 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 D | type-code.cpp | 91 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 D | tools.h | 197 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 D | dot-product.cpp | 31 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 D | builtins.mlir | 11 // 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 D | Reduction.cpp | 41 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 D | Matmul.cpp | 79 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()
|