Searched refs:allocmem (Results 1 – 13 of 13) sorted by relevance
| /llvm-project-15.0.7/flang/test/Fir/Todo/ |
| H A D | allocmem.fir | 3 // Test `fir.allocmem` of derived type with LEN parameters conversion to llvm. 7 // CHECK: not yet implemented: fir.allocmem codegen of derived type with length parameters 8 …%0 = fir.allocmem !fir.type<_QTt(p1:i32,p2:i16){f1:i32,f2:f32}>(%arg0, %arg1 : i32, i16) {name = "…
|
| /llvm-project-15.0.7/flang/test/Fir/ |
| H A D | alloc.fir | 24 %1 = fir.allocmem i32 32 %1 = fir.allocmem i32, %0 53 %1 = fir.allocmem !fir.char<1,10> 60 %1 = fir.allocmem !fir.char<2,10> 88 %1 = fir.allocmem !fir.char<1,?>(%l : i32) 98 %1 = fir.allocmem !fir.char<2,?>(%l : i32) 136 %1 = fir.allocmem !fir.array<3x3xi32> 143 %1 = fir.allocmem !fir.array<3x3x!fir.char<1,10>> 181 %1 = fir.allocmem !fir.array<3x?xi32>, %e 191 %1 = fir.allocmem !fir.array<?x?xi32>, %e, %e [all …]
|
| H A D | memory-allocation-opt.fir | 6 // CHECK: %[[mem:.*]] = fir.allocmem !fir.array<1000123xi32> {bindc_name = "array", uniq_name = "_Q… 20 // CHECK: %[[mem:.*]] = fir.allocmem !fir.array<?xi32>, %{{[0-9]+}} {bindc_name = "array", uniq_nam…
|
| H A D | array-copies-pointers.fir | 9 // CHECK: %[[ALLOC:.*]] = fir.allocmem !fir.array<100xf32> 36 // CHECK-NOT: fir.allocmem 63 // CHECK: %[[ALLOC:.*]] = fir.allocmem !fir.array<100xf32> 90 // CHECK: %[[ALLOC:.*]] = fir.allocmem !fir.array<100xf32> 118 // CHECK: %[[ALLOC:.*]] = fir.allocmem !fir.array<4x!fir.type<some_type{i:i32}>> 147 // CHECK: %[[ALLOC:.*]] = fir.allocmem !fir.array<?xf32>
|
| H A D | array-value-copy-2.fir | 4 // CHECK-NOT: fir.allocmem 43 // CHECK: fir.allocmem
|
| H A D | array-value-copy-3.fir | 40 // CHECK: %[[VAL_11:.*]] = fir.allocmem !fir.array<10x!fir.type<t{i:!fir.box<!fir.heap<!fir.array…
|
| H A D | array-value-copy.fir | 107 // CHECK: %[[TEMP:.*]] = fir.allocmem !fir.array<10xi32> 179 // CHECK: %[[TEMP:.*]] = fir.allocmem !fir.array<10x5xi32> 286 // CHECK: %[[TEMP:.*]] = fir.allocmem !fir.array<100xf32> 402 // CHECK: %[[TEMP:.*]] = fir.allocmem !fir.array<10xi32>
|
| H A D | array-modify.fir | 82 // CHECK: %[[VAL_8:.*]] = fir.allocmem !fir.array<100xf32>{{$}}
|
| H A D | abstract-results.fir | 76 %alloc = fir.allocmem f64
|
| H A D | fir-ops.fir | 48 // CHECK: [[VAL_5:%.*]] = fir.allocmem !fir.array<100xf32> 52 %5 = fir.allocmem !fir.array<100xf32>
|
| H A D | convert-to-llvm.fir | 190 // Verify that fir.allocmem is transformed to a call to malloc 195 %z0 = fir.allocmem i32 207 // Verify that fir.allocmem is transformed to a call to malloc 212 %z0 = fir.allocmem !fir.array<100xf32> 229 %1 = fir.allocmem !fir.array<?x?xf32>, %ncols, %nrows 247 %1 = fir.allocmem !fir.array<?x!fir.char<1,?>>(%len : index), %nelems
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Transforms/ |
| H A D | ArrayValueCopy.cpp | 1045 mlir::Value allocmem = rewriter.create<AllocMemOp>( in allocateArrayTemp() local 1053 loc, fir::BoxType::get(baseType), allocmem, shape, in allocateArrayTemp() 1065 r.create<FreeMemOp>(loc, allocmem); in allocateArrayTemp() 1067 return {allocmem, cleanup}; in allocateArrayTemp() 1070 r.create<FreeMemOp>(loc, allocmem); in allocateArrayTemp() 1072 return {allocmem, cleanup}; in allocateArrayTemp() 1106 auto [allocmem, genTempCleanUp] = in referenceToClone() 1108 genArrayCopy</*copyIn=*/true>(load.getLoc(), rewriter, allocmem, in referenceToClone() 1114 rewriter, loc, getEleTy(load.getType()), eleTy, allocmem, shapeOp, in referenceToClone() 1154 auto [allocmem, genTempCleanUp] = in materializeAssignment() [all …]
|
| /llvm-project-15.0.7/flang/include/flang/Optimizer/Dialect/ |
| H A D | FIROps.td | 180 def fir_AllocMemOp : fir_Op<"allocmem", 187 The memory object is in an undefined state. `allocmem` operations must 191 %0 = fir.allocmem !fir.array<10 x f32> 238 Deallocates a heap memory reference that was allocated by an `allocmem`. 245 %21 = fir.allocmem !fir.type<ZT(p:i32){field:i32}> 1196 // %masks = allocmem array<??xlogical>
|