Lines Matching refs:TargetLowering
38 TargetLowering::TargetLowering(const TargetMachine &tm) in TargetLowering() function in TargetLowering
41 const char *TargetLowering::getTargetNodeName(unsigned Opcode) const { in getTargetNodeName()
45 bool TargetLowering::isPositionIndependent() const { in isPositionIndependent()
51 bool TargetLowering::isInTailCallPosition(SelectionDAG &DAG, SDNode *Node, in isInTailCallPosition()
80 bool TargetLowering::parametersInCSRMatch(const MachineRegisterInfo &MRI, in parametersInCSRMatch()
143 TargetLowering::makeLibCall(SelectionDAG &DAG, RTLIB::Libcall LC, EVT RetVT, in makeLibCall()
151 TargetLowering::ArgListTy Args; in makeLibCall()
154 TargetLowering::ArgListEntry Entry; in makeLibCall()
176 TargetLowering::CallLoweringInfo CLI(DAG); in makeLibCall()
196 bool TargetLowering::findOptimalMemOpLowering( in findOptimalMemOpLowering()
288 void TargetLowering::softenSetCCOperands(SelectionDAG &DAG, EVT VT, in softenSetCCOperands()
298 void TargetLowering::softenSetCCOperands(SelectionDAG &DAG, EVT VT, in softenSetCCOperands()
403 TargetLowering::MakeLibCallOptions CallOptions; in softenSetCCOperands()
440 unsigned TargetLowering::getJumpTableEncoding() const { in getJumpTableEncoding()
453 SDValue TargetLowering::getPICJumpTableRelocBase(SDValue Table, in getPICJumpTableRelocBase()
468 TargetLowering::getPICJumpTableRelocBaseExpr(const MachineFunction *MF, in getPICJumpTableRelocBaseExpr()
475 TargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const { in isOffsetFoldingLegal()
499 bool TargetLowering::ShrinkDemandedConstant(SDValue Op, in ShrinkDemandedConstant()
540 bool TargetLowering::ShrinkDemandedConstant(SDValue Op, in ShrinkDemandedConstant()
553 bool TargetLowering::ShrinkDemandedOp(SDValue Op, unsigned BitWidth, in ShrinkDemandedOp()
575 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in ShrinkDemandedOp()
597 bool TargetLowering::SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, in SimplifyDemandedBits()
612 bool TargetLowering::SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, in SimplifyDemandedBits()
629 bool TargetLowering::SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, in SimplifyDemandedBits()
654 SDValue TargetLowering::SimplifyMultipleUseDemandedBits( in SimplifyMultipleUseDemandedBits()
901 SDValue TargetLowering::SimplifyMultipleUseDemandedBits( in SimplifyMultipleUseDemandedBits()
919 SDValue TargetLowering::SimplifyMultipleUseDemandedVectorElts( in SimplifyMultipleUseDemandedVectorElts()
930 const TargetLowering &TLI, in combineShiftToAVG()
1060 bool TargetLowering::SimplifyDemandedBits( in SimplifyDemandedBits()
1577 const TargetLowering &TLI = TLO.DAG.getTargetLoweringInfo(); in SimplifyDemandedBits()
1685 TargetLowering::ZeroOrOneBooleanContent && in SimplifyDemandedBits()
2721 bool TargetLowering::SimplifyDemandedVectorElts(SDValue Op, in SimplifyDemandedVectorElts()
2787 bool TargetLowering::SimplifyDemandedVectorElts( in SimplifyDemandedVectorElts()
2799 const TargetLowering &TLI = TLO.DAG.getTargetLoweringInfo(); in SimplifyDemandedVectorElts()
3443 void TargetLowering::computeKnownBitsForTargetNode(const SDValue Op, in computeKnownBitsForTargetNode()
3457 void TargetLowering::computeKnownBitsForTargetInstr( in computeKnownBitsForTargetInstr()
3464 void TargetLowering::computeKnownBitsForFrameIndex( in computeKnownBitsForFrameIndex()
3470 Align TargetLowering::computeKnownAlignForTargetInstr( in computeKnownAlignForTargetInstr()
3478 unsigned TargetLowering::ComputeNumSignBitsForTargetNode(SDValue Op, in ComputeNumSignBitsForTargetNode()
3491 unsigned TargetLowering::computeNumSignBitsForTargetInstr( in computeNumSignBitsForTargetInstr()
3497 bool TargetLowering::SimplifyDemandedVectorEltsForTargetNode( in SimplifyDemandedVectorEltsForTargetNode()
3509 bool TargetLowering::SimplifyDemandedBitsForTargetNode( in SimplifyDemandedBitsForTargetNode()
3522 SDValue TargetLowering::SimplifyMultipleUseDemandedBitsForTargetNode( in SimplifyMultipleUseDemandedBitsForTargetNode()
3536 TargetLowering::buildLegalVectorShuffle(EVT VT, const SDLoc &DL, SDValue N0, in buildLegalVectorShuffle()
3552 const Constant *TargetLowering::getTargetConstantFromLoad(LoadSDNode*) const { in getTargetConstantFromLoad()
3556 bool TargetLowering::isGuaranteedNotToBeUndefOrPoisonForTargetNode( in isGuaranteedNotToBeUndefOrPoisonForTargetNode()
3569 bool TargetLowering::isKnownNeverNaNForTargetNode(SDValue Op, in isKnownNeverNaNForTargetNode()
3582 bool TargetLowering::isSplatValueForTargetNode(SDValue Op, in isSplatValueForTargetNode()
3598 bool TargetLowering::isConstTrueVal(SDValue N) const { in isConstTrueVal()
3628 bool TargetLowering::isConstFalseVal(SDValue N) const { in isConstFalseVal()
3652 bool TargetLowering::isExtendedTrueVal(const ConstantSDNode *N, EVT VT, in isExtendedTrueVal()
3657 TargetLowering::BooleanContent Cnt = getBooleanContents(VT); in isExtendedTrueVal()
3659 case TargetLowering::ZeroOrOneBooleanContent: in isExtendedTrueVal()
3663 case TargetLowering::UndefinedBooleanContent: in isExtendedTrueVal()
3664 case TargetLowering::ZeroOrNegativeOneBooleanContent: in isExtendedTrueVal()
3672 SDValue TargetLowering::foldSetCCWithAnd(EVT VT, SDValue N0, SDValue N1, in foldSetCCWithAnd()
3687 (getBooleanContents(OpVT) == TargetLowering::UndefinedBooleanContent || in foldSetCCWithAnd()
3688 getBooleanContents(OpVT) == TargetLowering::ZeroOrOneBooleanContent)) { in foldSetCCWithAnd()
3752 SDValue TargetLowering::optimizeSetCCOfSignedTruncationCheck( in optimizeSetCCOfSignedTruncationCheck()
3841 SDValue TargetLowering::optimizeSetCCByHoistingAndByConstFromLogicalShift( in optimizeSetCCByHoistingAndByConstFromLogicalShift()
3854 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in optimizeSetCCByHoistingAndByConstFromLogicalShift()
3914 SDValue TargetLowering::foldSetCCWithBinOp(EVT VT, SDValue N0, SDValue N1, in foldSetCCWithBinOp()
3954 static SDValue simplifySetCCWithCTPOP(const TargetLowering &TLI, EVT VT, in simplifySetCCWithCTPOP()
4133 SDValue TargetLowering::SimplifySetCC(EVT VT, SDValue N0, SDValue N1, in SimplifySetCC()
4741 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in SimplifySetCC()
5045 bool TargetLowering::isGAPlusOffset(SDNode *WN, const GlobalValue *&GA, in isGAPlusOffset()
5075 SDValue TargetLowering::PerformDAGCombine(SDNode *N, in PerformDAGCombine()
5085 TargetLowering::ConstraintType
5086 TargetLowering::getConstraintType(StringRef Constraint) const { in getConstraintType()
5132 const char *TargetLowering::LowerXConstraint(EVT ConstraintVT) const { in LowerXConstraint()
5140 SDValue TargetLowering::LowerAsmOutputForConstraint( in LowerAsmOutputForConstraint()
5148 void TargetLowering::LowerAsmOperandForConstraint(SDValue Op, in LowerAsmOperandForConstraint()
5225 TargetLowering::getRegForInlineAsmConstraint(const TargetRegisterInfo *RI, in getRegForInlineAsmConstraint()
5269 bool TargetLowering::AsmOperandInfo::isMatchingInputConstraint() const { in isMatchingInputConstraint()
5276 unsigned TargetLowering::AsmOperandInfo::getMatchedOperand() const { in getMatchedOperand()
5286 TargetLowering::AsmOperandInfoVector
5287 TargetLowering::ParseConstraints(const DataLayout &DL, in ParseConstraints()
5473 static unsigned getConstraintGenerality(TargetLowering::ConstraintType CT) { in getConstraintGenerality()
5475 case TargetLowering::C_Immediate: in getConstraintGenerality()
5476 case TargetLowering::C_Other: in getConstraintGenerality()
5477 case TargetLowering::C_Unknown: in getConstraintGenerality()
5479 case TargetLowering::C_Register: in getConstraintGenerality()
5481 case TargetLowering::C_RegisterClass: in getConstraintGenerality()
5483 case TargetLowering::C_Memory: in getConstraintGenerality()
5484 case TargetLowering::C_Address: in getConstraintGenerality()
5493 TargetLowering::ConstraintWeight
5494 TargetLowering::getMultipleConstraintMatchWeight( in getMultipleConstraintMatchWeight()
5517 TargetLowering::ConstraintWeight
5518 TargetLowering::getSingleConstraintMatchWeight( in getSingleConstraintMatchWeight()
5583 static void ChooseConstraint(TargetLowering::AsmOperandInfo &OpInfo, in ChooseConstraint()
5584 const TargetLowering &TLI, in ChooseConstraint()
5588 TargetLowering::ConstraintType BestType = TargetLowering::C_Unknown; in ChooseConstraint()
5593 TargetLowering::ConstraintType CType = in ChooseConstraint()
5597 if (OpInfo.isIndirect && !(CType == TargetLowering::C_Memory || in ChooseConstraint()
5598 CType == TargetLowering::C_Register || in ChooseConstraint()
5599 CType == TargetLowering::C_RegisterClass)) in ChooseConstraint()
5606 if ((CType == TargetLowering::C_Other || in ChooseConstraint()
5607 CType == TargetLowering::C_Immediate) && Op.getNode()) { in ChooseConstraint()
5622 if (CType == TargetLowering::C_Memory && OpInfo.hasMatchingInput()) in ChooseConstraint()
5640 void TargetLowering::ComputeConstraintToUse(AsmOperandInfo &OpInfo, in ComputeConstraintToUse()
5679 static SDValue BuildExactSDIV(const TargetLowering &TLI, SDNode *N, in BuildExactSDIV()
5745 SDValue TargetLowering::BuildSDIVPow2(SDNode *N, const APInt &Divisor, in BuildSDIVPow2()
5749 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in BuildSDIVPow2()
5756 TargetLowering::BuildSREMPow2(SDNode *N, const APInt &Divisor, in BuildSREMPow2()
5760 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in BuildSREMPow2()
5770 SDValue TargetLowering::BuildSDIV(SDNode *N, SelectionDAG &DAG, in BuildSDIV()
5918 SDValue TargetLowering::BuildUDIV(SDNode *N, SelectionDAG &DAG, in BuildUDIV()
6114 SDValue TargetLowering::buildUREMEqFold(EVT SETCCVT, SDValue REMNode, in buildUREMEqFold()
6131 TargetLowering::prepareUREMEqFold(EVT SETCCVT, SDValue REMNode, in prepareUREMEqFold()
6357 SDValue TargetLowering::buildSREMEqFold(EVT SETCCVT, SDValue REMNode, in buildSREMEqFold()
6375 TargetLowering::prepareSREMEqFold(EVT SETCCVT, SDValue REMNode, in prepareSREMEqFold()
6627 bool TargetLowering::
6638 SDValue TargetLowering::getSqrtInputTest(SDValue Op, SelectionDAG &DAG, in getSqrtInputTest()
6660 SDValue TargetLowering::getNegatedExpression(SDValue Op, SelectionDAG &DAG, in getNegatedExpression()
6933 bool TargetLowering::expandMUL_LOHI(unsigned Opcode, EVT VT, const SDLoc &dl, in expandMUL_LOHI()
7109 bool TargetLowering::expandMUL(SDNode *N, SDValue &Lo, SDValue &Hi, EVT HiLoVT, in expandMUL()
7133 SDValue TargetLowering::expandFunnelShift(SDNode *Node, in expandFunnelShift()
7219 SDValue TargetLowering::expandROT(SDNode *Node, bool AllowVectorOps, in expandROT()
7274 void TargetLowering::expandShiftParts(SDNode *Node, SDValue &Lo, SDValue &Hi, in expandShiftParts()
7326 bool TargetLowering::expandFP_TO_SINT(SDNode *Node, SDValue &Result, in expandFP_TO_SINT()
7397 bool TargetLowering::expandFP_TO_UINT(SDNode *Node, SDValue &Result, in expandFP_TO_UINT()
7499 bool TargetLowering::expandUINT_TO_FP(SDNode *Node, SDValue &Result, in expandUINT_TO_FP()
7551 TargetLowering::createSelectForFMINNUM_FMAXNUM(SDNode *Node, in createSelectForFMINNUM_FMAXNUM()
7574 SDValue TargetLowering::expandFMINNUM_FMAXNUM(SDNode *Node, in expandFMINNUM_FMAXNUM()
7622 SDValue TargetLowering::expandIS_FPCLASS(EVT ResultVT, SDValue Op, in expandIS_FPCLASS()
7845 static bool canExpandVectorCTPOP(const TargetLowering &TLI, EVT VT) { in canExpandVectorCTPOP()
7855 SDValue TargetLowering::expandCTPOP(SDNode *Node, SelectionDAG &DAG) const { in expandCTPOP()
7922 SDValue TargetLowering::expandCTLZ(SDNode *Node, SelectionDAG &DAG) const { in expandCTLZ()
7972 SDValue TargetLowering::expandCTTZ(SDNode *Node, SelectionDAG &DAG) const { in expandCTTZ()
8022 SDValue TargetLowering::expandABS(SDNode *N, SelectionDAG &DAG, in expandABS()
8077 SDValue TargetLowering::expandBSWAP(SDNode *N, SelectionDAG &DAG) const { in expandBSWAP()
8135 SDValue TargetLowering::expandBITREVERSE(SDNode *N, SelectionDAG &DAG) const { in expandBITREVERSE()
8198 TargetLowering::scalarizeVectorLoad(LoadSDNode *LD, in scalarizeVectorLoad()
8288 SDValue TargetLowering::scalarizeVectorStore(StoreSDNode *ST, in scalarizeVectorStore()
8366 TargetLowering::expandUnalignedLoad(LoadSDNode *LD, SelectionDAG &DAG) const { in expandUnalignedLoad()
8517 SDValue TargetLowering::expandUnalignedStore(StoreSDNode *ST, in expandUnalignedStore()
8643 TargetLowering::IncrementMemoryAddress(SDValue Addr, SDValue Mask, in IncrementMemoryAddress()
8715 SDValue TargetLowering::getVectorElementPointer(SelectionDAG &DAG, in getVectorElementPointer()
8724 SDValue TargetLowering::getVectorSubVecPointer(SelectionDAG &DAG, in getVectorSubVecPointer()
8758 SDValue TargetLowering::LowerToTLSEmulatedModel(const GlobalAddressSDNode *GA, in LowerToTLSEmulatedModel()
8779 TargetLowering::CallLoweringInfo CLI(DAG); in LowerToTLSEmulatedModel()
8795 SDValue TargetLowering::lowerCmpEqZeroToCtlzSrl(SDValue Op, in lowerCmpEqZeroToCtlzSrl()
8820 SDValue TargetLowering::expandIntMINMAX(SDNode *Node, SelectionDAG &DAG) const { in expandIntMINMAX()
8861 SDValue TargetLowering::expandAddSubSat(SDNode *Node, SelectionDAG &DAG) const { in expandAddSubSat()
8946 SDValue TargetLowering::expandShlSat(SDNode *Node, SelectionDAG &DAG) const { in expandShlSat()
8982 TargetLowering::expandFixedPointMul(SDNode *Node, SelectionDAG &DAG) const { in expandFixedPointMul()
9125 TargetLowering::expandFixedPointDiv(unsigned Opcode, const SDLoc &dl, in expandFixedPointDiv()
9211 void TargetLowering::expandUADDSUBO( in expandUADDSUBO()
9252 void TargetLowering::expandSADDSUBO( in expandSADDSUBO()
9292 bool TargetLowering::expandMULO(SDNode *Node, SDValue &Result, in expandMULO()
9388 TargetLowering::MakeLibCallOptions CallOptions; in expandMULO()
9436 SDValue TargetLowering::expandVecReduce(SDNode *Node, SelectionDAG &DAG) const { in expandVecReduce()
9476 SDValue TargetLowering::expandVecReduceSeq(SDNode *Node, SelectionDAG &DAG) const { in expandVecReduceSeq()
9503 bool TargetLowering::expandREM(SDNode *Node, SDValue &Result, in expandREM()
9527 SDValue TargetLowering::expandFP_TO_INT_SAT(SDNode *Node, in expandFP_TO_INT_SAT()
9630 SDValue TargetLowering::expandVectorSplice(SDNode *Node, in expandVectorSplice()
9703 bool TargetLowering::LegalizeSetCCCondCode(SelectionDAG &DAG, EVT VT, in LegalizeSetCCCondCode()
9709 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in LegalizeSetCCCondCode()
9718 case TargetLowering::Legal: in LegalizeSetCCCondCode()
9721 case TargetLowering::Expand: { in LegalizeSetCCCondCode()