Lines Matching defs:TypeWidth
181 /// named MacroName with the max value for a type with width 'TypeWidth' a
183 static void DefineTypeSize(StringRef MacroName, unsigned TypeWidth,
186 llvm::APInt MaxVal = isSigned ? llvm::APInt::getSignedMaxValue(TypeWidth)
187 : llvm::APInt::getMaxValue(TypeWidth);
217 int TypeWidth = TI.getTypeWidth(Ty);
221 if (TypeWidth == 64)
224 DefineType("__INT" + Twine(TypeWidth) + "_TYPE__", Ty, Builder);
228 Builder.defineMacro("__INT" + Twine(TypeWidth) + "_C_SUFFIX__",
234 static const char *getLockFreeValue(unsigned TypeWidth, unsigned TypeAlign,
238 if (TypeWidth == TypeAlign && (TypeWidth & (TypeWidth - 1)) == 0 &&
239 TypeWidth <= InlineWidth)