title: Create new Function in llvm
body: <p>If I have a set of basic blocks  and edges and I need to create for them a new function with new entry and end points.</p>
  
  <p>Could I create this directly in LLVM , just like <code>createFunction(F)</code>  then <code>F.insert(bb, edges)</code>
  which bb is a basic block and edges is the new edges for the new function.</p>
  
  <p>Thanks</p>