Lines Matching defs:IsSigned
182 /// signedness of 'isSigned' and with a value suffix of 'ValSuffix' (e.g. LL).
184 StringRef ValSuffix, bool isSigned,
186 llvm::APInt MaxVal = isSigned ? llvm::APInt::getSignedMaxValue(TypeWidth)
188 Builder.defineMacro(MacroName, MaxVal.toString(10, isSigned) + ValSuffix);
219 bool IsSigned = TI.isTypeSigned(Ty);
224 Ty = IsSigned ? TI.getInt64Type() : TI.getIntTypeByWidth(64, false);
226 const char *Prefix = IsSigned ? "__INT" : "__UINT";
240 bool IsSigned = TI.isTypeSigned(Ty);
245 Ty = IsSigned ? TI.getInt64Type() : TI.getIntTypeByWidth(64, false);
247 const char *Prefix = IsSigned ? "__INT" : "__UINT";
251 static void DefineLeastWidthIntType(unsigned TypeWidth, bool IsSigned,
254 TargetInfo::IntType Ty = TI.getLeastIntTypeByWidth(TypeWidth, IsSigned);
258 const char *Prefix = IsSigned ? "__INT_LEAST" : "__UINT_LEAST";
263 static void DefineFastIntType(unsigned TypeWidth, bool IsSigned,
267 TargetInfo::IntType Ty = TI.getLeastIntTypeByWidth(TypeWidth, IsSigned);
271 const char *Prefix = IsSigned ? "__INT_FAST" : "__UINT_FAST";