LLVM
8.0.1
|
#include "Target/Mips/MipsCallLowering.h"
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< unsigned > VRegs, ArrayRef< CCValAssign > ArgLocs, unsigned Index) |
void | setLeastSignificantFirst (SmallVectorImpl< unsigned > &VRegs) |
Protected Attributes | |
MachineIRBuilder & | MIRBuilder |
MachineRegisterInfo & | MRI |
Definition at line 27 of file MipsCallLowering.h.
|
inline |
Definition at line 29 of file MipsCallLowering.h.
References llvm::AMDGPU::HSAMD::Kernel::Key::Args, assignVRegs(), handle(), setLeastSignificantFirst(), and ~MipsHandler().
|
virtualdefault |
Referenced by MipsHandler().
|
protected |
Definition at line 39 of file MipsCallLowering.cpp.
References llvm::ArrayRef< T >::size().
Referenced by MipsHandler().
bool MipsCallLowering::MipsHandler::handle | ( | ArrayRef< CCValAssign > | ArgLocs, |
ArrayRef< CallLowering::ArgInfo > | Args | ||
) |
Definition at line 54 of file MipsCallLowering.cpp.
References llvm::MachineInstrBuilder::addDef(), llvm::MachineBasicBlock::addLiveIn(), llvm::CCValAssign::AExt, llvm::alignTo(), llvm::MachineIRBuilder::buildLoad(), llvm::SmallVectorImpl< T >::clear(), llvm::MachineFrameInfo::CreateFixedObject(), F(), llvm::CCValAssign::Full, llvm::Function::getCallingConv(), llvm::Function::getContext(), llvm::Module::getDataLayout(), llvm::MachinePointerInfo::getFixedStack(), llvm::CCValAssign::getLocInfo(), llvm::CCValAssign::getLocMemOffset(), llvm::CCValAssign::getLocReg(), llvm::CCValAssign::getLocVT(), llvm::MachineIRBuilder::getMBB(), llvm::MipsTargetLowering::getNumRegistersForCallingConv(), llvm::GlobalValue::getParent(), llvm::MipsTargetLowering::getRegisterTypeForCallingConv(), llvm::MVT::getSizeInBits(), llvm::MachinePointerInfo::getStack(), llvm::TargetLoweringBase::getValueType(), llvm::CCValAssign::getValVT(), llvm::RegState::Implicit, llvm_unreachable, llvm::MachineMemOperand::MOLoad, llvm::MachineMemOperand::MOStore, MRI, llvm::LLT::pointer(), llvm::SmallVectorTemplateBase< T, bool >::push_back(), Reg, llvm::LLT::scalar(), llvm::CCValAssign::SExt, Size, llvm::ArrayRef< T >::size(), and llvm::CCValAssign::ZExt.
Referenced by MipsHandler().
|
protected |
Definition at line 48 of file MipsCallLowering.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::begin(), llvm::SmallVectorTemplateCommon< T, typename >::end(), and llvm::reverse().
Referenced by MipsHandler().
|
protected |
Definition at line 43 of file MipsCallLowering.h.
|
protected |
Definition at line 44 of file MipsCallLowering.h.