getMachineMemOperand overloads

Synopses

Declared in <llvm/CodeGen/MachineFunction.h>

Allocate a MachineMemOperand copy of MMO with replaced flags.

Allocate a MachineMemOperand copy of MMO with replaced AA metadata.

Allocate a MachineMemOperand copy of MMO adjusted by offset and size.

MachineMemOperand*
getMachineMemOperand(
    MachineMemOperand const* MMO,
    int64_t Offset,
    LLT Ty);

Allocate a MachineMemOperand copy adjusted by Offset with Size.

Allocate a MachineMemOperand copy of MMO adjusted by offset and size.

MachineMemOperand*
getMachineMemOperand(
    MachineMemOperand const* MMO,
    int64_t Offset,
    TypeSize Size);

Allocate a MachineMemOperand copy adjusted by Offset with precise size.

MachineMemOperand*
getMachineMemOperand(
    MachineMemOperand const* MMO,
    int64_t Offset,
    uint64_t Size);

Allocate a MachineMemOperand copy with new pointer info and LLT size.

Allocate a MachineMemOperand copy with new pointer info and size.

Allocate a MachineMemOperand copy with new pointer info and TypeSize.

Allocate a MachineMemOperand copy with new pointer info and precise size.

MachineMemOperand*
getMachineMemOperand(
    MachineMemOperand const* MMO,
    MachinePointerInfo const& PtrInfo,
    uint64_t Size);

Allocate a new MachineMemOperand owned by this function.

MachineMemOperand*
getMachineMemOperand(
    MachinePointerInfo PtrInfo,
    MachineMemOperand::Flags F,
    LLT MemTy,
    Align BaseAlignment,
    MMOMetadata const& Metadata = MMOMetadata(),
    SyncScope::ID SSID = SyncScope::System,
    AtomicOrdering Ordering = AtomicOrdering::NotAtomic,
    AtomicOrdering FailureOrdering = AtomicOrdering::NotAtomic);

Allocate a new MachineMemOperand with a LocationSize access size.

MachineMemOperand*
getMachineMemOperand(
    MachinePointerInfo PtrInfo,
    MachineMemOperand::Flags F,
    LocationSize Size,
    Align BaseAlignment,
    MMOMetadata const& Metadata = MMOMetadata(),
    SyncScope::ID SSID = SyncScope::System,
    AtomicOrdering Ordering = AtomicOrdering::NotAtomic,
    AtomicOrdering FailureOrdering = AtomicOrdering::NotAtomic);

Allocate a new MachineMemOperand with a TypeSize access size.

MachineMemOperand*
getMachineMemOperand(
    MachinePointerInfo PtrInfo,
    MachineMemOperand::Flags F,
    TypeSize Size,
    Align BaseAlignment,
    MMOMetadata const& Metadata = MMOMetadata(),
    SyncScope::ID SSID = SyncScope::System,
    AtomicOrdering Ordering = AtomicOrdering::NotAtomic,
    AtomicOrdering FailureOrdering = AtomicOrdering::NotAtomic);

Allocate a new MachineMemOperand with a precise byte size.

MachineMemOperand*
getMachineMemOperand(
    MachinePointerInfo PtrInfo,
    MachineMemOperand::Flags F,
    uint64_t Size,
    Align BaseAlignment,
    MMOMetadata const& Metadata = MMOMetadata(),
    SyncScope::ID SSID = SyncScope::System,
    AtomicOrdering Ordering = AtomicOrdering::NotAtomic,
    AtomicOrdering FailureOrdering = AtomicOrdering::NotAtomic);

Return Value

Newly allocated MachineMemOperand owned by this function.

Parameters

Name

Description

MMO

Existing memory operand to copy.

Flags

Replacement memory‐operand flags.

AAInfo

Replacement AliasAnalysis metadata.

Offset

Byte offset applied to the copied operand.

Ty

Replacement access type/size.

Size

Replacement access size.

PtrInfo

Replacement pointer information.

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.

Created with MrDocs