LLVM API Documentation
#include "AlphaISelLowering.h"#include "AlphaTargetMachine.h"#include "llvm/CodeGen/MachineFrameInfo.h"#include "llvm/CodeGen/MachineFunction.h"#include "llvm/CodeGen/MachineInstrBuilder.h"#include "llvm/CodeGen/MachineRegisterInfo.h"#include "llvm/CodeGen/SelectionDAG.h"#include "llvm/Constants.h"#include "llvm/Function.h"#include "llvm/Module.h"#include "llvm/Support/CommandLine.h"

Go to the source code of this file.
Functions | |
| static unsigned | AddLiveIn (MachineFunction &MF, unsigned PReg, TargetRegisterClass *RC) |
| static SDValue | LowerJumpTable (SDValue Op, SelectionDAG &DAG) |
| static SDValue | LowerFORMAL_ARGUMENTS (SDValue Op, SelectionDAG &DAG, int &VarArgsBase, int &VarArgsOffset) |
| static SDValue | LowerRET (SDValue Op, SelectionDAG &DAG) |
| static unsigned AddLiveIn | ( | MachineFunction & | MF, | |
| unsigned | PReg, | |||
| TargetRegisterClass * | RC | |||
| ) | [static] |
AddLiveIn - This helper function adds the specified physical register to the MachineFunction as a live in value. It also creates a corresponding virtual register for it.
Definition at line 31 of file AlphaISelLowering.cpp.
References llvm::MachineRegisterInfo::addLiveIn(), llvm::TargetRegisterClass::contains(), llvm::MachineRegisterInfo::createVirtualRegister(), and llvm::MachineFunction::getRegInfo().
Referenced by LowerFORMAL_ARGUMENTS().
| static SDValue LowerFORMAL_ARGUMENTS | ( | SDValue | Op, | |
| SelectionDAG & | DAG, | |||
| int & | VarArgsBase, | |||
| int & | VarArgsOffset | |||
| ) | [static] |
Definition at line 202 of file AlphaISelLowering.cpp.
References AddLiveIn(), llvm::MachineFrameInfo::CreateFixedObject(), llvm::MVT::f32, llvm::MVT::f64, FI, llvm::SelectionDAG::getCopyFromReg(), llvm::SelectionDAG::getFrameIndex(), llvm::MachineFunction::getFrameInfo(), llvm::SelectionDAG::getLoad(), llvm::SelectionDAG::getMachineFunction(), llvm::SelectionDAG::getMergeValues(), llvm::SelectionDAG::getNode(), llvm::SDValue::getNode(), llvm::SDNode::getNumValues(), llvm::SDValue::getOperand(), llvm::MVT::getSimpleVT(), llvm::SelectionDAG::getStore(), llvm::SDValue::getValue(), llvm::SDValue::getValueType(), llvm::SDNode::getVTList(), llvm::MVT::i64, llvm::TargetRegisterInfo::isPhysicalRegister(), LS, MF, MFI, llvm::MVT::Other, Root, and llvm::ISD::TokenFactor.
Referenced by llvm::SPUTargetLowering::LowerOperation(), and llvm::AlphaTargetLowering::LowerOperation().
| static SDValue LowerJumpTable | ( | SDValue | Op, | |
| SelectionDAG & | DAG | |||
| ) | [static] |
Definition at line 171 of file AlphaISelLowering.cpp.
References llvm::SelectionDAG::getConstant(), llvm::JumpTableSDNode::getIndex(), llvm::SelectionDAG::getNode(), llvm::SelectionDAG::getTargetJumpTable(), llvm::SDValue::getValueType(), llvm::ISD::GLOBAL_OFFSET_TABLE, llvm::AlphaISD::GPRelHi, llvm::AlphaISD::GPRelLo, llvm::SPISD::Hi, llvm::MVT::i64, JT, JTI, and llvm::SPISD::Lo.
Referenced by llvm::SPUTargetLowering::LowerOperation(), and llvm::AlphaTargetLowering::LowerOperation().
| static SDValue LowerRET | ( | SDValue | Op, | |
| SelectionDAG & | DAG | |||
| ) | [static] |
Definition at line 288 of file AlphaISelLowering.cpp.
References llvm::MachineRegisterInfo::addLiveOut(), llvm::SelectionDAG::getCopyToReg(), llvm::SelectionDAG::getMachineFunction(), llvm::SelectionDAG::getNode(), llvm::SDValue::getNumOperands(), llvm::SDValue::getOperand(), llvm::MachineFunction::getRegInfo(), llvm::SDValue::getValue(), llvm::SDValue::getValueType(), llvm::AlphaISD::GlobalRetAddr, llvm::MVT::i64, llvm::MVT::isFloatingPoint(), llvm::MVT::isInteger(), llvm::MachineRegisterInfo::liveout_empty(), llvm::MVT::Other, and llvm::AlphaISD::RET_FLAG.
Referenced by llvm::SPUTargetLowering::LowerOperation(), llvm::SparcTargetLowering::LowerOperation(), llvm::ARMTargetLowering::LowerOperation(), and llvm::AlphaTargetLowering::LowerOperation().