HomeSort by relevance Sort by last modified time
    Searched refs:TypeWidth (Results 1 - 2 of 2) sorted by null

  /external/llvm/lib/Transforms/InstCombine/
InstCombineShifts.cpp 126 unsigned TypeWidth = I->getType()->getScalarSizeInBits();
131 unsigned LowBits = TypeWidth - CI->getZExtValue();
133 APInt::getLowBitsSet(TypeWidth, NumBits) << LowBits))
150 unsigned TypeWidth = I->getType()->getScalarSizeInBits();
157 APInt::getLowBitsSet(TypeWidth, NumBits) << LowBits))
213 unsigned TypeWidth = BO->getType()->getScalarSizeInBits();
222 if (NewShAmt >= TypeWidth)
234 APInt Mask(APInt::getLowBitsSet(TypeWidth, TypeWidth - NumBits));
255 unsigned TypeWidth = BO->getType()->getScalarSizeInBits()
    [all...]
  /external/clang/lib/Frontend/
InitPreprocessor.cpp 154 /// named MacroName with the max value for a type with width 'TypeWidth' a
156 static void DefineTypeSize(StringRef MacroName, unsigned TypeWidth,
159 llvm::APInt MaxVal = isSigned ? llvm::APInt::getSignedMaxValue(TypeWidth)
160 : llvm::APInt::getMaxValue(TypeWidth);
190 int TypeWidth = TI.getTypeWidth(Ty);
194 if (TypeWidth == 64)
197 DefineType("__INT" + Twine(TypeWidth) + "_TYPE__", Ty, Builder);
201 Builder.defineMacro("__INT" + Twine(TypeWidth) + "_C_SUFFIX__",
207 static const char *getLockFreeValue(unsigned TypeWidth, unsigned TypeAlign,
211 if (TypeWidth == TypeAlign && (TypeWidth & (TypeWidth - 1)) == 0 &
    [all...]

Completed in 108 milliseconds