struct InstrAspect
Declaration
struct InstrAspect { /* full declaration omitted */ };
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.
Declared at: llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h:103
Member Variables
- public unsigned int Opcode
- public unsigned int Idx = 0
- public llvm::LLT Type
Method Overview
- public InstrAspect(unsigned int Opcode, llvm::LLT Type)
- public InstrAspect(unsigned int Opcode, unsigned int Idx, llvm::LLT Type)
Methods
¶InstrAspect(unsigned int Opcode, llvm::LLT Type)
InstrAspect(unsigned int Opcode, llvm::LLT Type)
Declared at: llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h:108
Parameters
- unsigned int Opcode
- llvm::LLT Type
¶InstrAspect(unsigned int Opcode,
unsigned int Idx,
llvm::LLT Type)
InstrAspect(unsigned int Opcode,
unsigned int Idx,
llvm::LLT Type)
Declared at: llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h:109
Parameters
- unsigned int Opcode
- unsigned int Idx
- llvm::LLT Type