struct TypePairAndMemDesc

Declaration

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

Declared at: llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h:204

Member Variables

public llvm::LLT Type0
public llvm::LLT Type1
public llvm::LLT MemTy
public uint64_t Align

Method Overview

  • public bool isCompatible(const llvm::LegalityPredicates::TypePairAndMemDesc & Other) const

Methods

ΒΆbool isCompatible(
    const llvm::LegalityPredicates::
        TypePairAndMemDesc& Other) const

Declared at: llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h:217

Parameters

const llvm::LegalityPredicates:: TypePairAndMemDesc& Other

Returns

true if this memory access is legal with for the access described by \p Other (The alignment is sufficient for the size and result type).