Lines Matching refs:ConstantSDNode

80   int32_t Inc = cast<ConstantSDNode>(Offset.getNode())->getSExtValue();  in INITIALIZE_PASS()
215 auto Inc = cast<ConstantSDNode>(IntN->getOperand(5)); in LoadInstrForLoadIntrinsic()
400 auto Inc = cast<ConstantSDNode>(IntN->getOperand(3)); in SelectNewCircIntrinsic()
435 auto Inc = cast<ConstantSDNode>(IntN->getOperand(3)); in SelectNewCircIntrinsic()
479 int32_t Inc = cast<ConstantSDNode>(Offset.getNode())->getSExtValue(); in SelectIndexedStore()
589 int32_t ShlConst = cast<ConstantSDNode>(Shl_1)->getSExtValue(); in SelectSHL()
595 if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(Mul_1)) { in SelectSHL()
611 if (ConstantSDNode *C1 = dyn_cast<ConstantSDNode>(Sub_0)) { in SelectSHL()
616 if (ConstantSDNode *C2 = dyn_cast<ConstantSDNode>(Shl2_1)) { in SelectSHL()
751 unsigned Opc = (cast<ConstantSDNode>(N)->getSExtValue() != 0) in SelectConstant()
849 int Mask = -cast<ConstantSDNode>(A.getNode())->getSExtValue(); in SelectVAlignAddr()
1189 ConstantSDNode *CN = dyn_cast<ConstantSDNode>(C.getNode()); in ppAddrReorderAddShl()
1196 ConstantSDNode *EN = dyn_cast<ConstantSDNode>(T2.getNode()); in ppAddrReorderAddShl()
1251 ConstantSDNode *SN = dyn_cast<ConstantSDNode>(S.getOperand(1).getNode()); in ppAddrRewriteAndSrl()
1259 ConstantSDNode *MN = dyn_cast<ConstantSDNode>(T0.getOperand(1).getNode()); in ppAddrRewriteAndSrl()
1493 if (!T.isInteger() || T.getSizeInBits() != 32 || !isa<ConstantSDNode>(N)) in SelectAnyInt()
1495 int32_t V = cast<const ConstantSDNode>(N)->getZExtValue(); in SelectAnyInt()
1506 int32_t V = cast<const ConstantSDNode>(N)->getZExtValue(); in SelectAnyImmediate()
1552 if (ConstantSDNode *Const = dyn_cast<ConstantSDNode>(N1)) { in SelectGlobalAddress()
1636 auto *S = dyn_cast<ConstantSDNode>(N.getOperand(1)); in DetectUseSxtw()
1692 if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(Val.getOperand(0))) { in keepsLowBits()
1698 if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(Val.getOperand(1))) { in keepsLowBits()
1710 if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(Val.getOperand(0))) { in keepsLowBits()
1716 if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(Val.getOperand(1))) { in keepsLowBits()
1750 if (const ConstantSDNode *CN = dyn_cast<const ConstantSDNode>(N)) { in isPositiveHalfWord()
1776 return isa<ConstantSDNode>(N->getOperand(1).getNode()); in isOpcodeHandled()
1859 if (!HaveConst && SeparateConst && isa<ConstantSDNode>(L.Value)) { in push()
1861 cast<ConstantSDNode>(L.Value)->getSExtValue() == 1) in push()
1864 cast<ConstantSDNode>(L.Value)->getSExtValue() == 0) in push()
1901 !isa<ConstantSDNode>(Val.getOperand(1)) || in findSHL()
1928 !isa<ConstantSDNode>(Val.getOperand(1)) || in findMULbyConst()
1958 ConstantSDNode *C = dyn_cast<ConstantSDNode>(Val.getOperand(i)); in getPowerOf2Factor()
1968 if (!isa<ConstantSDNode>(Val.getOperand(1).getNode())) in getPowerOf2Factor()
1981 if (isa<ConstantSDNode>(Ops[i].getNode()) && in willShiftRightEliminate()
1997 if (isa<ConstantSDNode>(Ops[i].getNode()) && in factorOutPowerOf2()
2246 ConstantSDNode *Offset = cast<ConstantSDNode>(Leaves.top().Value); in balanceSubTree()
2327 ConstantSDNode *V0C = dyn_cast<ConstantSDNode>(V0); in balanceSubTree()
2328 ConstantSDNode *V1C = dyn_cast<ConstantSDNode>(V1); in balanceSubTree()
2370 ConstantSDNode *V1C = dyn_cast<ConstantSDNode>(NewRoot.getOperand(1)); in balanceSubTree()