LLVM  6.0.0svn
Public Member Functions | Public Attributes | List of all members
llvm::InstrAspect Struct Reference

Legalization is decided based on an instruction's opcode, which type slot we're considering, and what the existing type is. More...

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

Collaboration diagram for llvm::InstrAspect:
Collaboration graph
[legend]

Public Member Functions

 InstrAspect (unsigned Opcode, LLT Type)
 
 InstrAspect (unsigned Opcode, unsigned Idx, LLT Type)
 
bool operator== (const InstrAspect &RHS) const
 

Public Attributes

unsigned Opcode
 
unsigned Idx = 0
 
LLT Type
 

Detailed Description

Legalization is decided based on an instruction's opcode, which type slot we're considering, and what the existing type is.

These aspects are gathered together for convenience in the InstrAspect class.

Definition at line 40 of file LegalizerInfo.h.

Constructor & Destructor Documentation

◆ InstrAspect() [1/2]

llvm::InstrAspect::InstrAspect ( unsigned  Opcode,
LLT  Type 
)
inline

Definition at line 45 of file LegalizerInfo.h.

◆ InstrAspect() [2/2]

llvm::InstrAspect::InstrAspect ( unsigned  Opcode,
unsigned  Idx,
LLT  Type 
)
inline

Definition at line 46 of file LegalizerInfo.h.

Member Function Documentation

◆ operator==()

bool llvm::InstrAspect::operator== ( const InstrAspect RHS) const
inline

Definition at line 49 of file LegalizerInfo.h.

References Idx, Opcode, and Type.

Member Data Documentation

◆ Idx

unsigned llvm::InstrAspect::Idx = 0

◆ Opcode

unsigned llvm::InstrAspect::Opcode

◆ Type

LLT llvm::InstrAspect::Type

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