Searched refs:TypeWidth (Results 1 – 4 of 4) sorted by relevance
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/ |
| H A D | InitPreprocessor.cpp | 211 int TypeWidth = TI.getTypeWidth(Ty); in DefineExactWidthIntType() local 216 if (TypeWidth == 64) in DefineExactWidthIntType() 221 DefineType(Prefix + Twine(TypeWidth) + "_TYPE__", Ty, Builder); in DefineExactWidthIntType() 222 DefineFmt(Prefix + Twine(TypeWidth), Ty, TI, Builder); in DefineExactWidthIntType() 231 int TypeWidth = TI.getTypeWidth(Ty); in DefineExactWidthIntTypeSize() local 236 if (TypeWidth == 64) in DefineExactWidthIntTypeSize() 253 DefineFmt(Prefix + Twine(TypeWidth), Ty, TI, Builder); in DefineLeastWidthIntType() 256 static void DefineFastIntType(unsigned TypeWidth, bool IsSigned, in DefineFastIntType() argument 268 DefineFmt(Prefix + Twine(TypeWidth), Ty, TI, Builder); in DefineFastIntType() 278 if (TypeWidth == TypeAlign && (TypeWidth & (TypeWidth - 1)) == 0 && in getLockFreeValue() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineShifts.cpp | 99 unsigned TypeWidth = InnerShift->getType()->getScalarSizeInBits(); in canEvaluateShiftedShift() local 100 if (InnerShiftConst->ugt(OuterShAmt) && InnerShiftConst->ult(TypeWidth)) { in canEvaluateShiftedShift() 103 IsInnerShl ? TypeWidth - InnerShAmt : InnerShAmt - OuterShAmt; in canEvaluateShiftedShift() 104 APInt Mask = APInt::getLowBitsSet(TypeWidth, OuterShAmt) << MaskShift; in canEvaluateShiftedShift() 200 unsigned TypeWidth = ShType->getScalarSizeInBits(); in foldShiftedShift() local 224 if (InnerShAmt + OuterShAmt >= TypeWidth) in foldShiftedShift() 235 ? APInt::getLowBitsSet(TypeWidth, TypeWidth - OuterShAmt) in foldShiftedShift() 236 : APInt::getHighBitsSet(TypeWidth, TypeWidth - OuterShAmt); in foldShiftedShift()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
| H A D | SimpleSValBuilder.cpp | 295 uint64_t TypeWidth = Ctx.getTypeSize(SymbolType); in MakeSymIntVal() local 297 if (ValWidth < TypeWidth) { in MakeSymIntVal() 300 } else if (ValWidth == TypeWidth) { in MakeSymIntVal()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaDecl.cpp | 15140 uint64_t TypeWidth = Context.getIntWidth(FieldTy); in VerifyBitField() local 15141 bool BitfieldIsOverwide = Value.ugt(TypeWidth); in VerifyBitField() 15152 CStdConstraintViolation ? TypeWidth : TypeStorageSize; in VerifyBitField() 15170 << (unsigned)TypeWidth; in VerifyBitField() 15173 << (unsigned)Value.getZExtValue() << (unsigned)TypeWidth; in VerifyBitField()
|