<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=GB2312">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi, all<br>
    I am doing some work about instruction translating.<br>
    and the IR is sort of:(whatever it is)<br>
    <br>
     <font color="#3333ff"> %v1 = alloca i32<br>
        store i32 10, i32* %v1<br>
        %v0 = alloca i32<br>
        store i32 0, i32* %v0<br>
        %0 = load i32* %v0<br>
        %1 = add i32 %0, 1<br>
        store i32 %1, i32* %v0<br>
        %2 = load i32* %v1<br>
        %3 = add i32 %2, -1<br>
        store i32 %3, i32* %v1<br>
        %4 = load i32* %v0<br>
        ret i32 %4</font><br>
    <br>
    <font color="#ff0000">I want to know that</font> if I create a basic
    block for every instruction in IR, like:<br>
    <font color="#3333ff">Label0:                                     ;
      No predecessors!<br>
        %v1 = alloca i32<br>
        store i32 10, i32* %v1<br>
      Label2:                                     ; No predecessors!<br>
        %v0 = alloca i32<br>
        store i32 0, i32* %v0<br>
      Label3:                                     ; preds = %Label9<br>
      Label5:                                     ; No predecessors!<br>
        %0 = load i32* %v0<br>
        %1 = add i32 %0, 1<br>
        store i32 %1, i32* %v0<br>
      Label7:                                     ; No predecessors!<br>
        %2 = load i32* %v1<br>
        %3 = add i32 %2, -1<br>
        store i32 %3, i32* %v1<br>
      Label9:                                     ; No predecessors!<br>
        br label %Label3<br>
      Label10:                                    ; No predecessors!<br>
        %4 = load i32* %v0<br>
        ret i32 %4</font><br>
    <br>
    Will it be slow too much than before OR make no difference?<br>
    What is BasicBlock treated as in llvm? Just an address of bitcode or
    a kind of structure which contained some informations?<br>
    <br>
    Any suggestion will be appreciated.<br>
  </body>
</html>