Lines Matching refs:ConstantInt
949 static bool tryMergeRange(SmallVectorImpl<ConstantInt *> &EndPoints, in tryMergeRange()
950 ConstantInt *Low, ConstantInt *High) { in tryMergeRange()
960 cast<ConstantInt>(ConstantInt::get(Ty, Union.getLower())); in tryMergeRange()
962 cast<ConstantInt>(ConstantInt::get(Ty, Union.getUpper())); in tryMergeRange()
968 static void addRange(SmallVectorImpl<ConstantInt *> &EndPoints, in addRange()
969 ConstantInt *Low, ConstantInt *High) { in addRange()
991 SmallVector<ConstantInt *, 4> EndPoints; in getMostGenericRange()
997 ConstantInt *ALow = mdconst::extract<ConstantInt>(A->getOperand(2 * AI)); in getMostGenericRange()
998 ConstantInt *BLow = mdconst::extract<ConstantInt>(B->getOperand(2 * BI)); in getMostGenericRange()
1002 mdconst::extract<ConstantInt>(A->getOperand(2 * AI + 1))); in getMostGenericRange()
1006 mdconst::extract<ConstantInt>(B->getOperand(2 * BI + 1))); in getMostGenericRange()
1011 addRange(EndPoints, mdconst::extract<ConstantInt>(A->getOperand(2 * AI)), in getMostGenericRange()
1012 mdconst::extract<ConstantInt>(A->getOperand(2 * AI + 1))); in getMostGenericRange()
1016 addRange(EndPoints, mdconst::extract<ConstantInt>(B->getOperand(2 * BI)), in getMostGenericRange()
1017 mdconst::extract<ConstantInt>(B->getOperand(2 * BI + 1))); in getMostGenericRange()
1025 ConstantInt *FB = EndPoints[0]; in getMostGenericRange()
1026 ConstantInt *FE = EndPoints[1]; in getMostGenericRange()
1054 ConstantInt *AVal = mdconst::extract<ConstantInt>(A->getOperand(0)); in getMostGenericAlignmentOrDereferenceable()
1055 ConstantInt *BVal = mdconst::extract<ConstantInt>(B->getOperand(0)); in getMostGenericAlignmentOrDereferenceable()
1329 auto *CITrue = mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(1)); in extractProfMetadata()
1330 auto *CIFalse = mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(2)); in extractProfMetadata()
1360 auto *V = mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(i)); in extractProfTotalWeight()
1368 TotalVal = mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(2)) in extractProfTotalWeight()
1460 auto *OffsetConst = cast<ConstantInt>( in copyMetadata()
1463 auto *NewOffsetMD = ConstantAsMetadata::get(ConstantInt::get( in copyMetadata()
1499 {ConstantAsMetadata::get(ConstantInt::get( in addTypeMetadata()