LLVM API Documentation

Public Member Functions
llvm::MBlazeTargetLowering Class Reference

#include <MBlazeISelLowering.h>

Inheritance diagram for llvm::MBlazeTargetLowering:
Inheritance graph
[legend]
Collaboration diagram for llvm::MBlazeTargetLowering:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MBlazeTargetLowering (MBlazeTargetMachine &TM)
virtual SDValue LowerOperation (SDValue Op, SelectionDAG &DAG) const
 LowerOperation - Provide custom lowering hooks for some operations.
virtual const char * getTargetNodeName (unsigned Opcode) const
 getTargetNodeName - This method returns the name of a target specific
EVT getSetCCResultType (LLVMContext &Context, EVT VT) const
 getSetCCResultType - get the ISD::SETCC result ValueType

Detailed Description

Definition at line 93 of file MBlazeISelLowering.h.


Constructor & Destructor Documentation

MBlazeTargetLowering::MBlazeTargetLowering ( MBlazeTargetMachine TM) [explicit]

Definition at line 55 of file MBlazeISelLowering.cpp.

References llvm::TargetLoweringBase::AddPromotedToType(), llvm::TargetLoweringBase::addRegisterClass(), llvm::ISD::BITCAST, llvm::ISD::BR_CC, llvm::ISD::BR_JT, llvm::ISD::BSWAP, llvm::TargetLoweringBase::computeRegisterProperties(), llvm::ISD::ConstantFP, llvm::ISD::ConstantPool, llvm::ISD::CTLZ, llvm::ISD::CTLZ_ZERO_UNDEF, llvm::ISD::CTPOP, llvm::ISD::CTTZ, llvm::ISD::CTTZ_ZERO_UNDEF, llvm::TargetLoweringBase::Custom, llvm::ISD::DYNAMIC_STACKALLOC, llvm::ISD::EH_LABEL, llvm::TargetLoweringBase::Expand, llvm::ISD::EXTLOAD, llvm::MVT::f32, llvm::MVT::f64, llvm::ISD::FCOPYSIGN, llvm::ISD::FCOS, llvm::ISD::FEXP, llvm::ISD::FLOG, llvm::ISD::FLOG10, llvm::ISD::FLOG2, llvm::ISD::FMA, llvm::ISD::FP_ROUND, llvm::ISD::FP_TO_UINT, llvm::ISD::FPOW, llvm::ISD::FPOWI, llvm::ISD::FREM, llvm::ISD::FSIN, llvm::ISD::FSINCOS, llvm::TargetMachine::getSubtarget(), llvm::ISD::GlobalAddress, llvm::ISD::GlobalTLSAddress, llvm::MBlazeSubtarget::hasDiv(), llvm::MBlazeSubtarget::hasFPU(), llvm::MBlazeSubtarget::hasMul(), llvm::MBlazeSubtarget::hasMul64(), llvm::MVT::i1, llvm::MVT::i16, llvm::MVT::i32, llvm::MVT::i64, llvm::MVT::i8, llvm::ISD::JumpTable, llvm::TargetLoweringBase::Legal, llvm::ISD::MUL, llvm::ISD::MULHS, llvm::ISD::MULHU, llvm::MVT::Other, llvm::TargetLoweringBase::Promote, llvm::ISD::ROTL, llvm::ISD::ROTR, llvm::ISD::SDIV, llvm::ISD::SDIVREM, llvm::ISD::SELECT, llvm::ISD::SELECT_CC, llvm::TargetLoweringBase::setBooleanContents(), llvm::TargetLoweringBase::setBooleanVectorContents(), llvm::ISD::SETCC, llvm::TargetLoweringBase::setLoadExtAction(), llvm::TargetLoweringBase::setMinFunctionAlignment(), llvm::TargetLoweringBase::setOperationAction(), llvm::TargetLoweringBase::setStackPointerRegisterToSaveRestore(), llvm::TargetLoweringBase::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::STACKRESTORE, llvm::ISD::STACKSAVE, llvm::ISD::UDIV, llvm::ISD::UDIVREM, llvm::ISD::UINT_TO_FP, llvm::ISD::UMUL_LOHI, llvm::ISD::UREM, llvm::ISD::VAARG, llvm::ISD::VACOPY, llvm::ISD::VAEND, llvm::ISD::VASTART, llvm::TargetLoweringBase::ZeroOrOneBooleanContent, and llvm::ISD::ZEXTLOAD.


Member Function Documentation

EVT MBlazeTargetLowering::getSetCCResultType ( LLVMContext Context,
EVT  VT 
) const [virtual]

getSetCCResultType - get the ISD::SETCC result ValueType

Reimplemented from llvm::TargetLoweringBase.

Definition at line 195 of file MBlazeISelLowering.cpp.

References llvm::MVT::i32.

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

getTargetNodeName - This method returns the name of a target specific

Reimplemented from llvm::TargetLowering.

Definition at line 43 of file MBlazeISelLowering.cpp.

References llvm::MBlazeISD::GPRel, llvm::MBlazeISD::ICmp, llvm::MBlazeISD::JmpLink, llvm::MBlazeISD::Ret, llvm::MBlazeISD::Select_CC, and llvm::MBlazeISD::Wrap.

SDValue MBlazeTargetLowering::LowerOperation ( SDValue  Op,
SelectionDAG DAG 
) const [virtual]

LowerOperation - Provide custom lowering hooks for some operations.

Reimplemented from llvm::TargetLowering.

Definition at line 199 of file MBlazeISelLowering.cpp.

References llvm::ISD::ConstantPool, llvm::SDValue::getOpcode(), llvm::ISD::GlobalAddress, llvm::ISD::GlobalTLSAddress, llvm::ISD::JumpTable, llvm::ISD::SELECT_CC, and llvm::ISD::VASTART.


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