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

  /external/clang/lib/Frontend/
InitPreprocessor.cpp 181 /// named MacroName with the max value for a type with width 'TypeWidth' a
183 static void DefineTypeSize(const Twine &MacroName, unsigned TypeWidth,
186 llvm::APInt MaxVal = isSigned ? llvm::APInt::getSignedMaxValue(TypeWidth)
187 : llvm::APInt::getMaxValue(TypeWidth);
218 int TypeWidth = TI.getTypeWidth(Ty);
223 if (TypeWidth == 64)
228 DefineType(Prefix + Twine(TypeWidth) + "_TYPE__", Ty, Builder);
232 Builder.defineMacro(Prefix + Twine(TypeWidth) + "_C_SUFFIX__", ConstSuffix);
239 int TypeWidth = TI.getTypeWidth(Ty);
244 if (TypeWidth == 64
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineShifts.cpp 128 unsigned TypeWidth = I->getType()->getScalarSizeInBits();
133 unsigned LowBits = TypeWidth - CI->getZExtValue();
135 APInt::getLowBitsSet(TypeWidth, NumBits) << LowBits))
152 unsigned TypeWidth = I->getType()->getScalarSizeInBits();
156 if (CI->getValue().ult(TypeWidth) && CI->getZExtValue() > NumBits) {
159 APInt::getLowBitsSet(TypeWidth, NumBits) << LowBits))
215 unsigned TypeWidth = BO->getType()->getScalarSizeInBits();
224 if (NewShAmt >= TypeWidth)
236 APInt Mask(APInt::getLowBitsSet(TypeWidth, TypeWidth - NumBits))
    [all...]
  /external/clang/lib/StaticAnalyzer/Core/
SimpleSValBuilder.cpp 286 uint64_t TypeWidth = Ctx.getTypeSize(SymbolType);
288 if (ValWidth < TypeWidth) {
291 } else if (ValWidth == TypeWidth) {
    [all...]

Completed in 68 milliseconds