File: llvm-string_03-2cd8fec.stdout

package info (click to toggle)
lfortran 0.59.0-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 56,736 kB
  • sloc: cpp: 168,052; f90: 74,272; python: 17,537; ansic: 7,705; yacc: 2,345; sh: 1,334; fortran: 895; makefile: 37; javascript: 15
file content (442 lines) | stat: -rw-r--r-- 26,249 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
; ModuleID = 'LFortran'
source_filename = "LFortran"

%string_descriptor = type <{ i8*, i64 }>

@string_const_data = private constant [8 x i8] c"learned "
@string_const = private global %string_descriptor <{ i8* getelementptr inbounds ([8 x i8], [8 x i8]* @string_const_data, i32 0, i32 0), i64 8 }>
@string_const_data.1 = private constant [5 x i8] c"from "
@string_const.2 = private global %string_descriptor <{ i8* getelementptr inbounds ([5 x i8], [5 x i8]* @string_const_data.1, i32 0, i32 0), i64 5 }>
@string_const_data.3 = private constant [4 x i8] c"the "
@string_const.4 = private global %string_descriptor <{ i8* getelementptr inbounds ([4 x i8], [4 x i8]* @string_const_data.3, i32 0, i32 0), i64 4 }>
@string_const_data.5 = private constant [4 x i8] c"best"
@string_const.6 = private global %string_descriptor <{ i8* getelementptr inbounds ([4 x i8], [4 x i8]* @string_const_data.5, i32 0, i32 0), i64 4 }>
@__Wrong_allocation = private unnamed_addr constant [67 x i8] c"runtime error: Attempting to allocate already allocated variable!\0A\00", align 1
@string_const_data.7 = private constant [5 x i8] c"I've "
@string_const.8 = private global %string_descriptor <{ i8* getelementptr inbounds ([5 x i8], [5 x i8]* @string_const_data.7, i32 0, i32 0), i64 5 }>
@0 = private unnamed_addr constant [25 x i8] c"_lcompilers_stringconcat\00", align 1
@1 = private unnamed_addr constant [119 x i8] c"At 21:12 of file tests/../integration_tests/string_03.f90\0ARuntime error: Argument %d of subroutine %s is unallocated.\0A\00", align 1
@2 = private unnamed_addr constant [25 x i8] c"_lcompilers_stringconcat\00", align 1
@3 = private unnamed_addr constant [119 x i8] c"At 21:12 of file tests/../integration_tests/string_03.f90\0ARuntime error: Argument %d of subroutine %s is unallocated.\0A\00", align 1
@4 = private unnamed_addr constant [25 x i8] c"_lcompilers_stringconcat\00", align 1
@5 = private unnamed_addr constant [119 x i8] c"At 21:12 of file tests/../integration_tests/string_03.f90\0ARuntime error: Argument %d of subroutine %s is unallocated.\0A\00", align 1
@6 = private unnamed_addr constant [25 x i8] c"_lcompilers_stringconcat\00", align 1
@7 = private unnamed_addr constant [119 x i8] c"At 21:12 of file tests/../integration_tests/string_03.f90\0ARuntime error: Argument %d of subroutine %s is unallocated.\0A\00", align 1
@string_const_data.9 = private constant [1 x i8] c"."
@string_const.10 = private global %string_descriptor <{ i8* getelementptr inbounds ([1 x i8], [1 x i8]* @string_const_data.9, i32 0, i32 0), i64 1 }>
@8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@9 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1

define void @_lcompilers_stringconcat(%string_descriptor* %s1, %string_descriptor* %s2, i32* %s1_len, i32* %s2_len, %string_descriptor* %concat_result) {
.entry:
  %0 = load i32, i32* %s1_len, align 4
  %1 = sext i32 %0 to i64
  %2 = sub i64 %1, 1
  %3 = add i64 %2, 1
  %4 = getelementptr %string_descriptor, %string_descriptor* %concat_result, i32 0, i32 0
  %5 = load i8*, i8** %4, align 8
  %StrSliceGEP = getelementptr i8, i8* %5, i64 0
  %StrSlice_StrView = alloca %string_descriptor, align 8
  %6 = getelementptr %string_descriptor, %string_descriptor* %StrSlice_StrView, i32 0, i32 0
  store i8* %StrSliceGEP, i8** %6, align 8
  %7 = getelementptr %string_descriptor, %string_descriptor* %StrSlice_StrView, i32 0, i32 1
  store i64 %3, i64* %7, align 4
  %8 = getelementptr %string_descriptor, %string_descriptor* %StrSlice_StrView, i32 0, i32 0
  %9 = getelementptr %string_descriptor, %string_descriptor* %StrSlice_StrView, i32 0, i32 1
  %10 = getelementptr %string_descriptor, %string_descriptor* %s1, i32 0, i32 0
  %11 = load i8*, i8** %10, align 8
  %12 = getelementptr %string_descriptor, %string_descriptor* %s1, i32 0, i32 1
  %13 = load i64, i64* %12, align 4
  call void @_lfortran_strcpy(i8** %8, i64* %9, i8 0, i8 0, i8* %11, i64 %13)
  %14 = load i32, i32* %s1_len, align 4
  %15 = add i32 %14, 1
  %16 = getelementptr %string_descriptor, %string_descriptor* %concat_result, i32 0, i32 1
  %17 = load i64, i64* %16, align 4
  %18 = trunc i64 %17 to i32
  %19 = sext i32 %15 to i64
  %20 = sext i32 %18 to i64
  %21 = sub i64 %20, %19
  %22 = add i64 %21, 1
  %23 = getelementptr %string_descriptor, %string_descriptor* %concat_result, i32 0, i32 0
  %24 = load i8*, i8** %23, align 8
  %25 = sext i32 %15 to i64
  %26 = sub i64 %25, 1
  %StrSliceGEP1 = getelementptr i8, i8* %24, i64 %26
  %StrSlice_StrView2 = alloca %string_descriptor, align 8
  %27 = getelementptr %string_descriptor, %string_descriptor* %StrSlice_StrView2, i32 0, i32 0
  store i8* %StrSliceGEP1, i8** %27, align 8
  %28 = getelementptr %string_descriptor, %string_descriptor* %StrSlice_StrView2, i32 0, i32 1
  store i64 %22, i64* %28, align 4
  %29 = getelementptr %string_descriptor, %string_descriptor* %StrSlice_StrView2, i32 0, i32 0
  %30 = getelementptr %string_descriptor, %string_descriptor* %StrSlice_StrView2, i32 0, i32 1
  %31 = getelementptr %string_descriptor, %string_descriptor* %s2, i32 0, i32 0
  %32 = load i8*, i8** %31, align 8
  %33 = getelementptr %string_descriptor, %string_descriptor* %s2, i32 0, i32 1
  %34 = load i64, i64* %33, align 4
  call void @_lfortran_strcpy(i8** %29, i64* %30, i8 0, i8 0, i8* %32, i64 %34)
  br label %return

return:                                           ; preds = %.entry
  br label %FINALIZE_SYMTABLE__lcompilers_stringconcat

FINALIZE_SYMTABLE__lcompilers_stringconcat:       ; preds = %return
  ret void
}

declare void @_lfortran_strcpy(i8**, i64*, i8, i8, i8*, i64)

define i32 @main(i32 %0, i8** %1) {
.entry:
  %call_arg_value29 = alloca i32, align 4
  %call_arg_value28 = alloca i32, align 4
  %call_arg_value22 = alloca i32, align 4
  %call_arg_value21 = alloca i32, align 4
  %call_arg_value15 = alloca i32, align 4
  %call_arg_value14 = alloca i32, align 4
  %call_arg_value8 = alloca i32, align 4
  %call_arg_value7 = alloca i32, align 4
  %call_arg_value1 = alloca i32, align 4
  %call_arg_value = alloca i32, align 4
  call void @_lpython_call_initial_functions(i32 %0, i8** %1)
  %__libasr__created__var__0_return_slot = alloca %string_descriptor, align 8
  store %string_descriptor zeroinitializer, %string_descriptor* %__libasr__created__var__0_return_slot, align 1
  %__libasr__created__var__1_return_slot = alloca %string_descriptor, align 8
  store %string_descriptor zeroinitializer, %string_descriptor* %__libasr__created__var__1_return_slot, align 1
  %__libasr__created__var__2_return_slot = alloca %string_descriptor, align 8
  store %string_descriptor zeroinitializer, %string_descriptor* %__libasr__created__var__2_return_slot, align 1
  %__libasr__created__var__3_return_slot = alloca %string_descriptor, align 8
  store %string_descriptor zeroinitializer, %string_descriptor* %__libasr__created__var__3_return_slot, align 1
  %__libasr__created__var__4_return_slot = alloca %string_descriptor, align 8
  store %string_descriptor zeroinitializer, %string_descriptor* %__libasr__created__var__4_return_slot, align 1
  %combined = alloca %string_descriptor, align 8
  store %string_descriptor zeroinitializer, %string_descriptor* %combined, align 1
  %2 = getelementptr %string_descriptor, %string_descriptor* %combined, i32 0, i32 1
  store i64 29, i64* %2, align 4
  %3 = getelementptr %string_descriptor, %string_descriptor* %combined, i32 0, i32 0
  %4 = call i8* @_lfortran_malloc(i64 29)
  store i8* %4, i8** %3, align 8
  %last_name = alloca %string_descriptor, align 8
  store %string_descriptor zeroinitializer, %string_descriptor* %last_name, align 1
  %5 = getelementptr %string_descriptor, %string_descriptor* %last_name, i32 0, i32 1
  store i64 7, i64* %5, align 4
  %6 = getelementptr %string_descriptor, %string_descriptor* %last_name, i32 0, i32 0
  %7 = call i8* @_lfortran_malloc(i64 7)
  store i8* %7, i8** %6, align 8
  %posit = alloca %string_descriptor, align 8
  store %string_descriptor zeroinitializer, %string_descriptor* %posit, align 1
  %8 = getelementptr %string_descriptor, %string_descriptor* %posit, i32 0, i32 1
  store i64 5, i64* %8, align 4
  %9 = getelementptr %string_descriptor, %string_descriptor* %posit, i32 0, i32 0
  %10 = call i8* @_lfortran_malloc(i64 5)
  store i8* %10, i8** %9, align 8
  %title = alloca %string_descriptor, align 8
  store %string_descriptor zeroinitializer, %string_descriptor* %title, align 1
  %11 = getelementptr %string_descriptor, %string_descriptor* %title, i32 0, i32 1
  store i64 4, i64* %11, align 4
  %12 = getelementptr %string_descriptor, %string_descriptor* %title, i32 0, i32 0
  %13 = call i8* @_lfortran_malloc(i64 4)
  store i8* %13, i8** %12, align 8
  %verb = alloca %string_descriptor, align 8
  store %string_descriptor zeroinitializer, %string_descriptor* %verb, align 1
  %14 = getelementptr %string_descriptor, %string_descriptor* %verb, i32 0, i32 1
  store i64 8, i64* %14, align 4
  %15 = getelementptr %string_descriptor, %string_descriptor* %verb, i32 0, i32 0
  %16 = call i8* @_lfortran_malloc(i64 8)
  store i8* %16, i8** %15, align 8
  %17 = getelementptr %string_descriptor, %string_descriptor* %verb, i32 0, i32 0
  %18 = getelementptr %string_descriptor, %string_descriptor* %verb, i32 0, i32 1
  %19 = load i8*, i8** getelementptr inbounds (%string_descriptor, %string_descriptor* @string_const, i32 0, i32 0), align 8
  call void @_lfortran_strcpy(i8** %17, i64* %18, i8 0, i8 0, i8* %19, i64 8)
  %20 = getelementptr %string_descriptor, %string_descriptor* %posit, i32 0, i32 0
  %21 = getelementptr %string_descriptor, %string_descriptor* %posit, i32 0, i32 1
  %22 = load i8*, i8** getelementptr inbounds (%string_descriptor, %string_descriptor* @string_const.2, i32 0, i32 0), align 8
  call void @_lfortran_strcpy(i8** %20, i64* %21, i8 0, i8 0, i8* %22, i64 5)
  %23 = getelementptr %string_descriptor, %string_descriptor* %title, i32 0, i32 0
  %24 = getelementptr %string_descriptor, %string_descriptor* %title, i32 0, i32 1
  %25 = load i8*, i8** getelementptr inbounds (%string_descriptor, %string_descriptor* @string_const.4, i32 0, i32 0), align 8
  call void @_lfortran_strcpy(i8** %23, i64* %24, i8 0, i8 0, i8* %25, i64 4)
  %26 = getelementptr %string_descriptor, %string_descriptor* %last_name, i32 0, i32 0
  %27 = getelementptr %string_descriptor, %string_descriptor* %last_name, i32 0, i32 1
  %28 = load i8*, i8** getelementptr inbounds (%string_descriptor, %string_descriptor* @string_const.6, i32 0, i32 0), align 8
  call void @_lfortran_strcpy(i8** %26, i64* %27, i8 0, i8 0, i8* %28, i64 4)
  %29 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__0_return_slot, i32 0, i32 0
  %30 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__0_return_slot, i32 0, i32 1
  %31 = load i8*, i8** %29, align 8
  call void @_lfortran_free(i8* %31)
  store i8* null, i8** %29, align 8
  store i64 0, i64* %30, align 4
  %32 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__0_return_slot, i32 0, i32 0
  %33 = load i8*, i8** %32, align 8
  %34 = icmp ne i8* %33, null
  br i1 %34, label %then, label %else

then:                                             ; preds = %.entry
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @__Wrong_allocation, i32 0, i32 0))
  call void @exit(i32 1)
  br label %ifcont

else:                                             ; preds = %.entry
  br label %ifcont

ifcont:                                           ; preds = %else, %then
  %35 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__0_return_slot, i32 0, i32 0
  %36 = call i8* @_lfortran_malloc(i64 13)
  store i8* %36, i8** %35, align 8
  %37 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__0_return_slot, i32 0, i32 1
  store i64 13, i64* %37, align 4
  store i32 5, i32* %call_arg_value, align 4
  store i32 8, i32* %call_arg_value1, align 4
  call void @_lcompilers_stringconcat(%string_descriptor* @string_const.8, %string_descriptor* %verb, i32* %call_arg_value, i32* %call_arg_value1, %string_descriptor* %__libasr__created__var__0_return_slot)
  %38 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__1_return_slot, i32 0, i32 0
  %39 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__1_return_slot, i32 0, i32 1
  %40 = load i8*, i8** %38, align 8
  call void @_lfortran_free(i8* %40)
  store i8* null, i8** %38, align 8
  store i64 0, i64* %39, align 4
  %41 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__1_return_slot, i32 0, i32 0
  %42 = load i8*, i8** %41, align 8
  %43 = icmp ne i8* %42, null
  br i1 %43, label %then2, label %else3

then2:                                            ; preds = %ifcont
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @__Wrong_allocation, i32 0, i32 0))
  call void @exit(i32 1)
  br label %ifcont4

else3:                                            ; preds = %ifcont
  br label %ifcont4

ifcont4:                                          ; preds = %else3, %then2
  %44 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__1_return_slot, i32 0, i32 0
  %45 = call i8* @_lfortran_malloc(i64 18)
  store i8* %45, i8** %44, align 8
  %46 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__1_return_slot, i32 0, i32 1
  store i64 18, i64* %46, align 4
  %47 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__0_return_slot, i32 0, i32 0
  %48 = load i8*, i8** %47, align 8
  %49 = ptrtoint i8* %48 to i64
  %50 = icmp eq i64 %49, 0
  br i1 %50, label %then5, label %ifcont6

then5:                                            ; preds = %ifcont4
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([119 x i8], [119 x i8]* @1, i32 0, i32 0), i32 1, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @0, i32 0, i32 0))
  call void @exit(i32 1)
  unreachable

ifcont6:                                          ; preds = %ifcont4
  store i32 13, i32* %call_arg_value7, align 4
  store i32 5, i32* %call_arg_value8, align 4
  call void @_lcompilers_stringconcat(%string_descriptor* %__libasr__created__var__0_return_slot, %string_descriptor* %posit, i32* %call_arg_value7, i32* %call_arg_value8, %string_descriptor* %__libasr__created__var__1_return_slot)
  %51 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__2_return_slot, i32 0, i32 0
  %52 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__2_return_slot, i32 0, i32 1
  %53 = load i8*, i8** %51, align 8
  call void @_lfortran_free(i8* %53)
  store i8* null, i8** %51, align 8
  store i64 0, i64* %52, align 4
  %54 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__2_return_slot, i32 0, i32 0
  %55 = load i8*, i8** %54, align 8
  %56 = icmp ne i8* %55, null
  br i1 %56, label %then9, label %else10

then9:                                            ; preds = %ifcont6
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @__Wrong_allocation, i32 0, i32 0))
  call void @exit(i32 1)
  br label %ifcont11

else10:                                           ; preds = %ifcont6
  br label %ifcont11

ifcont11:                                         ; preds = %else10, %then9
  %57 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__2_return_slot, i32 0, i32 0
  %58 = call i8* @_lfortran_malloc(i64 22)
  store i8* %58, i8** %57, align 8
  %59 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__2_return_slot, i32 0, i32 1
  store i64 22, i64* %59, align 4
  %60 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__1_return_slot, i32 0, i32 0
  %61 = load i8*, i8** %60, align 8
  %62 = ptrtoint i8* %61 to i64
  %63 = icmp eq i64 %62, 0
  br i1 %63, label %then12, label %ifcont13

then12:                                           ; preds = %ifcont11
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([119 x i8], [119 x i8]* @3, i32 0, i32 0), i32 1, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @2, i32 0, i32 0))
  call void @exit(i32 1)
  unreachable

ifcont13:                                         ; preds = %ifcont11
  store i32 18, i32* %call_arg_value14, align 4
  store i32 4, i32* %call_arg_value15, align 4
  call void @_lcompilers_stringconcat(%string_descriptor* %__libasr__created__var__1_return_slot, %string_descriptor* %title, i32* %call_arg_value14, i32* %call_arg_value15, %string_descriptor* %__libasr__created__var__2_return_slot)
  %64 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__3_return_slot, i32 0, i32 0
  %65 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__3_return_slot, i32 0, i32 1
  %66 = load i8*, i8** %64, align 8
  call void @_lfortran_free(i8* %66)
  store i8* null, i8** %64, align 8
  store i64 0, i64* %65, align 4
  %67 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__3_return_slot, i32 0, i32 0
  %68 = load i8*, i8** %67, align 8
  %69 = icmp ne i8* %68, null
  br i1 %69, label %then16, label %else17

then16:                                           ; preds = %ifcont13
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @__Wrong_allocation, i32 0, i32 0))
  call void @exit(i32 1)
  br label %ifcont18

else17:                                           ; preds = %ifcont13
  br label %ifcont18

ifcont18:                                         ; preds = %else17, %then16
  %70 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__3_return_slot, i32 0, i32 0
  %71 = call i8* @_lfortran_malloc(i64 29)
  store i8* %71, i8** %70, align 8
  %72 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__3_return_slot, i32 0, i32 1
  store i64 29, i64* %72, align 4
  %73 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__2_return_slot, i32 0, i32 0
  %74 = load i8*, i8** %73, align 8
  %75 = ptrtoint i8* %74 to i64
  %76 = icmp eq i64 %75, 0
  br i1 %76, label %then19, label %ifcont20

then19:                                           ; preds = %ifcont18
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([119 x i8], [119 x i8]* @5, i32 0, i32 0), i32 1, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @4, i32 0, i32 0))
  call void @exit(i32 1)
  unreachable

ifcont20:                                         ; preds = %ifcont18
  store i32 22, i32* %call_arg_value21, align 4
  store i32 7, i32* %call_arg_value22, align 4
  call void @_lcompilers_stringconcat(%string_descriptor* %__libasr__created__var__2_return_slot, %string_descriptor* %last_name, i32* %call_arg_value21, i32* %call_arg_value22, %string_descriptor* %__libasr__created__var__3_return_slot)
  %77 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__4_return_slot, i32 0, i32 0
  %78 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__4_return_slot, i32 0, i32 1
  %79 = load i8*, i8** %77, align 8
  call void @_lfortran_free(i8* %79)
  store i8* null, i8** %77, align 8
  store i64 0, i64* %78, align 4
  %80 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__4_return_slot, i32 0, i32 0
  %81 = load i8*, i8** %80, align 8
  %82 = icmp ne i8* %81, null
  br i1 %82, label %then23, label %else24

then23:                                           ; preds = %ifcont20
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @__Wrong_allocation, i32 0, i32 0))
  call void @exit(i32 1)
  br label %ifcont25

else24:                                           ; preds = %ifcont20
  br label %ifcont25

ifcont25:                                         ; preds = %else24, %then23
  %83 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__4_return_slot, i32 0, i32 0
  %84 = call i8* @_lfortran_malloc(i64 30)
  store i8* %84, i8** %83, align 8
  %85 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__4_return_slot, i32 0, i32 1
  store i64 30, i64* %85, align 4
  %86 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__3_return_slot, i32 0, i32 0
  %87 = load i8*, i8** %86, align 8
  %88 = ptrtoint i8* %87 to i64
  %89 = icmp eq i64 %88, 0
  br i1 %89, label %then26, label %ifcont27

then26:                                           ; preds = %ifcont25
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([119 x i8], [119 x i8]* @7, i32 0, i32 0), i32 1, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @6, i32 0, i32 0))
  call void @exit(i32 1)
  unreachable

ifcont27:                                         ; preds = %ifcont25
  store i32 29, i32* %call_arg_value28, align 4
  store i32 1, i32* %call_arg_value29, align 4
  call void @_lcompilers_stringconcat(%string_descriptor* %__libasr__created__var__3_return_slot, %string_descriptor* @string_const.10, i32* %call_arg_value28, i32* %call_arg_value29, %string_descriptor* %__libasr__created__var__4_return_slot)
  %90 = getelementptr %string_descriptor, %string_descriptor* %combined, i32 0, i32 0
  %91 = getelementptr %string_descriptor, %string_descriptor* %combined, i32 0, i32 1
  %92 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__4_return_slot, i32 0, i32 0
  %93 = load i8*, i8** %92, align 8
  %94 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__4_return_slot, i32 0, i32 1
  %95 = load i64, i64* %94, align 4
  call void @_lfortran_strcpy(i8** %90, i64* %91, i8 0, i8 0, i8* %93, i64 %95)
  %96 = getelementptr %string_descriptor, %string_descriptor* %combined, i32 0, i32 0
  %97 = load i8*, i8** %96, align 8
  call void @_lfortran_printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @9, i32 0, i32 0), i8* %97, i32 29, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @8, i32 0, i32 0), i32 1)
  call void @_lpython_free_argv()
  br label %return

return:                                           ; preds = %ifcont27
  br label %FINALIZE_SYMTABLE_string_03

FINALIZE_SYMTABLE_string_03:                      ; preds = %return
  br label %Finalize_Variable___libasr__created__var__0_return_slot

Finalize_Variable___libasr__created__var__0_return_slot: ; preds = %FINALIZE_SYMTABLE_string_03
  %98 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__0_return_slot, i32 0, i32 0
  %99 = load i8*, i8** %98, align 8
  call void @_lfortran_free(i8* %99)
  br label %Finalize_Variable___libasr__created__var__1_return_slot

Finalize_Variable___libasr__created__var__1_return_slot: ; preds = %Finalize_Variable___libasr__created__var__0_return_slot
  %100 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__1_return_slot, i32 0, i32 0
  %101 = load i8*, i8** %100, align 8
  call void @_lfortran_free(i8* %101)
  br label %Finalize_Variable___libasr__created__var__2_return_slot

Finalize_Variable___libasr__created__var__2_return_slot: ; preds = %Finalize_Variable___libasr__created__var__1_return_slot
  %102 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__2_return_slot, i32 0, i32 0
  %103 = load i8*, i8** %102, align 8
  call void @_lfortran_free(i8* %103)
  br label %Finalize_Variable___libasr__created__var__3_return_slot

Finalize_Variable___libasr__created__var__3_return_slot: ; preds = %Finalize_Variable___libasr__created__var__2_return_slot
  %104 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__3_return_slot, i32 0, i32 0
  %105 = load i8*, i8** %104, align 8
  call void @_lfortran_free(i8* %105)
  br label %Finalize_Variable___libasr__created__var__4_return_slot

Finalize_Variable___libasr__created__var__4_return_slot: ; preds = %Finalize_Variable___libasr__created__var__3_return_slot
  %106 = getelementptr %string_descriptor, %string_descriptor* %__libasr__created__var__4_return_slot, i32 0, i32 0
  %107 = load i8*, i8** %106, align 8
  call void @_lfortran_free(i8* %107)
  br label %Finalize_Variable_combined

Finalize_Variable_combined:                       ; preds = %Finalize_Variable___libasr__created__var__4_return_slot
  %108 = getelementptr %string_descriptor, %string_descriptor* %combined, i32 0, i32 0
  %109 = load i8*, i8** %108, align 8
  call void @_lfortran_free(i8* %109)
  br label %Finalize_Variable_last_name

Finalize_Variable_last_name:                      ; preds = %Finalize_Variable_combined
  %110 = getelementptr %string_descriptor, %string_descriptor* %last_name, i32 0, i32 0
  %111 = load i8*, i8** %110, align 8
  call void @_lfortran_free(i8* %111)
  br label %Finalize_Variable_posit

Finalize_Variable_posit:                          ; preds = %Finalize_Variable_last_name
  %112 = getelementptr %string_descriptor, %string_descriptor* %posit, i32 0, i32 0
  %113 = load i8*, i8** %112, align 8
  call void @_lfortran_free(i8* %113)
  br label %Finalize_Variable_title

Finalize_Variable_title:                          ; preds = %Finalize_Variable_posit
  %114 = getelementptr %string_descriptor, %string_descriptor* %title, i32 0, i32 0
  %115 = load i8*, i8** %114, align 8
  call void @_lfortran_free(i8* %115)
  br label %Finalize_Variable_verb

Finalize_Variable_verb:                           ; preds = %Finalize_Variable_title
  %116 = getelementptr %string_descriptor, %string_descriptor* %verb, i32 0, i32 0
  %117 = load i8*, i8** %116, align 8
  call void @_lfortran_free(i8* %117)
  ret i32 0
}

declare void @_lpython_call_initial_functions(i32, i8**)

declare i8* @_lfortran_malloc(i64)

declare void @_lfortran_free(i8*)

declare void @_lcompilers_print_error(i8*, ...)

declare void @exit(i32)

declare void @_lfortran_printf(i8*, i8*, i32, i8*, i32)

declare void @_lpython_free_argv()