[#llvm-MachineFunction-getMachineMemOperand-03] = xref:llvm.adoc[llvm]::xref:llvm/MachineFunction.adoc[MachineFunction]::getMachineMemOperand :relfileprefix: ../../ :mrdocs: Allocate a new MachineMemOperand owned by this function. == Synopsis Declared in `<llvm/CodeGen/MachineFunction.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:llvm/MachineMemOperand.adoc[MachineMemOperand]* getMachineMemOperand( xref:llvm/MachinePointerInfo.adoc[MachinePointerInfo] PtrInfo, xref:llvm/MachineMemOperand/Flags.adoc[MachineMemOperand::Flags] F, xref:llvm/LLT.adoc[LLT] MemTy, xref:llvm/Align.adoc[Align] BaseAlignment, xref:llvm/MMOMetadata.adoc[MMOMetadata] const& Metadata = MMOMetadata(), xref:llvm/SyncScope/ID.adoc[SyncScope::ID] SSID = SyncScope::System, xref:llvm/AtomicOrdering.adoc[AtomicOrdering] Ordering = AtomicOrdering::NotAtomic, xref:llvm/AtomicOrdering.adoc[AtomicOrdering] FailureOrdering = AtomicOrdering::NotAtomic); ---- == Description MachineMemOperands need not be explicitly deallocated. == Return Value Newly allocated MachineMemOperand owned by this function. == Parameters [cols="1,4"] |=== | Name| Description | *PtrInfo* | Pointer information for the memory access. | *F* | Memory‐operand flags. | *MemTy* | Access type describing the memory size. | *BaseAlignment* | Base alignment of the access. | *Metadata* | Optional MMO metadata bundle. | *SSID* | Atomic synchronization scope. | *Ordering* | Atomic success ordering. | *FailureOrdering* | Atomic failure ordering. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#