LLVM  4.0.0
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 <LegalizerInfo.h>

Collaboration diagram for llvm::InstrAspect:
[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
 
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 35 of file LegalizerInfo.h.

Constructor & Destructor Documentation

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

Definition at line 40 of file LegalizerInfo.h.

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

Definition at line 41 of file LegalizerInfo.h.

Member Function Documentation

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

Definition at line 44 of file LegalizerInfo.h.

References Idx, Opcode, and Type.

Member Data Documentation

unsigned llvm::InstrAspect::Idx
unsigned llvm::InstrAspect::Opcode
LLT llvm::InstrAspect::Type

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