Searched refs:CInt (Results 1 – 11 of 11) sorted by relevance
155 ConstantInt *CInt = dyn_cast<ConstantInt>(BinOp->getOperand(1)); in handlePhiDef() local156 if (!CInt) in handlePhiDef()
563 auto *CInt = dyn_cast<ConstantInt>(II.getArgOperand(2)); in simplifyX86insertps() local564 if (!CInt) in simplifyX86insertps()575 uint8_t Imm = CInt->getZExtValue(); in simplifyX86insertps()
6595 if (auto *CInt = dyn_cast<ConstantInt>(Cst)) { in getTargetConstantBitsFromNode() local6596 Mask = CInt->getValue(); in getTargetConstantBitsFromNode()
1810 const APInt &CInt = C->getAPIntValue(); in getPowerOf2Factor() local1811 if (CInt.getBoolValue()) in getPowerOf2Factor()1812 MaxFactor = CInt.countTrailingZeros(); in getPowerOf2Factor()
683 const APInt *CInt; in tryFactorization() local684 if (match(V, m_APInt(CInt))) { in tryFactorization()685 if (!CInt->isMinSignedValue()) in tryFactorization()
3977 ConstantInt *CInt = dyn_cast<ConstantInt>(I->getOperand(OpIdx)); in getEntryCost() local3978 if (!CInt) { in getEntryCost()3984 !CInt->getValue().isPowerOf2()) in getEntryCost()3987 CInt0 = CInt; in getEntryCost()3990 if (CInt0 != CInt) in getEntryCost()
4937 auto *CInt = dyn_cast<ConstantInt>(Divisor); in mayDivideByZero() local4938 return !CInt || CInt->isZero(); in mayDivideByZero()
2307 if (ConstantInt *CInt = dyn_cast<ConstantInt>(CI->getArgOperand(2))) { in optimizeStrtol() local2308 return convertStrToNumber(CI, Str, CInt->getSExtValue()); in optimizeStrtol()
3217 if (auto *CInt = dyn_cast<ConstantInt>(Elt)) { in computeKnownBits() local3218 const APInt &Value = CInt->getValue(); in computeKnownBits()3235 if (auto *CInt = dyn_cast<ConstantInt>(Cst)) { in computeKnownBits() local3236 Known = KnownBits::makeConstant(CInt->getValue()); in computeKnownBits()4201 if (auto *CInt = dyn_cast<ConstantInt>(Elt)) { in ComputeNumSignBits() local4202 const APInt &Value = CInt->getValue(); in ComputeNumSignBits()
3558 const APInt &CInt = C->getAPIntValue(); in skipExtensionForVectorMULL() local3561 Ops.push_back(DAG.getConstant(CInt.zextOrTrunc(32), dl, MVT::i32)); in skipExtensionForVectorMULL()
8954 const APInt &CInt = C->getAPIntValue(); in SkipExtensionForVMULL() local8957 Ops.push_back(DAG.getConstant(CInt.zextOrTrunc(32), dl, MVT::i32)); in SkipExtensionForVMULL()