Lines Matching refs:TargetLowering
40 TargetLowering::TargetLowering(const TargetMachine &tm) in TargetLowering() function in TargetLowering
43 const char *TargetLowering::getTargetNodeName(unsigned Opcode) const { in getTargetNodeName()
47 bool TargetLowering::isPositionIndependent() const { in isPositionIndependent()
53 bool TargetLowering::isInTailCallPosition(SelectionDAG &DAG, SDNode *Node, in isInTailCallPosition()
82 bool TargetLowering::parametersInCSRMatch(const MachineRegisterInfo &MRI, in parametersInCSRMatch()
145 TargetLowering::makeLibCall(SelectionDAG &DAG, RTLIB::Libcall LC, EVT RetVT, in makeLibCall()
153 TargetLowering::ArgListTy Args; in makeLibCall()
156 TargetLowering::ArgListEntry Entry; in makeLibCall()
178 TargetLowering::CallLoweringInfo CLI(DAG); in makeLibCall()
198 bool TargetLowering::findOptimalMemOpLowering( in findOptimalMemOpLowering()
290 void TargetLowering::softenSetCCOperands(SelectionDAG &DAG, EVT VT, in softenSetCCOperands()
300 void TargetLowering::softenSetCCOperands(SelectionDAG &DAG, EVT VT, in softenSetCCOperands()
405 TargetLowering::MakeLibCallOptions CallOptions; in softenSetCCOperands()
442 unsigned TargetLowering::getJumpTableEncoding() const { in getJumpTableEncoding()
455 SDValue TargetLowering::getPICJumpTableRelocBase(SDValue Table, in getPICJumpTableRelocBase()
470 TargetLowering::getPICJumpTableRelocBaseExpr(const MachineFunction *MF, in getPICJumpTableRelocBaseExpr()
476 SDValue TargetLowering::expandIndirectJTBranch(const SDLoc &dl, SDValue Value, in expandIndirectJTBranch()
488 TargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const { in isOffsetFoldingLegal()
512 bool TargetLowering::ShrinkDemandedConstant(SDValue Op, in ShrinkDemandedConstant()
558 bool TargetLowering::ShrinkDemandedConstant(SDValue Op, in ShrinkDemandedConstant()
572 bool TargetLowering::ShrinkDemandedOp(SDValue Op, unsigned BitWidth, in ShrinkDemandedOp()
595 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in ShrinkDemandedOp()
614 bool TargetLowering::SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, in SimplifyDemandedBits()
629 bool TargetLowering::SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, in SimplifyDemandedBits()
646 bool TargetLowering::SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, in SimplifyDemandedBits()
664 SDValue TargetLowering::SimplifyMultipleUseDemandedBits( in SimplifyMultipleUseDemandedBits()
917 SDValue TargetLowering::SimplifyMultipleUseDemandedBits( in SimplifyMultipleUseDemandedBits()
931 SDValue TargetLowering::SimplifyMultipleUseDemandedVectorElts( in SimplifyMultipleUseDemandedVectorElts()
942 const TargetLowering &TLI, in combineShiftToAVG()
1079 bool TargetLowering::SimplifyDemandedBits( in SimplifyDemandedBits()
1609 const TargetLowering &TLI = TLO.DAG.getTargetLoweringInfo(); in SimplifyDemandedBits()
1717 TargetLowering::ZeroOrOneBooleanContent && in SimplifyDemandedBits()
2937 bool TargetLowering::SimplifyDemandedVectorElts(SDValue Op, in SimplifyDemandedVectorElts()
3003 bool TargetLowering::SimplifyDemandedVectorElts( in SimplifyDemandedVectorElts()
3015 const TargetLowering &TLI = TLO.DAG.getTargetLoweringInfo(); in SimplifyDemandedVectorElts()
3669 void TargetLowering::computeKnownBitsForTargetNode(const SDValue Op, in computeKnownBitsForTargetNode()
3683 void TargetLowering::computeKnownBitsForTargetInstr( in computeKnownBitsForTargetInstr()
3690 void TargetLowering::computeKnownBitsForFrameIndex( in computeKnownBitsForFrameIndex()
3696 Align TargetLowering::computeKnownAlignForTargetInstr( in computeKnownAlignForTargetInstr()
3704 unsigned TargetLowering::ComputeNumSignBitsForTargetNode(SDValue Op, in ComputeNumSignBitsForTargetNode()
3717 unsigned TargetLowering::computeNumSignBitsForTargetInstr( in computeNumSignBitsForTargetInstr()
3723 bool TargetLowering::SimplifyDemandedVectorEltsForTargetNode( in SimplifyDemandedVectorEltsForTargetNode()
3735 bool TargetLowering::SimplifyDemandedBitsForTargetNode( in SimplifyDemandedBitsForTargetNode()
3748 SDValue TargetLowering::SimplifyMultipleUseDemandedBitsForTargetNode( in SimplifyMultipleUseDemandedBitsForTargetNode()
3762 TargetLowering::buildLegalVectorShuffle(EVT VT, const SDLoc &DL, SDValue N0, in buildLegalVectorShuffle()
3778 const Constant *TargetLowering::getTargetConstantFromLoad(LoadSDNode*) const { in getTargetConstantFromLoad()
3782 bool TargetLowering::isGuaranteedNotToBeUndefOrPoisonForTargetNode( in isGuaranteedNotToBeUndefOrPoisonForTargetNode()
3795 bool TargetLowering::canCreateUndefOrPoisonForTargetNode( in canCreateUndefOrPoisonForTargetNode()
3808 bool TargetLowering::isKnownNeverNaNForTargetNode(SDValue Op, in isKnownNeverNaNForTargetNode()
3821 bool TargetLowering::isSplatValueForTargetNode(SDValue Op, in isSplatValueForTargetNode()
3838 bool TargetLowering::isConstTrueVal(SDValue N) const { in isConstTrueVal()
3868 bool TargetLowering::isConstFalseVal(SDValue N) const { in isConstFalseVal()
3892 bool TargetLowering::isExtendedTrueVal(const ConstantSDNode *N, EVT VT, in isExtendedTrueVal()
3897 TargetLowering::BooleanContent Cnt = getBooleanContents(VT); in isExtendedTrueVal()
3899 case TargetLowering::ZeroOrOneBooleanContent: in isExtendedTrueVal()
3903 case TargetLowering::UndefinedBooleanContent: in isExtendedTrueVal()
3904 case TargetLowering::ZeroOrNegativeOneBooleanContent: in isExtendedTrueVal()
3912 SDValue TargetLowering::foldSetCCWithAnd(EVT VT, SDValue N0, SDValue N1, in foldSetCCWithAnd()
3927 (getBooleanContents(OpVT) == TargetLowering::UndefinedBooleanContent || in foldSetCCWithAnd()
3928 getBooleanContents(OpVT) == TargetLowering::ZeroOrOneBooleanContent)) { in foldSetCCWithAnd()
4015 SDValue TargetLowering::optimizeSetCCOfSignedTruncationCheck( in optimizeSetCCOfSignedTruncationCheck()
4104 SDValue TargetLowering::optimizeSetCCByHoistingAndByConstFromLogicalShift( in optimizeSetCCByHoistingAndByConstFromLogicalShift()
4116 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in optimizeSetCCByHoistingAndByConstFromLogicalShift()
4176 SDValue TargetLowering::foldSetCCWithBinOp(EVT VT, SDValue N0, SDValue N1, in foldSetCCWithBinOp()
4216 static SDValue simplifySetCCWithCTPOP(const TargetLowering &TLI, EVT VT, in simplifySetCCWithCTPOP()
4401 SDValue TargetLowering::SimplifySetCC(EVT VT, SDValue N0, SDValue N1, in SimplifySetCC()
5027 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in SimplifySetCC()
5362 bool TargetLowering::isGAPlusOffset(SDNode *WN, const GlobalValue *&GA, in isGAPlusOffset()
5392 SDValue TargetLowering::PerformDAGCombine(SDNode *N, in PerformDAGCombine()
5402 TargetLowering::ConstraintType
5403 TargetLowering::getConstraintType(StringRef Constraint) const { in getConstraintType()
5449 const char *TargetLowering::LowerXConstraint(EVT ConstraintVT) const { in LowerXConstraint()
5457 SDValue TargetLowering::LowerAsmOutputForConstraint( in LowerAsmOutputForConstraint()
5465 void TargetLowering::LowerAsmOperandForConstraint(SDValue Op, in LowerAsmOperandForConstraint()
5542 void TargetLowering::CollectTargetIntrinsicOperands( in CollectTargetIntrinsicOperands()
5547 TargetLowering::getRegForInlineAsmConstraint(const TargetRegisterInfo *RI, in getRegForInlineAsmConstraint()
5591 bool TargetLowering::AsmOperandInfo::isMatchingInputConstraint() const { in isMatchingInputConstraint()
5598 unsigned TargetLowering::AsmOperandInfo::getMatchedOperand() const { in getMatchedOperand()
5608 TargetLowering::AsmOperandInfoVector
5609 TargetLowering::ParseConstraints(const DataLayout &DL, in ParseConstraints()
5797 static unsigned getConstraintPiority(TargetLowering::ConstraintType CT) { in getConstraintPiority()
5799 case TargetLowering::C_Immediate: in getConstraintPiority()
5800 case TargetLowering::C_Other: in getConstraintPiority()
5802 case TargetLowering::C_Memory: in getConstraintPiority()
5803 case TargetLowering::C_Address: in getConstraintPiority()
5805 case TargetLowering::C_RegisterClass: in getConstraintPiority()
5807 case TargetLowering::C_Register: in getConstraintPiority()
5809 case TargetLowering::C_Unknown: in getConstraintPiority()
5818 TargetLowering::ConstraintWeight
5819 TargetLowering::getMultipleConstraintMatchWeight( in getMultipleConstraintMatchWeight()
5842 TargetLowering::ConstraintWeight
5843 TargetLowering::getSingleConstraintMatchWeight( in getSingleConstraintMatchWeight()
5912 TargetLowering::ConstraintGroup TargetLowering::getConstraintPreferences( in getConstraintPreferences()
5913 TargetLowering::AsmOperandInfo &OpInfo) const { in getConstraintPreferences()
5918 TargetLowering::ConstraintType CType = getConstraintType(Code); in getConstraintPreferences()
5921 if (OpInfo.isIndirect && !(CType == TargetLowering::C_Memory || in getConstraintPreferences()
5922 CType == TargetLowering::C_Register || in getConstraintPreferences()
5923 CType == TargetLowering::C_RegisterClass)) in getConstraintPreferences()
5928 if (CType == TargetLowering::C_Memory && OpInfo.hasMatchingInput()) in getConstraintPreferences()
5944 static bool lowerImmediateIfPossible(TargetLowering::ConstraintPair &P, in lowerImmediateIfPossible()
5946 const TargetLowering &TLI) { in lowerImmediateIfPossible()
5948 assert((P.second == TargetLowering::C_Other || in lowerImmediateIfPossible()
5949 P.second == TargetLowering::C_Immediate) && in lowerImmediateIfPossible()
5962 void TargetLowering::ComputeConstraintToUse(AsmOperandInfo &OpInfo, in ComputeConstraintToUse()
5978 BestIdx < E && (G[BestIdx].second == TargetLowering::C_Other || in ComputeConstraintToUse()
5979 G[BestIdx].second == TargetLowering::C_Immediate); in ComputeConstraintToUse()
6020 static SDValue BuildExactSDIV(const TargetLowering &TLI, SDNode *N, in BuildExactSDIV()
6086 SDValue TargetLowering::BuildSDIVPow2(SDNode *N, const APInt &Divisor, in BuildSDIVPow2()
6090 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in BuildSDIVPow2()
6097 TargetLowering::BuildSREMPow2(SDNode *N, const APInt &Divisor, in BuildSREMPow2()
6101 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in BuildSREMPow2()
6115 SDValue TargetLowering::buildSDIVPow2WithCMov( in buildSDIVPow2WithCMov()
6154 SDValue TargetLowering::BuildSDIV(SDNode *N, SelectionDAG &DAG, in BuildSDIV()
6316 SDValue TargetLowering::BuildUDIV(SDNode *N, SelectionDAG &DAG, in BuildUDIV()
6542 SDValue TargetLowering::buildUREMEqFold(EVT SETCCVT, SDValue REMNode, in buildUREMEqFold()
6559 TargetLowering::prepareUREMEqFold(EVT SETCCVT, SDValue REMNode, in prepareUREMEqFold()
6785 SDValue TargetLowering::buildSREMEqFold(EVT SETCCVT, SDValue REMNode, in buildSREMEqFold()
6803 TargetLowering::prepareSREMEqFold(EVT SETCCVT, SDValue REMNode, in prepareSREMEqFold()
7055 bool TargetLowering::
7066 SDValue TargetLowering::getSqrtInputTest(SDValue Op, SelectionDAG &DAG, in getSqrtInputTest()
7091 SDValue TargetLowering::getNegatedExpression(SDValue Op, SelectionDAG &DAG, in getNegatedExpression()
7399 bool TargetLowering::expandMUL_LOHI(unsigned Opcode, EVT VT, const SDLoc &dl, in expandMUL_LOHI()
7574 bool TargetLowering::expandMUL(SDNode *N, SDValue &Lo, SDValue &Hi, EVT HiLoVT, in expandMUL()
7611 bool TargetLowering::expandDIVREMByConstant(SDNode *N, in expandDIVREMByConstant()
7833 SDValue TargetLowering::expandFunnelShift(SDNode *Node, in expandFunnelShift()
7922 SDValue TargetLowering::expandROT(SDNode *Node, bool AllowVectorOps, in expandROT()
7977 void TargetLowering::expandShiftParts(SDNode *Node, SDValue &Lo, SDValue &Hi, in expandShiftParts()
8029 bool TargetLowering::expandFP_TO_SINT(SDNode *Node, SDValue &Result, in expandFP_TO_SINT()
8100 bool TargetLowering::expandFP_TO_UINT(SDNode *Node, SDValue &Result, in expandFP_TO_UINT()
8202 bool TargetLowering::expandUINT_TO_FP(SDNode *Node, SDValue &Result, in expandUINT_TO_FP()
8254 TargetLowering::createSelectForFMINNUM_FMAXNUM(SDNode *Node, in createSelectForFMINNUM_FMAXNUM()
8277 SDValue TargetLowering::expandFMINNUM_FMAXNUM(SDNode *Node, in expandFMINNUM_FMAXNUM()
8354 SDValue TargetLowering::expandIS_FPCLASS(EVT ResultVT, SDValue Op, in expandIS_FPCLASS()
8616 static bool canExpandVectorCTPOP(const TargetLowering &TLI, EVT VT) { in canExpandVectorCTPOP()
8626 SDValue TargetLowering::expandCTPOP(SDNode *Node, SelectionDAG &DAG) const { in expandCTPOP()
8693 SDValue TargetLowering::expandVPCTPOP(SDNode *Node, SelectionDAG &DAG) const { in expandVPCTPOP()
8750 SDValue TargetLowering::expandCTLZ(SDNode *Node, SelectionDAG &DAG) const { in expandCTLZ()
8800 SDValue TargetLowering::expandVPCTLZ(SDNode *Node, SelectionDAG &DAG) const { in expandVPCTLZ()
8827 SDValue TargetLowering::CTTZTableLookup(SDNode *Node, SelectionDAG &DAG, in CTTZTableLookup()
8871 SDValue TargetLowering::expandCTTZ(SDNode *Node, SelectionDAG &DAG) const { in expandCTTZ()
8927 SDValue TargetLowering::expandVPCTTZ(SDNode *Node, SelectionDAG &DAG) const { in expandVPCTTZ()
8943 SDValue TargetLowering::expandABS(SDNode *N, SelectionDAG &DAG, in expandABS()
8998 SDValue TargetLowering::expandABD(SDNode *N, SelectionDAG &DAG) const { in expandABD()
9030 SDValue TargetLowering::expandBSWAP(SDNode *N, SelectionDAG &DAG) const { in expandBSWAP()
9088 SDValue TargetLowering::expandVPBSWAP(SDNode *N, SelectionDAG &DAG) const { in expandVPBSWAP()
9164 SDValue TargetLowering::expandBITREVERSE(SDNode *N, SelectionDAG &DAG) const { in expandBITREVERSE()
9225 SDValue TargetLowering::expandVPBITREVERSE(SDNode *N, SelectionDAG &DAG) const { in expandVPBITREVERSE()
9288 TargetLowering::scalarizeVectorLoad(LoadSDNode *LD, in scalarizeVectorLoad()
9378 SDValue TargetLowering::scalarizeVectorStore(StoreSDNode *ST, in scalarizeVectorStore()
9456 TargetLowering::expandUnalignedLoad(LoadSDNode *LD, SelectionDAG &DAG) const { in expandUnalignedLoad()
9607 SDValue TargetLowering::expandUnalignedStore(StoreSDNode *ST, in expandUnalignedStore()
9741 TargetLowering::IncrementMemoryAddress(SDValue Addr, SDValue Mask, in IncrementMemoryAddress()
9813 SDValue TargetLowering::getVectorElementPointer(SelectionDAG &DAG, in getVectorElementPointer()
9822 SDValue TargetLowering::getVectorSubVecPointer(SelectionDAG &DAG, in getVectorSubVecPointer()
9856 SDValue TargetLowering::LowerToTLSEmulatedModel(const GlobalAddressSDNode *GA, in LowerToTLSEmulatedModel()
9877 TargetLowering::CallLoweringInfo CLI(DAG); in LowerToTLSEmulatedModel()
9893 SDValue TargetLowering::lowerCmpEqZeroToCtlzSrl(SDValue Op, in lowerCmpEqZeroToCtlzSrl()
9916 SDValue TargetLowering::expandIntMINMAX(SDNode *Node, SelectionDAG &DAG) const { in expandIntMINMAX()
9997 SDValue TargetLowering::expandAddSubSat(SDNode *Node, SelectionDAG &DAG) const { in expandAddSubSat()
10113 SDValue TargetLowering::expandShlSat(SDNode *Node, SelectionDAG &DAG) const { in expandShlSat()
10153 TargetLowering::expandFixedPointMul(SDNode *Node, SelectionDAG &DAG) const { in expandFixedPointMul()
10296 TargetLowering::expandFixedPointDiv(unsigned Opcode, const SDLoc &dl, in expandFixedPointDiv()
10382 void TargetLowering::expandUADDSUBO( in expandUADDSUBO()
10428 void TargetLowering::expandSADDSUBO( in expandSADDSUBO()
10468 bool TargetLowering::expandMULO(SDNode *Node, SDValue &Result, in expandMULO()
10564 TargetLowering::MakeLibCallOptions CallOptions; in expandMULO()
10612 SDValue TargetLowering::expandVecReduce(SDNode *Node, SelectionDAG &DAG) const { in expandVecReduce()
10652 SDValue TargetLowering::expandVecReduceSeq(SDNode *Node, SelectionDAG &DAG) const { in expandVecReduceSeq()
10679 bool TargetLowering::expandREM(SDNode *Node, SDValue &Result, in expandREM()
10703 SDValue TargetLowering::expandFP_TO_INT_SAT(SDNode *Node, in expandFP_TO_INT_SAT()
10812 SDValue TargetLowering::expandVectorSplice(SDNode *Node, in expandVectorSplice()
10886 bool TargetLowering::LegalizeSetCCCondCode(SelectionDAG &DAG, EVT VT, in LegalizeSetCCCondCode()
10892 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in LegalizeSetCCCondCode()
10901 case TargetLowering::Legal: in LegalizeSetCCCondCode()
10904 case TargetLowering::Expand: { in LegalizeSetCCCondCode()