title: def-use chain in llvm
body: <p>I extract Def_Use chain by following code in LLVM:</p>
  
  <pre><code>for (Value::use_iterator i = F-&gt;use_begin(), e = F-&gt;use_end(); i != e; ++i)
    if (Instruction *Inst = dyn_cast&lt;Instruction&gt;(*i)) {
      errs() &lt;&lt; "F is used in instruction:\n";
      errs() &lt;&lt; *Inst &lt;&lt; "\n";
    }
  </code></pre>
  
  <p>Now, I want to distinguish the register name or memory variable that lead to this data dependency.</p>
  
  <p>Thanks</p>