Searched refs:ConstNode (Results 1 – 13 of 13) sorted by relevance
287 ConstantSDNode *ConstNode = cast<ConstantSDNode>(Node); in Select() local290 if (ConstNode->isZero()) { in Select()297 if (ConstNode->isAllOnes()) { in Select()
532 SDValue ConstNode) const override;
599 auto *ConstNode = cast<ConstantSDNode>(Node); in Select() local600 if (VT == XLenVT && ConstNode->isZero()) { in Select()606 int64_t Imm = ConstNode->getSExtValue(); in Select()
12317 if (auto *ConstNode = dyn_cast<ConstantSDNode>(C.getNode())) { in decomposeMulByConstant() local12319 const APInt &Imm = ConstNode->getAPIntValue(); in decomposeMulByConstant()12347 SDValue ConstNode) const { in isMulAddWithConstProfitable()12359 ConstantSDNode *C2Node = cast<ConstantSDNode>(ConstNode); in isMulAddWithConstProfitable()
718 SDValue ConstNode) const override;
19463 SDValue ConstNode) const { in isMulAddWithConstProfitable()19472 const ConstantSDNode *C1Node = cast<ConstantSDNode>(ConstNode); in isMulAddWithConstProfitable()
620 SDValue ConstNode) const override;
3639 ConstantSDNode *ConstNode = cast<ConstantSDNode>(Node); in Select() local3640 if (ConstNode->isZero()) { in Select()
13493 SDValue AddNode, SDValue ConstNode) const { in isMulAddWithConstProfitable()13502 const ConstantSDNode *C2Node = cast<ConstantSDNode>(ConstNode); in isMulAddWithConstProfitable()
16699 if (auto *ConstNode = dyn_cast<ConstantSDNode>(C.getNode())) { in decomposeMulByConstant() local16700 if (!ConstNode->getAPIntValue().isSignedIntN(64)) in decomposeMulByConstant()16708 int64_t Imm = ConstNode->getSExtValue(); in decomposeMulByConstant()17152 ConstantSDNode* ConstNode = dyn_cast<ConstantSDNode>(RHS); in combineADDToMAT_PCREL_ADDR() local17155 if (!GSDN || !ConstNode) in combineADDToMAT_PCREL_ADDR()17158 int64_t NewOffset = GSDN->getOffset() + ConstNode->getSExtValue(); in combineADDToMAT_PCREL_ADDR()17232 ConstantSDNode *ConstNode = dyn_cast<ConstantSDNode>(Op0.getOperand(1)); in combineTRUNCATE() local17234 if (!ConstNode || ConstNode->getZExtValue() != 64) in combineTRUNCATE()
2188 SDValue ConstNode) const { in isMulAddWithConstProfitable() argument
673 SDValue ConstNode);17797 SDValue ConstNode) { in isMulAddWithConstProfitable() argument17803 TLI.isMulAddWithConstProfitable(AddNode, ConstNode)) in isMulAddWithConstProfitable()17807 for (SDNode *Use : ConstNode->uses()) { in isMulAddWithConstProfitable()17816 if (Use->getOperand(0) == ConstNode) in isMulAddWithConstProfitable()
49083 auto *ConstNode = dyn_cast<ConstantSDNode>(Op); in getOneTrueElt() local49084 if (!ConstNode) in getOneTrueElt()49086 if (ConstNode->getAPIntValue().countTrailingOnes() >= 1) { in getOneTrueElt()