-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoutput_code.ll
More file actions
31 lines (28 loc) · 899 Bytes
/
output_code.ll
File metadata and controls
31 lines (28 loc) · 899 Bytes
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
; ModuleID = 'MainModule'
source_filename = "MainModule"
@x = global float 0.000000e+00
@y = global float 0.000000e+00
@hola = global float 0.000000e+00
@u = global float 0.000000e+00
@ret = global float 0.000000e+00
define float @run() {
entry:
%forDebug = alloca float, align 4
store float 2.000000e+00, ptr %forDebug, align 4
store float 0x40179999A0000000, ptr %forDebug, align 4
store float 4.200000e+01, ptr @x, align 4
store float 9.000000e+00, ptr %forDebug, align 4
store float 8.400000e+01, ptr @y, align 4
store float -9.000000e+00, ptr @u, align 4
call void @test_procedure()
store float 0.000000e+00, ptr @ret, align 4
%0 = load float, ptr @ret, align 4
ret float %0
}
define void @test_procedure() {
entry:
%forDebug = alloca float, align 4
store float 4.200000e+01, ptr @hola, align 4
store float 0x40179999A0000000, ptr %forDebug, align 4
ret void
}