LLVM API Documentation

llvm::SystemZTargetLowering Class Reference

#include <SystemZISelLowering.h>

Inheritance diagram for llvm::SystemZTargetLowering:
[legend]
Collaboration diagram for llvm::SystemZTargetLowering:
[legend]

List of all members.

Public Member Functions

 SystemZTargetLowering (SystemZTargetMachine &TM)
virtual SDValue LowerOperation (SDValue Op, SelectionDAG &DAG)
 LowerOperation - Provide custom lowering hooks for some operations.
virtual const char * getTargetNodeName (unsigned Opcode) const
virtual unsigned getFunctionAlignment (const Function *F) const
 getFunctionAlignment - Return the Log2 alignment of this function.
std::pair< unsigned, const
TargetRegisterClass * > 
getRegForInlineAsmConstraint (const std::string &Constraint, EVT VT) const
TargetLowering::ConstraintType getConstraintType (const std::string &Constraint) const
SDValue LowerBR_CC (SDValue Op, SelectionDAG &DAG)
SDValue LowerSELECT_CC (SDValue Op, SelectionDAG &DAG)
SDValue LowerGlobalAddress (SDValue Op, SelectionDAG &DAG)
SDValue LowerJumpTable (SDValue Op, SelectionDAG &DAG)
SDValue LowerConstantPool (SDValue Op, SelectionDAG &DAG)
SDValue EmitCmp (SDValue LHS, SDValue RHS, ISD::CondCode CC, SDValue &SystemZCC, SelectionDAG &DAG)
MachineBasicBlock * EmitInstrWithCustomInserter (MachineInstr *MI, MachineBasicBlock *BB) const


Detailed Description

Definition at line 56 of file SystemZISelLowering.h.


Constructor & Destructor Documentation

SystemZTargetLowering::SystemZTargetLowering ( SystemZTargetMachine &  TM  )  [explicit]

Definition at line 40 of file SystemZISelLowering.cpp.

References llvm::TargetLowering::addLegalFPImmediate(), llvm::TargetLowering::addRegisterClass(), llvm::lltok::APFloat, llvm::ISD::BIT_CONVERT, llvm::ISD::BR_CC, llvm::ISD::BR_JT, llvm::ISD::BRCOND, llvm::TargetLowering::computeRegisterProperties(), llvm::ISD::ConstantPool, llvm::ISD::CTLZ, llvm::ISD::CTPOP, llvm::ISD::CTTZ, llvm::TargetLowering::Custom, llvm::ISD::DYNAMIC_STACKALLOC, llvm::TargetLowering::Expand, llvm::ISD::EXTLOAD, llvm::MVT::f32, llvm::MVT::f64, llvm::ISD::FCOS, llvm::ISD::FP_TO_UINT, llvm::ISD::FREM, llvm::ISD::FSIN, llvm::SystemZTargetMachine::getRegisterInfo(), llvm::ISD::GlobalAddress, llvm::MVT::i1, llvm::MVT::i32, llvm::MVT::i64, llvm::ISD::JumpTable, llvm::TargetLowering::Legal, llvm::ISD::MULHS, llvm::MVT::Other, llvm::TargetLowering::Promote, llvm::TargetLowering::SchedulingForLatency, llvm::ISD::SDIV, llvm::ISD::SELECT, llvm::ISD::SELECT_CC, llvm::TargetLowering::setBooleanContents(), llvm::ISD::SETCC, llvm::TargetLowering::setLoadExtAction(), llvm::TargetLowering::setOperationAction(), llvm::TargetLowering::setSchedulingPreference(), llvm::TargetLowering::setShiftAmountType(), llvm::TargetLowering::setStackPointerRegisterToSaveRestore(), llvm::TargetLowering::setTruncStoreAction(), llvm::ISD::SEXTLOAD, llvm::ISD::SHL_PARTS, llvm::ISD::SIGN_EXTEND_INREG, llvm::ISD::SMUL_LOHI, llvm::ISD::SRA_PARTS, llvm::ISD::SREM, llvm::ISD::SRL_PARTS, llvm::ISD::UDIV, llvm::ISD::UINT_TO_FP, llvm::ISD::UMUL_LOHI, llvm::ISD::UREM, llvm::UseSoftFloat, llvm::MVT::v2i32, llvm::MVT::v2i64, llvm::TargetLowering::ZeroOrOneBooleanContent, and llvm::ISD::ZEXTLOAD.


Member Function Documentation

SDValue SystemZTargetLowering::LowerOperation ( SDValue  Op,
SelectionDAG &  DAG 
) [virtual]

const char * SystemZTargetLowering::getTargetNodeName ( unsigned  Opcode  )  const [virtual]

getTargetNodeName - This method returns the name of a target specific DAG node.

Reimplemented from llvm::TargetLowering.

Definition at line 761 of file SystemZISelLowering.cpp.

References llvm::SystemZISD::BRCOND, llvm::SystemZISD::CALL, llvm::SystemZISD::CMP, llvm::SystemZISD::PCRelativeWrapper, llvm::SystemZISD::RET_FLAG, llvm::SystemZISD::SELECT, and llvm::SystemZISD::UCMP.

virtual unsigned llvm::SystemZTargetLowering::getFunctionAlignment ( const Function *  F  )  const [inline, virtual]

getFunctionAlignment - Return the Log2 alignment of this function.

Implements llvm::TargetLowering.

Definition at line 68 of file SystemZISelLowering.h.

std::pair< unsigned, const TargetRegisterClass * > SystemZTargetLowering::getRegForInlineAsmConstraint ( const std::string &  Constraint,
EVT  VT 
) const [virtual]

getRegForInlineAsmConstraint - Given a physical register constraint (e.g. {edx}), return the register number and the register class for the register.

Given a register class constraint, like 'r', if this corresponds directly to an LLVM register class, return a register of 0 and the register class pointer.

This should only be used for C_Register constraints. On error, this returns a register number of 0 and a null register class pointer..

Reimplemented from llvm::TargetLowering.

Definition at line 192 of file SystemZISelLowering.cpp.

References llvm::TargetLowering::getRegForInlineAsmConstraint(), llvm::MVT::i128, and llvm::MVT::i32.

TargetLowering::ConstraintType SystemZTargetLowering::getConstraintType ( const std::string &  Constraint  )  const [virtual]

getConstraintType - Given a constraint letter, return the type of constraint it is for this target.

Reimplemented from llvm::TargetLowering.

Definition at line 178 of file SystemZISelLowering.cpp.

References llvm::TargetLowering::C_RegisterClass, and llvm::TargetLowering::getConstraintType().

SDValue SystemZTargetLowering::LowerBR_CC ( SDValue  Op,
SelectionDAG &  DAG 
)

SDValue SystemZTargetLowering::LowerSELECT_CC ( SDValue  Op,
SelectionDAG &  DAG 
)

SDValue SystemZTargetLowering::LowerGlobalAddress ( SDValue  Op,
SelectionDAG &  DAG 
)

SDValue SystemZTargetLowering::LowerJumpTable ( SDValue  Op,
SelectionDAG &  DAG 
)

SDValue SystemZTargetLowering::LowerConstantPool ( SDValue  Op,
SelectionDAG &  DAG 
)

SDValue SystemZTargetLowering::EmitCmp ( SDValue  LHS,
SDValue  RHS,
ISD::CondCode  CC,
SDValue &  SystemZCC,
SelectionDAG &  DAG 
)

MachineBasicBlock * SystemZTargetLowering::EmitInstrWithCustomInserter ( MachineInstr *  MI,
MachineBasicBlock *  BB 
) const [virtual]


The documentation for this class was generated from the following files: