LLVM  10.0.0svn
Public Member Functions | Public Attributes | List of all members
llvm::LegalityPredicates::TypePairAndMemDesc Struct Reference

#include "llvm/CodeGen/GlobalISel/LegalizerInfo.h"

Collaboration diagram for llvm::LegalityPredicates::TypePairAndMemDesc:
Collaboration graph
[legend]

Public Member Functions

bool operator== (const TypePairAndMemDesc &Other) const
 
bool isCompatible (const TypePairAndMemDesc &Other) const
 

Public Attributes

LLT Type0
 
LLT Type1
 
uint64_t MemSize
 
uint64_t Align
 

Detailed Description

Definition at line 169 of file LegalizerInfo.h.

Member Function Documentation

◆ isCompatible()

bool llvm::LegalityPredicates::TypePairAndMemDesc::isCompatible ( const TypePairAndMemDesc Other) const
inline
Returns
true if this memory access is legal with for the acecss described by Other (The alignment is sufficient for the size and result type).

Definition at line 183 of file LegalizerInfo.h.

References Align, MemSize, Type0, and Type1.

◆ operator==()

bool llvm::LegalityPredicates::TypePairAndMemDesc::operator== ( const TypePairAndMemDesc Other) const
inline

Definition at line 175 of file LegalizerInfo.h.

References Align, MemSize, Type0, and Type1.

Member Data Documentation

◆ Align

uint64_t llvm::LegalityPredicates::TypePairAndMemDesc::Align

Definition at line 173 of file LegalizerInfo.h.

Referenced by isCompatible(), and operator==().

◆ MemSize

uint64_t llvm::LegalityPredicates::TypePairAndMemDesc::MemSize

Definition at line 172 of file LegalizerInfo.h.

Referenced by isCompatible(), and operator==().

◆ Type0

LLT llvm::LegalityPredicates::TypePairAndMemDesc::Type0

Definition at line 170 of file LegalizerInfo.h.

Referenced by isCompatible(), and operator==().

◆ Type1

LLT llvm::LegalityPredicates::TypePairAndMemDesc::Type1

Definition at line 171 of file LegalizerInfo.h.

Referenced by isCompatible(), and operator==().


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