Lines Matching refs:IsSigned
165 /// signedness of 'isSigned' and with a value suffix of 'ValSuffix' (e.g. LL).
167 StringRef ValSuffix, bool isSigned,
169 llvm::APInt MaxVal = isSigned ? llvm::APInt::getSignedMaxValue(TypeWidth)
171 Builder.defineMacro(MacroName, MaxVal.toString(10, isSigned) + ValSuffix);
184 bool IsSigned = TI.isTypeSigned(Ty);
186 for (const char *Fmt = IsSigned ? "di" : "ouxX"; *Fmt; ++Fmt) {
212 bool IsSigned = TI.isTypeSigned(Ty);
217 Ty = IsSigned ? TI.getInt64Type() : TI.getUInt64Type();
222 Ty = IsSigned ? TI.getInt16Type() : TI.getUInt16Type();
224 const char *Prefix = IsSigned ? "__INT" : "__UINT";
237 bool IsSigned = TI.isTypeSigned(Ty);
242 Ty = IsSigned ? TI.getInt64Type() : TI.getUInt64Type();
244 const char *Prefix = IsSigned ? "__INT" : "__UINT";
248 static void DefineLeastWidthIntType(unsigned TypeWidth, bool IsSigned,
251 TargetInfo::IntType Ty = TI.getLeastIntTypeByWidth(TypeWidth, IsSigned);
255 const char *Prefix = IsSigned ? "__INT_LEAST" : "__UINT_LEAST";
261 static void DefineFastIntType(unsigned TypeWidth, bool IsSigned,
265 TargetInfo::IntType Ty = TI.getLeastIntTypeByWidth(TypeWidth, IsSigned);
269 const char *Prefix = IsSigned ? "__INT_FAST" : "__UINT_FAST";