~ubuntu-branches/ubuntu/maverick/clamav/maverick-backports

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/CodeGen/X86/2008-03-23-DarwinAsmComments.ll

  • Committer: Bazaar Package Importer
  • Author(s): Stephen Gran, Stephen Gran, Michael Tautschnig
  • Date: 2010-04-26 21:41:18 UTC
  • mfrom: (2.1.6 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100426214118-i6lo606wnh7ywfj6
Tags: 0.96+dfsg-4
[ Stephen Gran ]
* Fixed typo in clamav-milter's postinst

[ Michael Tautschnig ]
* Fixed typo in clamav-freshclam's postinst (closes: #579271)
* Debconf translation updates
  - Portuguese (closes: #579068)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
; RUN: llc < %s -mtriple=i386-apple-darwin -asm-verbose | grep {#} | not grep -v {##}
 
2
 
 
3
        %struct.AGenericCall = type { %struct.AGenericManager*, %struct.ComponentParameters*, i32* }
 
4
        %struct.AGenericManager = type <{ i8 }>
 
5
        %struct.ComponentInstanceRecord = type opaque
 
6
        %struct.ComponentParameters = type { [1 x i64] }
 
7
 
 
8
define i32 @_ZN12AGenericCall10MapIDPtrAtEsRP23ComponentInstanceRecord(%struct.AGenericCall* %this, i16 signext  %param, %struct.ComponentInstanceRecord** %instance) {
 
9
entry:
 
10
        %tmp4 = icmp slt i16 %param, 0          ; <i1> [#uses=1]
 
11
        br i1 %tmp4, label %cond_true, label %cond_next
 
12
 
 
13
cond_true:              ; preds = %entry
 
14
        %tmp1415 = shl i16 %param, 3            ; <i16> [#uses=1]
 
15
        %tmp17 = getelementptr %struct.AGenericCall* %this, i32 0, i32 1                ; <%struct.ComponentParameters**> [#uses=1]
 
16
        %tmp18 = load %struct.ComponentParameters** %tmp17, align 8             ; <%struct.ComponentParameters*> [#uses=1]
 
17
        %tmp1920 = bitcast %struct.ComponentParameters* %tmp18 to i8*           ; <i8*> [#uses=1]
 
18
        %tmp212223 = sext i16 %tmp1415 to i64           ; <i64> [#uses=1]
 
19
        %tmp24 = getelementptr i8* %tmp1920, i64 %tmp212223             ; <i8*> [#uses=1]
 
20
        %tmp2425 = bitcast i8* %tmp24 to i64*           ; <i64*> [#uses=1]
 
21
        %tmp28 = load i64* %tmp2425, align 8            ; <i64> [#uses=1]
 
22
        %tmp2829 = inttoptr i64 %tmp28 to i32*          ; <i32*> [#uses=1]
 
23
        %tmp31 = getelementptr %struct.AGenericCall* %this, i32 0, i32 2                ; <i32**> [#uses=1]
 
24
        store i32* %tmp2829, i32** %tmp31, align 8
 
25
        br label %cond_next
 
26
 
 
27
cond_next:              ; preds = %cond_true, %entry
 
28
        %tmp4243 = shl i16 %param, 3            ; <i16> [#uses=1]
 
29
        %tmp46 = getelementptr %struct.AGenericCall* %this, i32 0, i32 1                ; <%struct.ComponentParameters**> [#uses=1]
 
30
        %tmp47 = load %struct.ComponentParameters** %tmp46, align 8             ; <%struct.ComponentParameters*> [#uses=1]
 
31
        %tmp4849 = bitcast %struct.ComponentParameters* %tmp47 to i8*           ; <i8*> [#uses=1]
 
32
        %tmp505152 = sext i16 %tmp4243 to i64           ; <i64> [#uses=1]
 
33
        %tmp53 = getelementptr i8* %tmp4849, i64 %tmp505152             ; <i8*> [#uses=1]
 
34
        %tmp5354 = bitcast i8* %tmp53 to i64*           ; <i64*> [#uses=1]
 
35
        %tmp58 = load i64* %tmp5354, align 8            ; <i64> [#uses=1]
 
36
        %tmp59 = icmp eq i64 %tmp58, 0          ; <i1> [#uses=1]
 
37
        br i1 %tmp59, label %UnifiedReturnBlock, label %cond_true63
 
38
 
 
39
cond_true63:            ; preds = %cond_next
 
40
        %tmp65 = getelementptr %struct.AGenericCall* %this, i32 0, i32 0                ; <%struct.AGenericManager**> [#uses=1]
 
41
        %tmp66 = load %struct.AGenericManager** %tmp65, align 8         ; <%struct.AGenericManager*> [#uses=1]
 
42
        %tmp69 = tail call i32 @_ZN15AGenericManager24DefaultComponentInstanceERP23ComponentInstanceRecord( %struct.AGenericManager* %tmp66, %struct.ComponentInstanceRecord** %instance )              ; <i32> [#uses=1]
 
43
        ret i32 %tmp69
 
44
 
 
45
UnifiedReturnBlock:             ; preds = %cond_next
 
46
        ret i32 undef
 
47
}
 
48
 
 
49
declare i32 @_ZN15AGenericManager24DefaultComponentInstanceERP23ComponentInstanceRecord(%struct.AGenericManager*, %struct.ComponentInstanceRecord**)