LLVM  12.0.0git
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
llvm::MipsCallLowering::MipsHandler Class Referenceabstract

#include "Target/Mips/MipsCallLowering.h"

Collaboration diagram for llvm::MipsCallLowering::MipsHandler:
Collaboration graph
[legend]

Public Member Functions

 MipsHandler (MachineIRBuilder &MIRBuilder, MachineRegisterInfo &MRI)
 
virtual ~MipsHandler ()=default
 
bool handle (ArrayRef< CCValAssign > ArgLocs, ArrayRef< CallLowering::ArgInfo > Args)
 

Protected Member Functions

bool assignVRegs (ArrayRef< Register > VRegs, ArrayRef< CCValAssign > ArgLocs, unsigned ArgLocsStartIndex, const EVT &VT)
 
void setLeastSignificantFirst (SmallVectorImpl< Register > &VRegs)
 

Protected Attributes

MachineIRBuilderMIRBuilder
 
MachineRegisterInfoMRI
 

Detailed Description

Definition at line 26 of file MipsCallLowering.h.

Constructor & Destructor Documentation

◆ MipsHandler()

llvm::MipsCallLowering::MipsHandler::MipsHandler ( MachineIRBuilder MIRBuilder,
MachineRegisterInfo MRI 
)
inline

◆ ~MipsHandler()

virtual llvm::MipsCallLowering::MipsHandler::~MipsHandler ( )
virtualdefault

Referenced by MipsHandler().

Member Function Documentation

◆ assignVRegs()

bool MipsCallLowering::MipsHandler::assignVRegs ( ArrayRef< Register VRegs,
ArrayRef< CCValAssign ArgLocs,
unsigned  ArgLocsStartIndex,
const EVT VT 
)
protected

Definition at line 39 of file MipsCallLowering.cpp.

References llvm::ArrayRef< T >::size().

Referenced by MipsHandler().

◆ handle()

bool MipsCallLowering::MipsHandler::handle ( ArrayRef< CCValAssign ArgLocs,
ArrayRef< CallLowering::ArgInfo Args 
)

Definition at line 55 of file MipsCallLowering.cpp.

References llvm::MachineInstrBuilder::addDef(), llvm::MachineBasicBlock::addLiveIn(), llvm::MachineRegisterInfo::addLiveIn(), llvm::CCValAssign::AExt, llvm::alignTo(), assert(), llvm::MachineIRBuilder::buildLoad(), llvm::SmallVectorImpl< T >::clear(), llvm::commonAlignment(), llvm::MachineFrameInfo::CreateFixedObject(), DL, F(), llvm::MVT::f32, llvm::MVT::f64, llvm::CCValAssign::Full, llvm::Function::getCallingConv(), llvm::Function::getContext(), llvm::Module::getDataLayout(), llvm::MachinePointerInfo::getFixedStack(), llvm::MachineFunction::getFrameInfo(), llvm::TargetSubtargetInfo::getFrameLowering(), llvm::CCValAssign::getLocInfo(), llvm::CCValAssign::getLocMemOffset(), llvm::CCValAssign::getLocReg(), llvm::CCValAssign::getLocVT(), llvm::MachineFunction::getMachineMemOperand(), llvm::MachineIRBuilder::getMBB(), llvm::MachineIRBuilder::getMRI(), llvm::MipsTargetLowering::getNumRegistersForCallingConv(), llvm::GlobalValue::getParent(), llvm::MipsTargetLowering::getRegisterTypeForCallingConv(), llvm::MVT::getSizeInBits(), llvm::MachinePointerInfo::getStack(), llvm::TargetFrameLowering::getStackAlign(), llvm::MachineFunction::getSubtarget(), llvm::TargetLoweringBase::getValueType(), llvm::CCValAssign::getValVT(), llvm::MipsISD::Hi, llvm::RegState::Implicit, llvm::MipsSubtarget::isLittle(), llvm_unreachable, llvm::MipsISD::Lo, llvm::SPII::Load, llvm::MachineMemOperand::MOLoad, llvm::MachineMemOperand::MOStore, MRI, llvm::LLT::pointer(), llvm::SmallVectorTemplateBase< T >::push_back(), Register, llvm::LLT::scalar(), llvm::CCValAssign::SExt, Size, llvm::ArrayRef< T >::size(), and llvm::CCValAssign::ZExt.

Referenced by MipsHandler().

◆ setLeastSignificantFirst()

void MipsCallLowering::MipsHandler::setLeastSignificantFirst ( SmallVectorImpl< Register > &  VRegs)
protected

Member Data Documentation

◆ MIRBuilder

MachineIRBuilder& llvm::MipsCallLowering::MipsHandler::MIRBuilder
protected

Definition at line 42 of file MipsCallLowering.h.

◆ MRI

MachineRegisterInfo& llvm::MipsCallLowering::MipsHandler::MRI
protected

Definition at line 43 of file MipsCallLowering.h.


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