Dan Gohman | 36a0947 | 2009-09-08 23:54:48 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -march=x86 -stats |& \ |
Evan Cheng | 875357d | 2008-03-13 06:37:55 +0000 | [diff] [blame] | 2 | ; RUN: grep asm-printer | grep 13 |
Evan Cheng | 33f9cce | 2006-05-03 02:11:36 +0000 | [diff] [blame] | 3 | |
Dale Johannesen | 1d3863f | 2008-03-31 23:20:09 +0000 | [diff] [blame] | 4 | define void @_ZN9__gnu_cxx9hashtableISt4pairIKPKciES3_NS_4hashIS3_EESt10_Select1stIS5_E5eqstrSaIiEE14find_or_insertERKS5__cond_true456.i(i8* %tmp435.i, i32* %tmp449.i.out) nounwind { |
Evan Cheng | 33f9cce | 2006-05-03 02:11:36 +0000 | [diff] [blame] | 5 | newFuncRoot: |
| 6 | br label %cond_true456.i |
Evan Cheng | 33f9cce | 2006-05-03 02:11:36 +0000 | [diff] [blame] | 7 | bb459.i.exitStub: ; preds = %cond_true456.i |
Tanya Lattner | 6f729d6 | 2008-03-25 04:26:08 +0000 | [diff] [blame] | 8 | store i32 %tmp449.i, i32* %tmp449.i.out |
Evan Cheng | 33f9cce | 2006-05-03 02:11:36 +0000 | [diff] [blame] | 9 | ret void |
Evan Cheng | 33f9cce | 2006-05-03 02:11:36 +0000 | [diff] [blame] | 10 | cond_true456.i: ; preds = %cond_true456.i, %newFuncRoot |
Tanya Lattner | 6f729d6 | 2008-03-25 04:26:08 +0000 | [diff] [blame] | 11 | %__s441.2.4.i = phi i8* [ %tmp451.i.upgrd.1, %cond_true456.i ], [ %tmp435.i, %newFuncRoot ] ; <i8*> [#uses=2] |
| 12 | %__h.2.4.i = phi i32 [ %tmp449.i, %cond_true456.i ], [ 0, %newFuncRoot ] ; <i32> [#uses=1] |
| 13 | %tmp446.i = mul i32 %__h.2.4.i, 5 ; <i32> [#uses=1] |
| 14 | %tmp.i = load i8* %__s441.2.4.i ; <i8> [#uses=1] |
| 15 | %tmp448.i = sext i8 %tmp.i to i32 ; <i32> [#uses=1] |
| 16 | %tmp449.i = add i32 %tmp448.i, %tmp446.i ; <i32> [#uses=2] |
| 17 | %tmp450.i = ptrtoint i8* %__s441.2.4.i to i32 ; <i32> [#uses=1] |
| 18 | %tmp451.i = add i32 %tmp450.i, 1 ; <i32> [#uses=1] |
| 19 | %tmp451.i.upgrd.1 = inttoptr i32 %tmp451.i to i8* ; <i8*> [#uses=2] |
| 20 | %tmp45435.i = load i8* %tmp451.i.upgrd.1 ; <i8> [#uses=1] |
| 21 | %tmp45536.i = icmp eq i8 %tmp45435.i, 0 ; <i1> [#uses=1] |
| 22 | br i1 %tmp45536.i, label %bb459.i.exitStub, label %cond_true456.i |
Evan Cheng | 33f9cce | 2006-05-03 02:11:36 +0000 | [diff] [blame] | 23 | } |
Tanya Lattner | 6f729d6 | 2008-03-25 04:26:08 +0000 | [diff] [blame] | 24 | |