Lines Matching defs:CN
211 if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(NotZero)) {
212 if (CN->getAPIntValue().countr_one() < EltSize)
255 if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(Op)) {
256 if (CN->getAPIntValue().countr_zero() < EltSize)
11997 if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(N))
11998 return CN;
12004 if (auto *CN = dyn_cast<ConstantSDNode>(N->getOperand(0))) {
12005 EVT CVT = CN->getValueType(0);
12008 return CN;
12014 ConstantSDNode *CN = BV->getConstantSplatNode(DemandedElts, &UndefElements);
12019 if (CN && (UndefElements.none() || AllowUndefs)) {
12020 EVT CVT = CN->getValueType(0);
12024 return CN;
12042 if (ConstantFPSDNode *CN = dyn_cast<ConstantFPSDNode>(N))
12043 return CN;
12047 ConstantFPSDNode *CN =
12050 if (CN && (UndefElements.none() || AllowUndefs))
12051 return CN;
12055 if (ConstantFPSDNode *CN = dyn_cast<ConstantFPSDNode>(N.getOperand(0)))
12056 return CN;
12756 else if (auto *CN = dyn_cast<ConstantSDNode>(OpVal))
12757 SplatValue.insertBits(CN->getAPIntValue().zextOrTrunc(EltWidth), BitPos);
12758 else if (auto *CN = dyn_cast<ConstantFPSDNode>(OpVal))
12759 SplatValue.insertBits(CN->getValueAPF().bitcastToAPInt(), BitPos);
12920 if (ConstantFPSDNode *CN =
12924 const APFloat &APF = CN->getValueAPF();