LLVM API Documentation
#include "llvm/CodeGen/ScheduleDAGSDNodes.h"#include "llvm/CodeGen/SelectionDAG.h"#include "llvm/Target/TargetMachine.h"#include "llvm/Target/TargetInstrInfo.h"#include "llvm/Target/TargetRegisterInfo.h"#include "llvm/Support/Debug.h"#include "llvm/Support/raw_ostream.h"

Go to the source code of this file.
Defines | |
| #define | DEBUG_TYPE "pre-RA-sched" |
Functions | |
| static void | CheckForPhysRegDependency (SDNode *Def, SDNode *User, unsigned Op, const TargetRegisterInfo *TRI, const TargetInstrInfo *TII, unsigned &PhysReg, int &Cost) |
| #define DEBUG_TYPE "pre-RA-sched" |
Definition at line 15 of file ScheduleDAGSDNodes.cpp.
| static void CheckForPhysRegDependency | ( | SDNode * | Def, | |
| SDNode * | User, | |||
| unsigned | Op, | |||
| const TargetRegisterInfo * | TRI, | |||
| const TargetInstrInfo * | TII, | |||
| unsigned & | PhysReg, | |||
| int & | Cost | |||
| ) | [static] |
CheckForPhysRegDependency - Check if the dependency between def and use of a specified operand is a physical register dependency. If so, returns the register and the cost of copying the register.
Definition at line 43 of file ScheduleDAGSDNodes.cpp.
References llvm::ISD::CopyToReg, llvm::TargetInstrInfo::get(), llvm::TargetRegisterClass::getCopyCost(), llvm::SDNode::getMachineOpcode(), llvm::TargetInstrDesc::getNumDefs(), llvm::SDNode::getOpcode(), llvm::SDNode::getOperand(), llvm::TargetRegisterInfo::getPhysicalRegisterRegClass(), llvm::SDValue::getResNo(), llvm::SDNode::getValueType(), II, llvm::TargetInstrDesc::ImplicitDefs, llvm::SDNode::isMachineOpcode(), llvm::TargetRegisterInfo::isVirtualRegister(), and Reg.
This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.