Home | History | Annotate | Download | only in Frontend

Lines Matching defs:IsSigned

183 /// signedness of 'isSigned' and with a value suffix of 'ValSuffix' (e.g. LL).
185 StringRef ValSuffix, bool isSigned,
187 llvm::APInt MaxVal = isSigned ? llvm::APInt::getSignedMaxValue(TypeWidth)
189 Builder.defineMacro(MacroName, MaxVal.toString(10, isSigned) + ValSuffix);
202 bool IsSigned = TI.isTypeSigned(Ty);
204 for (const char *Fmt = IsSigned ? "di" : "ouxX"; *Fmt; ++Fmt) {
230 bool IsSigned = TI.isTypeSigned(Ty);
235 Ty = IsSigned ? TI.getInt64Type() : TI.getUInt64Type();
237 const char *Prefix = IsSigned ? "__INT" : "__UINT";
250 bool IsSigned = TI.isTypeSigned(Ty);
255 Ty = IsSigned ? TI.getInt64Type() : TI.getUInt64Type();
257 const char *Prefix = IsSigned ? "__INT" : "__UINT";
261 static void DefineLeastWidthIntType(unsigned TypeWidth, bool IsSigned,
264 TargetInfo::IntType Ty = TI.getLeastIntTypeByWidth(TypeWidth, IsSigned);
268 const char *Prefix = IsSigned ? "__INT_LEAST" : "__UINT_LEAST";
274 static void DefineFastIntType(unsigned TypeWidth, bool IsSigned,
278 TargetInfo::IntType Ty = TI.getLeastIntTypeByWidth(TypeWidth, IsSigned);
282 const char *Prefix = IsSigned ? "__INT_FAST" : "__UINT_FAST";