Home | History | Annotate | Download | only in SelectionDAG

Lines Matching defs:TargetLowering

1 //===-- TargetLowering.cpp - Implement the TargetLowering class -----------===//
10 // This implements the TargetLowering class.
14 #include "llvm/Target/TargetLowering.h"
516 TargetLowering::TargetLowering(const TargetMachine &tm,
622 TargetLowering::~TargetLowering() {
626 MVT TargetLowering::getShiftAmountTy(EVT LHSTy) const {
632 bool TargetLowering::canOpTrap(unsigned Op, EVT VT) const {
651 TargetLowering *TLI) {
697 bool TargetLowering::isLegalRC(const TargetRegisterClass *RC) const {
709 TargetLowering::findRepresentativeClass(EVT VT) const {
736 void TargetLowering::computeRegisterProperties() {
897 const char *TargetLowering::getTargetNodeName(unsigned Opcode) const {
901 EVT TargetLowering::getSetCCResultType(EVT VT) const {
906 MVT::SimpleValueType TargetLowering::getCmpLibcallReturnType() const {
919 unsigned TargetLowering::getVectorTypeBreakdown(LLVMContext &Context, EVT VT,
986 /// TODO: Move this out of TargetLowering.cpp.
989 const TargetLowering &TLI) {
1037 unsigned TargetLowering::getByValTypeAlignment(Type *Ty) const {
1044 unsigned TargetLowering::getJumpTableEncoding() const {
1057 SDValue TargetLowering::getPICJumpTableRelocBase(SDValue Table,
1073 TargetLowering::getPICJumpTableRelocBaseExpr(const MachineFunction *MF,
1080 TargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const {
1104 bool TargetLowering::TargetLoweringOpt::ShrinkDemandedConstant(SDValue Op,
1143 TargetLowering::TargetLoweringOpt::ShrinkDemandedOp(SDValue Op,
1159 const TargetLowering &TLI = DAG.getTargetLoweringInfo();
1187 bool TargetLowering::SimplifyDemandedBits(SDValue Op,
1841 void TargetLowering::computeMaskedBitsForTargetNode(const SDValue Op,
1858 unsigned TargetLowering::ComputeNumSignBitsForTargetNode(SDValue Op,
1905 TargetLowering::SimplifySetCC(EVT VT, SDValue N0, SDValue N1,
2661 bool TargetLowering::isGAPlusOffset(SDNode *N, const GlobalValue *&GA,
2692 SDValue TargetLowering::
2703 TargetLowering::ConstraintType
2704 TargetLowering::getConstraintType(const std::string &Constraint) const {
2743 const char *TargetLowering::LowerXConstraint(EVT ConstraintVT) const{
2753 void TargetLowering::LowerAsmOperandForConstraint(SDValue Op,
2818 std::pair<unsigned, const TargetRegisterClass*> TargetLowering::
2854 bool TargetLowering::AsmOperandInfo::isMatchingInputConstraint() const {
2861 unsigned TargetLowering::AsmOperandInfo::getMatchedOperand() const {
2872 TargetLowering::AsmOperandInfoVector TargetLowering::ParseConstraints(
3060 static unsigned getConstraintGenerality(TargetLowering::ConstraintType CT) {
3062 case TargetLowering::C_Other:
3063 case TargetLowering::C_Unknown:
3065 case TargetLowering::C_Register:
3067 case TargetLowering::C_RegisterClass:
3069 case TargetLowering::C_Memory:
3078 TargetLowering::ConstraintWeight
3079 TargetLowering::getMultipleConstraintMatchWeight(
3102 TargetLowering::ConstraintWeight
3103 TargetLowering::getSingleConstraintMatchWeight(
3168 static void ChooseConstraint(TargetLowering::AsmOperandInfo &OpInfo,
3169 const TargetLowering &TLI,
3173 TargetLowering::ConstraintType BestType = TargetLowering::C_Unknown;
3178 TargetLowering::ConstraintType CType =
3185 if (CType == TargetLowering::C_Other && Op.getNode()) {
3200 TargetLowering::C_Memory && OpInfo.hasMatchingInput())
3219 void TargetLowering::ComputeConstraintToUse(AsmOperandInfo &OpInfo,
3258 bool TargetLowering::isLegalAddressingMode(const AddrMode &AM,
3292 SDValue TargetLowering::BuildExactSDIV(SDValue Op1, SDValue Op2, DebugLoc dl,
3320 SDValue TargetLowering::
3380 SDValue TargetLowering::