Searched refs:ConstNode (Results 1 – 14 of 14) sorted by relevance
291 ConstantSDNode *ConstNode = cast<ConstantSDNode>(Node); in Select() local294 if (ConstNode->isZero()) { in Select()301 if (ConstNode->isAllOnes()) { in Select()
548 SDValue ConstNode) const override;
694 auto *ConstNode = cast<ConstantSDNode>(Node); in Select() local695 if (VT == XLenVT && ConstNode->isZero()) { in Select()701 int64_t Imm = ConstNode->getSExtValue(); in Select()
14034 if (auto *ConstNode = dyn_cast<ConstantSDNode>(C.getNode())) { in decomposeMulByConstant() local14036 const APInt &Imm = ConstNode->getAPIntValue(); in decomposeMulByConstant()14064 SDValue ConstNode) const { in isMulAddWithConstProfitable()14076 ConstantSDNode *C2Node = cast<ConstantSDNode>(ConstNode); in isMulAddWithConstProfitable()
715 SDValue ConstNode) const override;
19528 SDValue ConstNode) const { in isMulAddWithConstProfitable()19537 const ConstantSDNode *C1Node = cast<ConstantSDNode>(ConstNode); in isMulAddWithConstProfitable()
644 SDValue ConstNode) const override;
4195 ConstantSDNode *ConstNode = cast<ConstantSDNode>(Node); in Select() local4196 if (ConstNode->isZero()) { in Select()
14788 SDValue AddNode, SDValue ConstNode) const { in isMulAddWithConstProfitable()14797 const ConstantSDNode *C2Node = cast<ConstantSDNode>(ConstNode); in isMulAddWithConstProfitable()
3103 if (auto *ConstNode = dyn_cast<ConstantSDNode>(C.getNode())) { in decomposeMulByConstant() local3104 const APInt &Imm = ConstNode->getAPIntValue(); in decomposeMulByConstant()
16922 if (auto *ConstNode = dyn_cast<ConstantSDNode>(C.getNode())) { in decomposeMulByConstant() local16923 if (!ConstNode->getAPIntValue().isSignedIntN(64)) in decomposeMulByConstant()16931 int64_t Imm = ConstNode->getSExtValue(); in decomposeMulByConstant()17386 ConstantSDNode* ConstNode = dyn_cast<ConstantSDNode>(RHS); in combineADDToMAT_PCREL_ADDR() local17389 if (!GSDN || !ConstNode) in combineADDToMAT_PCREL_ADDR()17392 int64_t NewOffset = GSDN->getOffset() + ConstNode->getSExtValue(); in combineADDToMAT_PCREL_ADDR()17466 ConstantSDNode *ConstNode = dyn_cast<ConstantSDNode>(Op0.getOperand(1)); in combineTRUNCATE() local17468 if (!ConstNode || ConstNode->getZExtValue() != 64) in combineTRUNCATE()
2254 SDValue ConstNode) const { in isMulAddWithConstProfitable() argument
690 SDValue ConstNode);18451 SDValue ConstNode) { in isMulAddWithConstProfitable() argument18457 TLI.isMulAddWithConstProfitable(AddNode, ConstNode)) in isMulAddWithConstProfitable()18461 for (SDNode *Use : ConstNode->uses()) { in isMulAddWithConstProfitable()18470 if (Use->getOperand(0) == ConstNode) in isMulAddWithConstProfitable()
50406 auto *ConstNode = dyn_cast<ConstantSDNode>(Op); in getOneTrueElt() local50407 if (!ConstNode) in getOneTrueElt()50409 if (ConstNode->getAPIntValue().countTrailingOnes() >= 1) { in getOneTrueElt()