[#llvm-getOrCreateFunctionComdat] = xref:llvm.adoc[llvm]::getOrCreateFunctionComdat :relfileprefix: ../ :mrdocs: Return `F's` comdat, creating and attaching one when missing. == Synopsis Declared in `<llvm/Transforms/Utils/Instrumentation.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:llvm/Comdat.adoc[Comdat]* getOrCreateFunctionComdat( xref:llvm/Function.adoc[Function]& F, xref:llvm/Triple.adoc[Triple]& T); ---- == Return Value `F's` comdat, or nullptr on failure. == Parameters [cols="1,4"] |=== | Name| Description | *F* | Function whose comdat is returned or created. | *T* | Target triple used when choosing a comdat strategy. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#