LLVM 24.0.0git
llvm::MemOp Struct Reference

#include "llvm/CodeGen/TargetLowering.h"

Public Member Functions

uint64_t size () const
Align getDstAlign () const
bool isFixedDstAlign () const
bool isVolatile () const
bool isMemset () const
bool isMemcpy () const
bool isMemmove () const
bool isMemcpyOrMemmove () const
bool isMemcpyOrMemmoveWithFixedDstAlign () const
bool isZeroMemset () const
bool isMemcpyStrSrc () const
Align getSrcAlign () const
bool isSrcAligned (Align AlignCheck) const
bool isDstAligned (Align AlignCheck) const
bool isAligned (Align AlignCheck) const

Static Public Member Functions

static MemOp Copy (uint64_t Size, bool DstAlignCanChange, Align DstAlign, Align SrcAlign, bool IsVolatile, bool MemcpyStrSrc=false)
static MemOp Move (uint64_t Size, bool DstAlignCanChange, Align DstAlign, Align SrcAlign, bool IsVolatile)
static MemOp Set (uint64_t Size, bool DstAlignCanChange, Align DstAlign, bool IsZeroMemset, bool IsVolatile)

Detailed Description

Definition at line 120 of file TargetLowering.h.

Member Function Documentation

◆ Copy()

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

Definition at line 144 of file TargetLowering.h.

Referenced by llvm::canLowerMemCpyFamily(), and getMemcpyLoadsAndStores().

◆ getDstAlign()

Align llvm::MemOp::getDstAlign ( ) const
inline

Definition at line 181 of file TargetLowering.h.

References assert().

◆ getSrcAlign()

Align llvm::MemOp::getSrcAlign ( ) const
inline

Definition at line 200 of file TargetLowering.h.

References assert(), and isMemcpyOrMemmove().

◆ isAligned()

bool llvm::MemOp::isAligned ( Align AlignCheck) const
inline

Definition at line 210 of file TargetLowering.h.

References isDstAligned(), and isSrcAligned().

◆ isDstAligned()

bool llvm::MemOp::isDstAligned ( Align AlignCheck) const
inline

Definition at line 207 of file TargetLowering.h.

References llvm::isAligned(), and llvm::Align::value().

Referenced by isAligned().

◆ isFixedDstAlign()

bool llvm::MemOp::isFixedDstAlign ( ) const
inline

Definition at line 185 of file TargetLowering.h.

◆ isMemcpy()

bool llvm::MemOp::isMemcpy ( ) const
inline

Definition at line 190 of file TargetLowering.h.

Referenced by isMemcpyOrMemmove().

◆ isMemcpyOrMemmove()

bool llvm::MemOp::isMemcpyOrMemmove ( ) const
inline

Definition at line 194 of file TargetLowering.h.

References isMemcpy(), and isMemmove().

Referenced by getSrcAlign(), and isMemcpyOrMemmoveWithFixedDstAlign().

◆ isMemcpyOrMemmoveWithFixedDstAlign()

bool llvm::MemOp::isMemcpyOrMemmoveWithFixedDstAlign ( ) const
inline

Definition at line 195 of file TargetLowering.h.

References isMemcpyOrMemmove().

◆ isMemcpyStrSrc()

bool llvm::MemOp::isMemcpyStrSrc ( ) const
inline

Definition at line 199 of file TargetLowering.h.

◆ isMemmove()

bool llvm::MemOp::isMemmove ( ) const
inline

Definition at line 193 of file TargetLowering.h.

Referenced by isMemcpyOrMemmove().

◆ isMemset()

bool llvm::MemOp::isMemset ( ) const
inline

Definition at line 187 of file TargetLowering.h.

Referenced by isSrcAligned().

◆ isSrcAligned()

bool llvm::MemOp::isSrcAligned ( Align AlignCheck) const
inline

Definition at line 204 of file TargetLowering.h.

References llvm::isAligned(), isMemset(), and llvm::Align::value().

Referenced by isAligned().

◆ isVolatile()

bool llvm::MemOp::isVolatile ( ) const
inline

Definition at line 186 of file TargetLowering.h.

Referenced by addMemoryOperands(), and llvm::canLowerMemCpyFamily().

◆ isZeroMemset()

bool llvm::MemOp::isZeroMemset ( ) const
inline

Definition at line 198 of file TargetLowering.h.

◆ Move()

MemOp llvm::MemOp::Move ( uint64_t Size,
bool DstAlignCanChange,
Align DstAlign,
Align SrcAlign,
bool IsVolatile )
inlinestatic

◆ Set()

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

◆ size()

uint64_t llvm::MemOp::size ( ) const
inline

Definition at line 180 of file TargetLowering.h.


The documentation for this struct was generated from the following file: