LLVM  14.0.0git
Classes | Public Member Functions | List of all members
llvm::ARMLegalizerInfo Class Reference

This class provides the information for the target register banks. More...

#include "Target/ARM/ARMLegalizerInfo.h"

Inheritance diagram for llvm::ARMLegalizerInfo:
Inheritance graph
[legend]
Collaboration diagram for llvm::ARMLegalizerInfo:
Collaboration graph
[legend]

Public Member Functions

 ARMLegalizerInfo (const ARMSubtarget &ST)
 
bool legalizeCustom (LegalizerHelper &Helper, MachineInstr &MI) const override
 Called for instructions with the Custom LegalizationAction. More...
 
- Public Member Functions inherited from llvm::LegalizerInfo
virtual ~LegalizerInfo ()=default
 
const LegacyLegalizerInfogetLegacyLegalizerInfo () const
 
LegacyLegalizerInfogetLegacyLegalizerInfo ()
 
unsigned getOpcodeIdxForOpcode (unsigned Opcode) const
 
unsigned getActionDefinitionsIdx (unsigned Opcode) const
 
void verify (const MCInstrInfo &MII) const
 Perform simple self-diagnostic and assert if there is anything obviously wrong with the actions set up. More...
 
const LegalizeRuleSetgetActionDefinitions (unsigned Opcode) const
 Get the action definitions for the given opcode. More...
 
LegalizeRuleSetgetActionDefinitionsBuilder (unsigned Opcode)
 Get the action definition builder for the given opcode. More...
 
LegalizeRuleSetgetActionDefinitionsBuilder (std::initializer_list< unsigned > Opcodes)
 Get the action definition builder for the given set of opcodes. More...
 
void aliasActionDefinitions (unsigned OpcodeTo, unsigned OpcodeFrom)
 
LegalizeActionStep getAction (const LegalityQuery &Query) const
 Determine what action should be taken to legalize the described instruction. More...
 
LegalizeActionStep getAction (const MachineInstr &MI, const MachineRegisterInfo &MRI) const
 Determine what action should be taken to legalize the given generic instruction. More...
 
bool isLegal (const LegalityQuery &Query) const
 
bool isLegalOrCustom (const LegalityQuery &Query) const
 
bool isLegal (const MachineInstr &MI, const MachineRegisterInfo &MRI) const
 
bool isLegalOrCustom (const MachineInstr &MI, const MachineRegisterInfo &MRI) const
 
virtual bool legalizeIntrinsic (LegalizerHelper &Helper, MachineInstr &MI) const
 
virtual unsigned getExtOpcodeForWideningConstant (LLT SmallTy) const
 Return the opcode (SEXT/ZEXT/ANYEXT) that should be performed while widening a constant of type SmallTy which targets can override. More...
 

Detailed Description

This class provides the information for the target register banks.

Definition at line 27 of file ARMLegalizerInfo.h.

Constructor & Destructor Documentation

◆ ARMLegalizerInfo()

ARMLegalizerInfo::ARMLegalizerInfo ( const ARMSubtarget ST)

Member Function Documentation

◆ legalizeCustom()

bool ARMLegalizerInfo::legalizeCustom ( LegalizerHelper Helper,
MachineInstr MI 
) const
overridevirtual

The documentation for this class was generated from the following files: