[#llvm-CodeGenData] = xref:llvm.adoc[llvm]::CodeGenData :relfileprefix: ../ :mrdocs: Process‐wide singleton holding shared codegen data used across modules. == Synopsis Declared in `<llvm/CGData/CodeGenData.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class CodeGenData; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/CodeGenData/2destructor.adoc[`~CodeGenData`] [.small]#[destructor]# | Destroy the codegen data instance. | xref:llvm/CodeGenData/emitCGData.adoc[`emitCGData`] | Returns true if we should write codegen data. | xref:llvm/CodeGenData/getOutlinedHashTree.adoc[`getOutlinedHashTree`] | Returns the outlined hash tree. This can be globally used in a read‐only manner. | xref:llvm/CodeGenData/getStableFunctionMap.adoc[`getStableFunctionMap`] | Return the published stable function map for read‐only use. | xref:llvm/CodeGenData/hasOutlinedHashTree.adoc[`hasOutlinedHashTree`] | Returns true if we have a valid outlined hash tree. | xref:llvm/CodeGenData/hasStableFunctionMap.adoc[`hasStableFunctionMap`] | Return true if a non‐empty stable function map has been published. | xref:llvm/CodeGenData/publishOutlinedHashTree.adoc[`publishOutlinedHashTree`] | Publish the (globally) merged or read outlined hash tree. | xref:llvm/CodeGenData/publishStableFunctionMap.adoc[`publishStableFunctionMap`] | Publish the (globally) merged or read stable function map. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/CodeGenData/getInstance.adoc[`getInstance`] | Return the process‐wide CodeGenData singleton. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#