[#llvm-MachineFunction-getMachineMemOperand-059] = xref:llvm.adoc[llvm]::xref:llvm/MachineFunction.adoc[MachineFunction]::getMachineMemOperand :relfileprefix: ../../ :mrdocs: Allocate a MachineMemOperand copy of `MMO` with replaced flags. == Synopsis Declared in `<llvm/CodeGen/MachineFunction.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:llvm/MachineMemOperand.adoc[MachineMemOperand]* getMachineMemOperand( xref:llvm/MachineMemOperand.adoc[MachineMemOperand] const* MMO, xref:llvm/MachineMemOperand/Flags.adoc[MachineMemOperand::Flags] Flags); ---- == Description MachineMemOperands are owned by the MachineFunction and need not be explicitly deallocated. == Return Value Newly allocated MachineMemOperand owned by this function. == Parameters [cols="1,4"] |=== | Name| Description | *MMO* | Existing memory operand to copy. | *Flags* | Replacement memory‐operand flags. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#