Lines Matching refs:complex
3 // check conversion of complex type of different size. Both fir and mlir
7 func.func @test1(%x : complex<f32>) -> complex<f64> {
8 %1 = fir.convert %x : (complex<f32>) -> complex<f64>
9 return %1 : complex<f64>
11 func.func @test2(%x : complex<f32>) -> complex<f64> {
12 %1 = fir.convert %x : (complex<f32>) -> complex<f64>
13 return %1 : complex<f64>
15 func.func @test3(%x : complex<f32>) -> complex<f128> {
16 %1 = fir.convert %x : (complex<f32>) -> complex<f128>
17 return %1 : complex<f128>
19 func.func @test4(%x : complex<f32>) -> complex<f128> {
20 %1 = fir.convert %x : (complex<f32>) -> complex<f128>
21 return %1 : complex<f128>
29 // CHECK-DAG: #[[CMPX8:.*]] = #llvm.di_basic_type<tag = DW_TAG_base_type, name = "complex", sizeInBits = 128, encoding = DW_ATE_complex_float>
30 // CHECK-DAG: #[[CMPX4:.*]] = #llvm.di_basic_type<tag = DW_TAG_base_type, name = "complex", sizeInBits = 64, encoding = DW_ATE_complex_float>
31 // CHECK-DAG: #[[CMPX16:.*]] = #llvm.di_basic_type<tag = DW_TAG_base_type, name = "complex", sizeInBits = 256, encoding = DW_ATE_complex_float>