[#llvm-LiveIntervals-createAndComputeVirtRegInterval-0e] = xref:llvm.adoc[llvm]::xref:llvm/LiveIntervals.adoc[LiveIntervals]::createAndComputeVirtRegInterval :relfileprefix: ../../ :mrdocs: Create and compute the live interval for `Reg,` reporting if a split is needed. == Synopsis Declared in `<llvm/CodeGen/LiveIntervals.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:llvm/LiveInterval.adoc[LiveInterval]& createAndComputeVirtRegInterval( xref:llvm/Register.adoc[Register] Reg, bool& NeedSplit); ---- == Return Value Newly created and computed live interval for `Reg.` == Parameters [cols="1,4"] |=== | Name| Description | *Reg* | Virtual register whose interval is created and computed. | *NeedSplit* | Set to true if the computed interval may need splitting. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#