Lines Matching refs:Const
1880 if (auto Const = dyn_cast<ConstantSDNode>(Op.getOperand(1)))
1881 return Const->getZExtValue() == 16;
1888 if (auto Const = dyn_cast<ConstantSDNode>(Op.getOperand(1)))
1889 return Const->getZExtValue() == 16;
1896 if (auto Const = dyn_cast<ConstantSDNode>(Op.getOperand(1)))
1897 return Const->getZExtValue() == 16;
2394 SDValue Const = DAG.getConstant(4*i, dl, MVT::i32);
2395 SDValue AddArg = DAG.getNode(ISD::ADD, dl, PtrVT, Arg, Const);
11753 if (auto Const = dyn_cast<ConstantSDNode>(SRA.getOperand(1))) {
11754 if (Const->getZExtValue() != 31)
12129 ConstantSDNode *Const =
12132 if (!Const || !Const->isOne())
12284 if (auto *Const = dyn_cast<ConstantSDNode>(N1->getOperand(1))) {
12285 if (Const->getAPIntValue().ult(256))
12287 if (N1->getOpcode() == ISD::ADD && Const->getAPIntValue().slt(0) &&
12288 Const->getAPIntValue().sgt(-256))
15525 auto *Const = dyn_cast<ConstantSDNode>(N.getOperand(1));
15526 if (!Const)
15528 if (Const->isNullValue())
15530 else if (Const->isOne())
15579 if (auto *Const = dyn_cast<ConstantSDNode>(N->getOperand(3))) {
15580 if (!Const->isOne() && !Const->isNullValue())
15582 Imm = Const->getZExtValue();