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/SelectionDAG.h"
#include "llvm/CodeGen/SSARegMap.h"
#include "llvm/Constants.h"
#include "llvm/Function.h"
#include "llvm/Module.h"
#include "llvm/Support/CommandLine.h"
#include <iostream>
Include dependency graph for AlphaISelLowering.cpp:
Go to the source code of this file.
Functions | |
static unsigned | AddLiveIn (MachineFunction &MF, unsigned PReg, TargetRegisterClass *RC) |
static SDOperand | LowerFORMAL_ARGUMENTS (SDOperand Op, SelectionDAG &DAG, int &VarArgsBase, int &VarArgsOffset, unsigned int &GP, unsigned int &RA) |
static SDOperand | LowerRET (SDOperand Op, SelectionDAG &DAG, unsigned int RA) |
static int | getUID () |
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 32 of file AlphaISelLowering.cpp.
References llvm::MachineFunction::addLiveIn(), llvm::SSARegMap::createVirtualRegister(), llvm::MachineFunction::getSSARegMap(), MF, and RC.
Referenced by LowerFORMAL_ARGUMENTS().
static int getUID | ( | ) | [static] |
Definition at line 377 of file AlphaISelLowering.cpp.
static SDOperand LowerFORMAL_ARGUMENTS | ( | SDOperand | Op, | |
SelectionDAG & | DAG, | |||
int & | VarArgsBase, | |||
int & | VarArgsOffset, | |||
unsigned int & | GP, | |||
unsigned int & | RA | |||
) | [static] |
Definition at line 180 of file AlphaISelLowering.cpp.
References AddLiveIn(), llvm::MachineFrameInfo::CreateFixedObject(), DAG, llvm::MVT::f32, llvm::MVT::f64, llvm::SelectionDAG::getCopyFromReg(), llvm::SelectionDAG::getFrameIndex(), llvm::MachineFunction::getFrameInfo(), llvm::SelectionDAG::getLoad(), llvm::SelectionDAG::getMachineFunction(), llvm::SelectionDAG::getNode(), llvm::SelectionDAG::getSrcValue(), llvm::MachineFunction::getSSARegMap(), llvm::MVT::i64, llvm::MRegisterInfo::isPhysicalRegister(), llvm::ISD::MERGE_VALUES, MF, Op, llvm::MVT::Other, RegMap, Root, llvm::ISD::STORE, llvm::ISD::TokenFactor, and llvm::Use::Val.
Referenced by llvm::PPCTargetLowering::LowerOperation(), and llvm::AlphaTargetLowering::LowerOperation().
static SDOperand LowerRET | ( | SDOperand | Op, | |
SelectionDAG & | DAG, | |||
unsigned int | RA | |||
) | [static] |
Definition at line 274 of file AlphaISelLowering.cpp.
References llvm::MachineFunction::addLiveOut(), DAG, llvm::SelectionDAG::getCopyToReg(), llvm::SelectionDAG::getMachineFunction(), llvm::SelectionDAG::getNode(), llvm::SDOperand::getValue(), llvm::AlphaISD::GlobalRetAddr, llvm::MVT::i64, llvm::MVT::isFloatingPoint(), llvm::MVT::isInteger(), llvm::MachineFunction::liveout_empty(), Op, llvm::MVT::Other, and llvm::AlphaISD::RET_FLAG.
Referenced by llvm::PPCTargetLowering::LowerOperation(), and llvm::AlphaTargetLowering::LowerOperation().