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()
139 TargetLowering::makeLibCall(SelectionDAG &DAG, RTLIB::Libcall LC, EVT RetVT, in makeLibCall()
147 TargetLowering::ArgListTy Args; in makeLibCall()
150 TargetLowering::ArgListEntry Entry; in makeLibCall()
172 TargetLowering::CallLoweringInfo CLI(DAG); in makeLibCall()
192 bool TargetLowering::findOptimalMemOpLowering( in findOptimalMemOpLowering()
283 void TargetLowering::softenSetCCOperands(SelectionDAG &DAG, EVT VT, in softenSetCCOperands()
293 void TargetLowering::softenSetCCOperands(SelectionDAG &DAG, EVT VT, in softenSetCCOperands()
398 TargetLowering::MakeLibCallOptions CallOptions; in softenSetCCOperands()
435 unsigned TargetLowering::getJumpTableEncoding() const { in getJumpTableEncoding()
448 SDValue TargetLowering::getPICJumpTableRelocBase(SDValue Table, in getPICJumpTableRelocBase()
463 TargetLowering::getPICJumpTableRelocBaseExpr(const MachineFunction *MF, in getPICJumpTableRelocBaseExpr()
470 TargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const { in isOffsetFoldingLegal()
494 bool TargetLowering::ShrinkDemandedConstant(SDValue Op, in ShrinkDemandedConstant()
535 bool TargetLowering::ShrinkDemandedConstant(SDValue Op, in ShrinkDemandedConstant()
548 bool TargetLowering::ShrinkDemandedOp(SDValue Op, unsigned BitWidth, in ShrinkDemandedOp()
570 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in ShrinkDemandedOp()
592 bool TargetLowering::SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, in SimplifyDemandedBits()
607 bool TargetLowering::SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, in SimplifyDemandedBits()
632 SDValue TargetLowering::SimplifyMultipleUseDemandedBits( in SimplifyMultipleUseDemandedBits()
864 SDValue TargetLowering::SimplifyMultipleUseDemandedBits( in SimplifyMultipleUseDemandedBits()
875 SDValue TargetLowering::SimplifyMultipleUseDemandedVectorElts( in SimplifyMultipleUseDemandedVectorElts()
890 bool TargetLowering::SimplifyDemandedBits( in SimplifyDemandedBits()
1427 TargetLowering::ZeroOrOneBooleanContent && in SimplifyDemandedBits()
2297 bool TargetLowering::SimplifyDemandedVectorElts(SDValue Op, in SimplifyDemandedVectorElts()
2364 bool TargetLowering::SimplifyDemandedVectorElts( in SimplifyDemandedVectorElts()
2946 void TargetLowering::computeKnownBitsForTargetNode(const SDValue Op, in computeKnownBitsForTargetNode()
2960 void TargetLowering::computeKnownBitsForTargetInstr( in computeKnownBitsForTargetInstr()
2967 void TargetLowering::computeKnownBitsForFrameIndex( in computeKnownBitsForFrameIndex()
2973 Align TargetLowering::computeKnownAlignForTargetInstr( in computeKnownAlignForTargetInstr()
2981 unsigned TargetLowering::ComputeNumSignBitsForTargetNode(SDValue Op, in ComputeNumSignBitsForTargetNode()
2994 unsigned TargetLowering::computeNumSignBitsForTargetInstr( in computeNumSignBitsForTargetInstr()
3000 bool TargetLowering::SimplifyDemandedVectorEltsForTargetNode( in SimplifyDemandedVectorEltsForTargetNode()
3012 bool TargetLowering::SimplifyDemandedBitsForTargetNode( in SimplifyDemandedBitsForTargetNode()
3025 SDValue TargetLowering::SimplifyMultipleUseDemandedBitsForTargetNode( in SimplifyMultipleUseDemandedBitsForTargetNode()
3039 TargetLowering::buildLegalVectorShuffle(EVT VT, const SDLoc &DL, SDValue N0, in buildLegalVectorShuffle()
3055 const Constant *TargetLowering::getTargetConstantFromLoad(LoadSDNode*) const { in getTargetConstantFromLoad()
3059 bool TargetLowering::isGuaranteedNotToBeUndefOrPoisonForTargetNode( in isGuaranteedNotToBeUndefOrPoisonForTargetNode()
3072 bool TargetLowering::isKnownNeverNaNForTargetNode(SDValue Op, in isKnownNeverNaNForTargetNode()
3088 bool TargetLowering::isConstTrueVal(const SDNode *N) const { in isConstTrueVal()
3122 bool TargetLowering::isConstFalseVal(const SDNode *N) const { in isConstFalseVal()
3146 bool TargetLowering::isExtendedTrueVal(const ConstantSDNode *N, EVT VT, in isExtendedTrueVal()
3151 TargetLowering::BooleanContent Cnt = getBooleanContents(VT); in isExtendedTrueVal()
3153 case TargetLowering::ZeroOrOneBooleanContent: in isExtendedTrueVal()
3157 case TargetLowering::UndefinedBooleanContent: in isExtendedTrueVal()
3158 case TargetLowering::ZeroOrNegativeOneBooleanContent: in isExtendedTrueVal()
3166 SDValue TargetLowering::foldSetCCWithAnd(EVT VT, SDValue N0, SDValue N1, in foldSetCCWithAnd()
3235 SDValue TargetLowering::optimizeSetCCOfSignedTruncationCheck( in optimizeSetCCOfSignedTruncationCheck()
3324 SDValue TargetLowering::optimizeSetCCByHoistingAndByConstFromLogicalShift( in optimizeSetCCByHoistingAndByConstFromLogicalShift()
3337 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in optimizeSetCCByHoistingAndByConstFromLogicalShift()
3397 SDValue TargetLowering::foldSetCCWithBinOp(EVT VT, SDValue N0, SDValue N1, in foldSetCCWithBinOp()
3437 static SDValue simplifySetCCWithCTPOP(const TargetLowering &TLI, EVT VT, in simplifySetCCWithCTPOP()
3507 SDValue TargetLowering::SimplifySetCC(EVT VT, SDValue N0, SDValue N1, in SimplifySetCC()
4096 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in SimplifySetCC()
4407 bool TargetLowering::isGAPlusOffset(SDNode *WN, const GlobalValue *&GA, in isGAPlusOffset()
4437 SDValue TargetLowering::PerformDAGCombine(SDNode *N, in PerformDAGCombine()
4447 TargetLowering::ConstraintType
4448 TargetLowering::getConstraintType(StringRef Constraint) const { in getConstraintType()
4493 const char *TargetLowering::LowerXConstraint(EVT ConstraintVT) const { in LowerXConstraint()
4501 SDValue TargetLowering::LowerAsmOutputForConstraint( in LowerAsmOutputForConstraint()
4509 void TargetLowering::LowerAsmOperandForConstraint(SDValue Op, in LowerAsmOperandForConstraint()
4588 TargetLowering::getRegForInlineAsmConstraint(const TargetRegisterInfo *RI, in getRegForInlineAsmConstraint()
4632 bool TargetLowering::AsmOperandInfo::isMatchingInputConstraint() const { in isMatchingInputConstraint()
4639 unsigned TargetLowering::AsmOperandInfo::getMatchedOperand() const { in getMatchedOperand()
4649 TargetLowering::AsmOperandInfoVector
4650 TargetLowering::ParseConstraints(const DataLayout &DL, in ParseConstraints()
4835 static unsigned getConstraintGenerality(TargetLowering::ConstraintType CT) { in getConstraintGenerality()
4837 case TargetLowering::C_Immediate: in getConstraintGenerality()
4838 case TargetLowering::C_Other: in getConstraintGenerality()
4839 case TargetLowering::C_Unknown: in getConstraintGenerality()
4841 case TargetLowering::C_Register: in getConstraintGenerality()
4843 case TargetLowering::C_RegisterClass: in getConstraintGenerality()
4845 case TargetLowering::C_Memory: in getConstraintGenerality()
4854 TargetLowering::ConstraintWeight
4855 TargetLowering::getMultipleConstraintMatchWeight( in getMultipleConstraintMatchWeight()
4878 TargetLowering::ConstraintWeight
4879 TargetLowering::getSingleConstraintMatchWeight( in getSingleConstraintMatchWeight()
4944 static void ChooseConstraint(TargetLowering::AsmOperandInfo &OpInfo, in ChooseConstraint()
4945 const TargetLowering &TLI, in ChooseConstraint()
4949 TargetLowering::ConstraintType BestType = TargetLowering::C_Unknown; in ChooseConstraint()
4954 TargetLowering::ConstraintType CType = in ChooseConstraint()
4958 if (OpInfo.isIndirect && !(CType == TargetLowering::C_Memory || in ChooseConstraint()
4959 CType == TargetLowering::C_Register || in ChooseConstraint()
4960 CType == TargetLowering::C_RegisterClass)) in ChooseConstraint()
4967 if ((CType == TargetLowering::C_Other || in ChooseConstraint()
4968 CType == TargetLowering::C_Immediate) && Op.getNode()) { in ChooseConstraint()
4983 if (CType == TargetLowering::C_Memory && OpInfo.hasMatchingInput()) in ChooseConstraint()
5001 void TargetLowering::ComputeConstraintToUse(AsmOperandInfo &OpInfo, in ComputeConstraintToUse()
5039 static SDValue BuildExactSDIV(const TargetLowering &TLI, SDNode *N, in BuildExactSDIV()
5105 SDValue TargetLowering::BuildSDIVPow2(SDNode *N, const APInt &Divisor, in BuildSDIVPow2()
5109 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in BuildSDIVPow2()
5119 SDValue TargetLowering::BuildSDIV(SDNode *N, SelectionDAG &DAG, in BuildSDIV()
5267 SDValue TargetLowering::BuildUDIV(SDNode *N, SelectionDAG &DAG, in BuildUDIV()
5463 SDValue TargetLowering::buildUREMEqFold(EVT SETCCVT, SDValue REMNode, in buildUREMEqFold()
5480 TargetLowering::prepareUREMEqFold(EVT SETCCVT, SDValue REMNode, in prepareUREMEqFold()
5706 SDValue TargetLowering::buildSREMEqFold(EVT SETCCVT, SDValue REMNode, in buildSREMEqFold()
5724 TargetLowering::prepareSREMEqFold(EVT SETCCVT, SDValue REMNode, in prepareSREMEqFold()
5976 bool TargetLowering::
5987 SDValue TargetLowering::getSqrtInputTest(SDValue Op, SelectionDAG &DAG, in getSqrtInputTest()
6009 SDValue TargetLowering::getNegatedExpression(SDValue Op, SelectionDAG &DAG, in getNegatedExpression()
6282 bool TargetLowering::expandMUL_LOHI(unsigned Opcode, EVT VT, const SDLoc &dl, in expandMUL_LOHI()
6464 bool TargetLowering::expandMUL(SDNode *N, SDValue &Lo, SDValue &Hi, EVT HiLoVT, in expandMUL()
6488 bool TargetLowering::expandFunnelShift(SDNode *Node, SDValue &Result, in expandFunnelShift()
6576 bool TargetLowering::expandROT(SDNode *Node, bool AllowVectorOps, in expandROT()
6632 void TargetLowering::expandShiftParts(SDNode *Node, SDValue &Lo, SDValue &Hi, in expandShiftParts()
6684 bool TargetLowering::expandFP_TO_SINT(SDNode *Node, SDValue &Result, in expandFP_TO_SINT()
6755 bool TargetLowering::expandFP_TO_UINT(SDNode *Node, SDValue &Result, in expandFP_TO_UINT()
6857 bool TargetLowering::expandUINT_TO_FP(SDNode *Node, SDValue &Result, in expandUINT_TO_FP()
6908 SDValue TargetLowering::expandFMINNUM_FMAXNUM(SDNode *Node, in expandFMINNUM_FMAXNUM()
6973 bool TargetLowering::expandCTPOP(SDNode *Node, SDValue &Result, in expandCTPOP()
7033 bool TargetLowering::expandCTLZ(SDNode *Node, SDValue &Result, in expandCTLZ()
7086 bool TargetLowering::expandCTTZ(SDNode *Node, SDValue &Result, in expandCTTZ()
7141 bool TargetLowering::expandABS(SDNode *N, SDValue &Result, in expandABS()
7197 SDValue TargetLowering::expandBSWAP(SDNode *N, SelectionDAG &DAG) const { in expandBSWAP()
7255 SDValue TargetLowering::expandBITREVERSE(SDNode *N, SelectionDAG &DAG) const { in expandBITREVERSE()
7321 TargetLowering::scalarizeVectorLoad(LoadSDNode *LD, in scalarizeVectorLoad()
7411 SDValue TargetLowering::scalarizeVectorStore(StoreSDNode *ST, in scalarizeVectorStore()
7489 TargetLowering::expandUnalignedLoad(LoadSDNode *LD, SelectionDAG &DAG) const { in expandUnalignedLoad()
7640 SDValue TargetLowering::expandUnalignedStore(StoreSDNode *ST, in expandUnalignedStore()
7766 TargetLowering::IncrementMemoryAddress(SDValue Addr, SDValue Mask, in IncrementMemoryAddress()
7836 SDValue TargetLowering::getVectorElementPointer(SelectionDAG &DAG, in getVectorElementPointer()
7845 SDValue TargetLowering::getVectorSubVecPointer(SelectionDAG &DAG, in getVectorSubVecPointer()
7879 SDValue TargetLowering::LowerToTLSEmulatedModel(const GlobalAddressSDNode *GA, in LowerToTLSEmulatedModel()
7900 TargetLowering::CallLoweringInfo CLI(DAG); in LowerToTLSEmulatedModel()
7916 SDValue TargetLowering::lowerCmpEqZeroToCtlzSrl(SDValue Op, in lowerCmpEqZeroToCtlzSrl()
7944 TargetLowering::getCanonicalIndexType(ISD::MemIndexType IndexType, EVT MemVT, in getCanonicalIndexType()
7960 SDValue TargetLowering::expandIntMINMAX(SDNode *Node, SelectionDAG &DAG) const { in expandIntMINMAX()
8000 SDValue TargetLowering::expandAddSubSat(SDNode *Node, SelectionDAG &DAG) const { in expandAddSubSat()
8087 SDValue TargetLowering::expandShlSat(SDNode *Node, SelectionDAG &DAG) const { in expandShlSat()
8123 TargetLowering::expandFixedPointMul(SDNode *Node, SelectionDAG &DAG) const { in expandFixedPointMul()
8266 TargetLowering::expandFixedPointDiv(unsigned Opcode, const SDLoc &dl, in expandFixedPointDiv()
8352 void TargetLowering::expandUADDSUBO( in expandUADDSUBO()
8381 void TargetLowering::expandSADDSUBO( in expandSADDSUBO()
8421 bool TargetLowering::expandMULO(SDNode *Node, SDValue &Result, in expandMULO()
8517 TargetLowering::MakeLibCallOptions CallOptions; in expandMULO()
8565 SDValue TargetLowering::expandVecReduce(SDNode *Node, SelectionDAG &DAG) const { in expandVecReduce()
8605 SDValue TargetLowering::expandVecReduceSeq(SDNode *Node, SelectionDAG &DAG) const { in expandVecReduceSeq()
8632 bool TargetLowering::expandREM(SDNode *Node, SDValue &Result, in expandREM()
8656 SDValue TargetLowering::expandFP_TO_INT_SAT(SDNode *Node, in expandFP_TO_INT_SAT()
8759 SDValue TargetLowering::expandVectorSplice(SDNode *Node, in expandVectorSplice()
8832 bool TargetLowering::LegalizeSetCCCondCode(SelectionDAG &DAG, EVT VT, in LegalizeSetCCCondCode()
8837 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); in LegalizeSetCCCondCode()
8844 case TargetLowering::Legal: in LegalizeSetCCCondCode()
8847 case TargetLowering::Expand: { in LegalizeSetCCCondCode()