Home
last modified time | relevance | path

Searched refs:product (Results 1 – 25 of 184) sorted by relevance

12345678

/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dreal.cpp161 if (rshift >= product.upper.bits + product.lower.bits) { in Multiply()
162 sticky = !product.lower.IsZero() || !product.upper.IsZero(); in Multiply()
165 !product.upper in Multiply()
166 .IAND(product.upper.MASKR(rshift - product.lower.bits)) in Multiply()
169 sticky = !product.lower.IAND(product.lower.MASKR(rshift)).IsZero(); in Multiply()
171 product.lower = product.lower.SHIFTRWithFill(product.upper, rshift); in Multiply()
172 product.upper = product.upper.SHIFTR(rshift); in Multiply()
174 product.lower = product.lower.IBSET(0); in Multiply()
186 product.upper = product.upper.SHIFTLWithFill(product.lower, lshift); in Multiply()
187 product.lower = product.lower.SHIFTL(lshift); in Multiply()
[all …]
/llvm-project-15.0.7/openmp/runtime/test/atomic/
H A Domp_atomic.c17 int product; in test_omp_atomic() local
38 product = 1; in test_omp_atomic()
131 product *= i; in test_omp_atomic()
135 if (known_product != product) { in test_omp_atomic()
138 product, known_product); in test_omp_atomic()
143 product = KNOWN_PRODUCT; in test_omp_atomic()
150 product /= i; in test_omp_atomic()
153 if (product != 1) { in test_omp_atomic()
157 product); in test_omp_atomic()
/llvm-project-15.0.7/flang/runtime/
H A Dmatmul.cpp73 inline void MatrixTimesMatrix(CppTypeFor<RCAT, RKIND> *RESTRICT product, in MatrixTimesMatrix() argument
77 std::memset(product, 0, rows * cols * sizeof *product); in MatrixTimesMatrix()
80 ResultType *RESTRICT p{product}; in MatrixTimesMatrix()
107 inline void MatrixTimesVector(CppTypeFor<RCAT, RKIND> *RESTRICT product, in MatrixTimesVector() argument
111 std::memset(product, 0, rows * sizeof *product); in MatrixTimesVector()
113 ResultType *RESTRICT p{product}; in MatrixTimesVector()
136 inline void VectorTimesMatrix(CppTypeFor<RCAT, RKIND> *RESTRICT product, in VectorTimesMatrix() argument
140 std::memset(product, 0, cols * sizeof *product); in VectorTimesMatrix()
142 ResultType *RESTRICT p{product}; in VectorTimesMatrix()
/llvm-project-15.0.7/lldb/test/API/commands/log/basic/
H A Dmain.cpp7 product (int x, int y) in product() function
35 return product (i, j); in foo()
39 return product (sum (i, i), sum (j, j)); in foo()
/llvm-project-15.0.7/lldb/test/API/functionalities/breakpoint/breakpoint_ids/
H A Dmain.cpp10 product (int x, int y) in product() function
38 return product (i, j); in foo()
42 return product (sum (i, i), sum (j, j)); in foo()
/llvm-project-15.0.7/lldb/test/API/commands/command/script/
H A Dmain.cpp8 product (int x, int y) in product() function
36 return product (i, j); in foo()
40 return product (sum (i, i), sum (j, j)); in foo()
/llvm-project-15.0.7/openmp/runtime/test/worksharing/for/
H A Domp_parallel_for_reduction.c20 int product; in test_omp_parallel_for_reduction() local
36 product = 1; in test_omp_parallel_for_reduction()
102 #pragma omp parallel for schedule(dynamic,1) private(i) reduction(*:product) in test_omp_parallel_for_reduction()
104 product *= i; in test_omp_parallel_for_reduction()
107 if(known_product != product) { in test_omp_parallel_for_reduction()
110 " instead of %d\n\n",product,known_product); in test_omp_parallel_for_reduction()
H A Domp_for_reduction.c16 int product = 1; in test_omp_for_reduction() local
37 product = 1; in test_omp_for_reduction()
91 #pragma omp for schedule(dynamic,1) reduction(*:product) in test_omp_for_reduction()
93 product *= j; in test_omp_for_reduction()
97 if(known_product != product) { in test_omp_for_reduction()
100 " instead of %d\n",product,known_product); in test_omp_for_reduction()
/llvm-project-15.0.7/openmp/runtime/test/parallel/
H A Domp_parallel_reduction.c20 int product; in test_omp_parallel_reduction() local
34 product=1; in test_omp_parallel_reduction()
100 #pragma omp parallel for schedule(dynamic,1) private(i) reduction(*:product) in test_omp_parallel_reduction()
102 product *= i; in test_omp_parallel_reduction()
106 if(known_product != product) { in test_omp_parallel_reduction()
108 …fprintf(stderr,"Error in Product with integers: Result was %d instead of %d\n\n",product,known_pro… in test_omp_parallel_reduction()
/llvm-project-15.0.7/openmp/runtime/test/worksharing/sections/
H A Domp_parallel_sections_reduction.c17 int product; in test_omp_parallel_sections_reduction() local
30 product =1; in test_omp_parallel_sections_reduction()
168 #pragma omp parallel sections private(i) reduction(*:product) in test_omp_parallel_sections_reduction()
173 product *= i; in test_omp_parallel_sections_reduction()
179 product *= i; in test_omp_parallel_sections_reduction()
185 product *= i; in test_omp_parallel_sections_reduction()
189 if(known_product != product) { in test_omp_parallel_sections_reduction()
192 " instead of %d\n",product,known_product); in test_omp_parallel_sections_reduction()
H A Domp_sections_reduction.c16 int product; in test_omp_sections_reduction() local
31 product =1; in test_omp_sections_reduction()
177 #pragma omp sections private(i) reduction(*:product) in test_omp_sections_reduction()
182 product *= i; in test_omp_sections_reduction()
188 product *= i; in test_omp_sections_reduction()
194 product *= i; in test_omp_sections_reduction()
199 if(known_product != product) { in test_omp_sections_reduction()
202 " instead of %d\n",product,known_product); in test_omp_sections_reduction()
/llvm-project-15.0.7/llvm/test/CodeGen/NVPTX/
H A Dwmma.py98 from itertools import product
296 for geom, type_a, type_c in product( geoms, types_a, types_c):
297 for type_b, type_d in product(types_b if types_b else [type_a],
307 in product(geoms, frags, types)]
311 in product(geoms, frags, types)]
526 for frag, layout, space, stride in product(
600 for frag, layout, space, stride in product(
669 for frag, space, trans in product(
779 for op, alayout, blayout, rnd, satf in product(
816 for op, alayout, blayout, satf in product(
H A Dld-st-addrrspace.py12 from itertools import product
59 for op_type, volatile, space in product(
/llvm-project-15.0.7/llvm/test/Assembler/
H A Dinvalid-uselistorder-function-between-blocks.ll14 %product = phi i32 [%ef, %first], [%sum, %0]
15 %backto0 = icmp slt i32 %product, -9
36 ret i32 %product
H A Duselistorder.ll24 %product = phi i32 [%ef, %first], [%sum, %0]
25 %backto0 = icmp slt i32 %product, -9
29 ret i32 %product
/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dinteger.h825 xy += product[to]; in MultiplyUnsigned()
826 product[to] = xy & partMask; in MultiplyUnsigned()
835 lower.LEPart(j) = product[j]; in MultiplyUnsigned()
836 upper.LEPart(j) = product[j + parts]; in MultiplyUnsigned()
857 Product product{absx.MultiplyUnsigned(absy)}; in MultiplyUnsigned()
859 product.lower = product.lower.NOT(); in MultiplyUnsigned()
860 product.upper = product.upper.NOT(); in MultiplyUnsigned()
863 product.lower = incremented.value; in MultiplyUnsigned()
865 product.upper = product.upper.AddUnsigned(one).value; in MultiplyUnsigned()
868 return product; in MultiplyUnsigned()
[all …]
/llvm-project-15.0.7/mlir/test/Integration/Dialect/Vector/CPU/
H A Dtest-outerproduct-i64.mlir46 // Simple case, splat scalars into vectors, then take outer product.
51 // outer product 8x8:
66 // outer product 2x3:
74 // outer product 2x3:
H A Dtest-outerproduct-f32.mlir46 // Simple case, splat scalars into vectors, then take outer product.
51 // outer product 8x8:
66 // outer product 2x3:
74 // outer product 2x3:
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dbuiltins-nvptx-mma.py12 from itertools import product
39 for geom, type_a, type_c in product( geoms, types_a, types_c):
40 for type_b, type_d in product(types_b if types_b else [type_a],
52 in product(geoms, frags, types)]
252 for frag, layout in sorted(product(get_ldst_ops(), ["row","col"]), key=str):
315 for op, alayout, blayout, satf in sorted(product( get_mma_ops(),
/llvm-project-15.0.7/polly/lib/External/isl/
H A Disl_farkas.c681 isl_basic_set *product; in construct_product() local
700 product = isl_basic_set_alloc_space(space, 0, n_line, n_ray + n_vertex); in construct_product()
701 product = isl_basic_set_set_rational(product); in construct_product()
704 product = add_lines(product, &data->factors[i], total); in construct_product()
706 product = add_rays(product, &data->factors[i], total); in construct_product()
710 product = add_vertex(product, data); in construct_product()
713 return product; in construct_product()
/llvm-project-15.0.7/flang/unittests/Evaluate/
H A Dinteger.cpp190 auto product{a.MultiplyUnsigned(b)}; in exhaustiveTesting() local
192 x * y, (product.upper.ToUInt64() << BITS) ^ product.lower.ToUInt64()) in exhaustiveTesting()
194 product.lower.ToUInt64(), product.upper.ToUInt64()); in exhaustiveTesting()
195 product = a.MultiplySigned(b); in exhaustiveTesting()
196 MATCH((sx * sy) & maxUnsignedValue, product.lower.ToUInt64()) in exhaustiveTesting()
198 MATCH(((sx * sy) >> BITS) & maxUnsignedValue, product.upper.ToUInt64()) in exhaustiveTesting()
/llvm-project-15.0.7/third-party/benchmark/test/
H A Dargs_product_test.cc64 int64_t product = in BENCHMARK_DEFINE_F() local
66 for (int64_t x = 0; x < product; x++) { in BENCHMARK_DEFINE_F()
H A Dmultiple_ranges_test.cc69 int64_t product = state.range(0) * state.range(1) * state.range(2); in BENCHMARK_DEFINE_F() local
70 for (int64_t x = 0; x < product; x++) { in BENCHMARK_DEFINE_F()
/llvm-project-15.0.7/mlir/lib/Dialect/Shape/Transforms/
H A DShapeToShapeLowering.cpp46 Value product = b.create<MulOp>(loc, valueType, body->getArgument(1), in matchAndRewrite() local
48 b.create<shape::YieldOp>(loc, product); in matchAndRewrite()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/ArmSVE/
H A DArmSVE.td103 let summary = "Vector-vector dot product and accumulate op";
105 SDOT: Signed integer addition of dot product.
110 product of each group (without loss of precision) and then add each result
166 let summary = "Vector-vector dot product and accumulate op";
168 UDOT: Unsigned integer addition of dot product.
173 product of each group (without loss of precision) and then add each result

12345678