Lines Matching refs:ConstantInt
950 static bool tryMergeRange(SmallVectorImpl<ConstantInt *> &EndPoints,
951 ConstantInt *Low, ConstantInt *High) {
961 cast<ConstantInt>(ConstantInt::get(Ty, Union.getLower()));
963 cast<ConstantInt>(ConstantInt::get(Ty, Union.getUpper()));
969 static void addRange(SmallVectorImpl<ConstantInt *> &EndPoints,
970 ConstantInt *Low, ConstantInt *High) {
992 SmallVector<ConstantInt *, 4> EndPoints;
998 ConstantInt *ALow = mdconst::extract<ConstantInt>(A->getOperand(2 * AI));
999 ConstantInt *BLow = mdconst::extract<ConstantInt>(B->getOperand(2 * BI));
1003 mdconst::extract<ConstantInt>(A->getOperand(2 * AI + 1)));
1007 mdconst::extract<ConstantInt>(B->getOperand(2 * BI + 1)));
1012 addRange(EndPoints, mdconst::extract<ConstantInt>(A->getOperand(2 * AI)),
1013 mdconst::extract<ConstantInt>(A->getOperand(2 * AI + 1)));
1017 addRange(EndPoints, mdconst::extract<ConstantInt>(B->getOperand(2 * BI)),
1018 mdconst::extract<ConstantInt>(B->getOperand(2 * BI + 1)));
1026 ConstantInt *FB = EndPoints[0];
1027 ConstantInt *FE = EndPoints[1];
1055 ConstantInt *AVal = mdconst::extract<ConstantInt>(A->getOperand(0));
1056 ConstantInt *BVal = mdconst::extract<ConstantInt>(B->getOperand(0));
1328 auto *CITrue = mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(1));
1329 auto *CIFalse = mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(2));
1359 auto *V = mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(i));
1367 TotalVal = mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(2))
1459 auto *OffsetConst = cast<ConstantInt>(
1462 auto *NewOffsetMD = ConstantAsMetadata::get(ConstantInt::get(
1498 {ConstantAsMetadata::get(ConstantInt::get(
1509 {ConstantAsMetadata::get(ConstantInt::get(
1515 uint64_t Val = cast<ConstantInt>(