Searched refs:TypeWidth (Results 1 – 4 of 4) sorted by relevance
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/ |
| H A D | InitPreprocessor.cpp | 166 static void DefineTypeSize(const Twine &MacroName, unsigned TypeWidth, in DefineTypeSize() argument 169 llvm::APInt MaxVal = isSigned ? llvm::APInt::getSignedMaxValue(TypeWidth) in DefineTypeSize() 170 : llvm::APInt::getMaxValue(TypeWidth); in DefineTypeSize() 211 int TypeWidth = TI.getTypeWidth(Ty); in DefineExactWidthIntType() local 216 if (TypeWidth == 64) in DefineExactWidthIntType() 221 if (TypeWidth == 16) in DefineExactWidthIntType() 226 DefineType(Prefix + Twine(TypeWidth) + "_TYPE__", Ty, Builder); in DefineExactWidthIntType() 227 DefineFmt(Prefix + Twine(TypeWidth), Ty, TI, Builder); in DefineExactWidthIntType() 230 Builder.defineMacro(Prefix + Twine(TypeWidth) + "_C_SUFFIX__", ConstSuffix); in DefineExactWidthIntType() 236 int TypeWidth = TI.getTypeWidth(Ty); in DefineExactWidthIntTypeSize() local [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineShifts.cpp | 460 unsigned TypeWidth = InnerShift->getType()->getScalarSizeInBits(); in canEvaluateShiftedShift() local 461 if (InnerShiftConst->ugt(OuterShAmt) && InnerShiftConst->ult(TypeWidth)) { in canEvaluateShiftedShift() 464 IsInnerShl ? TypeWidth - InnerShAmt : InnerShAmt - OuterShAmt; in canEvaluateShiftedShift() 465 APInt Mask = APInt::getLowBitsSet(TypeWidth, OuterShAmt) << MaskShift; in canEvaluateShiftedShift() 536 unsigned TypeWidth = ShType->getScalarSizeInBits(); in foldShiftedShift() local 560 if (InnerShAmt + OuterShAmt >= TypeWidth) in foldShiftedShift() 571 ? APInt::getLowBitsSet(TypeWidth, TypeWidth - OuterShAmt) in foldShiftedShift() 572 : APInt::getHighBitsSet(TypeWidth, TypeWidth - OuterShAmt); in foldShiftedShift()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
| H A D | SimpleSValBuilder.cpp | 162 uint64_t TypeWidth = Ctx.getTypeSize(SymbolType); in MakeSymIntVal() local 164 if (ValWidth < TypeWidth) { in MakeSymIntVal() 167 } else if (ValWidth == TypeWidth) { in MakeSymIntVal()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaDecl.cpp | 16612 uint64_t TypeWidth = Context.getIntWidth(FieldTy); in VerifyBitField() local 16613 bool BitfieldIsOverwide = Value.ugt(TypeWidth); in VerifyBitField() 16624 CStdConstraintViolation ? TypeWidth : TypeStorageSize; in VerifyBitField() 16641 << (unsigned)TypeWidth; in VerifyBitField()
|