<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 02/01/2017 01:29 AM, Mehdi Amini via
      llvm-dev wrote:<br>
    </div>
    <blockquote
      cite="mid:48F1BD6C-7DC7-4B56-B0B4-F2E2292C3B40@apple.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <br class="">
      <div>
        <blockquote type="cite" class="">
          <div class="">On Jan 31, 2017, at 10:59 PM, Tian, Xinmin <<a
              moz-do-not-send="true" href="mailto:xinmin.tian@intel.com"
              class="">xinmin.tian@intel.com</a>> wrote:</div>
          <br class="Apple-interchange-newline">
          <div class="">
            <div class="WordSection1" style="page: WordSection1;
              font-family: Helvetica; font-size: 12px; font-style:
              normal; font-variant-caps: normal; font-weight: normal;
              letter-spacing: normal; text-align: start; text-indent:
              0px; text-transform: none; white-space: normal;
              word-spacing: 0px; -webkit-text-stroke-width: 0px;">
              <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                font-family: 'Times New Roman', serif;" class=""><span
                  style="font-size: 11pt; font-family: Calibri,
                  sans-serif; color: rgb(31, 73, 125);" class=""><o:p
                    class=""> </o:p></span></div>
              <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                font-family: 'Times New Roman', serif;" class=""><a
                  moz-do-not-send="true" name="_MailEndCompose" class=""><span
                    style="font-size: 11pt; font-family: Calibri,
                    sans-serif; color: rgb(31, 73, 125);" class=""><o:p
                      class=""> </o:p></span></a></div>
              <div class="">
                <div style="border-style: solid none none;
                  border-top-width: 1pt; border-top-color: rgb(225, 225,
                  225); padding: 3pt 0in 0in;" class="">
                  <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                    font-family: 'Times New Roman', serif;" class=""><b
                      class=""><span style="font-size: 11pt;
                        font-family: Calibri, sans-serif;" class="">From:</span></b><span
                      style="font-size: 11pt; font-family: Calibri,
                      sans-serif;" class=""><span
                        class="Apple-converted-space"> </span><a
                        moz-do-not-send="true"
                        href="mailto:mehdi.amini@apple.com"
                        style="color: purple; text-decoration:
                        underline;" class="">mehdi.amini@apple.com</a><span
                        class="Apple-converted-space"> </span>[<a
                        moz-do-not-send="true"
                        href="mailto:mehdi.amini@apple.com"
                        style="color: purple; text-decoration:
                        underline;" class="">mailto:mehdi.amini@apple.com</a>]<span
                        class="Apple-converted-space"> </span><br
                        class="">
                      <b class="">Sent:</b><span
                        class="Apple-converted-space"> </span>Tuesday,
                      January 31, 2017 9:03 PM<br class="">
                      <b class="">To:</b><span
                        class="Apple-converted-space"> </span>Tian,
                      Xinmin <<a moz-do-not-send="true"
                        href="mailto:xinmin.tian@intel.com"
                        style="color: purple; text-decoration:
                        underline;" class="">xinmin.tian@intel.com</a>><br
                        class="">
                      <b class="">Cc:</b><span
                        class="Apple-converted-space"> </span>Sanjoy Das
                      <<a moz-do-not-send="true"
                        href="mailto:sanjoy@playingwithpointers.com"
                        style="color: purple; text-decoration:
                        underline;" class="">sanjoy@playingwithpointers.com</a>>;
                      Adve, Vikram Sadanand <<a
                        moz-do-not-send="true"
                        href="mailto:vadve@illinois.edu" style="color:
                        purple; text-decoration: underline;" class="">vadve@illinois.edu</a>>;<span
                        class="Apple-converted-space"> </span><a
                        moz-do-not-send="true"
                        href="mailto:llvm-dev@lists.llvm.org"
                        style="color: purple; text-decoration:
                        underline;" class="">llvm-dev@lists.llvm.org</a>;<span
                        class="Apple-converted-space"> </span><a
                        moz-do-not-send="true"
                        href="mailto:llvm-dev-request@lists.llvm.org"
                        style="color: purple; text-decoration:
                        underline;" class="">llvm-dev-request@lists.llvm.org</a><br
                        class="">
                      <b class="">Subject:</b><span
                        class="Apple-converted-space"> </span>Re:
                      [llvm-dev] [RFC] IR-level Region Annotations<o:p
                        class=""></o:p></span></div>
                </div>
              </div>
              <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                font-family: 'Times New Roman', serif;" class=""><o:p
                  class=""> </o:p></div>
              <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                font-family: 'Times New Roman', serif;" class=""><o:p
                  class=""> </o:p></div>
              <div class="">
                <blockquote style="margin-top: 5pt; margin-bottom: 5pt;"
                  class="">
                  <div class="">
                    <div style="margin: 0in 0in 0.0001pt; font-size:
                      12pt; font-family: 'Times New Roman', serif;"
                      class="">On Jan 31, 2017, at 7:53 PM, Tian, Xinmin
                      <<a moz-do-not-send="true"
                        href="mailto:xinmin.tian@intel.com"
                        style="color: purple; text-decoration:
                        underline;" class="">xinmin.tian@intel.com</a>>
                      wrote:<o:p class=""></o:p></div>
                  </div>
                  <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                    font-family: 'Times New Roman', serif;" class=""><o:p
                      class=""> </o:p></div>
                  <div class="">
                    <div class="">
                      <div style="margin: 0in 0in 0.0001pt; font-size:
                        12pt; font-family: 'Times New Roman', serif;"
                        class=""><span style="font-size: 11pt;
                          font-family: Calibri, sans-serif; color:
                          rgb(31, 73, 125);" class="">In this case,
                          inliner is educated to add all local variables
                          to the tag of enclosing parallel region, if
                          there is enclosing parallel region.  </span><o:p
                          class=""></o:p></div>
                    </div>
                  </div>
                </blockquote>
                <div class="">
                  <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                    font-family: 'Times New Roman', serif;" class=""><o:p
                      class=""> </o:p></div>
                </div>
                <div class="">
                  <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                    font-family: 'Times New Roman', serif;" class=""><o:p
                      class=""> </o:p></div>
                </div>
                <div class="">
                  <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                    font-family: 'Times New Roman', serif;" class=""><span
                      style="color: rgb(31, 73, 125);" class="">S</span>o
                    isn’t it a good example that shows that your
                    intrinsic *cannot* be opaque and that IR passes need
                    to be modified to handle not only the IR-region
                    intrinsic but also the specific semantic of the tag?<span
                      style="color: rgb(31, 73, 125);" class=""><o:p
                        class=""></o:p></span></div>
                  <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                    font-family: 'Times New Roman', serif;" class=""><span
                      style="font-size: 11pt; font-family: Calibri,
                      sans-serif; color: rgb(31, 73, 125);" class=""><o:p
                        class=""> </o:p></span></div>
                  <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                    font-family: 'Times New Roman', serif;" class=""><span
                      style="font-size: 11pt; font-family: Calibri,
                      sans-serif; color: rgb(31, 73, 125);" class="">[XT]
                      I thought we said a number of times, there are
                      small changes to be made. I quoted a ball park # 
                      2000 LOC vs. 6000 LOC w.r.t changes, in one of
                      early emails.</span></div>
                </div>
              </div>
            </div>
          </div>
        </blockquote>
        <div><br class="">
        </div>
        <div><br class="">
        </div>
        <div>This didn’t mean that the changes were meant specifically
          for OpenMP. My understanding was that this proposal is for a
          generic "IR-level Region Annotations” mechanism, and that’s
          what the changes were for. Now it ends up being “let’s support
          OpenMP semantic without adding openmp in the intrinsic names”.</div>
      </div>
    </blockquote>
    <br>
    The point here is to abstract the properties about which other
    passes might need to know by using a set of generic intrinsics. The
    fact that you can't hoist allocas past one of these intrinsics, is
    nowhere close to saying that the individual optimization passes need
    to know anything about OpenMP, parallelism, etc. Regardless of how
    many LOC are in Intel's prototype, we're obviously aiming for
    minimal impact on the current upstream infrastructure.<br>
    <br>
    <blockquote
      cite="mid:48F1BD6C-7DC7-4B56-B0B4-F2E2292C3B40@apple.com"
      type="cite">
      <div>
        <div><br class="">
        </div>
        <div><br class="">
        </div>
        <blockquote type="cite" class="">
          <div class="WordSection1" style="page: WordSection1;
            font-family: Helvetica; font-size: 12px; font-style: normal;
            font-variant-caps: normal; font-weight: normal;
            letter-spacing: normal; text-align: start; text-indent: 0px;
            text-transform: none; white-space: normal; word-spacing:
            0px; -webkit-text-stroke-width: 0px;">
            <div class="">
              <div class="">
                <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                  font-family: 'Times New Roman', serif;" class=""><span
                    style="font-size: 11pt; font-family: Calibri,
                    sans-serif; color: rgb(31, 73, 125);" class=""><o:p
                      class=""></o:p></span></div>
                <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                  font-family: 'Times New Roman', serif;" class=""><span
                    style="font-size: 11pt; font-family: Calibri,
                    sans-serif; color: rgb(31, 73, 125);" class=""><o:p
                      class=""> </o:p></span></div>
              </div>
              <div class="">
                <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                  font-family: 'Times New Roman', serif;" class="">It
                  seems to me that this contradicts the claim that the
                  “tag” specific semantic does not need to be handled by
                  the optimizer and that the intrinsic can integrate
                  seamlessly in LLVM, which invalidates the approach (of
                  a generic intrinsic) entirely IMO.<o:p class=""></o:p></div>
              </div>
              <div class="">
                <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                  font-family: 'Times New Roman', serif;" class=""><o:p
                    class=""> </o:p></div>
              </div>
              <div class="">
                <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                  font-family: 'Times New Roman', serif;" class="">Maybe
                  you never intended to claim this, but this is a hidden
                  cost in the original RFC, and I suspect this cost has
                  to be carefully evaluated. At this point I’m not sure
                  it is worth discussing anything further without seeing
                  a proper LangRef update.<o:p class=""></o:p></div>
                <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                  font-family: 'Times New Roman', serif;" class=""><span
                    style="font-size: 11pt; font-family: Calibri,
                    sans-serif; color: rgb(31, 73, 125);" class=""><o:p
                      class=""> </o:p></span></div>
                <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                  font-family: 'Times New Roman', serif;" class=""><span
                    style="font-size: 11pt; font-family: Calibri,
                    sans-serif; color: rgb(31, 73, 125);" class="">[XT]
                    All we said is to minimize cost when it is possible.
                    The intrinsic functions is a generic for
                    representing a directive and region, such as
                    prefecth, unroll, omp, ….  Each instance of them
                    will have their semantics which will be in following
                    up RFCs</span></div>
              </div>
            </div>
          </div>
        </blockquote>
        <div><br class="">
        </div>
        <div><br class="">
        </div>
        <div>At this point I don’t see any advantage in having a
          “generic intrinsic" that has an opaque tag since all the
          semantic is in the tag anyway. I’d have to see what is really
          “generic” in the handling of it...</div>
      </div>
    </blockquote>
    <br>
    This is completely opposite to the point. The semantics relevant to
    the rest of the optimization pipeline should be in the intrinsics
    themselves. I've yet to see anything to suggest that we can't do
    that.<br>
    <br>
    <blockquote
      cite="mid:48F1BD6C-7DC7-4B56-B0B4-F2E2292C3B40@apple.com"
      type="cite">
      <div>
        <div><br class="">
        </div>
        <div>Reid identified this very early in the thread (he is a lot
          more perspicacious than I am) here: <a moz-do-not-send="true"
href="http://lists.llvm.org/pipermail/llvm-dev/2017-January/108914.html"
            class="">http://lists.llvm.org/pipermail/llvm-dev/2017-January/108914.html</a></div>
      </div>
    </blockquote>
    <br>
    There are multiple levels here:<br>
     a) Semantics relevant to the rest of the pipeline<br>
     b) Semantics relevant to parallelism-specific optimizations (e.g.
    redundant barrier removal)<br>
     c) Semantics relevant to specific programming model / extension
    (OpenMP, OpenACC, C++ parallel algorithms, whatever)<br>
    <br>
    We'd like to separate these three levels, and I believe the proposed
    scheme allows us to do that. Obviously, this assumes that we can
    indeed have a small set of intrinsics that satisfy the needs of (a).
    Furthermore, if we're going to use intrinsics, we need to decide
    whether all of the relevant semantics are reasonable to encode in
    intrinsics (e.g. it is reasonable to have an intrinsic past which
    you can't hoist an alloca, or would that need to be an instruction,
    etc.)<br>
    <br>
     -Hal<br>
    <br>
    <blockquote
      cite="mid:48F1BD6C-7DC7-4B56-B0B4-F2E2292C3B40@apple.com"
      type="cite">
      <div>
        <div><br class="">
        </div>
        <div>— </div>
        <div>Mehdi</div>
        <div><br class="">
        </div>
        <div><br class="">
        </div>
        <div><br class="">
        </div>
        <blockquote type="cite" class="">
          <div class="WordSection1" style="page: WordSection1;
            font-family: Helvetica; font-size: 12px; font-style: normal;
            font-variant-caps: normal; font-weight: normal;
            letter-spacing: normal; text-align: start; text-indent: 0px;
            text-transform: none; white-space: normal; word-spacing:
            0px; -webkit-text-stroke-width: 0px;">
            <div class="">
              <div class="">
                <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                  font-family: 'Times New Roman', serif;" class=""><span
                    style="color: rgb(31, 73, 125); font-family:
                    Calibri, sans-serif; font-size: 11pt;" class=""> </span></div>
              </div>
            </div>
          </div>
        </blockquote>
        <blockquote type="cite" class="">
          <div class="">
            <div class="WordSection1" style="page: WordSection1;
              font-family: Helvetica; font-size: 12px; font-style:
              normal; font-variant-caps: normal; font-weight: normal;
              letter-spacing: normal; text-align: start; text-indent:
              0px; text-transform: none; white-space: normal;
              word-spacing: 0px; -webkit-text-stroke-width: 0px;">
              <div class="">
                <div class="">
                  <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                    font-family: 'Times New Roman', serif;" class=""><o:p
                      class=""></o:p></div>
                </div>
                <blockquote style="margin-top: 5pt; margin-bottom: 5pt;"
                  class="">
                  <div class="">
                    <div style="margin: 0in 0in 0.0001pt; font-size:
                      12pt; font-family: 'Times New Roman', serif;"
                      class=""><span style="font-size: 11pt;
                        font-family: Calibri, sans-serif; color: rgb(31,
                        73, 125);" class="">In our icc implementation,
                        it is even simple, as we have routine level
                        symbol table, the inliner adds  ”private”
                         attribute to those local variables w/o checking
                        enclosing scope, the parallelizer does check and
                        use it.<span class="apple-converted-space"> </span></span><o:p
                        class=""></o:p></div>
                  </div>
                </blockquote>
                <div class="">
                  <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                    font-family: 'Times New Roman', serif;" class=""><o:p
                      class=""> </o:p></div>
                </div>
                <div class="">
                  <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                    font-family: 'Times New Roman', serif;" class="">Again,
                    you’re trying to address a specific case, while I’m
                    just trying to identify a generic class of problem
                    that your proposal fails to address explicitly.<o:p
                      class=""></o:p></div>
                  <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                    font-family: 'Times New Roman', serif;" class=""><span
                      style="font-size: 11pt; font-family: Calibri,
                      sans-serif; color: rgb(31, 73, 125);" class=""><o:p
                        class=""> </o:p></span></div>
                  <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                    font-family: 'Times New Roman', serif;" class=""><span
                      style="font-size: 11pt; font-family: Calibri,
                      sans-serif; color: rgb(31, 73, 125);" class="">[XT]
                      It looks there is a mis-understanding of proposal.
                      The proposal is to build up experimental framework
                      with proposed interface to evaluate set of changes
                      (or cost) needed for usage cases we know of. Hal
                      and I carefully positioned this RFC. Even all
                      intrinsics are named as experimental.  So far,
                       cost for handling these cases identified is
                      within a range of our expectation.   <o:p class=""></o:p></span></div>
                </div>
                <div class="">
                  <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                    font-family: 'Times New Roman', serif;" class=""><o:p
                      class=""> </o:p></div>
                </div>
                <div class="">
                  <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                    font-family: 'Times New Roman', serif;" class="">Best,<o:p
                      class=""></o:p></div>
                </div>
                <div class="">
                  <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                    font-family: 'Times New Roman', serif;" class=""><o:p
                      class=""> </o:p></div>
                </div>
                <div class="">
                  <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                    font-family: 'Times New Roman', serif;" class="">— <o:p
                      class=""></o:p></div>
                </div>
                <div class="">
                  <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                    font-family: 'Times New Roman', serif;" class="">Mehdi<o:p
                      class=""></o:p></div>
                </div>
                <div class="">
                  <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                    font-family: 'Times New Roman', serif;" class=""><o:p
                      class=""> </o:p></div>
                </div>
                <div class="">
                  <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                    font-family: 'Times New Roman', serif;" class=""><o:p
                      class=""> </o:p></div>
                </div>
                <div class="">
                  <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                    font-family: 'Times New Roman', serif;" class=""><o:p
                      class=""> </o:p></div>
                </div>
                <div class="">
                  <div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
                    font-family: 'Times New Roman', serif;" class=""><o:p
                      class=""> </o:p></div>
                </div>
                <blockquote style="margin-top: 5pt; margin-bottom: 5pt;"
                  class="">
                  <div class="">
                    <div class="">
                      <div style="border-style: solid none none;
                        border-top-width: 1pt; border-top-color:
                        rgb(225, 225, 225); padding: 3pt 0in 0in;"
                        class="">
                        <div class="">
                          <div style="margin: 0in 0in 0.0001pt;
                            font-size: 12pt; font-family: 'Times New
                            Roman', serif;" class=""><b class=""><span
                                style="font-size: 11pt; font-family:
                                Calibri, sans-serif;" class="">From:</span></b><span
                              class="apple-converted-space"><span
                                style="font-size: 11pt; font-family:
                                Calibri, sans-serif;" class=""> </span></span><span
                              style="font-size: 11pt; font-family:
                              Calibri, sans-serif;" class=""><a
                                moz-do-not-send="true"
                                href="mailto:mehdi.amini@apple.com"
                                style="color: purple; text-decoration:
                                underline;" class="">mehdi.amini@apple.com</a><span
                                class="Apple-converted-space"> </span>[<a
                                moz-do-not-send="true"
                                href="mailto:mehdi.amini@apple.com"
                                style="color: purple; text-decoration:
                                underline;" class="">mailto:mehdi.amini@apple.com</a>]<span
                                class="apple-converted-space"> </span><br
                                class="">
                              <b class="">Sent:</b><span
                                class="apple-converted-space"> </span>Tuesday,
                              January 31, 2017 7:31 PM<br class="">
                              <b class="">To:</b><span
                                class="apple-converted-space"> </span>Tian,
                              Xinmin <<a moz-do-not-send="true"
                                href="mailto:xinmin.tian@intel.com"
                                style="color: purple; text-decoration:
                                underline;" class="">xinmin.tian@intel.com</a>><br
                                class="">
                              <b class="">Cc:</b><span
                                class="apple-converted-space"> </span>Sanjoy
                              Das <<a moz-do-not-send="true"
                                href="mailto:sanjoy@playingwithpointers.com"
                                style="color: purple; text-decoration:
                                underline;" class="">sanjoy@playingwithpointers.com</a>>;
                              Adve, Vikram Sadanand <<a
                                moz-do-not-send="true"
                                href="mailto:vadve@illinois.edu"
                                style="color: purple; text-decoration:
                                underline;" class="">vadve@illinois.edu</a>>;<span
                                class="Apple-converted-space"> </span><a
                                moz-do-not-send="true"
                                href="mailto:llvm-dev@lists.llvm.org"
                                style="color: purple; text-decoration:
                                underline;" class="">llvm-dev@lists.llvm.org</a>;<span
                                class="Apple-converted-space"> </span><a
                                moz-do-not-send="true"
                                href="mailto:llvm-dev-request@lists.llvm.org"
                                style="color: purple; text-decoration:
                                underline;" class="">llvm-dev-request@lists.llvm.org</a><br
                                class="">
                              <b class="">Subject:</b><span
                                class="apple-converted-space"> </span>Re:
                              [llvm-dev] [RFC] IR-level Region
                              Annotations</span><o:p class=""></o:p></div>
                        </div>
                      </div>
                    </div>
                    <div class="">
                      <div style="margin: 0in 0in 0.0001pt; font-size:
                        12pt; font-family: 'Times New Roman', serif;"
                        class=""> <o:p class=""></o:p></div>
                    </div>
                    <div class="">
                      <div class="">
                        <div class="">
                          <div style="margin: 0in 0in 0.0001pt;
                            font-size: 12pt; font-family: 'Times New
                            Roman', serif;" class=""> <o:p class=""></o:p></div>
                        </div>
                      </div>
                      <div class="">
                        <div style="margin: 0in 0in 0.0001pt; font-size:
                          12pt; font-family: 'Times New Roman', serif;"
                          class=""><br class="">
                          Sent from my iPhone<o:p class=""></o:p></div>
                      </div>
                    </div>
                    <div class="">
                      <p class="MsoNormal" style="margin: 0in 0in 12pt;
                        font-size: 12pt; font-family: 'Times New Roman',
                        serif;"><br class="">
                        On Jan 31, 2017, at 7:27 PM, Tian, Xinmin <<a
                          moz-do-not-send="true"
                          href="mailto:xinmin.tian@intel.com"
                          style="color: purple; text-decoration:
                          underline;" class=""><span style="color:
                            purple;" class="">xinmin.tian@intel.com</span></a>>
                        wrote:<o:p class=""></o:p></p>
                    </div>
                    <blockquote style="margin-top: 5pt; margin-bottom:
                      5pt;" class="">
                      <div class="">
                        <div class="">
                          <div style="margin: 0in 0in 0.0001pt;
                            font-size: 12pt; font-family: 'Times New
                            Roman', serif;" class="">Remember that,  the
                            prepare-phase is invoked in the FE or right
                            after FE, inlining is not happening, that is
                            why we don't call it "pass".  Chandler made
                            a good point for this case a long time back.
                             <o:p class=""></o:p></div>
                        </div>
                        <div class="">
                          <div class="">
                            <div style="margin: 0in 0in 0.0001pt;
                              font-size: 12pt; font-family: 'Times New
                              Roman', serif;" class=""> <o:p class=""></o:p></div>
                          </div>
                        </div>
                      </div>
                    </blockquote>
                    <div class="">
                      <div class="">
                        <div style="margin: 0in 0in 0.0001pt; font-size:
                          12pt; font-family: 'Times New Roman', serif;"
                          class=""> <o:p class=""></o:p></div>
                      </div>
                    </div>
                    <div class="">
                      <div class="">
                        <div style="margin: 0in 0in 0.0001pt; font-size:
                          12pt; font-family: 'Times New Roman', serif;"
                          class="">What I was describing is the inlining
                          in the optimizer pipeline.<o:p class=""></o:p></div>
                      </div>
                    </div>
                    <div class="">
                      <div class="">
                        <div style="margin: 0in 0in 0.0001pt; font-size:
                          12pt; font-family: 'Times New Roman', serif;"
                          class=""> <o:p class=""></o:p></div>
                      </div>
                    </div>
                    <div class="">
                      <div class="">
                        <div style="margin: 0in 0in 0.0001pt; font-size:
                          12pt; font-family: 'Times New Roman', serif;"
                          class=""> <o:p class=""></o:p></div>
                      </div>
                    </div>
                    <div class="">
                      <div class="">
                        <div style="margin: 0in 0in 0.0001pt; font-size:
                          12pt; font-family: 'Times New Roman', serif;"
                          class=""> <o:p class=""></o:p></div>
                      </div>
                    </div>
                    <blockquote style="margin-top: 5pt; margin-bottom:
                      5pt;" class="">
                      <div class="">
                        <div class="">
                          <div style="margin: 0in 0in 0.0001pt;
                            font-size: 12pt; font-family: 'Times New
                            Roman', serif;" class="">Hoisting alloca is
                            totally ok.  A new alloca is generated
                            during outlining later on for anything
                            marked as "private" (so long the "private"
                            information is saves in the tag). I thought
                            we talked this in an early email.  <o:p
                              class=""></o:p></div>
                        </div>
                      </div>
                    </blockquote>
                    <div class="">
                      <div class="">
                        <div style="margin: 0in 0in 0.0001pt; font-size:
                          12pt; font-family: 'Times New Roman', serif;"
                          class=""> <o:p class=""></o:p></div>
                      </div>
                    </div>
                    <div class="">
                      <div class="">
                        <div style="margin: 0in 0in 0.0001pt; font-size:
                          12pt; font-family: 'Times New Roman', serif;"
                          class=""> <o:p class=""></o:p></div>
                      </div>
                    </div>
                    <div class="">
                      <div class="">
                        <div style="margin: 0in 0in 0.0001pt; font-size:
                          12pt; font-family: 'Times New Roman', serif;"
                          class="">Can you describe how (and at which
                          point) you get the private for "var"  added to
                          the tag?<o:p class=""></o:p></div>
                      </div>
                    </div>
                    <div class="">
                      <div class="">
                        <div style="margin: 0in 0in 0.0001pt; font-size:
                          12pt; font-family: 'Times New Roman', serif;"
                          class=""> <o:p class=""></o:p></div>
                      </div>
                    </div>
                    <div class="">
                      <div class="">
                        <div style="margin: 0in 0in 0.0001pt; font-size:
                          12pt; font-family: 'Times New Roman', serif;"
                          class=""> <o:p class=""></o:p></div>
                      </div>
                    </div>
                    <div class="">
                      <div class="">
                        <div style="margin: 0in 0in 0.0001pt; font-size:
                          12pt; font-family: 'Times New Roman', serif;"
                          class="">-- <o:p class=""></o:p></div>
                      </div>
                    </div>
                    <div class="">
                      <div class="">
                        <div style="margin: 0in 0in 0.0001pt; font-size:
                          12pt; font-family: 'Times New Roman', serif;"
                          class="">Mehdi<o:p class=""></o:p></div>
                      </div>
                    </div>
                    <div class="">
                      <div class="">
                        <div style="margin: 0in 0in 0.0001pt; font-size:
                          12pt; font-family: 'Times New Roman', serif;"
                          class=""> <o:p class=""></o:p></div>
                      </div>
                    </div>
                    <blockquote style="margin-top: 5pt; margin-bottom:
                      5pt;" class="">
                      <div class="">
                        <div class="">
                          <div style="margin: 0in 0in 0.0001pt;
                            font-size: 12pt; font-family: 'Times New
                            Roman', serif;" class=""><br class="">
                            By the way, all concerns you have are all
                            valid, we had worked on resolving these
                            issues 10+ years back when we did similar
                            things in our compilers. I wouldn't claim we
                            have perfect solutions, but we do reasonable
                            good solutions for handling general
                            directives and openmp directives.    <o:p
                              class=""></o:p></div>
                        </div>
                      </div>
                    </blockquote>
                    <blockquote style="margin-top: 5pt; margin-bottom:
                      5pt;" class="">
                      <div class="">
                        <div class="">
                          <div class="">
                            <div style="margin: 0in 0in 0.0001pt;
                              font-size: 12pt; font-family: 'Times New
                              Roman', serif;" class=""> <o:p class=""></o:p></div>
                          </div>
                        </div>
                        <div class="">
                          <div style="margin: 0in 0in 0.0001pt;
                            font-size: 12pt; font-family: 'Times New
                            Roman', serif;" class="">Xinmin<br class="">
                            <br class="">
                            -----Original Message-----<br class="">
                            From:<span class="apple-converted-space"> </span><a
                              moz-do-not-send="true"
                              href="mailto:mehdi.amini@apple.com"
                              style="color: purple; text-decoration:
                              underline;" class=""><span style="color:
                                purple;" class="">mehdi.amini@apple.com</span></a><span
                              class="apple-converted-space"> </span>[<a
                              moz-do-not-send="true"
                              href="mailto:mehdi.amini@apple.com"
                              style="color: purple; text-decoration:
                              underline;" class=""><span style="color:
                                purple;" class="">mailto:mehdi.amini@apple.com</span></a>]<span
                              class="apple-converted-space"> </span><br
                              class="">
                            Sent: Tuesday, January 31, 2017 7:08 PM<br
                              class="">
                            To: Tian, Xinmin <<a
                              moz-do-not-send="true"
                              href="mailto:xinmin.tian@intel.com"
                              style="color: purple; text-decoration:
                              underline;" class=""><span style="color:
                                purple;" class="">xinmin.tian@intel.com</span></a>><br
                              class="">
                            Cc: Sanjoy Das <<a moz-do-not-send="true"
href="mailto:sanjoy@playingwithpointers.com" style="color: purple;
                              text-decoration: underline;" class=""><span
                                style="color: purple;" class="">sanjoy@playingwithpointers.com</span></a>>;
                            Adve, Vikram Sadanand <<a
                              moz-do-not-send="true"
                              href="mailto:vadve@illinois.edu"
                              style="color: purple; text-decoration:
                              underline;" class=""><span style="color:
                                purple;" class="">vadve@illinois.edu</span></a>>;<span
                              class="apple-converted-space"> </span><a
                              moz-do-not-send="true"
                              href="mailto:llvm-dev@lists.llvm.org"
                              style="color: purple; text-decoration:
                              underline;" class=""><span style="color:
                                purple;" class="">llvm-dev@lists.llvm.org</span></a>;<span
                              class="apple-converted-space"> </span><a
                              moz-do-not-send="true"
                              href="mailto:llvm-dev-request@lists.llvm.org"
                              style="color: purple; text-decoration:
                              underline;" class=""><span style="color:
                                purple;" class="">llvm-dev-request@lists.llvm.org</span></a><br
                              class="">
                            Subject: Re: [llvm-dev] [RFC] IR-level
                            Region Annotations<br class="">
                            <br class="">
                            <br class="">
                            <br class="">
                            <br class="">
                            <o:p class=""></o:p></div>
                        </div>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <div class="">
                            <div style="margin: 0in 0in 0.0001pt;
                              font-size: 12pt; font-family: 'Times New
                              Roman', serif;" class="">On Jan 31, 2017,
                              at 6:48 PM, Tian, Xinmin <<a
                                moz-do-not-send="true"
                                href="mailto:xinmin.tian@intel.com"
                                style="color: purple; text-decoration:
                                underline;" class=""><span style="color:
                                  purple;" class="">xinmin.tian@intel.com</span></a>>
                              wrote:<o:p class=""></o:p></div>
                          </div>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <div class="">
                            <div style="margin: 0in 0in 0.0001pt;
                              font-size: 12pt; font-family: 'Times New
                              Roman', serif;" class=""> <o:p class=""></o:p></div>
                          </div>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <div class="">
                            <div style="margin: 0in 0in 0.0001pt;
                              font-size: 12pt; font-family: 'Times New
                              Roman', serif;" class="">Let me try this.<span
                                class="apple-converted-space"> </span><o:p
                                class=""></o:p></div>
                          </div>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <div class="">
                            <div style="margin: 0in 0in 0.0001pt;
                              font-size: 12pt; font-family: 'Times New
                              Roman', serif;" class=""> <o:p class=""></o:p></div>
                          </div>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <div class="">
                            <div style="margin: 0in 0in 0.0001pt;
                              font-size: 12pt; font-family: 'Times New
                              Roman', serif;" class="">You can simply
                              consider the prepare-phase (e.g.
                              pre-privatization)  were done in FE
                               (actually a library can be used by
                              multiple FEs at LLVM IR level),  the
                              region is run with 1 thread,  region
                              annotation (scope,
                              single-entry-single-exit) as memory
                              barrier conservatively for now (instead of
                              checking individual memory dependency,
                              aliasing via tags which is the actual
                              implementation is done) marked with region
                              intrinsic functions. What optimization
                              will mess up  with this region-annotation?
                               <o:p class=""></o:p></div>
                          </div>
                        </blockquote>
                        <div class="">
                          <div style="margin: 0in 0in 0.0001pt;
                            font-size: 12pt; font-family: 'Times New
                            Roman', serif;" class=""><br class="">
                            The first thing that comes to my mind is
                            inlining that can put the IR in a form that
                            breaks the invariant you tried to enforce
                            with your "prepare-phase” (for example by
                            hoisting an allocas).<br class="">
                            <br class="">
                            —<span class="apple-converted-space"> </span><br
                              class="">
                            Mehdi<br class="">
                            <br class="">
                            <br class="">
                            <br class="">
                            <br class="">
                            <o:p class=""></o:p></div>
                        </div>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <div class="">
                            <div style="margin: 0in 0in 0.0001pt;
                              font-size: 12pt; font-family: 'Times New
                              Roman', serif;" class=""> <o:p class=""></o:p></div>
                          </div>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <div class="">
                            <div style="margin: 0in 0in 0.0001pt;
                              font-size: 12pt; font-family: 'Times New
                              Roman', serif;" class=""> <o:p class=""></o:p></div>
                          </div>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <div class="">
                            <div style="margin: 0in 0in 0.0001pt;
                              font-size: 12pt; font-family: 'Times New
                              Roman', serif;" class="">-----Original
                              Message-----<o:p class=""></o:p></div>
                          </div>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <div class="">
                            <div style="margin: 0in 0in 0.0001pt;
                              font-size: 12pt; font-family: 'Times New
                              Roman', serif;" class="">From:<span
                                class="apple-converted-space"> </span><a
                                moz-do-not-send="true"
                                href="mailto:mehdi.amini@apple.com"
                                style="color: purple; text-decoration:
                                underline;" class=""><span style="color:
                                  purple;" class="">mehdi.amini@apple.com</span></a><span
                                class="apple-converted-space"> </span>[<a
                                moz-do-not-send="true"
                                href="mailto:mehdi.amini@apple.com"
                                style="color: purple; text-decoration:
                                underline;" class=""><span style="color:
                                  purple;" class="">mailto:mehdi.amini@apple.com</span></a>]<o:p
                                class=""></o:p></div>
                          </div>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <div class="">
                            <div style="margin: 0in 0in 0.0001pt;
                              font-size: 12pt; font-family: 'Times New
                              Roman', serif;" class="">Sent: Tuesday,
                              January 31, 2017 5:47 PM<o:p class=""></o:p></div>
                          </div>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <div class="">
                            <div style="margin: 0in 0in 0.0001pt;
                              font-size: 12pt; font-family: 'Times New
                              Roman', serif;" class="">To: Tian, Xinmin
                              <<a moz-do-not-send="true"
                                href="mailto:xinmin.tian@intel.com"
                                style="color: purple; text-decoration:
                                underline;" class=""><span style="color:
                                  purple;" class="">xinmin.tian@intel.com</span></a>><o:p
                                class=""></o:p></div>
                          </div>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <div class="">
                            <div style="margin: 0in 0in 0.0001pt;
                              font-size: 12pt; font-family: 'Times New
                              Roman', serif;" class="">Cc: Sanjoy Das
                              <<a moz-do-not-send="true"
                                href="mailto:sanjoy@playingwithpointers.com"
                                style="color: purple; text-decoration:
                                underline;" class=""><span style="color:
                                  purple;" class="">sanjoy@playingwithpointers.com</span></a>>;
                              Adve, Vikram Sadanand <<a
                                moz-do-not-send="true"
                                href="mailto:vadve@illinois.edu"
                                style="color: purple; text-decoration:
                                underline;" class=""><span style="color:
                                  purple;" class="">vadve@illinois.edu</span></a>>;<span
                                class="apple-converted-space"> </span><a
                                moz-do-not-send="true"
                                href="mailto:llvm-dev@lists.llvm.org"
                                style="color: purple; text-decoration:
                                underline;" class=""><span style="color:
                                  purple;" class="">llvm-dev@lists.llvm.org</span></a>;<span
                                class="apple-converted-space"> </span><a
                                moz-do-not-send="true"
                                href="mailto:llvm-dev-request@lists.llvm.org"
                                style="color: purple; text-decoration:
                                underline;" class=""><span style="color:
                                  purple;" class="">llvm-dev-request@lists.llvm.org</span></a><o:p
                                class=""></o:p></div>
                          </div>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <div class="">
                            <div style="margin: 0in 0in 0.0001pt;
                              font-size: 12pt; font-f
                              amily: 'Times New Roman', serif;" class="">Subject:
                              Re: [llvm-dev] [RFC] IR-level Region
                              Annotations<o:p class=""></o:p></div>
                          </div>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <div class="">
                            <div style="margin: 0in 0in 0.0001pt;
                              font-size: 12pt; font-family: 'Times New
                              Roman', serif;" class=""> <o:p class=""></o:p></div>
                          </div>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <div class="">
                            <div style="margin: 0in 0in 0.0001pt;
                              font-size: 12pt; font-family: 'Times New
                              Roman', serif;" class=""> <o:p class=""></o:p></div>
                          </div>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <div class="">
                              <div style="margin: 0in 0in 0.0001pt;
                                font-size: 12pt; font-family: 'Times New
                                Roman', serif;" class="">On Jan 31,
                                2017, at 5:38 PM, Tian, Xinmin <<a
                                  moz-do-not-send="true"
                                  href="mailto:xinmin.tian@intel.com"
                                  style="color: purple; text-decoration:
                                  underline;" class=""><span
                                    style="color: purple;" class="">xinmin.tian@intel.com</span></a>>
                                wrote:<o:p class=""></o:p></div>
                            </div>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <div class="">
                              <div style="margin: 0in 0in 0.0001pt;
                                font-size: 12pt; font-family: 'Times New
                                Roman', serif;" class=""> <o:p class=""></o:p></div>
                            </div>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <blockquote style="margin-top: 5pt;
                                  margin-bottom: 5pt;" class="">
                                  <blockquote style="margin-top: 5pt;
                                    margin-bottom: 5pt;" class="">
                                    <div class="">
                                      <div style="margin: 0in 0in
                                        0.0001pt; font-size: 12pt;
                                        font-family: 'Times New Roman',
                                        serif;" class="">Ok, but this
                                        looks like a “workaround" for
                                        your specific use-case, I don’t
                                        see how it can scale as a
                                        model-agnostic and
                                        general-purpose region semantic.<o:p
                                          class=""></o:p></div>
                                    </div>
                                  </blockquote>
                                </blockquote>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <div class="">
                              <div style="margin: 0in 0in 0.0001pt;
                                font-size: 12pt; font-family: 'Times New
                                Roman', serif;" class=""> <o:p class=""></o:p></div>
                            </div>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <div class="">
                              <div style="margin: 0in 0in 0.0001pt;
                                font-size: 12pt; font-family: 'Times New
                                Roman', serif;" class="">I would say it
                                is a design trade-off.<o:p class=""></o:p></div>
                            </div>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <div class="">
                            <div style="margin: 0in 0in 0.0001pt;
                              font-size: 12pt; font-family: 'Times New
                              Roman', serif;" class=""> <o:p class=""></o:p></div>
                          </div>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <div class="">
                            <div style="margin: 0in 0in 0.0001pt;
                              font-size: 12pt; font-family: 'Times New
                              Roman', serif;" class="">I’m not sure if
                              we’re talking about the same thing here:
                              my understanding at this point is that the
                              design trading-off you’re making
                              “simplicity” by scarifying “correctness”.<o:p
                                class=""></o:p></div>
                          </div>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <div class="">
                            <div style="margin: 0in 0in 0.0001pt;
                              font-size: 12pt; font-family: 'Times New
                              Roman', serif;" class=""> <o:p class=""></o:p></div>
                          </div>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <div class="">
                            <div style="margin: 0in 0in 0.0001pt;
                              font-size: 12pt; font-family: 'Times New
                              Roman', serif;" class="">Requiring the IR
                              to stay in what you’re calling a
                              “canonical” form in your answer to Sanjoy
                              in order to not miscompile a program is
                              not an approach that seems compatible with
                              how we deal with the IR usually.<o:p
                                class=""></o:p></div>
                          </div>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <div class="">
                            <div style="margin: 0in 0in 0.0001pt;
                              font-size: 12pt; font-family: 'Times New
                              Roman', serif;" class=""> <o:p class=""></o:p></div>
                          </div>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <div class="">
                              <div style="margin: 0in 0in 0.0001pt;
                                font-size: 12pt; font-family: 'Times New
                                Roman', serif;" class="">Regardless it
                                is a new instruction or an intrinsics
                                with token/tag, it will consist of
                                 model-agnostic part and
                                model-non-agnostic part. The package
                                comes with a framework for parsing and
                                using these intrinsics.  See the reply I
                                had for Sanjoy's email.<span
                                  class="apple-converted-space"> </span><o:p
                                  class=""></o:p></div>
                            </div>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <div class="">
                            <div style="margin: 0in 0in 0.0001pt;
                              font-size: 12pt; font-family: 'Times New
                              Roman', serif;" class=""> <o:p class=""></o:p></div>
                          </div>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <div class="">
                            <div style="margin: 0in 0in 0.0001pt;
                              font-size: 12pt; font-family: 'Times New
                              Roman', serif;" class="">The answer to
                              Sanjoy is not really helpful to clarify
                              anything to me. At this point I still
                              don’t understand how this is supposed to
                              be correct in general.<o:p class=""></o:p></div>
                          </div>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <div class="">
                            <div style="margin: 0in 0in 0.0001pt;
                              font-size: 12pt; font-family: 'Times New
                              Roman', serif;" class=""> <o:p class=""></o:p></div>
                          </div>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <div class="">
                            <div style="margin: 0in 0in 0.0001pt;
                              font-size: 12pt; font-family: 'Times New
                              Roman', serif;" class="">It would be
                              helpful to have a LangRef patch that
                              describes the semantic associated to your
                              region intrinsics. Then we may be able to
                              process some examples through the
                              formalized description.<o:p class=""></o:p></div>
                          </div>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <div class="">
                            <div style="margin: 0in 0in 0.0001pt;
                              font-size: 12pt; font-family: 'Times New
                              Roman', serif;" class=""> <o:p class=""></o:p></div>
                          </div>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <div class="">
                            <div style="margin: 0in 0in 0.0001pt;
                              font-size: 12pt; font-family: 'Times New
                              Roman', serif;" class="">—<span
                                class="apple-converted-space"> </span><o:p
                                class=""></o:p></div>
                          </div>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <div class="">
                            <div style="margin: 0in 0in 0.0001pt;
                              font-size: 12pt; font-family: 'Times New
                              Roman', serif;" class="">Mehdi<o:p
                                class=""></o:p></div>
                          </div>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <div class="">
                            <div style="margin: 0in 0in 0.0001pt;
                              font-size: 12pt; font-family: 'Times New
                              Roman', serif;" class=""> <o:p class=""></o:p></div>
                          </div>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <div class="">
                            <div style="margin: 0in 0in 0.0001pt;
                              font-size: 12pt; font-family: 'Times New
                              Roman', serif;" class=""> <o:p class=""></o:p></div>
                          </div>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <div class="">
                              <div style="margin: 0in 0in 0.0001pt;
                                font-size: 12pt; font-family: 'Times New
                                Roman', serif;" class=""> <o:p class=""></o:p></div>
                            </div>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <div class="">
                              <div style="margin: 0in 0in 0.0001pt;
                                font-size: 12pt; font-family: 'Times New
                                Roman', serif;" class="">-----Original
                                Message-----<o:p class=""></o:p></div>
                            </div>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <div class="">
                              <div style="margin: 0in 0in 0.0001pt;
                                font-size: 12pt; font-family: 'Times New
                                Roman', serif;" class="">From:<span
                                  class="apple-converted-space"> </span><a
                                  moz-do-not-send="true"
                                  href="mailto:mehdi.amini@apple.com"
                                  style="color: purple; text-decoration:
                                  underline;" class=""><span
                                    style="color: purple;" class="">mehdi.amini@apple.com</span></a><span
                                  class="apple-converted-space"> </span>[<a
                                  moz-do-not-send="true"
                                  href="mailto:mehdi.amini@apple.com"
                                  style="color: purple; text-decoration:
                                  underline;" class=""><span
                                    style="color: purple;" class="">mailto:mehdi.amini@apple.com</span></a>]<o:p
                                  class=""></o:p></div>
                            </div>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <div class="">
                              <div style="margin: 0in 0in 0.0001pt;
                                font-size: 12pt; font-family: 'Times New
                                Roman', serif;" class="">Sent: Saturday,
                                January 21, 2017 1:57 PM<o:p class=""></o:p></div>
                            </div>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <div class="">
                              <div style="margin: 0in 0in 0.0001pt;
                                font-size: 12pt; font-family: 'Times New
                                Roman', serif;" class="">To: Tian,
                                Xinmin <<a moz-do-not-send="true"
                                  href="mailto:xinmin.tian@intel.com"
                                  style="color: purple; text-decoration:
                                  underline;" class=""><span
                                    style="color: purple;" class="">xinmin.tian@intel.com</span></a>><o:p
                                  class=""></o:p></div>
                            </div>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <div class="">
                              <div style="margin: 0in 0in 0.0001pt;
                                font-size: 12pt; font-family: 'Times New
                                Roman', serif;" class="">Cc: Sanjoy Das
                                <<a moz-do-not-send="true"
                                  href="mailto:sanjoy@playingwithpointers.com"
                                  style="color: purple; text-decoration:
                                  underline;" class=""><span
                                    style="color: purple;" class="">sanjoy@playingwithpointers.com</span></a>>;
                                Adve, Vikram Sadanand <<a
                                  moz-do-not-send="true"
                                  href="mailto:vadve@illinois.edu"
                                  style="color: purple; text-decoration:
                                  underline;" class=""><span
                                    style="color: purple;" class="">vadve@illinois.edu</span></a>>;<span
                                  class="apple-converted-space"> </span><a
                                  moz-do-not-send="true"
                                  href="mailto:llvm-dev@lists.llvm.org"
                                  style="color: purple; text-decoration:
                                  underline;" class=""><span
                                    style="color: purple;" class="">llvm-dev@lists.llvm.org</span></a>;<span
                                  class="apple-converted-space"> </span><a
                                  moz-do-not-send="true"
                                  href="mailto:llvm-dev-request@lists.llvm.org"
                                  style="color: purple; text-decoration:
                                  underline;" class=""><span
                                    style="color: purple;" class="">llvm-dev-request@lists.llvm.org</span></a><o:p
                                  class=""></o:p></div>
                            </div>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <div class="">
                              <div style="margin: 0in 0in 0.0001pt;
                                font-size: 12pt; font-family: 'Times New
                                Roman', serif;" class="">Subject: Re:
                                [llvm-dev] [RFC] IR-level Region
                                Annotations<o:p class=""></o:p></div>
                            </div>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <div class="">
                              <div style="margin: 0in 0in 0.0001pt;
                                font-size: 12pt; font-family: 'Times New
                                Roman', serif;" class=""> <o:p class=""></o:p></div>
                            </div>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <div class="">
                              <div style="margin: 0in 0in 0.0001pt;
                                font-size: 12pt; font-family: 'Times New
                                Roman', serif;" class=""> <o:p class=""></o:p></div>
                            </div>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class="">On Jan
                                  20, 2017, at 11:17 AM, Tian, Xinmin
                                  <<a moz-do-not-send="true"
                                    href="mailto:xinmin.tian@intel.com"
                                    style="color: purple;
                                    text-decoration: underline;"
                                    class=""><span style="color:
                                      purple;" class="">xinmin.tian@intel.com</span></a>>
                                  wrote:<o:p class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class=""> <o:p
                                    class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <blockquote style="margin-top: 5pt;
                                  margin-bottom: 5pt;" class="">
                                  <blockquote style="margin-top: 5pt;
                                    margin-bottom: 5pt;" class="">
                                    <blockquote style="margin-top: 5pt;
                                      margin-bottom: 5pt;" class="">
                                      <div class="">
                                        <div style="margin: 0in 0in
                                          0.0001pt; font-size: 12pt;
                                          font-family: 'Times New
                                          Roman', serif;" class="">This
                                          means that the optimizer has
                                          to be aware of it, I’m missing
                                          the magic here?<o:p class=""></o:p></div>
                                      </div>
                                    </blockquote>
                                  </blockquote>
                                </blockquote>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class=""> <o:p
                                    class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class="">This is
                                  one option.  <o:p class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class=""> <o:p
                                    class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class="">The
                                  another option is that, as I mentioned
                                  in our LLVM-HPC paper in our
                                  implementation. We have a "prepare
                                  phase for pre-privatization" can be
                                  invoked by both Clang FE and Fortran
                                  FE right after LLVM IR is generated.
                                  So, in this way, we are able to
                                  minimize the optimizations impact for
                                  the original val and I<o:p class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <div class="">
                              <div style="margin: 0in 0in 0.0001pt;
                                font-size: 12pt; font-family: 'Times New
                                Roman', serif;" class=""> <o:p class=""></o:p></div>
                            </div>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <div class="">
                              <div style="margin: 0in 0in 0.0001pt;
                                font-size: 12pt; font-family: 'Times New
                                Roman', serif;" class="">Ok, but this
                                looks like a “workaround" for your
                                specific use-case, I don’t see how it
                                can scale as a model-agnostic and
                                general-purpose region semantic.<o:p
                                  class=""></o:p></div>
                            </div>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <div class="">
                              <div style="margin: 0in 0in 0.0001pt;
                                font-size: 12pt; font-family: 'Times New
                                Roman', serif;" class=""> <o:p class=""></o:p></div>
                            </div>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <div class="">
                              <div style="margin: 0in 0in 0.0001pt;
                                font-size: 12pt; font-family: 'Times New
                                Roman', serif;" class="">The fact that
                                you needed this pre-step in the first
                                place seems to indicate to me that it
                                confirms what multiple people expressed
                                in this thread, for example what Daniel
                                wrote here:<span
                                  class="apple-converted-space"> </span><a
                                  moz-do-not-send="true"
                                  href="http://lists.llvm.org/pipermail/llvm-dev/2017-January/108997.html"
                                  style="color: purple; text-decoration:
                                  underline;" class=""><span
                                    style="color: purple;" class="">http://lists.llvm.org/pipermail/llvm-dev/2017-January/108997.html</span></a><o:p
                                  class=""></o:p></div>
                            </div>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <div class="">
                              <div style="margin: 0in 0in 0.0001pt;
                                font-size: 12pt; font-family: 'Times New
                                Roman', serif;" class=""> <o:p class=""></o:p></div>
                            </div>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <div class="">
                              <div style="margin: 0in 0in 0.0001pt;
                                font-size: 12pt; font-family: 'Times New
                                Roman', serif;" class="">—<span
                                  class="apple-converted-space"> </span><o:p
                                  class=""></o:p></div>
                            </div>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <div class="">
                              <div style="margin: 0in 0in 0.0001pt;
                                font-size: 12pt; font-family: 'Times New
                                Roman', serif;" class="">Mehdi<o:p
                                  class=""></o:p></div>
                            </div>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <div class="">
                              <div style="margin: 0in 0in 0.0001pt;
                                font-size: 12pt; font-family: 'Times New
                                Roman', serif;" class=""> <o:p class=""></o:p></div>
                            </div>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <div class="">
                              <div style="margin: 0in 0in 0.0001pt;
                                font-size: 12pt; font-family: 'Times New
                                Roman', serif;" class=""> <o:p class=""></o:p></div>
                            </div>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <div class="">
                              <div style="margin: 0in 0in 0.0001pt;
                                font-size: 12pt; font-family: 'Times New
                                Roman', serif;" class=""> <o:p class=""></o:p></div>
                            </div>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class=""> <o:p
                                    class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class="">{ void
                                  main() {<o:p class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class="">i32* val
                                  = alloca i32<o:p class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class="">i32* I =
                                  alloca 32<o:p class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class="">i32*
                                  priv_val = alloca i32<o:p class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class="">i32*
                                  priv_i alloca 32<o:p class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class="">tok =
                                  llvm.experimental.intrinsic_a()[
                                  "DIR.PARALLEL"(),"QUAL.PRIVATE"(i32*
                                  %priv_val, i32 %priv_i),
                                  "QUAL.NUM_THREADS"(i32 4)]<o:p
                                    class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class=""> <o:p
                                    class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class="">%priv_i =
                                  omp_get_thread_num();<o:p class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class="">compute_something_into_val(%priv_val,
                                  %priv_i);  <o:p class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class="">a[priv_i]
                                  = %priv_val;<o:p class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class=""> <o:p
                                    class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class="">llvm.experimental.intrinsic_b(tok)["DIR.END.PARALLEL"()];<o:p
                                    class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class="">....<o:p
                                    class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class=""> <o:p
                                    class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class="">I =<span
                                    class="apple-converted-space"> </span><o:p
                                    class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class="">Val =<o:p
                                    class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class="">Foo(val,
                                  i).<span class="apple-converted-space"> </span><o:p
                                    class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class="">}<o:p
                                    class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class=""> <o:p
                                    class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class="">"Prepare
                                  phase" is our way of minimizing the
                                  impact to existing optimizations.<o:p
                                    class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class=""> <o:p
                                    class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class="">Xinmin<o:p
                                    class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class=""> <o:p
                                    class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class="">-----Original
                                  Message-----<o:p class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class="">From:<span
                                    class="apple-converted-space"> </span><a
                                    moz-do-not-send="true"
                                    href="mailto:mehdi.amini@apple.com"
                                    style="color: purple;
                                    text-decoration: underline;"
                                    class=""><span style="color:
                                      purple;" class="">mehdi.amini@apple.com</span></a><span
                                    class="apple-converted-space"> </span>[<a
                                    moz-do-not-send="true"
                                    href="mailto:mehdi.amini@apple.com"
                                    style="color: purple;
                                    text-decoration: underline;"
                                    class=""><span style="color:
                                      purple;" class="">mailto:mehdi.amini@apple.com</span></a>]<o:p
                                    class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class="">Sent:
                                  Friday, January 20, 2017 10:54 AM<o:p
                                    class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class="">To: Tian,
                                  Xinmin<o:p class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class="">Cc:
                                  Sanjoy Das; Adve, Vikram Sadanand;<span
                                    class="apple-converted-space"> </span><a
                                    moz-do-not-send="true"
                                    href="mailto:llvm-dev@lists.llvm.org"
                                    style="color: purple;
                                    text-decoration: underline;"
                                    class=""><span style="color:
                                      purple;" class="">llvm-dev@lists.llvm.org</span></a>;<span
                                    class="apple-converted-space"> </span><a
                                    moz-do-not-send="true"
                                    href="mailto:llvm-dev-request@lists.llvm.org"
                                    style="color: purple;
                                    text-decoration: underline;"
                                    class=""><span style="color:
                                      purple;" class="">llvm-dev-request@lists.llvm.org</span></a><o:p
                                    class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class="">Subject:
                                  Re: [llvm-dev] [RFC] IR-level Region
                                  Annotations<o:p class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class=""> <o:p
                                    class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class=""> <o:p
                                    class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">On Jan
                                    20, 2017, at 10:44 AM, Tian, Xinmin
                                    via llvm-dev <<a
                                      moz-do-not-send="true"
                                      href="mailto:llvm-dev@lists.llvm.org"
                                      style="color: purple;
                                      text-decoration: underline;"
                                      class=""><span style="color:
                                        purple;" class="">llvm-dev@lists.llvm.org</span></a>>
                                    wrote:<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class=""> <o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">Sanjoy,
                                    the IR would be like something
                                    below. It is ok to hoist alloca
                                    instruction outside the region.
                                    There are some small changes in
                                    optimizer to understand
                                    region-annotation intrinsic.   <o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class=""> <o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">{ void
                                    main() {<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">i32*
                                    val = alloca i32<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">tok =
                                    llvm.experimental.intrinsic_a()[
                                    "DIR.PARALLEL"(),<span
                                      class="apple-converted-space"> </span><o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">"QUAL.PRIVATE"(i32*
                                    val), "QUAL.NUM_THREADS"(i32 4)]<o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class=""> <o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">int i =
                                    omp_get_thread_num();<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">compute_something_into_val(val,
                                    i);<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">a[i] =
                                    val;<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class=""> <o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">llvm.experimental.intrinsic_b(tok)["DIR.END.PARALLEL"()];<o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">}<o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class=""> <o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">With
                                    above representation, we can do
                                    privatization and outlining as<o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">below<o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class=""> <o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">{ void
                                    main() {<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">i32*
                                    val = alloca i32<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">i32* I
                                    = alloca 32<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">tok =
                                    llvm.experimental.intrinsic_a()[
                                    "DIR.PARALLEL"(),<span
                                      class="apple-converted-space"> </span><o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">"QUAL.PRIVATE"(i32*
                                    %val, i32 %i),
                                    "QUAL.NUM_THREADS"(i32 4)]<o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class=""> <o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">%ii =
                                    omp_get_thread_num();<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">compute_something_into_val(%val,
                                    %i);  a[i] = %val;<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class=""> <o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">llvm.experimental.intrinsic_b(tok)["DIR.END.PARALLEL"()];<o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">}<o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class=""> <o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class=""> <o:p
                                    class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class="">Here we
                                  come to the interesting part: the
                                  hoisting of  "i32* I = alloca 32”
                                  above the intrinsics required to
                                  update the intrinsics information
                                  “QUAL.PRIVATE”.<o:p class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class="">This
                                  means that the optimizer has to be
                                  aware of it, I’m missing the magic
                                  here?<o:p class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class="">I
                                  understand that an openmp specific
                                  optimization can do it, the question
                                  is how it an openmp agnostic supposed
                                  to behave in face of
                                  llvm.experimental.intrinsic_a?<o:p
                                    class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class=""> <o:p
                                    class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class="">—<o:p
                                    class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class="">Mehdi<o:p
                                    class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class=""> <o:p
                                    class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class=""> <o:p
                                    class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 12pt; font-family: 'Times
                                  New Roman', serif;" class=""> <o:p
                                    class=""></o:p></div>
                              </div>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">1.
                                    create i32* priv_val = alloca i32
                                     %priv_i = ...in the region, and
                                    replace all  %val with %prv_val in
                                    the region.<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">2.
                                    perform outlining.<span
                                      class="apple-converted-space"> </span><o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class=""> <o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">Caller
                                    code<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">....<o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">omp_push_num_threads(4)<o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">omp_fork_call(
                                    .... outline_par_region....) ....<o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class=""> <o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">Callee
                                    code:<span
                                      class="apple-converted-space"> </span><o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">Outlined_par_rgion
                                    {<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">I32*
                                    priv_val = alloca 32<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">I32*
                                    priv_i = ....<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class=""> <o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">Ret<o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">}<o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class=""> <o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">For
                                    OpenMP, we do support it at -O0,
                                    -O1, -O2 and -O3.  We had to make
                                    sure it runs correctly w/ and w/o
                                    optimizations and advanced analysis.
                                    So we need to preserve all source
                                    information for BE.  <o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">You can
                                    take a look our LLVM-HPC paper for a
                                    bit some details.  There are still
                                    tons of work to be done. Thanks.<o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class=""> <o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">Xinmin<span
                                      class="apple-converted-space"> </span><o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class=""> <o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">-----Original
                                    Message-----<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">From:
                                    llvm-dev [<a moz-do-not-send="true"
href="mailto:llvm-dev-bounces@lists.llvm.org" style="color: purple;
                                      text-decoration: underline;"
                                      class=""><span style="color:
                                        purple;" class="">mailto:llvm-dev-bounces@lists.llvm.org</span></a>]
                                    On Behalf Of Sanjoy Das via llvm-dev<o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">Sent:
                                    Thursday, January 19, 2017 10:13 PM<o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">To:
                                    Adve, Vikram Sadanand <<a
                                      moz-do-not-send="true"
                                      href="mailto:vadve@illinois.edu"
                                      style="color: purple;
                                      text-decoration: underline;"
                                      class=""><span style="color:
                                        purple;" class="">vadve@illinois.edu</span></a>><o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">Cc:
                                    llvm-dev <<a
                                      moz-do-not-send="true"
                                      href="mailto:llvm-dev@lists.llvm.org"
                                      style="color: purple;
                                      text-decoration: underline;"
                                      class=""><span style="color:
                                        purple;" class="">llvm-dev@lists.llvm.org</span></a>>;<span
                                      class="apple-converted-space"> </span><a
                                      moz-do-not-send="true"
                                      href="mailto:llvm-dev-request@lists.llvm.org"
                                      style="color: purple;
                                      text-decoration: underline;"
                                      class=""><span style="color:
                                        purple;" class="">llvm-dev-request@lists.llvm.org</span></a><o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">Subject:
                                    Re: [llvm-dev] [RFC] IR-level Region
                                    Annotations<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class=""> <o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">Hi
                                    Vikram,<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class=""> <o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">On Thu,
                                    Jan 19, 2017 at 9:27 PM, Adve,
                                    Vikram Sadanand <<a
                                      moz-do-not-send="true"
                                      href="mailto:vadve@illinois.edu"
                                      style="color: purple;
                                      text-decoration: underline;"
                                      class=""><span style="color:
                                        purple;" class="">vadve@illinois.edu</span></a>>
                                    wrote:<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <blockquote style="margin-top: 5pt;
                                  margin-bottom: 5pt;" class="">
                                  <div class="">
                                    <div style="margin: 0in 0in
                                      0.0001pt; font-size: 12pt;
                                      font-family: 'Times New Roman',
                                      serif;" class="">Hi Sanjoy,<o:p
                                        class=""></o:p></div>
                                  </div>
                                </blockquote>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <blockquote style="margin-top: 5pt;
                                  margin-bottom: 5pt;" class="">
                                  <div class="">
                                    <div style="margin: 0in 0in
                                      0.0001pt; font-size: 12pt;
                                      font-family: 'Times New Roman',
                                      serif;" class=""> <o:p class=""></o:p></div>
                                  </div>
                                </blockquote>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <blockquote style="margin-top: 5pt;
                                  margin-bottom: 5pt;" class="">
                                  <div class="">
                                    <div style="margin: 0in 0in
                                      0.0001pt; font-size: 12pt;
                                      font-family: 'Times New Roman',
                                      serif;" class="">Yes, that's
                                      exactly what we have been looking
                                      at recently here, but<o:p class=""></o:p></div>
                                  </div>
                                </blockquote>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <blockquote style="margin-top: 5pt;
                                  margin-bottom: 5pt;" class="">
                                  <div class="">
                                    <div style="margin: 0in 0in
                                      0.0001pt; font-size: 12pt;
                                      font-family: 'Times New Roman',
                                      serif;" class="">the region tags
                                      seem to make it possible to
                                      express the control flow<o:p
                                        class=""></o:p></div>
                                  </div>
                                </blockquote>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <blockquote style="margin-top: 5pt;
                                  margin-bottom: 5pt;" class="">
                                  <div class="">
                                    <div style="margin: 0in 0in
                                      0.0001pt; font-size: 12pt;
                                      font-family: 'Times New Roman',
                                      serif;" class="">as well, so I
                                      think we could start with reg
                                      ions+metadata, as Hal and<o:p
                                        class=""></o:p></div>
                                  </div>
                                </blockquote>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class=""> <o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">I'm not
                                    yet convinced that region tags are
                                    sufficient to model exotic control
                                    flow.<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class=""> <o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">(I
                                    don't know OpenMP so this is a
                                    copy-pasted-edited example)<o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class=""> <o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">Say we
                                    have:<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class=""> <o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">void
                                    main() {<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">#pragma
                                    omp parallel num_threads(4)<o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">{<o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">int i =
                                    omp_get_thread_num();<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">int
                                    val;<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">compute_something_into_val(&val,
                                    i);<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">a[i] =
                                    val;<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">}<o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">}<o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class=""> <o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">I
                                    presume the (eventual) intended
                                    lowering is something like this (if
                                    the intended lowering is different
                                    than this, and avoids the issue I'm
                                    trying to highlight then my point is
                                    moot):<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class=""> <o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">void
                                    main() {<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">tok =
                                    llvm.experimental.intrinsic_a();<o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class=""> <o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">int i =
                                    omp_get_thread_num();<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">i32*
                                    val = alloca i32<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">compute_something_into_val(val,
                                    i);<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">a[i] =
                                    val;<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class=""> <o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">llvm.experimental.intrinsic_b(tok);<o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">}<o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class=""> <o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">However,
                                    LLVM is free to hoist the alloca to
                                    the entry block:<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class=""> <o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">void
                                    main() {<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">i32*
                                    val = alloca i32<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">tok =
                                    llvm.experimental.intrinsic_a();<o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class=""> <o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">int i =
                                    omp_get_thread_num();<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">compute_something_into_val(val,
                                    i);<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">a[i] =
                                    val;<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class=""> <o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">llvm.experimental.intrinsic_b(tok);<o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">}<o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class=""> <o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">and now
                                    you have a race between the four
                                    parallel forks.<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class=""> <o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">The
                                    problem here is that nothing in the
                                    IR expresses that we have four
                                    copies of the region running "at the
                                    same time".  In fact, such a control
                                    flow is alien to LLVM today.<o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class=""> <o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">For
                                    instance, another evil optimization
                                    may turn:<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class=""> <o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">void
                                    main() {<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">int
                                    a[4];<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">#pragma
                                    omp parallel num_threads(4)<o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">{<o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">int i =
                                    omp_get_thread_num();<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">int val
                                    = compute_something_into_val(i);<o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">a[i] =
                                    val;<o:p class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">}<o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class=""> <o:p
                                      class=""></o:p></div>
                                </div>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                        <blockquote style="margin-top: 5pt;
                          margin-bottom: 5pt;" class="">
                          <blockquote style="margin-top: 5pt;
                            margin-bottom: 5pt;" class="">
                            <blockquote style="margin-top: 5pt;
                              margin-bottom: 5pt;" class="">
                              <blockquote style="margin-top: 5pt;
                                margin-bottom: 5pt;" class="">
                                <div class="">
                                  <div style="margin: 0in 0in 0.0001pt;
                                    font-size: 12pt; font-family: 'Times
                                    New Roman', serif;" class="">return
                                    a[0] + a[1];<o:p class=""></o:p></div>