LLVM API Documentation
#include "AlphaISelLowering.h"#include "AlphaTargetMachine.h"#include "llvm/CodeGen/CallingConvLower.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/CodeGen/PseudoSourceValue.h"#include "llvm/Target/TargetLoweringObjectFile.h"#include "llvm/Constants.h"#include "llvm/Function.h"#include "llvm/Module.h"#include "llvm/Intrinsics.h"#include "llvm/Support/CommandLine.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Support/raw_ostream.h"#include "AlphaGenCallingConv.inc"
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 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 37 of file AlphaISelLowering.cpp.
References llvm::MachineRegisterInfo::addLiveIn(), llvm::TargetRegisterClass::contains(), llvm::MachineRegisterInfo::createVirtualRegister(), and llvm::MachineFunction::getRegInfo().
| static SDValue LowerJumpTable | ( | SDValue | Op, | |
| SelectionDAG & | DAG | |||
| ) | [static] |
Definition at line 198 of file AlphaISelLowering.cpp.
References llvm::SelectionDAG::getConstant(), llvm::SDValue::getDebugLoc(), llvm::SelectionDAG::getGLOBAL_OFFSET_TABLE(), llvm::JumpTableSDNode::getIndex(), llvm::SelectionDAG::getNode(), llvm::SelectionDAG::getTargetJumpTable(), llvm::SDValue::getValueType(), 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().