Searched refs:TypeWidth (Results 1 – 2 of 2) sorted by relevance
125 unsigned TypeWidth = I->getType()->getScalarSizeInBits(); in CanEvaluateShifted() local130 unsigned LowBits = TypeWidth - CI->getZExtValue(); in CanEvaluateShifted()132 APInt::getLowBitsSet(TypeWidth, NumBits) << LowBits)) in CanEvaluateShifted()149 unsigned TypeWidth = I->getType()->getScalarSizeInBits(); in CanEvaluateShifted() local156 APInt::getLowBitsSet(TypeWidth, NumBits) << LowBits)) in CanEvaluateShifted()210 unsigned TypeWidth = I->getType()->getScalarSizeInBits(); in GetShiftedValue() local219 if (NewShAmt >= TypeWidth) in GetShiftedValue()229 APInt Mask(APInt::getLowBitsSet(TypeWidth, TypeWidth - NumBits)); in GetShiftedValue()247 unsigned TypeWidth = I->getType()->getScalarSizeInBits(); in GetShiftedValue() local255 if (NewShAmt >= TypeWidth) in GetShiftedValue()[all …]
175 static void DefineTypeSize(llvm::StringRef MacroName, unsigned TypeWidth, in DefineTypeSize() argument178 llvm::APInt MaxVal = isSigned ? llvm::APInt::getSignedMaxValue(TypeWidth) in DefineTypeSize()179 : llvm::APInt::getMaxValue(TypeWidth); in DefineTypeSize()209 int TypeWidth = TI.getTypeWidth(Ty); in DefineExactWidthIntType() local213 if (TypeWidth == 64) in DefineExactWidthIntType()216 DefineType("__INT" + llvm::Twine(TypeWidth) + "_TYPE__", Ty, Builder); in DefineExactWidthIntType()220 Builder.defineMacro("__INT" + llvm::Twine(TypeWidth) + "_C_SUFFIX__", in DefineExactWidthIntType()