Lines Matching refs:Const
3516 if (ConstantSDNode *Const = dyn_cast<ConstantSDNode>(Val))
3517 return Const->getAPIntValue().zextOrTrunc(BitWidth).isPowerOf2();
8957 ConstantSDNode *Const = dyn_cast<ConstantSDNode>(V);
8958 return Const != nullptr && Const->isNullValue();
8962 ConstantFPSDNode *Const = dyn_cast<ConstantFPSDNode>(V);
8963 return Const != nullptr && Const->isZero() && !Const->isNegative();
8967 ConstantSDNode *Const = dyn_cast<ConstantSDNode>(V);
8968 return Const != nullptr && Const->isAllOnesValue();
8972 ConstantSDNode *Const = dyn_cast<ConstantSDNode>(V);
8973 return Const != nullptr && Const->isOne();