class GLoadStore

Declaration

class GLoadStore : public GenericMachineInstr { /* full declaration omitted */ };

Description

Represents any type of generic load or store. G_LOAD, G_STORE, G_ZEXTLOAD, G_SEXTLOAD.

Declared at: llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h:41

Inherits from: GenericMachineInstr

Member Variables

Method Overview

Inherited from GenericMachineInstr:

Inherited from MachineInstr:

Methods

static bool classof(const llvm::MachineInstr* MI)

Declared at: llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h:65

Parameters

const llvm::MachineInstr* MI

llvm::MachineMemOperand& getMMO() const

Description

Get the MachineMemOperand on this instruction.

Declared at: llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h:47

uint64_t getMemSize() const

Description

Returns the size in bytes of the memory access.

Declared at: llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h:61

uint64_t getMemSizeInBits() const

Description

Returns the size in bits of the memory access.

Declared at: llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h:63

llvm::Register getPointerReg() const

Description

Get the source register of the pointer value.

Declared at: llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h:44

bool isAtomic() const

Description

Returns true if the attached MachineMemOperand has the atomic flag set.

Declared at: llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h:50

bool isSimple() const

Description

Returns true if the memory operation is neither atomic or volatile.

Declared at: llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h:54

bool isUnordered() const

Description

Returns true if this memory operation doesn't have any ordering constraints other than normal aliasing. Volatile and (ordered) atomic memory operations can't be reordered.

Declared at: llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h:58

bool isVolatile() const

Description

Returns true if the attached MachineMemOpeand as the volatile flag set.

Declared at: llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h:52