[#llvm-LTOCodeGenerator-setSaveIRBeforeOptPath] = xref:llvm.adoc[llvm]::xref:llvm/LTOCodeGenerator.adoc[LTOCodeGenerator]::setSaveIRBeforeOptPath :relfileprefix: ../../ :mrdocs: Set the path where IR is saved before optimization, if any. == Synopsis Declared in `<llvm/LTO/legacy/LTOCodeGenerator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void setSaveIRBeforeOptPath(std::string Value); ---- == Parameters [cols="1,4"] |=== | Name| Description | *Value* | Output path for pre‐optimization IR, or empty to disable. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#