Home
last modified time | relevance | path

Searched refs:bcast (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Dialect/Math/Transforms/
H A DPolynomialApproximation.cpp212 auto bcast = [&](Value value) -> Value { in frexp() local
238 bcast(i32Cst(builder, 23))); in frexp()
252 auto bcast = [&](Value value) -> Value { in exp2I32() local
260 auto bias = bcast(i32Cst(builder, 127)); in exp2I32()
498 auto bcast = [&](Value value) -> Value { in matchAndRewrite() local
586 auto bcast = [&](Value value) -> Value { in logMatchAndRewrite() local
733 auto bcast = [&](Value value) -> Value { in matchAndRewrite() local
780 auto bcast = [&](Value value) -> Value { in matchAndRewrite() local
787 Value zero = bcast(f32Cst(builder, 0)); in matchAndRewrite()
788 Value one = bcast(f32Cst(builder, 1)); in matchAndRewrite()
[all …]
H A DAlgebraicSimplification.cpp66 auto bcast = [&](Value value) -> Value { in matchAndRewrite() local
96 rewriter.replaceOpWithNewOp<arith::DivFOp>(op, ValueRange({bcast(one), x})); in matchAndRewrite()
/llvm-project-15.0.7/mlir/test/Dialect/Affine/SuperVectorize/
H A Duniform_divergent.mlir16 // CHECK-NEXT: %[[bcast:.*]] = vector.broadcast %[[uniform]] : f32 to vector<128xf32>
18 // CHECK: arith.addf %{{.*}}, %[[bcast]] : vector<128xf32>
34 // CHECK-NEXT: %[[bcast:.*]] = vector.broadcast %[[uniform]] : f32 to vector<128xf32>
37 // CHECK: arith.addf %{{.*}}, %[[bcast]] : vector<128xf32>
38 // CHECK: arith.addf %{{.*}}, %[[bcast]] : vector<128xf32>
58 // CHECK-NEXT: %[[bcast:.*]] = vector.broadcast %[[uniform_ld]] : f32 to vector<128xf32>
60 // CHECK: arith.addf %[[bcast]], %{{.*}} : vector<128xf32>
/llvm-project-15.0.7/llvm/test/Transforms/Coroutines/
H A Dno-suspend.ll120 %bcast = bitcast i8* %subfn to void (i8*)*
121 invoke fastcc void %bcast(i8* %hdl) to label %real_susp unwind label %lpad
241 %bcast = bitcast i8* %subfn to void (i8*)*
242 call fastcc void %bcast(i8* %hdl)
289 %bcast = bitcast i8* %subfn to void (i8*)*
290 call fastcc void %bcast(i8* %hdl)
340 %bcast = bitcast i8* %subfn to void (i8*)*
341 call fastcc void %bcast(i8* %hdl)
386 %bcast = bitcast i8* %subfn to void (i8*)*
387 invoke fastcc void %bcast(i8* %hdl) to label %real_susp unwind label %lpad
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/
H A DVectorization.cpp1611 Value bcast = builder.create<vector::BroadcastOp>(loc, res.getType(), rhs); in depthwiseConv1dSliceAsFma() local
1612 return b.create<vector::FMAOp>(loc, lhs, bcast, res); in depthwiseConv1dSliceAsFma()
/llvm-project-15.0.7/mlir/test/Dialect/Vector/
H A Dcanonicalize.mlir1541 %bcast = vector.broadcast %value : vector<1xf32> to vector<8x1xf32>
1542 %t = vector.transpose %bcast, [1, 0] : vector<8x1xf32> to vector<1x8xf32>
1553 %bcast = vector.broadcast %value : f32 to vector<8x1xf32>
1554 %t = vector.transpose %bcast, [1, 0] : vector<8x1xf32> to vector<1x8xf32>
/llvm-project-15.0.7/mlir/test/Conversion/VectorToLLVM/
H A Dvector-to-llvm.mlir1802 // CHECK: %[[bcast:.*]] = llvm.bitcast %[[gep]] : !llvm.ptr<f32> to !llvm.ptr<vector<8xf32>>
1803 // CHECK: llvm.load %[[bcast]] {alignment = 4 : i64} : !llvm.ptr<vector<8xf32>>
1829 // CHECK: %[[bcast:.*]] = llvm.bitcast %[[gep]] : !llvm.ptr<f32> to !llvm.ptr<vector<4xf32>>
1830 // CHECK: llvm.store %{{.*}}, %[[bcast]] {alignment = 4 : i64} : !llvm.ptr<vector<4xf32>>
/llvm-project-15.0.7/llvm/test/Analysis/CostModel/X86/
H A Dshuffle-load.ll24 ; %bcast = shufflevector <2 x double> %insert, <2 x double> poison, <2 x i32> zeroinitializer