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()
83 bool TargetLowering::parametersInCSRMatch(const MachineRegisterInfo &MRI, in parametersInCSRMatch()
146 TargetLowering::makeLibCall(SelectionDAG &DAG, RTLIB::Libcall LC, EVT RetVT, in makeLibCall()
154 TargetLowering::ArgListTy Args; in makeLibCall()
157 TargetLowering::ArgListEntry Entry; in makeLibCall()
179 TargetLowering::CallLoweringInfo CLI(DAG); in makeLibCall()
199 bool TargetLowering::findOptimalMemOpLowering( in findOptimalMemOpLowering()
291 void TargetLowering::softenSetCCOperands(SelectionDAG &DAG, EVT VT, in softenSetCCOperands()
301 void TargetLowering::softenSetCCOperands(SelectionDAG &DAG, EVT VT, in softenSetCCOperands()
406 TargetLowering::MakeLibCallOptions CallOptions; in softenSetCCOperands()
443 unsigned TargetLowering::getJumpTableEncoding() const { in getJumpTableEncoding()
456 SDValue TargetLowering::getPICJumpTableRelocBase(SDValue Table, in getPICJumpTableRelocBase()
471 TargetLowering::getPICJumpTableRelocBaseExpr(const MachineFunction *MF, in getPICJumpTableRelocBaseExpr()
477 SDValue TargetLowering::expandIndirectJTBranch(const SDLoc &dl, SDValue Value, in expandIndirectJTBranch()
489 TargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const { in isOffsetFoldingLegal()
513 bool TargetLowering::ShrinkDemandedConstant(SDValue Op, in ShrinkDemandedConstant()
560 bool TargetLowering::ShrinkDemandedConstant(SDValue Op, in ShrinkDemandedConstant()
574 bool TargetLowering::ShrinkDemandedOp(SDValue Op, unsigned BitWidth, in ShrinkDemandedOp()
601 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in ShrinkDemandedOp()
620 bool TargetLowering::SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, in SimplifyDemandedBits()
635 bool TargetLowering::SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, in SimplifyDemandedBits()
652 bool TargetLowering::SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, in SimplifyDemandedBits()
670 SDValue TargetLowering::SimplifyMultipleUseDemandedBits( in SimplifyMultipleUseDemandedBits()
930 SDValue TargetLowering::SimplifyMultipleUseDemandedBits( in SimplifyMultipleUseDemandedBits()
944 SDValue TargetLowering::SimplifyMultipleUseDemandedVectorElts( in SimplifyMultipleUseDemandedVectorElts()
955 TargetLowering::TargetLoweringOpt &TLO, in combineShiftToAVG()
956 const TargetLowering &TLI, in combineShiftToAVG()
1101 bool TargetLowering::SimplifyDemandedBits( in SimplifyDemandedBits()
1625 const TargetLowering &TLI = TLO.DAG.getTargetLoweringInfo(); in SimplifyDemandedBits()
1727 TargetLowering::ZeroOrOneBooleanContent && in SimplifyDemandedBits()
2975 bool TargetLowering::SimplifyDemandedVectorElts(SDValue Op, in SimplifyDemandedVectorElts()
3041 bool TargetLowering::SimplifyDemandedVectorElts( in SimplifyDemandedVectorElts()
3053 const TargetLowering &TLI = TLO.DAG.getTargetLoweringInfo(); in SimplifyDemandedVectorElts()
3725 void TargetLowering::computeKnownBitsForTargetNode(const SDValue Op, in computeKnownBitsForTargetNode()
3739 void TargetLowering::computeKnownBitsForTargetInstr( in computeKnownBitsForTargetInstr()
3746 void TargetLowering::computeKnownBitsForFrameIndex( in computeKnownBitsForFrameIndex()
3752 Align TargetLowering::computeKnownAlignForTargetInstr( in computeKnownAlignForTargetInstr()
3760 unsigned TargetLowering::ComputeNumSignBitsForTargetNode(SDValue Op, in ComputeNumSignBitsForTargetNode()
3773 unsigned TargetLowering::computeNumSignBitsForTargetInstr( in computeNumSignBitsForTargetInstr()
3779 bool TargetLowering::SimplifyDemandedVectorEltsForTargetNode( in SimplifyDemandedVectorEltsForTargetNode()
3791 bool TargetLowering::SimplifyDemandedBitsForTargetNode( in SimplifyDemandedBitsForTargetNode()
3804 SDValue TargetLowering::SimplifyMultipleUseDemandedBitsForTargetNode( in SimplifyMultipleUseDemandedBitsForTargetNode()
3818 TargetLowering::buildLegalVectorShuffle(EVT VT, const SDLoc &DL, SDValue N0, in buildLegalVectorShuffle()
3834 const Constant *TargetLowering::getTargetConstantFromLoad(LoadSDNode*) const { in getTargetConstantFromLoad()
3838 bool TargetLowering::isGuaranteedNotToBeUndefOrPoisonForTargetNode( in isGuaranteedNotToBeUndefOrPoisonForTargetNode()
3859 bool TargetLowering::canCreateUndefOrPoisonForTargetNode( in canCreateUndefOrPoisonForTargetNode()
3872 bool TargetLowering::isKnownNeverNaNForTargetNode(SDValue Op, in isKnownNeverNaNForTargetNode()
3885 bool TargetLowering::isSplatValueForTargetNode(SDValue Op, in isSplatValueForTargetNode()
3902 bool TargetLowering::isConstTrueVal(SDValue N) const { in isConstTrueVal()
3932 bool TargetLowering::isConstFalseVal(SDValue N) const { in isConstFalseVal()
3956 bool TargetLowering::isExtendedTrueVal(const ConstantSDNode *N, EVT VT, in isExtendedTrueVal()
3961 TargetLowering::BooleanContent Cnt = getBooleanContents(VT); in isExtendedTrueVal()
3963 case TargetLowering::ZeroOrOneBooleanContent: in isExtendedTrueVal()
3967 case TargetLowering::UndefinedBooleanContent: in isExtendedTrueVal()
3968 case TargetLowering::ZeroOrNegativeOneBooleanContent: in isExtendedTrueVal()
3976 SDValue TargetLowering::foldSetCCWithAnd(EVT VT, SDValue N0, SDValue N1, in foldSetCCWithAnd()
3991 (getBooleanContents(OpVT) == TargetLowering::UndefinedBooleanContent || in foldSetCCWithAnd()
3992 getBooleanContents(OpVT) == TargetLowering::ZeroOrOneBooleanContent)) { in foldSetCCWithAnd()
4079 SDValue TargetLowering::optimizeSetCCOfSignedTruncationCheck( in optimizeSetCCOfSignedTruncationCheck()
4163 SDValue TargetLowering::optimizeSetCCByHoistingAndByConstFromLogicalShift( in optimizeSetCCByHoistingAndByConstFromLogicalShift()
4175 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in optimizeSetCCByHoistingAndByConstFromLogicalShift()
4235 SDValue TargetLowering::foldSetCCWithBinOp(EVT VT, SDValue N0, SDValue N1, in foldSetCCWithBinOp()
4273 static SDValue simplifySetCCWithCTPOP(const TargetLowering &TLI, EVT VT, in simplifySetCCWithCTPOP()
4458 SDValue TargetLowering::SimplifySetCC(EVT VT, SDValue N0, SDValue N1, in SimplifySetCC()
5102 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in SimplifySetCC()
5437 bool TargetLowering::isGAPlusOffset(SDNode *WN, const GlobalValue *&GA, in isGAPlusOffset()
5467 SDValue TargetLowering::PerformDAGCombine(SDNode *N, in PerformDAGCombine()
5477 TargetLowering::ConstraintType
5478 TargetLowering::getConstraintType(StringRef Constraint) const { in getConstraintType()
5524 const char *TargetLowering::LowerXConstraint(EVT ConstraintVT) const { in LowerXConstraint()
5532 SDValue TargetLowering::LowerAsmOutputForConstraint( in LowerAsmOutputForConstraint()
5540 void TargetLowering::LowerAsmOperandForConstraint(SDValue Op, in LowerAsmOperandForConstraint()
5617 void TargetLowering::CollectTargetIntrinsicOperands( in CollectTargetIntrinsicOperands()
5622 TargetLowering::getRegForInlineAsmConstraint(const TargetRegisterInfo *RI, in getRegForInlineAsmConstraint()
5666 bool TargetLowering::AsmOperandInfo::isMatchingInputConstraint() const { in isMatchingInputConstraint()
5673 unsigned TargetLowering::AsmOperandInfo::getMatchedOperand() const { in getMatchedOperand()
5683 TargetLowering::AsmOperandInfoVector
5684 TargetLowering::ParseConstraints(const DataLayout &DL, in ParseConstraints()
5872 static unsigned getConstraintPiority(TargetLowering::ConstraintType CT) { in getConstraintPiority()
5874 case TargetLowering::C_Immediate: in getConstraintPiority()
5875 case TargetLowering::C_Other: in getConstraintPiority()
5877 case TargetLowering::C_Memory: in getConstraintPiority()
5878 case TargetLowering::C_Address: in getConstraintPiority()
5880 case TargetLowering::C_RegisterClass: in getConstraintPiority()
5882 case TargetLowering::C_Register: in getConstraintPiority()
5884 case TargetLowering::C_Unknown: in getConstraintPiority()
5893 TargetLowering::ConstraintWeight
5894 TargetLowering::getMultipleConstraintMatchWeight( in getMultipleConstraintMatchWeight()
5917 TargetLowering::ConstraintWeight
5918 TargetLowering::getSingleConstraintMatchWeight( in getSingleConstraintMatchWeight()
5987 TargetLowering::ConstraintGroup TargetLowering::getConstraintPreferences( in getConstraintPreferences()
5988 TargetLowering::AsmOperandInfo &OpInfo) const { in getConstraintPreferences()
5993 TargetLowering::ConstraintType CType = getConstraintType(Code); in getConstraintPreferences()
5996 if (OpInfo.isIndirect && !(CType == TargetLowering::C_Memory || in getConstraintPreferences()
5997 CType == TargetLowering::C_Register || in getConstraintPreferences()
5998 CType == TargetLowering::C_RegisterClass)) in getConstraintPreferences()
6003 if (CType == TargetLowering::C_Memory && OpInfo.hasMatchingInput()) in getConstraintPreferences()
6019 static bool lowerImmediateIfPossible(TargetLowering::ConstraintPair &P, in lowerImmediateIfPossible()
6021 const TargetLowering &TLI) { in lowerImmediateIfPossible()
6023 assert((P.second == TargetLowering::C_Other || in lowerImmediateIfPossible()
6024 P.second == TargetLowering::C_Immediate) && in lowerImmediateIfPossible()
6037 void TargetLowering::ComputeConstraintToUse(AsmOperandInfo &OpInfo, in ComputeConstraintToUse()
6053 BestIdx < E && (G[BestIdx].second == TargetLowering::C_Other || in ComputeConstraintToUse()
6054 G[BestIdx].second == TargetLowering::C_Immediate); in ComputeConstraintToUse()
6096 static SDValue BuildExactSDIV(const TargetLowering &TLI, SDNode *N, in BuildExactSDIV()
6158 static SDValue BuildExactUDIV(const TargetLowering &TLI, SDNode *N, in BuildExactUDIV()
6218 SDValue TargetLowering::BuildSDIVPow2(SDNode *N, const APInt &Divisor, in BuildSDIVPow2()
6222 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in BuildSDIVPow2()
6229 TargetLowering::BuildSREMPow2(SDNode *N, const APInt &Divisor, in BuildSREMPow2()
6233 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in BuildSREMPow2()
6247 SDValue TargetLowering::buildSDIVPow2WithCMov( in buildSDIVPow2WithCMov()
6286 SDValue TargetLowering::BuildSDIV(SDNode *N, SelectionDAG &DAG, in BuildSDIV()
6448 SDValue TargetLowering::BuildUDIV(SDNode *N, SelectionDAG &DAG, in BuildUDIV()
6671 SDValue TargetLowering::buildUREMEqFold(EVT SETCCVT, SDValue REMNode, in buildUREMEqFold()
6688 TargetLowering::prepareUREMEqFold(EVT SETCCVT, SDValue REMNode, in prepareUREMEqFold()
6911 SDValue TargetLowering::buildSREMEqFold(EVT SETCCVT, SDValue REMNode, in buildSREMEqFold()
6929 TargetLowering::prepareSREMEqFold(EVT SETCCVT, SDValue REMNode, in prepareSREMEqFold()
7198 bool TargetLowering::
7209 SDValue TargetLowering::getSqrtInputTest(SDValue Op, SelectionDAG &DAG, in getSqrtInputTest()
7234 SDValue TargetLowering::getNegatedExpression(SDValue Op, SelectionDAG &DAG, in getNegatedExpression()
7542 bool TargetLowering::expandMUL_LOHI(unsigned Opcode, EVT VT, const SDLoc &dl, in expandMUL_LOHI()
7717 bool TargetLowering::expandMUL(SDNode *N, SDValue &Lo, SDValue &Hi, EVT HiLoVT, in expandMUL()
7754 bool TargetLowering::expandDIVREMByConstant(SDNode *N, in expandDIVREMByConstant()
7973 SDValue TargetLowering::expandFunnelShift(SDNode *Node, in expandFunnelShift()
8062 SDValue TargetLowering::expandROT(SDNode *Node, bool AllowVectorOps, in expandROT()
8117 void TargetLowering::expandShiftParts(SDNode *Node, SDValue &Lo, SDValue &Hi, in expandShiftParts()
8169 bool TargetLowering::expandFP_TO_SINT(SDNode *Node, SDValue &Result, in expandFP_TO_SINT()
8240 bool TargetLowering::expandFP_TO_UINT(SDNode *Node, SDValue &Result, in expandFP_TO_UINT()
8342 bool TargetLowering::expandUINT_TO_FP(SDNode *Node, SDValue &Result, in expandUINT_TO_FP()
8394 TargetLowering::createSelectForFMINNUM_FMAXNUM(SDNode *Node, in createSelectForFMINNUM_FMAXNUM()
8417 SDValue TargetLowering::expandFMINNUM_FMAXNUM(SDNode *Node, in expandFMINNUM_FMAXNUM()
8470 SDValue TargetLowering::expandFMINIMUM_FMAXIMUM(SDNode *N, in expandFMINIMUM_FMAXIMUM()
8558 SDValue TargetLowering::expandIS_FPCLASS(EVT ResultVT, SDValue Op, in expandIS_FPCLASS()
8820 static bool canExpandVectorCTPOP(const TargetLowering &TLI, EVT VT) { in canExpandVectorCTPOP()
8830 SDValue TargetLowering::expandCTPOP(SDNode *Node, SelectionDAG &DAG) const { in expandCTPOP()
8907 SDValue TargetLowering::expandVPCTPOP(SDNode *Node, SelectionDAG &DAG) const { in expandVPCTPOP()
8976 SDValue TargetLowering::expandCTLZ(SDNode *Node, SelectionDAG &DAG) const { in expandCTLZ()
9026 SDValue TargetLowering::expandVPCTLZ(SDNode *Node, SelectionDAG &DAG) const { in expandVPCTLZ()
9053 SDValue TargetLowering::CTTZTableLookup(SDNode *Node, SelectionDAG &DAG, in CTTZTableLookup()
9097 SDValue TargetLowering::expandCTTZ(SDNode *Node, SelectionDAG &DAG) const { in expandCTTZ()
9153 SDValue TargetLowering::expandVPCTTZ(SDNode *Node, SelectionDAG &DAG) const { in expandVPCTTZ()
9169 SDValue TargetLowering::expandVPCTTZElements(SDNode *N, in expandVPCTTZElements()
9202 SDValue TargetLowering::expandABS(SDNode *N, SelectionDAG &DAG, in expandABS()
9257 SDValue TargetLowering::expandABD(SDNode *N, SelectionDAG &DAG) const { in expandABD()
9299 SDValue TargetLowering::expandAVG(SDNode *N, SelectionDAG &DAG) const { in expandAVG()
9361 SDValue TargetLowering::expandBSWAP(SDNode *N, SelectionDAG &DAG) const { in expandBSWAP()
9419 SDValue TargetLowering::expandVPBSWAP(SDNode *N, SelectionDAG &DAG) const { in expandVPBSWAP()
9495 SDValue TargetLowering::expandBITREVERSE(SDNode *N, SelectionDAG &DAG) const { in expandBITREVERSE()
9556 SDValue TargetLowering::expandVPBITREVERSE(SDNode *N, SelectionDAG &DAG) const { in expandVPBITREVERSE()
9619 TargetLowering::scalarizeVectorLoad(LoadSDNode *LD, in scalarizeVectorLoad()
9708 SDValue TargetLowering::scalarizeVectorStore(StoreSDNode *ST, in scalarizeVectorStore()
9786 TargetLowering::expandUnalignedLoad(LoadSDNode *LD, SelectionDAG &DAG) const { in expandUnalignedLoad()
9935 SDValue TargetLowering::expandUnalignedStore(StoreSDNode *ST, in expandUnalignedStore()
10069 TargetLowering::IncrementMemoryAddress(SDValue Addr, SDValue Mask, in IncrementMemoryAddress()
10141 SDValue TargetLowering::getVectorElementPointer(SelectionDAG &DAG, in getVectorElementPointer()
10150 SDValue TargetLowering::getVectorSubVecPointer(SelectionDAG &DAG, in getVectorSubVecPointer()
10184 SDValue TargetLowering::LowerToTLSEmulatedModel(const GlobalAddressSDNode *GA, in LowerToTLSEmulatedModel()
10205 TargetLowering::CallLoweringInfo CLI(DAG); in LowerToTLSEmulatedModel()
10221 SDValue TargetLowering::lowerCmpEqZeroToCtlzSrl(SDValue Op, in lowerCmpEqZeroToCtlzSrl()
10244 SDValue TargetLowering::expandIntMINMAX(SDNode *Node, SelectionDAG &DAG) const { in expandIntMINMAX()
10325 SDValue TargetLowering::expandAddSubSat(SDNode *Node, SelectionDAG &DAG) const { in expandAddSubSat()
10441 SDValue TargetLowering::expandCMP(SDNode *Node, SelectionDAG &DAG) const { in expandCMP()
10476 SDValue TargetLowering::expandShlSat(SDNode *Node, SelectionDAG &DAG) const { in expandShlSat()
10515 void TargetLowering::forceExpandWideMUL(SelectionDAG &DAG, const SDLoc &dl, in forceExpandWideMUL()
10577 TargetLowering::MakeLibCallOptions CallOptions; in forceExpandWideMUL()
10604 void TargetLowering::forceExpandWideMUL(SelectionDAG &DAG, const SDLoc &dl, in forceExpandWideMUL()
10632 TargetLowering::expandFixedPointMul(SDNode *Node, SelectionDAG &DAG) const { in expandFixedPointMul()
10786 TargetLowering::expandFixedPointDiv(unsigned Opcode, const SDLoc &dl, in expandFixedPointDiv()
10871 void TargetLowering::expandUADDSUBO( in expandUADDSUBO()
10917 void TargetLowering::expandSADDSUBO( in expandSADDSUBO()
10957 bool TargetLowering::expandMULO(SDNode *Node, SDValue &Result, in expandMULO()
11037 SDValue TargetLowering::expandVecReduce(SDNode *Node, SelectionDAG &DAG) const { in expandVecReduce()
11077 SDValue TargetLowering::expandVecReduceSeq(SDNode *Node, SelectionDAG &DAG) const { in expandVecReduceSeq()
11104 bool TargetLowering::expandREM(SDNode *Node, SDValue &Result, in expandREM()
11128 SDValue TargetLowering::expandFP_TO_INT_SAT(SDNode *Node, in expandFP_TO_INT_SAT()
11237 SDValue TargetLowering::expandRoundInexactToOdd(EVT ResultVT, SDValue Op, in expandRoundInexactToOdd()
11305 SDValue TargetLowering::expandFP_ROUND(SDNode *Node, SelectionDAG &DAG) const { in expandFP_ROUND()
11359 SDValue TargetLowering::expandVectorSplice(SDNode *Node, in expandVectorSplice()
11433 SDValue TargetLowering::expandVECTOR_COMPRESS(SDNode *Node, in expandVECTOR_COMPRESS()
11535 bool TargetLowering::LegalizeSetCCCondCode(SelectionDAG &DAG, EVT VT, in LegalizeSetCCCondCode()
11541 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in LegalizeSetCCCondCode()
11550 case TargetLowering::Legal: in LegalizeSetCCCondCode()
11553 case TargetLowering::Expand: { in LegalizeSetCCCondCode()