[#llvm-createCopyConstrainDAGMutation] = xref:llvm.adoc[llvm]::createCopyConstrainDAGMutation :relfileprefix: ../ :mrdocs: Create a DAG mutation that constrains copies near their uses/defs. == Synopsis Declared in `<llvm/CodeGen/MachineScheduler.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::unique_ptr<ScheduleDAGMutation> createCopyConstrainDAGMutation( xref:llvm/TargetInstrInfo.adoc[TargetInstrInfo] const* TII, xref:llvm/TargetRegisterInfo.adoc[TargetRegisterInfo] const* TRI); ---- == Return Value A unique pointer to the copy‐constrain DAG mutation. == Parameters [cols="1,4"] |=== | Name| Description | *TII* | Target instruction info used to recognize copies. | *TRI* | Target register info used while rewriting edges. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#