Home
last modified time | relevance | path

Searched refs:TypeWidth (Results 1 – 5 of 5) sorted by relevance

/external/clang/lib/Frontend/
DInitPreprocessor.cpp184 static void DefineTypeSize(const Twine &MacroName, unsigned TypeWidth, in DefineTypeSize() argument
187 llvm::APInt MaxVal = isSigned ? llvm::APInt::getSignedMaxValue(TypeWidth) in DefineTypeSize()
188 : llvm::APInt::getMaxValue(TypeWidth); in DefineTypeSize()
229 int TypeWidth = TI.getTypeWidth(Ty); in DefineExactWidthIntType() local
234 if (TypeWidth == 64) in DefineExactWidthIntType()
239 DefineType(Prefix + Twine(TypeWidth) + "_TYPE__", Ty, Builder); in DefineExactWidthIntType()
240 DefineFmt(Prefix + Twine(TypeWidth), Ty, TI, Builder); in DefineExactWidthIntType()
243 Builder.defineMacro(Prefix + Twine(TypeWidth) + "_C_SUFFIX__", ConstSuffix); in DefineExactWidthIntType()
249 int TypeWidth = TI.getTypeWidth(Ty); in DefineExactWidthIntTypeSize() local
254 if (TypeWidth == 64) in DefineExactWidthIntTypeSize()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp128 unsigned TypeWidth = I->getType()->getScalarSizeInBits(); in CanEvaluateShifted() local
133 unsigned LowBits = TypeWidth - CI->getZExtValue(); in CanEvaluateShifted()
135 APInt::getLowBitsSet(TypeWidth, NumBits) << LowBits, in CanEvaluateShifted()
153 unsigned TypeWidth = I->getType()->getScalarSizeInBits(); in CanEvaluateShifted() local
157 if (CI->getValue().ult(TypeWidth) && CI->getZExtValue() > NumBits) { in CanEvaluateShifted()
160 APInt::getLowBitsSet(TypeWidth, NumBits) << LowBits, in CanEvaluateShifted()
220 unsigned TypeWidth = BO->getType()->getScalarSizeInBits(); in GetShiftedValue() local
229 if (NewShAmt >= TypeWidth) in GetShiftedValue()
241 APInt Mask(APInt::getLowBitsSet(TypeWidth, TypeWidth - NumBits)); in GetShiftedValue()
262 unsigned TypeWidth = BO->getType()->getScalarSizeInBits(); in GetShiftedValue() local
[all …]
/external/vixl/test/
Dtest-simulator-a64.cc3871 DEFINE_TEST_NEON_2OPIMM(sshr, Basic, TypeWidth) in DEFINE_TEST_NEON_2DIFF_FP_SCALAR_SD()
3872 DEFINE_TEST_NEON_2OPIMM(ssra, Basic, TypeWidth) in DEFINE_TEST_NEON_2DIFF_FP_SCALAR_SD()
3873 DEFINE_TEST_NEON_2OPIMM(srshr, Basic, TypeWidth) in DEFINE_TEST_NEON_2DIFF_FP_SCALAR_SD()
3874 DEFINE_TEST_NEON_2OPIMM(srsra, Basic, TypeWidth) in DEFINE_TEST_NEON_2DIFF_FP_SCALAR_SD()
3877 DEFINE_TEST_NEON_2OPIMM_NARROW(shrn, Basic, TypeWidth) in DEFINE_TEST_NEON_2DIFF_FP_SCALAR_SD()
3878 DEFINE_TEST_NEON_2OPIMM_NARROW(rshrn, Basic, TypeWidth) in DEFINE_TEST_NEON_2DIFF_FP_SCALAR_SD()
3879 DEFINE_TEST_NEON_2OPIMM_NARROW(sqshrn, Basic, TypeWidth) in DEFINE_TEST_NEON_2DIFF_FP_SCALAR_SD()
3880 DEFINE_TEST_NEON_2OPIMM_NARROW(sqrshrn, Basic, TypeWidth) in DEFINE_TEST_NEON_2DIFF_FP_SCALAR_SD()
3885 DEFINE_TEST_NEON_2OPIMM(ushr, Basic, TypeWidth) in DEFINE_TEST_NEON_2DIFF_FP_SCALAR_SD()
3886 DEFINE_TEST_NEON_2OPIMM(usra, Basic, TypeWidth) in DEFINE_TEST_NEON_2DIFF_FP_SCALAR_SD()
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DSimpleSValBuilder.cpp286 uint64_t TypeWidth = Ctx.getTypeSize(SymbolType); in MakeSymIntVal() local
288 if (ValWidth < TypeWidth) { in MakeSymIntVal()
291 } else if (ValWidth == TypeWidth) { in MakeSymIntVal()
/external/clang/lib/Sema/
DSemaDecl.cpp12839 uint64_t TypeWidth = Context.getIntWidth(FieldTy); in VerifyBitField() local
12840 bool BitfieldIsOverwide = Value.ugt(TypeWidth); in VerifyBitField()
12851 CStdConstraintViolation ? TypeWidth : TypeStorageSize; in VerifyBitField()
12869 << (unsigned)TypeWidth; in VerifyBitField()
12872 << (unsigned)Value.getZExtValue() << (unsigned)TypeWidth; in VerifyBitField()