2019-09-11 07:15:38 +08:00
|
|
|
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
|
2016-11-11 00:57:32 +08:00
|
|
|
target triple = "x86_64-unknown-linux-gnu"
|
|
|
|
|
|
|
|
define i32 @main({ i64, { i64, i8* }* } %unnamed) #0 {
|
|
|
|
%1 = call i32 @func1() #1
|
|
|
|
%2 = call i32 @func2() #1
|
|
|
|
%3 = call i32 @func3() #1
|
2016-12-28 01:45:09 +08:00
|
|
|
%4 = call i32 @callglobalfunc() #1
|
|
|
|
%5 = call i32 @callweakfunc() #1
|
2016-11-11 00:57:32 +08:00
|
|
|
ret i32 %1
|
|
|
|
}
|
|
|
|
declare i32 @func1() #1
|
|
|
|
declare i32 @func2() #1
|
|
|
|
declare i32 @func3() #1
|
2016-12-28 01:45:09 +08:00
|
|
|
declare i32 @callglobalfunc() #1
|
|
|
|
declare i32 @callweakfunc() #1
|