struct MemOp

Declaration

struct MemOp { /* full declaration omitted */ };

Declared at: llvm/include/llvm/CodeGen/TargetLowering.h:111

Member Variables

private uint64_t Size
private bool DstAlignCanChange
private llvm::Align DstAlign
private bool AllowOverlap
private bool IsMemset
private bool ZeroMemset
private bool MemcpyStrSrc
private llvm::Align SrcAlign

Method Overview

Methods

static llvm::MemOp Copy(uint64_t Size,
                        bool DstAlignCanChange,
                        llvm::Align DstAlign,
                        llvm::Align SrcAlign,
                        bool IsVolatile,
                        bool MemcpyStrSrc = false)

Declared at: llvm/include/llvm/CodeGen/TargetLowering.h:129

Parameters

uint64_t Size
bool DstAlignCanChange
llvm::Align DstAlign
llvm::Align SrcAlign
bool IsVolatile
bool MemcpyStrSrc = false

static llvm::MemOp Set(uint64_t Size,
                       bool DstAlignCanChange,
                       llvm::Align DstAlign,
                       bool IsZeroMemset,
                       bool IsVolatile)

Declared at: llvm/include/llvm/CodeGen/TargetLowering.h:144

Parameters

uint64_t Size
bool DstAlignCanChange
llvm::Align DstAlign
bool IsZeroMemset
bool IsVolatile

bool allowOverlap() const

Declared at: llvm/include/llvm/CodeGen/TargetLowering.h:163

llvm::Align getDstAlign() const

Declared at: llvm/include/llvm/CodeGen/TargetLowering.h:158

llvm::Align getSrcAlign() const

Declared at: llvm/include/llvm/CodeGen/TargetLowering.h:174

bool isAligned(llvm::Align AlignCheck) const

Declared at: llvm/include/llvm/CodeGen/TargetLowering.h:184

Parameters

llvm::Align AlignCheck

bool isDstAligned(llvm::Align AlignCheck) const

Declared at: llvm/include/llvm/CodeGen/TargetLowering.h:181

Parameters

llvm::Align AlignCheck

bool isFixedDstAlign() const

Declared at: llvm/include/llvm/CodeGen/TargetLowering.h:162

bool isMemcpy() const

Declared at: llvm/include/llvm/CodeGen/TargetLowering.h:165

bool isMemcpyStrSrc() const

Declared at: llvm/include/llvm/CodeGen/TargetLowering.h:170

bool isMemcpyWithFixedDstAlign() const

Declared at: llvm/include/llvm/CodeGen/TargetLowering.h:166

bool isMemset() const

Declared at: llvm/include/llvm/CodeGen/TargetLowering.h:164

bool isSrcAligned(llvm::Align AlignCheck) const

Declared at: llvm/include/llvm/CodeGen/TargetLowering.h:178

Parameters

llvm::Align AlignCheck

bool isZeroMemset() const

Declared at: llvm/include/llvm/CodeGen/TargetLowering.h:169

uint64_t size() const

Declared at: llvm/include/llvm/CodeGen/TargetLowering.h:157