1 %intlist = type { %intlist*, i32 }
7 %VecSize = type { <10 x i32> }
9 @GVTy1 = global %Ty1* null
10 @GVTy2 = external global %Ty2*
14 @MyIntList = external global %intlist
15 @AConst = constant i32 1234
17 ;; Intern in both testlink[12].ll
18 @Intern1 = internal constant i32 52
20 @Use2Intern1 = global i32* @Intern1
22 ;; Intern in one but not in other
23 @Intern2 = constant i32 12345
25 @MyIntListPtr = constant { %intlist* } { %intlist* @MyIntList }
26 @MyVarPtr = linkonce global { i32* } { i32* @MyVar }
29 ; Provides definition of Struct1 and of S1GV.
30 %Struct1 = type { i32 }
31 @S1GV = global %Struct1* null
33 define i32 @foo(i32 %blah) {
34 store i32 %blah, i32* @MyVar
35 %idx = getelementptr %intlist, %intlist* @MyIntList, i64 0, i32 1
36 store i32 12, i32* %idx
37 %ack = load i32, i32* @0
38 %fzo = add i32 %ack, %blah
42 declare void @unimp(float, double)
44 define internal void @testintern() {
48 define void @Testintern() {
52 define internal void @testIntern() {
56 define void @VecSizeCrash1(%VecSize) {